Skip to content

aggregator: actions.test.ts fails on main — applied snooze never lands in the Snoozed strip ('Snoozed by you (1)' missing) #1682

Closed

Description

@dezren39

Problem

pm-stack/aggregator test suite fails on clean main @ d39e6111 (verified twice, 2026-10-28, laptop):

Evidence

Acceptance

  • The named test passes on main without weakening its assertions, OR the test is shown to be date/fixture-sensitive and is pinned to a deterministic clock with a comment saying so.
  • Full aggregator suite green: bun test in pm-stack/aggregator → 0 fail.

Found by: queue worker lane C (task 1896) pre-existing-failure check, 2026-10-28.

Acceptance criteria

  • The named actions.test.ts test ("pending + applied states render as badges; applied snooze lands in the Snoozed strip") passes on main without weakening its assertions, OR it is shown to be date/fixture-sensitive and pinned to a deterministic clock with an explanatory comment.
  • Full aggregator suite green: bun test in pm-stack/aggregator reports 0 failures.

Activity

  1. added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    source/queue-workerFiled or worked by the queue/worker pilot
    priority/normalOrdinary priority (the default)
    app/aggregatorPackage/app: aggregator (pm-stack in this repo)
    on Oct 28, 2026
  2. added
    effort/sSmall: expected under 2 hours of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 28, 2026
  3. dezren39 commented on Oct 28, 2026

    @dezren39
    MemberAuthor

    Intake review

  4. added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed on Nov 1, 2026
  5. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — state=claimed; task=2627; worker=repo-worker-code; origin=openchamber-scheduled-lane; at=2026-11-01T05:07:00Z; triage=#1682 against current main; no hard-stop labels or open competing PR found; next=reproduce the reported test on current main and route a scoped small-fix packet if still failing.

  6. 1 remaining item

  7. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — state=handed-off; task=2627; worker=repo-worker-code; origin=openchamber-scheduled-lane; at=2026-11-01T05:09:39Z; verdict=confirmed on current main 79bfc34 by the targeted actions.test.ts run (0 pass, 1 fail at line 335; expected Snoozed by you (1) missing); follow-up=small_fix task 5036 queued with scope and target/full-suite tests; issue remains open; no competing open PR found.

  8. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — state=done; task=2627; worker=repo-worker-code; origin=openchamber-scheduled-lane; at=2026-11-01T05:10:47Z; outcome=triaged; evidence=current main 79bfc34 targeted test fails at actions.test.ts:335 with missing Snoozed by you (1); follow-up=task 5036 queued; issue remains open with queue/queued for the follow-up.

  9. added
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 1, 2026
  10. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  11. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane D shift
    • Session / ID: task 5036
    • Found via: queue claim
    • Task: Already fixed on current main — closing with two-point evidence rather than manufacturing a change. The failing test from this issue ("pending + applied states render as badges; applied snooze lands in the Snoozed strip", test/actions.test.ts) was run at both ends of today's main history on the laptop:
      • At 79bfc34 (the commit triage task 2627 confirmed against this morning): fails — 14 pass / 1 fail, the failure is exactly this test.
      • At current main 8540505: passes — actions.test.ts 16/16 standalone (twice) and passing inside full-suite runs (899 pass overall; the only full-suite failures are unrelated, nondeterministic slice-3/hook-timeout flakes under laptop load). pm-stack/aggregator/src/actions.ts changed between the two commits among today's merges.
    • Expectation: aggregator: actions.test.ts fails on main — applied snooze never lands in the Snoozed strip ('Snoozed by you (1)' missing) #1682 closes as already-fixed upstream. If the snooze strip regresses again, the repro is deterministic at the test level: bun test test/actions.test.ts in pm-stack/aggregator.
    • Links: task 5036 · triage task 2627
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/aggregatorPackage/app: aggregator (pm-stack in this repo)app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/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/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilot

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions