Skip to content

Share interrupted Helm recovery test setup - #5443

Merged
freeqaz-openai merged 1 commit into
mainfrom
quality/share-upgrade-helm-recovery-test-setup
Nov 11, 2026
Merged

freeqaz-openai merged 1 commit into
mainfrom
quality/share-upgrade-helm-recovery-test-setup

Conversation

@freeqaz-openai

@freeqaz-openai freeqaz-openai commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Share the setup for six interrupted Helm recovery scenarios and reuse the existing pre-rollback refusal assertions at four call sites. The cases retain the injected exit code, attempt reconstruction, candidate values, and their separate rollback and resume checks.

Verification

  • The owning source-mode upgrade recovery suite passed all 414 tests on base 6b4e8517 and candidate 0fd40a49. All 14 affected controls passed, the ordered results matched with zero skips, and both runs completed cleanup.
  • Workspace validation, TypeScript, scoped ESLint and formatting, and CI test selection passed locally.
  • Images and Packaging passed all 414 cases in the owning file in the same order, with zero skips and successful cleanup.

@clawsweeper

clawsweeper Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Nov 11, 2026
@clawsweeper

clawsweeper Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR shares interrupted Helm recovery setup and reuses existing refusal assertions across recovery scenarios.

Example: A Helm response is lost after the initializer completes for revision 2.

  • Before: Each scenario separately arms the fault, checks exit code 9, and reconstructs the pending release.
  • After: A shared helper performs those same steps while preserving scenario-specific candidate values and recovery checks.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and source-verified; validation is scoped to the controlled-protocol suite, with hosted success confirmed but detailed logs unavailable.
Proof confidence 🦐 gold shrimp (3/6) This collaborator-authored test refactor changes no production behavior; the body reports matching 414-test base/candidate runs, and exact-head Packaging CI passes, without establishing live-cluster recovery.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Repeated recovery setup makes the test scenarios harder to maintain consistently.
Reason: The collaborator-authored change reduces duplication without expanding platform scope or altering the recovery contract.

Merge readiness

✅ Ready for maintainer review

This PR is a focused, behavior-preserving test refactor with no actionable findings and passing checks on the reviewed head; retain it for maintainer triage while it remains a draft.

Priority: P3
Reviewed head: 0fd40a493792fe8e1cf739355b3c99482b536410

Before merge

None.

Findings

None.

Agent review details

How this fits together

The integration suite launches the production upgrade script against controlled Helm and Kubernetes command protocols, then checks recovery state, rollback submissions, and resume evidence.

flowchart LR
  A[Recovery scenarios] --> B[Shared setup helpers]
  B --> C[Production upgrade script]
  C --> D[Controlled command protocols]
  D --> E[Fixture state and evidence]
  E --> F[Refusal and resume assertions]
Loading

Technical review

Best possible solution:

Land the focused helper extraction when the author considers the draft ready.

Do we have a high-confidence way to reproduce the issue?

There is no reported product defect to reproduce; source comparison confirms repeated test setup and assertions.

Is this the best way to solve the issue?

Reusing the existing helpers is a small, complete refactor that preserves per-scenario state, expectations, and recovery controls.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against f0b9c002c057.

Provenance checked

  • Interrupted Helm setup keeps the original intent (Recover an interrupted Helm upgrade without rerunning initialization #4962: Exercise recovery of the exact interrupted candidate without repeating initialization; symbol history connects the setup to this work.)
  • Shared refusal assertions keeps the original intent (42ffbb6: Share common setup and refusal checks while retaining scenario-specific mutations and rollback/resume assertions.)
  • Concurrent fixture isolation keeps the original intent (c444d68: Overlap independent cases while each owns its command server, mutable state, and evidence.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Raw commit c444d68 adds tests/integration/production-image-upgrade-recovery.test.mjs:47 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: c444d68a087d; files: tests/integration/production-image-upgrade-recovery.test.mjs)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Change scope Production +0/-0; tests +26/-38 The extraction reduces repetition within the existing test file without adding production seams or test registrations.

Labels

Label changes:

  • add P3: This is low-risk test maintenance with no product behavior change.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is low-risk test maintenance with no product behavior change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 11, 2026, 4:23 AM ET / 09:23 UTC.

@freeqaz-openai
freeqaz-openai marked this pull request as ready for review November 11, 2026 09:26
@freeqaz-openai
freeqaz-openai requested a review from a team as a code owner November 11, 2026 09:26
@freeqaz-openai
freeqaz-openai merged commit 341ba88 into main Nov 11, 2026
50 of 52 checks passed
@freeqaz-openai
freeqaz-openai deleted the quality/share-upgrade-helm-recovery-test-setup branch November 11, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant