Skip to content

Make generated-data storage permanently snapshot-only - #466

Merged
trask merged 1 commit into
mainfrom
trask-permanent-snapshot-storage
Oct 14, 2026
Merged

trask merged 1 commit into
mainfrom
trask-permanent-snapshot-storage

Conversation

@trask

@trask trask commented Oct 13, 2026

Copy link
Copy Markdown
Member

Make generated-data storage unconditionally snapshot-only. Writes retain the complete current tree in a parentless commit, with generation ordering, stale-head protection, and exact force-with-lease expectations preserved. Stored JSON formats and delivery receipts are unchanged.

Keep DATA_BRANCH_SNAPSHOTS=true and all workflow environment injection for pinned v0.20.0 processors. Remove that wiring only after releasing and promoting the unconditional helper and retiring older writers. Stable/canary selection and release pins are unchanged.

The collector fetches full history for heads without snapshot metadata regardless of the variable, so a shallow fetch cannot hide history appended after a snapshot.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 98f8a22d-3c9b-46aa-aac1-5e8210583aaa
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-10-14 14:56 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The implementation, compatibility wiring, tests, and documentation consistently support unconditional snapshot storage.

0 open findings

What changed in this PR

Makes generated-data branches permanently snapshot-only while preserving compatibility with pinned v0.20.0 processors.

Changes:

  • Removes environment-gated snapshot behavior.
  • Preserves generation ordering, stale-head detection, and push leases.
  • Updates tests, workflow fetching, and operational documentation.
File Description
pull-request-dashboard/​README.md Documents permanent snapshots and transition requirements.
github-actions-queue/​README.md Updates queue storage guidance.
.github/​workflows/​github-actions-queue-collector.yml Unconditionally fetches legacy history.
.github/​scripts/​pull-request-dashboard/​WEBHOOK_SETUP.md Replaces cutover instructions with permanent-operation guidance.
.github/​scripts/​pull-request-dashboard/​test_state_branch.py Updates unit tests for snapshot ordering.
.github/​scripts/​pull-request-dashboard/​test_rollout.py Verifies compatibility wiring and collector fetching.
.github/​scripts/​pull-request-dashboard/​test_data_snapshots.py Expands snapshot integration coverage.
.github/​scripts/​pull-request-dashboard/​state_branch.py Makes snapshot reads and writes unconditional.
.github/​scripts/​github-actions-queue/​DATA_BRANCH_README.md Documents snapshot-only data storage.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@trask
trask marked this pull request as ready for review October 13, 2026 20:57
@trask
trask requested a review from a team as a code owner October 13, 2026 20:57
@trask
trask requested a review from maryliag October 13, 2026 20:57
@trask
trask merged commit 6993106 into main Oct 14, 2026
8 checks passed
@trask
trask deleted the trask-permanent-snapshot-storage branch October 14, 2026 14:55
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.

3 participants