Commit graph

4,223 commits

Author SHA1 Message Date
dawkaka
51d97fed1c get dashboards 2025-07-11 11:49:05 +00:00
dawkaka
f359d57da5 dup item instead of placeholder 2025-07-11 10:42:39 +00:00
dawkaka
f612a1b983 fix build 2025-07-11 08:27:19 +00:00
dawkaka
7f753ff9cc fmt 2025-07-10 21:43:38 +00:00
dawkaka
3bc889feb9 fix build 2025-07-10 21:42:52 +00:00
dawkaka
9f77fc4433 fix build 2025-07-10 21:40:36 +00:00
dawkaka
34f54dee9b update env vars 2025-07-10 18:18:08 +00:00
dawkaka
2963ab2f17 share dashboard via whatsapp 2025-07-10 18:18:08 +00:00
dawkaka
1c12507e44 feat: towards sharing dashboards vai Whatsapp 2025-07-10 18:18:08 +00:00
Anthony Alaribe
32e53303f5 switch to cabal for builds 2025-07-10 09:43:20 +02:00
Anthony Alaribe
1dd98c29a7 docker process. attempt to fix deployment 2025-07-10 09:29:23 +02:00
Anthony Alaribe
5b3a8773d3 remove duplicate build step 2025-07-10 08:34:20 +02:00
Anthony Alaribe
04b005831d update readme 2025-07-10 01:43:48 +02:00
Anthony Alaribe
7ac196070a update README 2025-07-10 01:41:03 +02:00
Anthony Alaribe
3f15832688 suppress compile errors from mockdata 2025-07-10 01:35:20 +02:00
Anthony Alaribe
1b44a2451c
Issues v3 (#180)
* checkpoint catch anomaly list

* checkpoint

* feat: Implement new Issues format with anomaly grouping

- Add support for grouping multiple anomalies under a single issue per endpoint
- Add anomaly_hashes and endpoint_hash columns to issues table
- Update Issue and IssueL data models with new fields
- Implement logic to check for existing open issues before creating new ones
- Update existing issues with new anomaly data instead of creating duplicates
- Add functions: findOpenIssueForEndpoint, updateIssueWithNewAnomaly, mergeIssues
- Update acknowledgment logic to cascade to all tracked anomalies
- Create database migration for new columns and indexes

This change reduces clutter by consolidating all anomalies for an endpoint into a single issue that tracks the complete change history.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: Resolve compilation errors in anomaly grouping implementation

- Fix ToRow instance issue by wrapping aids parameter with Only
- Fix ZonedTime comparison by using zonedTimeToUTC
- Add missing import for zonedTimeToUTC

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: Restore mock issue data with toggle for real database queries

- Add back the comprehensive mock issue data that was accidentally removed
- Include new anomaly grouping fields (anomalyHashes, endpointHash) in mock
- Add useMockData toggle variable to switch between mock and real data
- Fix imports and indentation for proper compilation
- Set useMockData to True by default for UI development

The mock data demonstrates the new Issues format with:
- Multiple anomalies grouped under one issue
- Breaking and incremental changes
- Detailed payload changes with before/after examples
- Enhanced UI fields for better visualization

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: Correct type mismatch in groupAnomaliesByEndpoint function

- Fix V.groupBy which returns [V.Vector a] not V.Vector (V.Vector a)
- Convert list result back to Vector using V.fromList
- Apply mergeIssues to each group after converting to Vector

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* add more mock issues as examples

* checkpoint

* checkpoint before background job update.

* checkpoint, support just 3 issue types

* checkpoint

* mock data only

* revert the stats design

* ok issue mock data render

* checkpoint since it runs

* force a default mock data issues table for all users just to aid with the demos

* remove anomaly grouping spec

* hpack

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-10 00:59:09 +02:00
dawkaka
dfb007d202 fix buid 2025-07-08 23:38:01 +00:00
dawkaka
cb1b231731 fix build 2025-07-08 23:01:11 +00:00
dawkaka
cd4309c201 feat: query via whatsapp + llm 2025-07-08 22:05:09 +00:00
Anthony Alaribe
793241554e nitpick the make log-list strong text have bold font 2025-07-08 18:35:38 +02:00
Anthony Alaribe
6151317298 use the color scheme in metrics datapoints 2025-07-08 18:35:38 +02:00
Anthony Alaribe
a16b339303 remove the telemetry utils.hs 2025-07-08 18:35:37 +02:00
Anthony Alaribe
0a375f941a remove the telemetry utils.hs 2025-07-08 18:35:37 +02:00
Anthony Alaribe
787d9e75cd metrics column with overview tab. And fix the AI.hs no longer triggering the tabs change based on llm response 2025-07-08 18:35:36 +02:00
dawkaka
d3636ef4c8 fix build 2025-07-08 12:11:38 +00:00
dawkaka
b1c2fbeedd feat: send notif alerts via whatsapp 2025-07-08 11:01:41 +00:00
dawkaka
ddb664c1ec feat: add whatsapp notification channel 2025-07-07 20:25:51 +00:00
dawkaka
7c9b6481d8 use metric time as timestamp 2025-07-07 10:47:59 +00:00
Anthony Alaribe
b82f0ea30d nitpick 2025-07-07 09:41:05 +02:00
Anthony Alaribe
466d298d58 update fourmolu ci version 2025-07-07 01:13:45 +02:00
Anthony Alaribe
e57b714688 make fmt. and improve github actions to compile rust and copy .so files 2025-07-07 01:08:49 +02:00
Anthony Alaribe
37c668c2de deploy even if tests fail 2025-07-07 00:41:03 +02:00
Anthony Alaribe
b58e35b69f clean ghc warnings on master. 2025-07-07 00:38:46 +02:00
Anthony Alaribe
e440d45429 show metrics on nav bar 2025-07-07 00:21:07 +02:00
Anthony Alaribe
1012c55cfe enable metrics in the explorer ui 2025-07-07 00:21:06 +02:00
Anthony Alaribe
3088b90003 checkpoint fairly functioning metrics 2025-07-07 00:21:05 +02:00
Anthony Alaribe
55f74c2dfb cleanup test suite for now. so it passes. 2025-07-07 00:21:05 +02:00
Anthony Alaribe
8b033fac28 improve api catalog logic and make tests pass well. also remove the time duration between when anomalies are found and when the issues are processed 2025-07-07 00:21:04 +02:00
Anthony Alaribe
de40579274 checkpoint. iterating on the api catalog logic and testing it 2025-07-07 00:21:04 +02:00
Anthony Alaribe
4846c16286 checkpoint: down to 10 failing tests 2025-07-07 00:21:04 +02:00
Anthony Alaribe
8dc5cb8088 improve logic for regex masking 2025-07-07 00:21:03 +02:00
Anthony Alaribe
c561034f74 tests utils for test Background Jobs 2025-07-07 00:21:02 +02:00
Anthony Alaribe
1fbd95720f add the Notify effect so we can handle and catch notifications within tests 2025-07-07 00:21:02 +02:00
Anthony Alaribe
466cfcb2b6 add the Notify effect so we can handle and catch notifications within tests 2025-07-07 00:20:58 +02:00
dawkaka
7650f47766 format 2025-07-05 11:36:23 +00:00
dawkaka
3fc72b7e0b add modules to .cabal 2025-07-05 11:34:23 +00:00
dawkaka
91c44b503f move ai stuff out of utils 2025-07-05 11:15:50 +00:00
dawkaka
478f2211e9 refactors bots and add support for slack mentions 2025-07-04 18:43:48 +00:00
dawkaka
44275451eb support sending widgetJson as query param 2025-07-03 14:36:22 +00:00
Anthony Alaribe
a7434075a7 checkpoint towards passing integration tests. only 10 tests are now failing and would need abstracting of email and slack for tests 2025-07-03 15:15:11 +02:00