Repository navigation
docs: the catalogs and inputs buckets keep versions; no policy requires a conditional put - #685
Merged
Merged
Conversation
…es a conditional put kona.py, the catalog store and the L2 streamer said the bucket's sealed policy denies an unconditional put. The new infrastructure tree dropped those denies; the two buckets now deny deletes and keep every version, and the conditional create is the writer's own choice. Comments only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
kona.pysaid the catalogs bucket "is sealed create-once (its policy denies an unconditional put)". That deny went with the new infrastructure tree: today the catalogs and inputs buckets deny deletes (versions included) and, from IPAC-SW/rapid_systems PR 594 (versioning on the catalogs and inputs buckets), keep every version of an overwritten key. The conditional create (If-None-Match: *) stays as the writer's own choice; only the stated reason changes. The same stale claim was in the catalog store'sput_bytesdocstring and inscripts/stream_l2_files.py's docstring about the inputs bucket, so those are corrected too.Files
rapidpipe/science/alerts/kona.py: the inline comment and the function docstring.rapidpipe/science/catalogs/store.py:put_bytes's docstring.scripts/stream_l2_files.py: the module docstring.Divergences
The card named only
kona.py's comment; the two other places say the same false thing and are one sentence each, so they are in this PR. Based onmain(the default branch since the switch-day PR 664), notrebuildas the card's standing notes still say.Measurements
None: comments and docstrings only, no behaviour change;
py_compileandscripts/check-public-safety.shpass locally, the unit suite runs in CI.Improvements seen
None.
Session notes
The card's standing notes (COMMON.md) still name
rebuildas the rapid branch;mainis the default since PR 664.Next
Nothing.
🤖 Generated with Claude Code