Skip to content

ci(pm-stack/meta-exporter): meta-quota-export.test.mjs (11 tests, added in #6333) run by no workflow — and its documented node --test directory invocation fails on Node 24 #6344

Closed

Description

@dezren39

What

#6333 (merged today) added pm-stack/meta-exporter/meta-quota-export.test.mjs — 11 tests pinning the re-homed Meta exporter's pure parsing core and its new helium-cdp wedge readiness probe (probeCdpReadiness, attemptBoundedRestart, restartAllowed, parseBillingBanner, parsePaygBalance, parseSubscriptionQuota, success/failure documents). No workflow, flake check, justfile recipe, or Nix module runs it, so the pins are decorative: a regression in the restart-cooldown or billing-parse logic merges green.

Sibling precedent: #6084 covers the other three quota-exporter suites (opencode-usage, cloudflare, supabase) with the same gap; this suite did not exist when #6084 was filed (the exporter was retired; #6333 re-homed it hours later), so it is not covered there.

Verified this run (laptop primary @560febee0d, HEAD == origin/main, node v24.21.0)

  • node --test pm-stack/meta-exporter/meta-quota-export.test.mjs → 11 tests, 11 pass, 0 fail (~3.4s, offline — the suite uses a loopback HTTP server and temp dirs).
  • Wiring grep: meta-exporter / meta-quota across .github/workflows/, flake.nix, justfile, nixos/, home/ → zero references to the suite. (Only hits anywhere are nixos/home/pm-dashboard-backup.sh, which consumes the exporter's output files under ~/atlas/meta-quota-export/ — it never runs the tests.) pm-stack-tests.yml wires aggregator/projector/dispatch bun suites + seed/deploy smoke + two Python suites by name; meta-exporter is absent.
  • Wiring caveat (verified): the suite header documents node --test pm-stack/meta-exporter/ — that directory form fails on Node 24: Error: Cannot find module '/home/user/git/code/pm-stack/meta-exporter' (exit 1, 0 tests run). Wire the explicit file path (or a *.test.mjs glob), not the documented directory form; fixing the header comment is part of this issue.

Why it matters

The exporter was re-homed specifically with new recovery behavior (bounded restart, persisted cooldown — the #6333 Codex-fix commits). Those behaviors' only regression pins are in this suite. Unwired, the next exporter edit can break the wedge-recovery ladder silently — the same failure class that produced #6084 for the sibling exporters.

Acceptance criteria

  • A workflow (pm-stack-tests.yml in its existing style, or a dedicated house-style workflow) runs pm-stack/meta-exporter/meta-quota-export.test.mjs on changes to pm-stack/meta-exporter/** and on dispatch, using the explicit file path or glob (not the directory form).
  • The step asserts the suite file exists before running it (anti-silent-skip guard, as in the existing pm-stack steps), so green cannot mean skipped.
  • The suite header's documented run command is corrected to a form that works on Node 24.
  • The suite passes in CI as locally: 11 tests, offline.

Dedup

Activity

  1. added
    kind/ciCI/CD pipelines, workflows, and build automation
    task/triageQueue packet kind: verify, reproduce, and route this item
    source/creatorFiled by the new-issue-creator job
    priority/normalOrdinary priority (the default)
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  3. added
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · filed

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

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  7. 109 remaining items

  8. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    Triage completed for queue task 10692. Findings are recorded above; implementation follow-up task 14850 is queued. The issue remains open pending the CI fix.

  9. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    state: parked (CI wait)
    task 14850 (small_fix) — issue #6344 — lane code-e, 2026-11-11

    Implemented and opened PR #8484: pm-stack/meta-exporter/** added to both push and pull_request path filters in pm-stack-tests.yml; a new "Test meta-exporter suite" step asserts the suite file exists (anti-silent-skip) and runs node --test pm-stack/meta-exporter/meta-quota-export.test.mjs under the workflow's existing Node 24 setup; the suite header's run command is corrected to the explicit file path; the test-suite registry entry pm-stack.meta-exporter moves from uncovered to a mapped active venue. Local verification (laptop): the explicit suite passes 13/13; registry JSON parses; workflow content checks pass.

    Terminal for this shift: task 14850 parked as a CI wait on PR #8484 — fittingly, this PR's own change means the meta-exporter suite runs in its CI. Resume: when PR #8484 checks complete and Codex findings (if any) are dispositioned, merge PR #8484 and complete task 14850.

  10. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 11, 2026
  11. added a commit that references this issue on Nov 11, 2026
  12. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    Done — the meta-exporter suite is wired into CI (task 14850, lane code-h shepherding the existing implementation PR).

    Merged: PR #8484 (872a7d6), which implements every acceptance item:

    • .github/workflows/pm-stack-tests.yml: pm-stack/meta-exporter/** added to both the push and pull_request path filters.
    • New step "Test meta-exporter suite": asserts pm-stack/meta-exporter/meta-quota-export.test.mjs exists first (green cannot mean skipped), then runs node --test on the explicit file path under the job's existing Node 24 setup (the sibling exporter suites run the same way in the same job); workflow_dispatch runs the job as before.
    • Suite header corrected: the documented command is now the explicit file path — the directory form node --test pm-stack/meta-exporter/ fails on Node 24, as the issue verified.
    • .github/test-suite-registry.json: entry pm-stack.meta-exporter moved from uncovered (venue null) to mapped with the pm-stack-tests venue recorded.

    Verification (this claim): diff reviewed line-by-line against the acceptance; registry JSON parses; the suite run from the PR tree passes 13/13 (it has grown since the 11 at filing — no count asserted, per the triage note).

    Queue-state note: the broker reports task 14850 as not claimed by this lane's worker at completion time (a parallel claim lifecycle from the PR's authoring automation); the merged outcome is recorded here and on the batch issue regardless.

  13. removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 11, 2026
  14. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: done
    task: 14850
    lane: tmp-code-f
    outcome: fixed_merged — PR #8484 merged (872a7d6), issue #6344 closed. This lane resumed the task at its pr_opened checkpoint, re-verified PR state/merge and issue state fresh, found no Codex reviews to disposition, and completed task 14850.

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

    app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/ciCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions