-
Notifications
You must be signed in to change notification settings - Fork 0
fix(harbor-dev): gate teardown on deletionPolicy, verify the right Kustomization (PLT-1216) #423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bdchatham
wants to merge
18
commits into
main
Choose a base branch
from
feat/plt-1216-harbor-dev-teardown-v2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
15263e1
docs(harbor-dev): add the canonical teardown reference
bdchatham 28a0a54
fix(harbor-dev): target the workspace Kustomization and gate teardown…
bdchatham da67c84
docs(harbor-dev): propagate the teardown fixes across the reference set
bdchatham 85cca82
fix(harbor-dev): require the deletionPolicy change to land in git bef…
bdchatham f470156
fix(harbor-dev): never let a failed API read report a verified teardown
bdchatham a65e1b3
fix(harbor-dev): demote EBS leak signals to candidates and require an…
bdchatham 8b9ffea
fix(harbor-dev): poll bench and pod resources, and align the callers …
bdchatham dfc6d90
fix(harbor-dev): aggregate verification outcomes so a failure cannot …
bdchatham 4b2e6ab
fix(harbor-dev): route teardown through the shared poll and fix the P…
bdchatham 95b3f7c
fix(harbor-dev): establish the PVC-to-node relationship and guard the…
bdchatham 45a623c
fix(harbor-dev): close the live-patch exception in the evals
bdchatham ccf94ba
fix(harbor-dev): stop counting stderr as resources and make inventory…
bdchatham 91a99aa
fix(harbor-dev): make inventory completeness executable and pin the d…
bdchatham 925fe40
refactor(harbor-dev): consolidate teardown verification into one func…
bdchatham ba2c5a0
docs(harbor-dev): reword two messages that trip the Windows-path checker
bdchatham 604b772
fix(harbor-dev): check discovery transformations, sweep residuals bef…
bdchatham d0ca249
fix(harbor-dev): scope residual exemptions by kind and never reuse a …
bdchatham 2218e68
docs(harbor-dev): describe residuals as candidates, not confirmed lef…
bdchatham File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,8 @@ Harbor Dev is the conversational layer over `seictl network` + `seictl node`: an | |
|
|
||
| - Translates plain-English intent ("give me 4 validators on seid sha=abc, then an RPC fleet") into `seictl` invocations, so the engineer never hand-rolls SeiNetwork / SeiNode YAML, preset wiring, or peer selectors. | ||
| - Defaults to GitOps: renders CRs via `--dry-run`, writes them under `engineers/<alias>/<task>/`, opens a PR, and lets Flux apply on merge — direct apply is a rare, double-confirmed escape hatch. | ||
| - Covers the full daily-driver surface: onboarding, chain spinup, RPC fleets, single and comparative benches, status reads, and `git rm`-based teardown. | ||
| - Covers the full daily-driver surface: onboarding, chain spinup, RPC fleets, single and comparative benches, status reads, and PR-based teardown. | ||
| - Gates teardown on the field that leaks disks. A `SeiNetwork` deleted under its default `spec.deletionPolicy: Retain` orphans the validator SeiNodes it generated — they keep running, keep their PVCs, and keep their EBS volumes, and nothing in git or in Flux will ever remove them. The skill reads the policy, patches it to `Delete` before the removal merges, verifies against the engineer's own Flux Kustomization rather than `flux-system`, and polls the resources to gone. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| - Refuses the boundary that matters: harbor-only (never prod), `eng-<alias>`-only (no cross-tenant work), and it never silently works around a missing prereq — it surfaces the next step and halts. | ||
| - Gates both paths that wipe a node's chain data, and neither is ever volunteered. `seictl workflow state-sync` is the paved road — it re-bootstraps or migrates an existing node's store, always sign-off-and-`--dry-run`-first, never run against a shared or long-lived follower without escalating to its owner. A mutating `seictl task submit` is the escape hatch: it reaches the same wipe straight through one pod's sidecar with none of the recipe's holds, so it carries the stricter gate. | ||
|
|
||
|
|
||
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Descriptive sentence has 33 words. ASD-STE100 allows 25. Split it.