Repository navigation
chore: remove Docker image build and publishing [PYSDK-156] - #732
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No workflow pushes to a container registry after the removal of the Docker publish job. Change every packages: write grant to packages: read, in callers and reusable workflows, and update the SPEC workflow table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PR Review: Remove Docker image build and publishingI acknowledge the CLAUDE.md guidance and will apply the highest standards for this medical device software review. SummaryThis PR cleanly removes the Docker image build and publishing infrastructure from the CI/CD pipeline, as requested by CR PYSDK-156. The changes are comprehensive, correct, and introduce no breaking changes to SDK users. Verdict: ✅ claude:review:passed Critical Checks (All Passing ✅)1. Test Markers ✅
2. Code Quality ✅
3. Conventional Commits ✅All 6 commits follow conventional commit format: 4. Test Coverage
|
| File | Change | Status |
|---|---|---|
CONTRIBUTING.md |
Removed Docker section (48 lines) | ✅ |
.github/CLAUDE.md |
Removed Docker publish references | ✅ |
CLAUDE.md |
Updated release process (removed Docker) | ✅ |
SPEC-BUILD-CHAIN-CICD-SERVICE.md |
Removed all Docker references | ✅ |
pyproject.toml |
Removed "docker" keyword | ✅ |
pyproject.toml |
Removed "docker" test marker | ✅ |
pyproject.toml |
Updated integration test description | ✅ |
ATTRIBUTIONS.md |
Removed Docker-related attributions | ✅ |
CODE_STYLE.md, OPERATIONAL_EXCELLENCE.md, SOFTWARE_ARCHITECTURE.md |
Minor Docker reference cleanup | ✅ |
9. Dependency Changes ✅
Removed:
- ✅
pytest-docker>=3.2.5,<4from dev dependencies - ✅ Entire
pytest-dockerpackage (19 lines) fromuv.lock - ✅ Docker test fixtures from
tests/conftest.py(37 lines)
Test marker changes:
- ✅ Removed
docker: That require Docker.marker definition - ✅ Updated
integrationmarker description (removed "real Docker containers")
Additional Observations
Strengths 💪
- Atomic commits: Each commit has a clear, single purpose
- Complete cleanup: No orphaned references to Docker found
- Preserves dev experience:
.devcontainer/stays for local development - Well-documented: PR description clearly explains WHY (uncontrolled Docker Hub account)
- Minimal diff: Clean removal with no refactoring or scope creep
Non-Blocking Suggestions 💡
None. This is a textbook infrastructure cleanup.
CI/CD Pipeline Status
Current Status: ✅ 2 passed, 2 in progress
- ✅ Build Native Only: success
- 🔄 CI/CD: in progress
- 🔄 Claude Code Review: in progress (this job)
Build Native Only workflow passing confirms that the permission downgrades don't break native builds.
Medical Device Context
This change:
- ✅ Does not affect medical data processing
- ✅ Does not affect HIPAA compliance
- ✅ Does not affect WSI processing algorithms
- ✅ Does not affect authentication or security
- ✅ Is purely infrastructure (distribution channel removal)
Verdict
✅ claude:review:passed
All critical checks pass. This PR correctly removes Docker publishing infrastructure with no breaking changes to SDK functionality. The changes are comprehensive, well-documented, and follow all repository standards.
Recommendation: Approve and merge once CI completes.
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project check has failed because the head coverage (64.42%) is below the target coverage (70.00%). You can increase the head coverage or adjust the target coverage.
|
|



Why?
The CI publishes regulated releases to a Docker Hub account that Aignostics does not control. Aignostics cannot update or archive those images, and cannot revoke the CI token. CR PYSDK-156 stops the Docker distribution channel, and the published images on Docker Hub and GHCR are already deleted.
How?
Five commits remove the
docker_publishjob, the Docker image files, the Docker e2e test withpytest-docker, and Docker from the docs and the SPEC. A sixth commit changes allpackages: writegrants topackages: read, because no workflow uses a registry now..devcontainer/Dockerfilestays, and theuv.lockchange removes onlypytest-docker, becauseuv removealso rewrote unrelated markers.🤖 Generated with Claude Code