GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — main test failure: aggregator turso-stores alerts partial-index dedupe test fails on main · Issue #15658 · developing-today/code

main test failure: aggregator turso-stores alerts partial-index dedupe test fails on main #15658

New issue
Copy link
New issue
Copy link
Done
#15705
Done
main test failure: aggregator turso-stores alerts partial-index dedupe test fails on main#15658
#15705
Copy link
Labels
effort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/ci-watchFiled by main-ci watchstatus/needs-triageNot yet triaged; needs a first looktask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@developing-today-fleet
developing-today-fleet
bot
opened on Nov 26, 2026
Issue body actions

Pre-existing main failure: aggregator test "alerts partial-index dedupe, JSON preference merge and ack are preserved"

Found by lane ZE (queue task 24162) while verifying an unrelated slice, 2026-11-26.

Evidence (baseline vs branch, same workflow pm-aggregator tests, workflow_dispatch):

  • On main (run 45862194278): 3,927 tests across 320 files, exactly 1 fail — alerts partial-index dedupe, JSON preference merge and ack are preserved in pm-stack/aggregator/test/turso-stores.test.ts, failing inside logSend (pm-stack/aggregator/src/alerts.ts:889) via the test's sqlite query shim (turso-stores.test.ts:21, call at :249).
  • On branch ze/24162-dns-snapshot (run 45861620769): 3,939 tests, the same single failure; the branch's 12 new dns-publisher tests all pass. The branch touches no alerts/turso-stores code.

So the failure predates and is independent of #14968 slice 2 (PR #15657). Suspect area: today's fleet-platform store move to D1 (PR #15611, "Move PM Stack's fleet-platform store to D1", merged 2026-11-26T13:38Z) or the alerts store's partial-index/dedupe path against the test's SQLite dialect bridge.

Ask: reproduce locally with bun test pm-stack/aggregator/test/turso-stores.test.ts, fix the dedupe/preference-merge/ack path or the test oracle, and record the verdict here. Until then, pm-aggregator tests and the aggregator step of pm-stack tests are red on main, which also blocks the console steps behind them in pm-stack tests.

Acceptance criteria

  • The failure of alerts partial-index dedupe, JSON preference merge and ack are preserved (pm-stack/aggregator/test/turso-stores.test.ts, failing inside logSend at pm-stack/aggregator/src/alerts.ts:889) is reproduced locally and its root cause identified.
  • The dedupe / preference-merge / ack path (or the test oracle, if the oracle is what drifted) is fixed, and bun test pm-stack/aggregator/test/turso-stores.test.ts passes.
  • pm-aggregator tests is green on main in CI after the fix, with the verdict recorded on this issue.

