TEST-UNIFY-5a: cloud-audit adapter (ingest Cloud live-audit into unified report)#126
Merged
Merged
Conversation
…t into the unified report
Cross-repo unification (Core side). New tests/lib/adapters/cloud-audit.mjs reads a
Cloud live-audit findings.json (the AuditRun output: {findings:[{dim,name,status,
detail}]}) and maps pass/warn/fail/info → the unified counts, skipping cleanly when
absent. Wired a 'cloud-audit' sequence into the manifest (full + report profiles,
non-blocking) that auto-resolves the newest findings.json from the sibling
../GraphDone-Cloud/live-audit-artifacts (or --cloud-findings <path>).
So `npm run test:unified --profile full` now reflects the live Cloud audit alongside
the local unit/e2e/report sequences — one report across both repos.
Verified: node:test 13/13 (incl. 3 new cloud-audit cases); ingesting the real
findings.json reports 73✓ 5⚠ 11⏭, matching the live audit. (Fixed a status-key bug
where warn landed in a stray counts key instead of 'warned'.)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
🧪 Comprehensive Test Suite
Full-stack smoke gate runs in the CI workflow. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 5 (Core side). New reusable cloud-audit adapter ingests the GraphDone-Cloud live-audit findings.json into the unified harness (full+report profiles, auto-resolves the sibling repo, skips if absent). node:test 13/13; ingested real findings = 73✓ 5⚠ 11⏭ (matches live). The coupled audit toolkit (audit-kit etc.) intentionally stays in Cloud — see PR body / memory.
🤖 Generated with Claude Code