Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/test-suite-registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -711,10 +711,15 @@
"id": "pm-stack.meta-exporter",
"paths": ["pm-stack/meta-exporter/meta-quota-export.test.mjs"],
"invocation": "node --test pm-stack/meta-exporter/meta-quota-export.test.mjs",
"venue": null,
"status": "uncovered",
"phase2_issue": 6185,
"reason": "Added to current main after the initial inventory; no workflow invokes it. Phase 2 follow-up must be filed."
"venue": {
"workflow": ".github/workflows/pm-stack-tests.yml",
"job_step": "Test meta-exporter suite",
"state": "active",
"dispatchable": true
},
"status": "mapped",
"related_issues": [6344],
"notes": "Wired by #6344: pm-stack-tests.yml gains pm-stack/meta-exporter/** in both push and pull_request path filters and a guarded step running the explicit test file under Node 24; the registry records configuration, not an automatic coverage claim."
},
{
"id": "github-backup.python",
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/pm-stack-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- "pm-stack/opencode-usage-export/**"
- "pm-stack/cloudflare-export/**"
- "pm-stack/supabase-export/**"
- "pm-stack/meta-exporter/**"
- ".github/workflows/pm-stack-tests.yml"
pull_request:
paths:
Expand All @@ -17,6 +18,7 @@ on:
- "pm-stack/opencode-usage-export/**"
- "pm-stack/cloudflare-export/**"
- "pm-stack/supabase-export/**"
- "pm-stack/meta-exporter/**"
- ".github/workflows/pm-stack-tests.yml"

permissions:
Expand Down Expand Up @@ -148,3 +150,15 @@ jobs:
exit 1
fi
bun test

# meta-exporter: node --test (suite for #6344; the explicit file
# path is required — the directory form fails on Node 24). The
# file is asserted to exist first, so a green run cannot be a
# silently skipped suite; any failure fails the job.
- name: Test meta-exporter suite
run: |
if [ ! -f pm-stack/meta-exporter/meta-quota-export.test.mjs ]; then
echo "::error::Missing suite file pm-stack/meta-exporter/meta-quota-export.test.mjs — the meta-exporter suite was not run."
exit 1
fi
node --test pm-stack/meta-exporter/meta-quota-export.test.mjs
2 changes: 1 addition & 1 deletion pm-stack/meta-exporter/meta-quota-export.test.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Tests for the pure parsing core of meta-quota-export.mjs.
// Run: node --test pm-stack/meta-exporter/
// Run: node --test pm-stack/meta-exporter/meta-quota-export.test.mjs
import assert from "node:assert/strict";
import { test } from "node:test";
import { createHash } from "node:crypto";
Expand Down
Loading