fix(ci): configure git identity for tests and clear high npm audit advisories - #64
Merged
utx0 merged 9 commits intoAug 8, 2026
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AA8wwFpob25iYZFCBBEtKK
Tests in progress-ceremony-metrics run `metta install --git-init` in temp dirs and assert metrics from the resulting initial commit. GitHub-hosted runners have no git user.name/user.email, so the commit fails and 6 tests fail CI-only. Configure a bot identity in the gates job before npm test. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AA8wwFpob25iYZFCBBEtKK
…ries Lockfile-only bumps of transitive dev deps in the vite/vitest toolchain: nanoid 3.3.15 -> 3.3.18, postcss 8.5.15 -> 8.5.26. Resolves the high advisories that made the CI audit job exit 1; npm audit --audit-level=high now exits 0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AA8wwFpob25iYZFCBBEtKK
…n summary Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AA8wwFpob25iYZFCBBEtKK
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AA8wwFpob25iYZFCBBEtKK
utx0
deleted the
metta/fix-ci-first-run-git-identity-npm-audit-high-vulns
branch
August 8, 2026 14:26
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.
Summary
Follow-up to #62: the first CI run failed on both jobs. This fixes both causes.
tests/progress-ceremony-metrics.test.tsfailed CI-only because GitHub runners have no gituser.name/user.email, sometta install --git-initin temp dirs cannot commit and ceremony metrics report "no data". Root cause confirmed by simulating an identity-less environment locally (6/14 tests fail). Fix: a "Configure git identity" step (github-actions[bot]) beforenpm test.npm audit fixlockfile bumps (nanoid 3.3.15 → 3.3.18, postcss 8.5.15 → 8.5.26).package.jsonuntouched;npm audit --audit-level=highnow exits 0.Verification
🤖 Generated with Claude Code
https://claude.ai/code/session_01AA8wwFpob25iYZFCBBEtKK