fix: fix: install age and sops in agents Dockerfile (#30) #34
No reviewers
Labels
No labels
action
backlog
blocked
in-progress
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: johba/disinto#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-30"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #30
Changes
AI Review
Summary
This PR correctly adds
ageandsopsto the agents Dockerfile to support SOPS-encrypted secrets (AD-005). The smoke-init CI trigger cleanup (removingdocker/**) is also correct — that pipeline tests the init flow, not the Docker build.However, there are two blocking issues.
Issues
critical
docker/agents/Dockerfile: TheteaCLI installation block was removed, butteais actively used throughout the codebase.lib/tea-helpers.shwrapsteafor all issue/comment/label operations.lib/env.shconditionally sources it.docker/agents/entrypoint.shconfigurestea loginat startup.formulas/run-predictor.tomlandformulas/run-planner.tomlinvoketeadirectly. Without this binary in the image, all agent operations that create issues, post comments, or manage labels will fail silently (thecommand -v teaguards suppress the crash but break functionality). Theteablock must be retained alongside the newage/sopsadditions.security
docker/agents/Dockerfile:6: Thesopsbinary is downloaded from GitHub releases without checksum verification. The removedteainstallation included an explicit SHA-256 check (sha256sum -c). The sops release page provides checksums athttps://github.com/getsops/sops/releases/download/v3.9.4/sops-v3.9.4.checksums.txt— add asha256sum -cstep consistent with the pattern established by the oldteainstall.Verdict
REQUEST_CHANGES — Removes tea CLI that is actively used by agents, and installs sops without checksum verification
Reviewed at
e433006| AGENTS.mdAI Review: REQUEST_CHANGES — Removes tea CLI that is actively used by agents, and installs sops without checksum verification
e43300662cto0ccecf6ae5AI Re-review (round 2)
Previous Findings
teainstallation block is restored with its original SHA-256 checksum verification.sha256sum -c --ignore-missingbefore the binary is made executable. The--ignore-missingflag correctly handles the multi-platform checksums file. Temp file is cleaned up.Notes
The incremental diff also bundles several unrelated fixes (concurrent issue-claim protection in
issue_claim/dev-poll.sh,disinto secrets addsubcommand, age key volume mount). These are clean, correct additions that don't affect the Dockerfile fix being reviewed.Verdict
APPROVE — Both previous findings fixed: tea CLI restored with checksum, sops checksum verification added
Reviewed at
0ccecf6| Previous:e433006| AGENTS.mdAI Re-review (round 2): APPROVE — Both previous findings fixed: tea CLI restored with checksum, sops checksum verification added