Skip to content

docs: the catalogs and inputs buckets keep versions; no policy requires a conditional put - #685

Merged
rusholme merged 1 commit into
mainfrom
bucket-versioning/1-kona-comment
Dec 4, 2026
Merged

rusholme merged 1 commit into
mainfrom
bucket-versioning/1-kona-comment

Conversation

@rusholme

@rusholme rusholme commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

What and why

kona.py said 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's put_bytes docstring and in scripts/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 on main (the default branch since the switch-day PR 664), not rebuild as the card's standing notes still say.

Measurements

None: comments and docstrings only, no behaviour change; py_compile and scripts/check-public-safety.sh pass locally, the unit suite runs in CI.

Improvements seen

None.

Session notes

The card's standing notes (COMMON.md) still name rebuild as the rapid branch; main is the default since PR 664.

Next

Nothing.

🤖 Generated with Claude Code

…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>
@rusholme
rusholme merged commit 474325f into main Dec 4, 2026
5 checks passed
@rusholme
rusholme deleted the bucket-versioning/1-kona-comment branch December 4, 2026 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant