Skip to content

Re-sync the pack so CI's scanner tests run again - #7

Merged
jackwjensen merged 1 commit into
masterfrom
claude/fix-scanner-tests
Oct 22, 2026
Merged

jackwjensen merged 1 commit into
masterfrom
claude/fix-scanner-tests

Conversation

@jackwjensen

Copy link
Copy Markdown
Owner

The Lint & static checks job has failed on master since 2026-10-08, and on both open Dependabot PRs because of it.

Cause: the vendored pack copy (2026.10.08-2) had test_standards_gitattributes.py read templates/.gitattributes from the repo root, a path only the pack itself has. pytest stopped at collection, so the Verify step never ran.

Fix:

  • Re-sync the pack to 2026.10.14-3 with its installer. That version ships the template at engineering_standards/templates/.gitattributes.
  • .gitignore now ignores .env* and keeps .env.example tracked. Verify flagged this once it could run.

Verified locally: pytest engineering_standards/ (1,308 passed) and verify.py --strict, as CI runs them.

🤖 Generated with Claude Code

The Lint job has failed on master since 2026-10-08, at "Scanner tests":
test_standards_gitattributes.py read templates/.gitattributes from the repo
root at import time -- a path only the pack itself has -- so pytest stopped
at collection and the Verify step never ran. Both open Dependabot PRs fail
on the same step; neither bump causes it.

The pack fixed this on 2026-10-11 (f97558c) by shipping the template as
engineering_standards/templates/.gitattributes. This re-runs the pack's
installer (sync_pack.py --apply) rather than copying those files alone: the
package is all-or-nothing, and a partial copy is an ImportError at commit.

With the tests running, Verify reported one finding the pack has required
since 2026-10-10: .gitignore ignored only `.env`. It now ignores `.env*` and
re-admits `.env.example`.

Verified: `pytest engineering_standards/` (1,308 passed) and
`verify.py --strict`, both as CI runs them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jackwjensen
jackwjensen merged commit 35e6207 into master Oct 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant