Repository navigation
[BUILD] Self-heal Arrow APT key rotations in Dockerfile - #9750
Conversation
|
@aliviahossain The following names might be missing from the
Please consider applying the following patch: --- AUTHORS 2026-07-16 12:37:08.650515649 +0000
+++ AUTHORS.new 2026-07-16 12:37:14.330284644 +0000
@@ -14,6 +14,7 @@
- Alexandra Scherbart
- Alexandra Zerck
- Alivia Hossain
+ - Alivia Hossain
- Amanda Wein
- Andreas Bertsch
- Andreas Simon |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Dockerfile’s ChangesArrow APT keyring
Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
66405fb to
175d30b
Compare
Add a CHANGELOG entry for the base/library-stage KEYS append that keeps the nightly Docker build resilient to Apache Arrow signing-key rotations. Follow-up to OpenMS#9728. Relates to OpenMS#9729.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@CHANGELOG`:
- Line 25: Revise the CHANGELOG entry to soften its guarantee: replace the claim
that future Arrow APT key rotations can no longer break nightly builds with
wording that it reduces failures for rotations covered by Apache Arrow’s
canonical KEYS file, while retaining the existing Signed-By and stage context.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 847e1d15-531e-4373-b9eb-255674bf0619
📒 Files selected for processing (2)
CHANGELOGdockerfiles/Dockerfile
🚧 Files skipped from review as they are similar to previous changes (1)
- dockerfiles/Dockerfile
175d30b to
d60958e
Compare
|
awesome! |
Thanks for approving, you can merge the PR ! |
* docs(changelog): add entries for #9492, #9752 Backfills two CHANGELOG entries for recently merged PRs that landed without their own entry: - #9752: new BUILD_TOPP_TOOLS / INSTALL_OPENMS_EXAMPLES CMake options enabling a core-only OpenMS SDK build - #9492: null-dereference guards in TargetedExperiment::get*ByRef and ReactionMonitoringTransition::getPrediction All other PRs merged since the last CHANGELOG update (#9613, #9750, #9738) already carried their own entries; #9572 is test-only and follows the existing convention of not adding a changelog entry for test-only PRs in this series. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QcFv1tmBLzroCNJFjoqhZt * Update CHANGELOG Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: Claude <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…erence (#9772) - Add entry for #9745 (corrected stale ImzMLFile documentation on imaging geometry derivation, .ibd integrity check, and narrowed InvalidValue throw conditions). - Point the Arrow APT signing-key self-heal entry at the actual merged PR #9750 instead of only the tracking issue #9729. Claude-Session: https://claude.ai/code/session_01XoLJy9fP8E2m25rggnF6h3 Co-authored-by: Claude <[email protected]>
…S#9753) * docs(changelog): add entries for OpenMS#9492, OpenMS#9752 Backfills two CHANGELOG entries for recently merged PRs that landed without their own entry: - OpenMS#9752: new BUILD_TOPP_TOOLS / INSTALL_OPENMS_EXAMPLES CMake options enabling a core-only OpenMS SDK build - OpenMS#9492: null-dereference guards in TargetedExperiment::get*ByRef and ReactionMonitoringTransition::getPrediction All other PRs merged since the last CHANGELOG update (OpenMS#9613, OpenMS#9750, OpenMS#9738) already carried their own entries; OpenMS#9572 is test-only and follows the existing convention of not adding a changelog entry for test-only PRs in this series. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QcFv1tmBLzroCNJFjoqhZt * Update CHANGELOG Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: Claude <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…S#9753) * docs(changelog): add entries for OpenMS#9492, OpenMS#9752 Backfills two CHANGELOG entries for recently merged PRs that landed without their own entry: - OpenMS#9752: new BUILD_TOPP_TOOLS / INSTALL_OPENMS_EXAMPLES CMake options enabling a core-only OpenMS SDK build - OpenMS#9492: null-dereference guards in TargetedExperiment::get*ByRef and ReactionMonitoringTransition::getPrediction All other PRs merged since the last CHANGELOG update (OpenMS#9613, OpenMS#9750, follows the existing convention of not adding a changelog entry for test-only PRs in this series. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QcFv1tmBLzroCNJFjoqhZt * Update CHANGELOG Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: Claude <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Summary
Apache Arrow rotates its APT signing key from time to time. When it does, the key bundled in the apache-arrow-apt-source .deb goes stale, apt-get update fails with NO_PUBKEY, and the nightly Docker build breaks (#9729).
#9728 already cleared the immediate failure. This is the durable follow-up: it appends Apache's canonical KEYS to the exact keyring the .deb pins through Signed-By (/usr/share/keyrings/apache-arrow-apt-source.asc), right after the .deb install and before apt-get update, in both the base and library stages. It is additive, needs no new deps since wget is already there, and self-heals on future rotations.
The key cannot go in /etc/apt/trusted.gpg.d/, because once the .deb sets Signed-By, apt only trusts that one keyring for Arrow.
Checklist
Files changed:
dockerfiles/Dockerfile (1 file, 8 insertions). Same line added to the base and library stages:
&& wget -qO- https://downloads.apache.org/arrow/KEYS >> /usr/share/keyrings/apache-arrow-apt-source.asc \
Verification:
Not a full image build. I ran the affected apt/keyring steps in an isolated ubuntu:24.04 container, simulated a key rotation with a stale key, and ran apt-get update before and after.
Before:
Err:5 ... noble InRelease
... NO_PUBKEY 9E922B2D60E9FD1C
E: The repository '... noble InRelease' is not signed.
After (KEYS appended):
Get:5 ... noble InRelease
Get:6 ... noble/main Sources
Get:7 ... noble/main amd64 Packages
@timosachsenberg Please review it and merge it if everything's clear. Thanks!
Related:
Follow-up to #9728. Closes #9729.
Summary by CodeRabbit
NO_PUBKEY-style failures.Signed-Bysource.