From 6ca7088556ca462a4994b99556a69c05f4d64822 Mon Sep 17 00:00:00 2001 From: repo-worker-code-k Date: Tue, 10 Nov 2026 21:09:37 -0600 Subject: [PATCH] ci(pm-stack): wire meta-exporter suite into pm-stack-tests (#6344) --- .github/test-suite-registry.json | 13 +++++++++---- .github/workflows/pm-stack-tests.yml | 14 ++++++++++++++ pm-stack/meta-exporter/meta-quota-export.test.mjs | 2 +- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/.github/test-suite-registry.json b/.github/test-suite-registry.json index 25c6bc62dd..090c537885 100644 --- a/.github/test-suite-registry.json +++ b/.github/test-suite-registry.json @@ -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", diff --git a/.github/workflows/pm-stack-tests.yml b/.github/workflows/pm-stack-tests.yml index e1186041e1..cabd33ce1d 100644 --- a/.github/workflows/pm-stack-tests.yml +++ b/.github/workflows/pm-stack-tests.yml @@ -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: @@ -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: @@ -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 diff --git a/pm-stack/meta-exporter/meta-quota-export.test.mjs b/pm-stack/meta-exporter/meta-quota-export.test.mjs index 574055bb59..5a32e72952 100644 --- a/pm-stack/meta-exporter/meta-quota-export.test.mjs +++ b/pm-stack/meta-exporter/meta-quota-export.test.mjs @@ -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";