Activity

  1. developing-today-fleet
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    queue/queuedHas a queued queue task
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    status/needs-triageNot yet triaged; needs a first look
    priority/highImportant and time-sensitive
    source/ci-watchFiled by main-ci watch
    on Nov 26, 2026
  2. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Agent note — main-ci-failure-fix-trigger (fleet)

    • State: filed (reused) — this issue was filed by lane ZE for main run 45862194278 and is reused by the main-CI watch as the single fix track for workflow pm-aggregator tests; no duplicate filed.
    • Found via: main-ci watch pass 2026-11-26T16:50Z — run https://github.com/developing-today/code/actions/runs/45862194278 (workflow_dispatch, branch main, head SHA 20b8d6c) concluded failure. Failed job: aggregator tests and typecheck at step Run aggregator tests — (fail) alerts partial-index dedupe, JSON preference merge and ack are preserved, at logSend (pm-stack/aggregator/src/alerts.ts:889) via turso-stores.test.ts:21/:249.
    • Labels applied by the watch: kind/bug, queue/queued, task/small-fix, status/needs-triage, priority/high, source/ci-watch.
    • Filed by main-ci-failure-fix-trigger (fleet). One fix track per failing workflow; duplicates are suppressed until this issue closes.
  3. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Binding (main-ci watch) — issue #15658 ↔ queue task 24298 (repo-health-code-pilot, status queued) ↔ session: none yet.

    Dispatch deferred this pass: session enumeration failed (session-count.py exit 3: session list payload has no 'data' array) — the conductor global-stop condition. The task stays queued for lane shifts / the next conductor cycle; dispatch packet prepared at hidden_files/dispatch-packets/dispatch-pending-code-15658.json (route opencode-route/workhorse, laptop worktree under ~/git/fleet/, branch queue/24298-...).

  4. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    Lane oc-code-07 has claimed task 24298. Checking the failed main run and reproducing the SQLite alerts-store failure before making a narrow fix. Will verify the merged change with a main-branch pm-aggregator tests run.

  5. developing-today-fleet
    added
    effort/sSmall: expected under 2 hours of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 26, 2026
  6. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Intake review

    Related: PR #15611 (fleet-platform store move to D1, merged 2026-11-26T13:38Z — the filing's prime suspect), PR #15657 / issue #14968 (the unrelated slice whose verification surfaced this; its branch shows the identical single failure, confirming pre-existing on main).

    Notes: Exemplary pre-existing-failure filing: baseline-vs-branch evidence (run 45862194278 on main: 3,927 tests, exactly this 1 fail; branch run: same 1 fail, its own 12 new tests pass), exact file/line anchors, and a named suspect area. Liveness confirmed — no merged PR resolves it; it is red on main now.

    Risks: While this is red, every aggregator-touching branch inherits a failing suite, which trains lanes to ignore the signal — worth the priority/high it already carries.

    Suggested approach: As filed: reproduce with bun test pm-stack/aggregator/test/turso-stores.test.ts, then bisect between the D1 store move (#15611) and the partial-index/dedupe path against the test's SQLite dialect bridge.

    Queue note: This issue carried queue/queued with no live task; the monitor enqueued triage task 24306 this run.

    — fleet monitor (repo-fleet-monitor run 2026-11-26 11:14 CST)

  7. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    Agent note — triage (xaltha, queue task 24306)

    • State: triaged — still-live verified, routed to an existing claimed fix task; no duplicate work enqueued.
    • Still-live: issue open, no open or merged PR resolves it; main run 45862194278 (workflow pm-aggregator tests) failed with exactly this 1 test — alerts partial-index dedupe, JSON preference merge and ack are preserved in pm-stack/aggregator/test/turso-stores.test.ts, failing inside logSend (pm-stack/aggregator/src/alerts.ts:889). Branch evidence in the filing confirms it is pre-existing on main and independent of CF-5b (#14945): M4 ledger surfaces hosted — /alerts, /notifications, /dns, /comments #14968 / PR feat(pm): publish the #902 DNS register snapshot to D1 and serve hosted /dns (#14968 slice 2) #15657.
    • Labels/priority/effort confirmed: kind/bug, priority/high, task/small-fix, effort/s, source/ci-watch — all appropriate for a single-test main failure blocking pm-aggregator tests and the aggregator step of pm-stack tests.
    • Routed: fix task 24298 ("Fix main test failure: aggregator turso-stores alerts partial-index dedupe test fails on main #15658: pm-aggregator tests red on main") is already claimed by lane oc-code-07 (lease to 2026-11-26T20:53Z; picked-up note posted 17:11Z). That lane owns reproduction (bun test pm-stack/aggregator/test/turso-stores.test.ts), root-cause, and the fix; this triage does not duplicate it.
    • Suspect area (from filing, unconfirmed): PR Move PM Stack's fleet-platform store to D1 #15611 fleet-platform store move to D1, or the alerts partial-index/dedupe path against the test's SQLite dialect bridge.
  8. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    Main-CI watch note (2026-11-26): run 45862194278 remains the newest failure for pm-aggregator tests in the examined interval. It is tracked by this issue/task 24298 (claimed); no duplicate task/session.

  9. dezren39
    added a commit that references this issue on Nov 26, 2026

    Merge pull request #15705 from developing-today/oc-code-07/15658-aler…

    4e14546
  10. dezren39
    closed this as completedin #15705on Nov 26, 2026
  11. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    Member
    More actions

    oc-code-07 verification: PR #15705 merged (4e14546). Focused Fleet run developing-today-forks/fleet#45880824149 passed 10/10 on exact head 783ec4d, including the previously failing alerts partial-index dedupe test. Post-merge main run https://github.com/developing-today/code/actions/runs/45889615843 shows that alerts test passing (4.06ms); the workflow is still red on a distinct test: /api/health provenance priming (#1267) first-ever response (expected '1 credential row(s)', got live feed string at health-priming.test.ts:162). That failure is outside this task's scope and needs a separate fix; task 24298 is being closed for its original scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/ci-watchFiled by main-ci watchstatus/needs-triageNot yet triaged; needs a first looktask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.