• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Freegle / Iznik / 5111
70%

Build:
DEFAULT BRANCH: master
Ran 19 Apr 2026 06:36PM UTC
Jobs 4
Files 988
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Apr 2026 04:53PM UTC coverage: 71.604% (+0.06%) from 71.546%
5111

push

circleci

web-flow
feat(monitor-fsm): SQLite state + Discourse live summary (#215)

* chore(monitor-fsm): commit baseline (WIP) before SQLite migration

Brings the monitor-fsm project (local-only until now) under version
control so the SQLite state migration has a checkpointed baseline.

- Tracks: src/, workflow.json, package.json, tsconfig.json, viz/
- Ignores: node_modules/, dist/, instance-store.json (runtime),
  monitor.db* (future), *.log

No behaviour change — pure import of existing working tree.

* feat(monitor-fsm): SQLite state layer + action migration (WIP)

Introduces a SQLite-backed state store (monitor.db) as the single source
of truth for monitor-fsm state, replacing scattered reads/writes of
/tmp/freegle-monitor/*.md and state.json.

Schema (src/db/schema.ts, v1):
  - topic_cursor — Discourse topic → last-seen-post
  - discourse_bug — reported bugs (topic, post) with state machine
  - sentry_issue — Sentry upstream + local disposition
  - pr — PR register with source_ref back to originating bug/issue
  - iteration — FSM run log (started_at, steps_used, outcome)
  - discourse_draft — reply drafts queued for human approval
  - reviewer_feedback — PR rejections + bug reopens from the human reviewer
  - kv — last_email_sent, sentry_last_check

Action migrations (src/actions/index.ts):
  - load_state: hydrates from DB, bootstraps from legacy state.json once
  - fetch_discourse: advances topic_cursor in DB as new posts are seen
  - read_user_feedback: reads reviewer_feedback; imports legacy MD once
  - post_discourse_reply_draft: inserts into discourse_draft +
    marks originating bug as fix-queued
  - send_email: uses kv:last_email_sent for cooldown
  - (write_summary still file-based for now — regeneration from DB
    is the next commit)

Generated views (src/db/views.ts):
  - state.json, retest-drafts.md, summary.md regenerated from DB
    after every draft queued / email sent. Nothing reads them
    authoritatively; they're for human grep of /tmp/freegle-... (continued)

13340 of 20368 branches covered (65.49%)

Branch coverage included in aggregate %.

95936 of 132243 relevant lines covered (72.55%)

21.67 hits per line

Coverage Regressions

Lines Coverage ∆ File
21
70.06
-14.94% iznik-nuxt3/layouts/default.vue
10
83.64
0.71% iznik-nuxt3/components/MobileVisualiseList.vue
4
48.08
-39.64% iznik-nuxt3/pages/index.vue
2
58.33
-12.25% iznik-nuxt3/app.vue
2
73.53
-14.71% iznik-nuxt3/layouts/login.vue
Jobs
ID Job ID Ran Files Coverage
5111 go - 5111 19 Apr 2026 06:36PM UTC 118
80.28
CircleCI Job 5111
5111 playwright - 5111 19 Apr 2026 06:36PM UTC 227
45.28
CircleCI Job 5111
5111 vitest - 5111 19 Apr 2026 06:36PM UTC 685
64.55
CircleCI Job 5111
5111 laravel - 5111 19 Apr 2026 06:36PM UTC 180
66.65
CircleCI Job 5111
Source Files on build 5111
  • Tree
  • List 988
  • Changed 22
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #5111
  • 22c95f1f on github
  • Prev Build on master (#5071)
  • Next Build on master (#5203)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc