Skip to content

docs(migration): reconcile v0.2-to-v0.3 with PR-M v0.4.0+ deferral#254

Merged
trilamsr merged 1 commit into
mainfrom
docs/migration-pr-n-reconcile
Jun 1, 2026
Merged

docs(migration): reconcile v0.2-to-v0.3 with PR-M v0.4.0+ deferral#254
trilamsr merged 1 commit into
mainfrom
docs/migration-pr-n-reconcile

Conversation

@trilamsr

@trilamsr trilamsr commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

PR-N (docs/migration/v0.2-to-v0.3.md) landed at #200 assuming PR-M (delete pyspy + ship parca-agent recipe) would cut at v0.3.0, which made the CAP_SYS_PTRACE → CAP_SYS_ADMIN/CAP_BPF migration a v0.3.0 break. #222 subsequently deferred PR-M to v0.4.0+ (triggers: OTel Profiles → Beta + feature-gate removed AND parca-agent gains OTLP export). The migration doc now contradicts reality — components/receivers/pyspy/ still ships in v0.3.0's OCB binary, tracecore-pyspy stays on PyPI, and the chart's receivers.pyspy.* key is still honoured. This PR reframes the timeline throughout: pyspy STAYS in v0.3.0 with unchanged zero-capability posture, the CAP migration is preserved as forward-looking operator preparation material for v0.4.0+, and #222 is named as the source of truth for re-evaluation triggers. The CAP migration content itself (the parca-agent requirements table, minimum-grant SecurityContext, failure-mode table, removal checklist) is retained because operators planning v0.4.0+ upgrades still need it; only the timeline framing changes.

Test plan

  • make check — green (fmt, tidy-check, lint, vet, mod-verify).
  • make doc-check — green (501 markdown links resolve, banned-phrase lint clean across 106 files, comment-noise diff gate clean vs origin/main, no rot-prone reference drift).
  • Reviewer confirms the reframed timeline matches PR-M: parca-agent recipe + delete pyspy — DEFERRED to v0.4.0+ #222's deferral memo (PR-M unblocks on OTel Profiles → Beta + parca-agent OTLP export, neither met at v0.3.0 cut).
  • Reviewer confirms the CAP migration content (parca-agent requirements, minimum-grant SecurityContext, failure-mode table) is preserved verbatim — only framing prose changed.

Noticed but out-of-scope

Release notes

- docs(migration): reframe docs/migration/v0.2-to-v0.3.md to reflect PR-M deferral to v0.4.0+ (per #222) — pyspy receiver and tracecore-pyspy PyPI helper continue to ship in v0.3.0 with unchanged zero-capability posture; the CAP_SYS_PTRACE → CAP_SYS_ADMIN/CAP_BPF migration content is retained as forward-looking operator preparation for the v0.4.0+ cutover.

@trilamsr trilamsr enabled auto-merge (squash) June 1, 2026 02:57
@trilamsr trilamsr merged commit 10afed1 into main Jun 1, 2026
11 checks passed
@trilamsr trilamsr deleted the docs/migration-pr-n-reconcile branch June 1, 2026 02:59
trilamsr added a commit that referenced this pull request Jun 1, 2026
…259) (#263)

## Summary

Three concern-isolated doc-rot reconciles, one commit per issue:

- **#256** — `components/receivers/pyspy/README.md` + `RUNBOOK.md`
reframe the stale 2026-05-22 "Scheduled for deletion at v0.3.0" banner
to "deferred to v0.4.0+ per
[#222](#222)" with the
OTel-Profiles-→-Beta + parca-agent-OTLP-export re-evaluation triggers
named verbatim.
- **#257** — `docs/rfcs/0013-distro-first-pivot.md` adds deferral
banners at §4 Migration timeline (v0.3.0 row) and §Migration/rollout
v0.3.0 sequencing; annotates the §7 Deletion list rows + PR-M sequencing
entry with explicit `(deferred to v0.4.0+ per #222)` markers. Historical
sequencing preserved verbatim (option 1 from the issue).
- **#259** — `docs/reproducibility.md` + `docs/notes/reproducibility.md`
reconciled against post-PR-#258 inline-shell `package` job: drop all
`.goreleaser.yaml` / `.goreleaser.yml` / `goreleaser.yml`
signer-workflow references; reframe build narrative around
`SOURCE_DATE_EPOCH` + `tar --mtime` + `--sort=name` + `gzip -n`
deterministic-byte controls; update download patterns + verification
commands to operate on tar.gz archives; add an explicit `sha256sum -c
checksums.txt` step so the operator integrity chain (sha256sum →
checksums.txt → cosign bundle) is named in the walkthrough. Cosign
bundle naming unchanged.

## Root causes

- **#256**: banner predates the PR-M deferral memo in #222; PR #254
reconciled `docs/migration/v0.2-to-v0.3.md` but explicitly left the
receiver READMEs out of scope.
- **#257**: PR #254's References section flagged the RFC body with a
"supersede with #222" note but the body itself was untouched.
- **#259**: PR #258 (goreleaser → inline shell) deletes
`.goreleaser.yaml`; the reproducibility docs additionally referenced a
never-existed `.github/workflows/goreleaser.yml` signer-workflow path
(the file has always been `release.yml`), so the docs were doubly-broken
pre-#258 and singly-broken post-#258.

## Sequencing note

PR #258 is the source of truth for the post-pivot inline-shell `package`
job referenced by the #259 reconcile. #258 is currently open + green; if
#258 merges first, the doc paths are immediately accurate. If this PR
merges first, the docs describe the target state and converge once #258
lands. Either order works.

## Test plan

- [x] `bash scripts/doc-check.sh` — clean (500 markdown links resolve,
47 non-.md intra-repo links resolve, banned-phrase lint clean, all
required sections present, 10 fenced bash/sh blocks in
`docs/reproducibility.md` shell-syntax-clean).
- [x] `make check` — clean (gofumpt, tidy-check, golangci-lint 0 issues,
go vet, go mod verify).
- [x] Manual cross-link spot check: confirmed the new `#222` issue links
+ `docs/migration/v0.2-to-v0.3.md` cross-references resolve; confirmed
RFC `(deferred to v0.4.0+ per #222)` markers attached at every flagged
line (matrix row, deletion-list rows, §Migration/rollout sequencing
entry); confirmed reproducibility docs no longer mention `goreleaser`
anywhere via `grep -i goreleaser`.
- [x] Verified no in-flight conflicts with PR #254 (already-merged
migration-guide reconcile) or PR #258 (still-open inline-shell pivot —
touches `.github/workflows/release.yml` + deletes `.goreleaser.yaml`, no
overlap with this PR's files).

## Out of scope / follow-ups

No new doc-rot noticed beyond the three issues addressed here.

```release-notes
docs: reconcile three stale references post-v0.2.0: pyspy README + RUNBOOK + RFC-0013 §Migration now correctly reflect that PR-M (parca-agent recipe + pyspy delete) is deferred to v0.4.0+ pending OTel Profiles → Beta + parca-agent OTLP export (#222); reproducibility docs (docs/reproducibility.md + docs/notes/reproducibility.md) updated for the post-#258 inline-shell `package` job — operator-facing integrity chain (sha256sum → checksums.txt → cosign bundle → SLSA attestation) preserved end-to-end.
```

Closes #256.
Closes #257.
Closes #259.

---------

Signed-off-by: Tri Lam <tri@maydow.com>
Co-authored-by: Tri Lam <tri@maydow.com>
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