test image: copy claude_config/, release 6.11.1 (6.11.0 tag build failed) #32

Merged
tim merged 2 commits from fix/test-image-claude-config into develop 2026-11-03 09:20:18 +00:00
Owner

Fix-forward for the failed v6.11.0 tag build (run 700).

What happened

The tag workflow's test stage runs the suite inside mcp_server/Dockerfile.test, which copies only the directories the tests read. #30 added test_claude_code_hook.py, which opens claude_config/hooks/omnimem_hook.py at import, and claude_config/ was not copied:

FileNotFoundError: [Errno 2] No such file or directory: '/repo/claude_config/hooks/omnimem_hook.py'
ERROR tests/test_claude_code_hook.py

PR CI runs pytest on the checkout, where the file exists, so #30 and #31 were green. auto-tag had already created v6.11.0; the build stages were skipped, so there are no 6.11.0 images and no 6.11.0 release. The published tag is not moved or deleted. The Forgejo repo notes for the maintenance skill already name this test image; I did not build it locally before releasing. That was my miss.

Fix

  • COPY claude_config/ claude_config/ in mcp_server/Dockerfile.test.
  • 6.11.1 with a CHANGELOG entry that says plainly 6.11.0 is not a release and 6.11.1 carries the same code.

Verified before pushing

Built and ran the exact image the workflow builds (docker build --pull --no-cache --file mcp_server/Dockerfile.test, run with the workflow's env flags): 2136 passed, 2 skipped (the extra skip is the older-interpreter test; that image only has Python 3.14). ruff check, ruff format --check and the ASCII check pass.

🤖 Generated with Claude Code

Fix-forward for the failed `v6.11.0` tag build (run 700). ## What happened The tag workflow's test stage runs the suite inside `mcp_server/Dockerfile.test`, which copies only the directories the tests read. #30 added `test_claude_code_hook.py`, which opens `claude_config/hooks/omnimem_hook.py` at import, and `claude_config/` was not copied: ``` FileNotFoundError: [Errno 2] No such file or directory: '/repo/claude_config/hooks/omnimem_hook.py' ERROR tests/test_claude_code_hook.py ``` PR CI runs pytest on the checkout, where the file exists, so #30 and #31 were green. `auto-tag` had already created `v6.11.0`; the build stages were skipped, so **there are no 6.11.0 images and no 6.11.0 release**. The published tag is not moved or deleted. The Forgejo repo notes for the maintenance skill already name this test image; I did not build it locally before releasing. That was my miss. ## Fix - `COPY claude_config/ claude_config/` in `mcp_server/Dockerfile.test`. - 6.11.1 with a CHANGELOG entry that says plainly 6.11.0 is not a release and 6.11.1 carries the same code. ## Verified before pushing Built and ran the exact image the workflow builds (`docker build --pull --no-cache --file mcp_server/Dockerfile.test`, run with the workflow's env flags): **2136 passed, 2 skipped** (the extra skip is the older-interpreter test; that image only has Python 3.14). `ruff check`, `ruff format --check` and the ASCII check pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The tag workflow runs the suite inside mcp_server/Dockerfile.test, which
copies only the directories the tests read. test_claude_code_hook.py opens
claude_config/hooks/omnimem_hook.py at import, so collection failed there
(FileNotFoundError) while pull request CI, which runs pytest on the
checkout, passed. v6.11.0 therefore has no images. Verified in the exact
image the workflow builds (--pull --no-cache): 2136 passed, 2 skipped.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
release 6.11.1: same code as 6.11.0, whose tag build failed in the test stage
All checks were successful
Lint / Ruff (pull_request) Successful in 11s
Lint / ASCII only (pull_request) Successful in 2s
Security Scans / Bandit, dependency audit, secret scan (pull_request) Successful in 1m38s
Security Scans / Test Coverage (pull_request) Successful in 1m35s
2538498e08
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tim merged commit e4e486870b into develop 2026-11-03 09:20:18 +00:00
tim deleted branch fix/test-image-claude-config 2026-11-03 09:20:18 +00:00
Sign in to join this conversation.
No reviewers
No labels
upstream-feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tim/omnimem!32
No description provided.