Repository navigation
Phase 5: the workflow, run as a user would - #200
Merged
Merged
Conversation
The four steps at the top of hotfix-becomes-a-workflow.md, in order, with no
hand-editing of yaml at any point. The deployed values file is byte-identical
to `--print-values` output and p47-services carries no hotfix template at all.
1. Emitted with --values/--parent-values and deployed as emitted. Diffed
against the live StatefulSet: podbench-app and podbench-home added,
nothing lost, beamline-data still there.
2. The claim comes from the podbench-hotfix-claim dependency in the shared
.helm-shared/Chart.yaml. The other four ec-services that inherit it render
zero podbench objects.
3. Push to Argo, hands off: claim Bound and pod replaced in under two and a
half minutes.
4. `vscode` landed a seat, mounted the claim unasked, reported [x] iterate,
and opened /podbench/app - both in its own output and in the argv it
handed the editor.
Then init, edit, apply, and the four contract numbers all held: restartCount
still 0, child pid 7 -> 1065, the marker live in the running process, the seat
untouched.
Finally the revert, which is #190's path: everything the branch added was
pruned in 20 seconds and the claim is still Bound - attributable this time,
because Phase 1 measured that keep alone would not have survived it.
Says what it did not measure, including that `code` was a stub on a headless
machine and no window opened.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015LEmzFsLaoa5zWeQvdN1Xe
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
This was referenced Aug 22, 2026
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.
Phase 5 of
.claude/plans/hotfix-becomes-a-workflow.md— the acceptance testfor the whole plan, run against the real
bl47p-ea-fastcs-01onp47-beamline.Evidence only; no code changes. Released as 0.7.1 first, because Phase 5
needs Phase 3's subchart on a registry Argo can reach and CI only publishes
charts on a tag.
The four steps, in order, with no hand-editing of yaml at any point
services/bl47p-ea-fastcs-01/values.yamlis byte-identical to--print-values --values --parent-valuesoutput. Diffed against the live StatefulSet:podbench-appandpodbench-homeadded, nothing lost,beamline-datastill there.podbench-hotfix-claimdependency in the shared.helm-shared/Chart.yaml;p47-servicescarries no hotfix template at all — the branch was reset tomainand rebuilt from generated output. The other four ec-services that inherit thatChart.yamlrender zero podbench objects.Boundand pod replaced in under two and a half minutes, hands off.restartCount0,fsGroup37887, both keep-annotations on the claim.vscodelanded a seat, mounted the claim unasked, reported[x] iterate, and opened/podbench/app.The four contract numbers, after
init→ edit →applyrestartCountpodbench-1since 20:38:14ZThe first line is the runtime switch choosing the claim's venv; the second is
code that exists nowhere but the claim, in a container whose
restartCountisstill 0. The marker was confirmed absent from the image's own
/app/src/fastcs_example/__init__.pybeforeapplyran.#190, re-proved and now attributable
The revert pruned everything the branch added in 20 seconds — volumes,
supervisor,
fsGroup, and the editor's memory resize — and the claim is stillBound. Phase 1 measured thathelm.sh/resource-policy: keepalone would havebeen pruned in about three minutes and taken its
Delete-reclaim PV with it, sothe survival is attributable to
Prune=falserather than merely observedalongside it. Nothing in
p47-servicescarries that annotation; the subchartdoes.
What this run found
--print-values --from-pod POD --values FILEprintedEXISTING_MOUNTS_WARNING— telling the user to hand-merge — and then printed a correctly merged file.
Fixed in #199 before this write-up. It is the only defect running the workflow
end to end turned up.
Said out loud rather than glossed
codewas a stub recordingargv. What is proven is the argv podbench built —
code --remote ssh-remote+… /podbench/app— not VS Code's response to it.vscodeexited 2 at the ssh check: this container had no~/.ssh/config, so ssh never read podbench's stanza.podbench doctor --fixresolved it. Recorded because podbench refused before the vscode-server
download, which is what that check is for.
consolidate,bl47p-mo-ioc-01, and pod-replacement-mid-hotfix were notre-measured, for the reasons the plan gives.
--valuesagainst a chart nesting its keys somewhere other thanioc-instanceexists only as a unit test; no second real chart was to hand.State left behind
p47-deploymentonmainfor every service.bl47p-ea-fastcs-01-0on itsoriginal entrypoint,
Ready,iocRun: All initialization complete.One 2Gi claim is still
Bound, carrying the checkout and commitc9cf51c.That is the design working, not litter — it is step 6 of the retirement
checklist and a deliberate act, and the test service account has no
deleteonpersistentvolumeclaims. Deleting it needs a human.🤖 Generated with Claude Code
https://claude.ai/code/session_015LEmzFsLaoa5zWeQvdN1Xe