Repository navigation
chore(automation): update Debian snapshot to 20261123T000000Z - #649
all-hands-bot wants to merge 1 commit into
Conversation
|
Warning Your comment is too long (maximum is 65536 characters), so the coverage report was not added. See the job log for how to reduce it. |
all-hands-bot
left a comment
There was a problem hiding this comment.
This review was posted by an AI agent (OpenHands).
Review: Debian snapshot bump to 20261019T000000Z
Reviewed the current head 21345b8b37c1da6c909a172645bd1295accecf4d against main as a fresh pass. No prior review of this head exists.
Scope: The single-line change updates ARG DEBIAN_SNAPSHOT in containers/Dockerfile, produced by this repository's own scheduled workflow (.github/workflows/update-debian-snapshot.yml). This repository owns the automation service and its runtime image, so the change belongs here; no maintainer decision is needed.
Correctness: The value matches what the selection logic in .github/scripts/update_debian_snapshot.py produces for the workflow's Monday 06:17 UTC run: cutoff = 2026-10-26 06:17 − 7d → 2026-10-19, truncated to midnight, age 7d 6h ≥ the seven-day minimum. The new snapshot has completed its observation period and satisfies validate_snapshot_age.
Verification: The workflow verified both debian and debian-security snapshot archives with HEAD checks, built the image, and scanned it with Trivy before opening this PR; the Trivy counts are disclosed in the body. All checks on the current head pass, including unit-tests, backend, and both Build and Push Automation Image jobs (amd64/arm64). The Trivy findings are inherited-severity posture of the new snapshot, consistent with this workflow's design — build, scan, then disclose — and the PR body reports them accurately.
Risk: Advancing the pinned snapshot upgrades base packages (git, Debian base layer). This is the intended behavior of the weekly snapshot cadence, and both image builds with the new pin succeeded. No schema, API, or contract changes; no linked issues affected.
No material correctness, security, or design findings on this head.
🛡️ Note: this review is submitted as COMMENT rather than APPROVE because the configured reviewer account authored this PR; the verdict is approval.
✅ APPROVED
21345b8 to
9c48279
Compare
9c48279 to
9f97298
Compare
There was a problem hiding this comment.
This review was posted by an AI agent (OpenHands).
Review: Debian snapshot bump to 20261102T000000Z
Fresh pass of the current head 9f972981efdf0d6ccbdd96baa92219b0bab1db6a (the prior review on this PR covered an earlier head). Reviewed against main (004bdab).
Scope: The single-line change updates ARG DEBIAN_SNAPSHOT in containers/Dockerfile, which this repository owns (AGENTS.md repo structure) and which is maintained by this repo's own scheduled workflow (.github/workflows/update-debian-snapshot.yml). No product or architecture decision needed; the scope gate passes.
Verification:
- The new value
20261102T000000Zmatches exactly what.github/scripts/update_debian_snapshot.pyselects today (newest UTC midnight at least seven days old), and the script verifies bothdebiananddebian-securityarchive availability for that timestamp before selecting it. - The diff against base is exactly this one line — no unrelated changes.
- Focused tests pass on this head:
tests/test_dockerfile.pyandtests/test_update_debian_snapshot.py(10 passed underuv run --frozen). - All GitHub Actions check runs for this head are green, including both image builds and the multi-arch manifest, confirming the snapshot builds and scans.
Trivy findings (CRITICAL: 5, HIGH: 82, ...) are disclosed in the PR body by design; they reflect inherent Debian base-image exposure, not a regression introduced by this diff, and there is no demonstrated defect attributable to this change. Per the review guide, a config/dependency bump is low risk with no design context required.
No material findings.
✅ APPROVED
9f97298 to
e219df9
Compare
all-hands-bot
left a comment
There was a problem hiding this comment.
This review was posted by an AI agent (OpenHands).
Fresh pass of current head e219df9aea086cdc1c902121a994a00ba6235836 (prior reviews on this PR covered earlier heads). Scope gate passes: containers/Dockerfile is owned by this repository (AGENTS.md) and maintained by its own scheduled workflow, so no repository-placement decision is needed. One material finding on the current head.
Material finding: the snapshot moves backwards relative to main
The diff sets ARG DEBIAN_SNAPSHOT=20261109T000000Z, but main (9bd52cb) currently carries 20261112T000000Z, set one day later by #749 (fix(deps): refresh Debian packages in the automation image, merged 2026-11-12). Merging this PR as-is would roll the automation runtime image back three days, reintroducing any package fixes between the Nov 9 and Nov 12 snapshots.
This is not transient: .github/scripts/update_debian_snapshot.py deterministically selects the newest UTC-midnight snapshot at least seven days old — 20261109T000000Z for today's date — and verify_snapshot() only checks that the archives exist for that timestamp. The workflow (update-debian-snapshot.yml, next scheduled run Mon 2026-11-23) will therefore still select 20261109 and force-push this branch over any future manual advance on main, re-rolling the image to the older snapshot. The Nov 12 value on main was itself set the same day, outside the seven-day observation period the script's own validate_snapshot_age guard enforces; that in-main value appears to need a maintainer decision (re-advance it or accept the rollback), since #749 was merged deliberately.
Verification performed: the diff is exactly this one line; the PR value matches the script's current deterministic selection; focused tests tests/test_dockerfile.py + tests/test_update_debian_snapshot.py pass (10 passed under uv run --frozen); all GitHub Actions checks on this head are green, including both image builds and the multi-arch manifest. Trivy counts are disclosed in the PR body by design and reflect base-image exposure, not this diff.
🔄 CHANGES REQUESTED
| FROM python:3.12-slim-trixie AS snapshot-base | ||
|
|
||
| ARG DEBIAN_SNAPSHOT=20261112T000000Z | ||
| ARG DEBIAN_SNAPSHOT=20261109T000000Z |
There was a problem hiding this comment.
The diff sets the snapshot to 20261109T000000Z, but main (9bd52cb, #749, merged 2026-11-12) currently carries 20261112T000000Z. Merging this head as-is would roll the automation runtime image back three days, reintroducing any package fixes between the Nov 9 and Nov 12 snapshots.
This is not transient: update_debian_snapshot.py deterministically selects the newest UTC-midnight snapshot at least seven days old (20261109 today) and only HEAD-verifies archive availability, so the next scheduled workflow run (Mon 2026-11-23) will force-push this same value over any later advance on main, re-rolling the image again. The 20261112 value on main was set the same day it merged, outside the seven-day observation period this workflow's own script enforces (validate_snapshot_age); that in-main value appears to need a maintainer decision (re-advance it or accept the rollback) before this PR can merge without a regression.
e219df9 to
8fc52a4
Compare
all-hands-bot
left a comment
There was a problem hiding this comment.
This review was posted by an AI agent (OpenHands).
Fresh pass of the current head 8fc52a481bd532a7a5e8a94aaddf83dcb32a41fe (prior reviews by this account covered earlier heads; head has moved, so a re-review is warranted). Reviewed against main (460dbd4).
Scope gate: the change is a one-line ARG DEBIAN_SNAPSHOT bump in containers/Dockerfile, owned by this repository (AGENTS.md structure and cross-repository boundaries) and maintained by its own scheduled workflow (.github/workflows/update-debian-snapshot.yml). No repository move or maintainer decision is needed.
Verification on the current head:
- The diff against
mainis exactly the one snapshot line (20261112T000000Z→20261116T000000Z), and the new value is exactly what.github/scripts/update_debian_snapshot.pydeterministically selects for today's run date (2026-11-23): the newest UTC-midnight snapshot at least seven days old. The selection is not stale — this is the value the workflow will keep producing until a newer snapshot crosses the seven-day boundary. - Both
debiananddebian-securitysnapshot archives are reachable for20261116T000000Z(verified live). - Focused tests pass on this head:
tests/test_dockerfile.py+tests/test_update_debian_snapshot.py, 10 passed (uv run --frozen). - The snapshot-selection script and Dockerfile are otherwise byte-identical to
main; no logic, security, or contract change rides along with the value bump. - All GitHub Actions check runs for this head are green, including both architecture image builds and the multi-arch manifest, plus
unit-tests,backend, andwindows-tests. - The PR body's Trivy counts (HIGH: 121, LOW: 143, MEDIUM: 156, UNKNOWN: 20) reflect the Debian base-image exposure inherent to the runtime image; this diff changes no package installation logic, so no regression is attributable to it. For reference, the head's GHCR builds recorded base
python:3.12-slim-trixieat digestsha256:0119d8707f6262c445a1a7378bb4f52a3e9d43b53ba5da4d0d7c21b7c1f5c3a2; Docker Hub currently servessha256:5e2bdb1b0d542d5039cffb8181c65930093949194a65c365dfb1b0fe13a4fa5bfor that tag. This is informational only: digest pinning is not this repository's practice (no snapshot PR or prior hardening change pins base digests, and the weekly workflow force-pushes this branch), and the scheduled rerun rebuilds against the then-current tag.
No material correctness, security, or compatibility findings on this head. The earlier rollback concern (head selecting a snapshot older than main) no longer applies: the current head carries 20261116, which is newer than main's 20261112.
✅ APPROVED
Use the newest UTC snapshot that has completed the seven-day observation period. Co-authored-by: openhands <openhands@all-hands.dev>
8fc52a4 to
c4e9303
Compare
all-hands-bot
left a comment
There was a problem hiding this comment.
This review was posted by an AI agent (OpenHands).
Fresh pass of the current head c4e930364c762b63e8aa28d684faf6192319285f (prior reviews by this account covered earlier heads; the head has moved, so a re-review is warranted). Reviewed against main (d292abf), which currently carries DEBIAN_SNAPSHOT=20261112T000000Z.
Scope gate: the change is a one-line ARG DEBIAN_SNAPSHOT bump in containers/Dockerfile, owned by this repository (AGENTS.md repository structure) and maintained by its own scheduled workflow (.github/workflows/update-debian-snapshot.yml). No repository move or maintainer decision is needed. It is a dependency bump — per the review guide, no design context is required for a self-evident one-line bump.
Verification on the current head:
- The diff against
mainis exactly this one line (20261112T000000Z→20261123T000000Z); no unrelated changes ride along. - The new value matches the deterministic selection of
.github/scripts/update_debian_snapshot.pyfor the workflow run that produced this commit (cron Mon 06:17 UTC, commit authored 2026-11-30 06:44 UTC): cutoff 2026-11-23 06:17 − 7 days → midnight20261123T000000Z, age 7d 6h ≥ the seven-day minimum enforced byvalidate_snapshot_age. This is the newest snapshot that has completed the observation period, matching the PR body. - Both
debiananddebian-securitysnapshot archives resolve for20261123T000000Z(verified live; snapshot.debian.org redirects the midnight timestamp to the nearest snapshot and serves HTTP 200). - Focused tests pass on this head:
tests/test_dockerfile.py+tests/test_update_debian_snapshot.py, 10 passed underuv run --frozen. - The Dockerfile and selection script are otherwise byte-identical to
main; no logic, security, or contract change accompanies the value bump. The file's loneARG DEBIAN_SNAPSHOT=line matches the script's regex expectation. - All GitHub Actions check runs for this head are green, including
unit-tests,backend,windows-tests, bothBuild and Push Automation Imagejobs (amd64/arm64), the multi-arch manifest, and PR title/description validation. - The PR body's Trivy counts (HIGH: 69, LOW: 143, MEDIUM: 122, UNKNOWN: 20) are disclosed by design; they reflect inherent Debian base-image exposure, and this diff changes no package installation logic, so no regression is attributable to it. The head's image builds succeeded.
- No linked issues are referenced by the PR; none need rechecking.
Rollback check: unlike one earlier head on this PR, 20261123T000000Z is newer than main's 20261112T000000Z, so merging advances the runtime image forward; the periodic snapshot-rollback concern does not apply.
No material correctness, security, or compatibility findings on this head.
🛡️ Note: this review is submitted as COMMENT rather than APPROVE because the configured reviewer account authored this PR (GitHub ignores approvals from the PR author); the verdict is approval.
✅ APPROVED
Summary
Advance the automation runtime to Debian snapshot
20261123T000000Z, the newest UTC snapshot that completed the seven-day observation period.The workflow built and scanned the image before opening this PR.
Trivy findings: HIGH: 69, LOW: 143, MEDIUM: 122, UNKNOWN: 20
This pull request was created by an automated workflow.
Jev-Fast-Audit
⚡ Jev fast audit · estimates · 0.17s · commit c4e9303
Strongest signal: No primary concern selected.
Evidence: No primary concern to locate.
Coverage: complete supplied coverage; 1/1 hunks, 1/1 files.
All estimates and evidence