Skip to content

Type Configuration persistence and recovery conformance cases - #5989

Merged
freeqaz-openai merged 1 commit into
mainfrom
codex/convert-configuration-occ-conformance
Nov 14, 2026
Merged

freeqaz-openai merged 1 commit into
mainfrom
codex/convert-configuration-occ-conformance

Conversation

@freeqaz-openai

Copy link
Copy Markdown
Collaborator

Summary

Move the ten Configuration persistence and recovery cases into a TypeScript module. The existing OCC conformance entry still supplies the controller and Driver fixture and registers the cases in the same order.

The stale-writer case now requires ConfigurationGenerationConflictError. The failed-delete case verifies that the controller can read the exact document restored after a state read fails.

Verification

  • On Node 24.22.1, all 69 OCC and Configuration Driver conformance cases and all 286 Configuration HTTP cases passed with zero skips. The case names and order matched the parent commit.
  • The focused checks-baseline-1 run passed preparation, all 40 cases in the original entry, and cleanup.
  • Fourteen fault controls failed in the expected cases when generation checks, rollback, recovery, or exact document inspection were weakened. These included a foreign document, a concurrent committed writer, and the 100/101 generation boundary.
  • TypeScript, CI manifest audit, lint, formatting, and workspace isolation passed.

The OCC recovery cases use controlled Driver and state failures. Live PostgreSQL and Kubernetes persistence have separate integration coverage.

@freeqaz-openai
freeqaz-openai requested a review from a team as a code owner November 14, 2026 09:53
@clawsweeper

clawsweeper Bot commented Nov 14, 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 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Moves Configuration persistence and recovery conformance cases into a typed registrar while retaining the existing fixture and entry point.

Example: Two saves both name expectedGeneration 1.

  • Before: The test accepts any ResourceStateConflictError for the rejected second save.
  • After: The test specifically requires ConfigurationGenerationConflictError and still verifies that the first save remains stored.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A correct, focused test migration supported by source comparison and green CI; execution evidence remains at the in-process test boundary.
Proof confidence 🦐 gold shrimp (3/6) No shipped behavior changes, so shipped-entry-point proof is unnecessary; the PR reports focused conformance, HTTP, and fault-control results, and reviewed-head CI succeeds.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
Reason: The maintainer-authored migration adds type checking to established recovery cases and improves two assertions without expanding product scope.

Merge readiness

✅ Ready for maintainer review

This PR is a focused, maintainer-authored test migration with no identified correctness defects; it preserves the ten scenarios and strengthens two meaningful assertions.

Priority: P3
Reviewed head: 441d33a8d06107a601cfa5033574774e907edd2f

Before merge

None.

Findings

None.

Agent review details

How this fits together

The conformance entry supplies a real OCC controller, IAM, in-memory platform state, and a passive Configuration Driver fixture; the extracted cases exercise generation checks, compensation, recovery, and deployment snapshots.

flowchart TD
  A[Conformance entry] --> B[Typed case registrar]
  A --> C[Existing fixture]
  B --> D[OCC controller]
  C --> D
  D --> E[In-memory platform state]
  D --> F[Configuration Driver fixture]
Loading

Technical review

Best possible solution:

Retain the typed extraction and stronger assertions through the existing conformance entry without changing production persistence behavior.

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

This PR reports no new product bug; source comparison verifies the test extraction, and no tests were run during this read-only review.

Is this the best way to solve the issue?

The extraction follows the existing explicit registrar pattern, reuses the established fixture, and strengthens observable outcomes without introducing production seams.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

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.

Labels

Label changes:

  • add P3: This is test maintenance with stronger regression assertions and no production 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 test maintenance with stronger regression assertions and no production 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 14, 2026, 5:05 AM ET / 10:05 UTC.

@freeqaz-openai
freeqaz-openai merged commit 25736b7 into main Nov 14, 2026
62 checks passed
@freeqaz-openai
freeqaz-openai deleted the codex/convert-configuration-occ-conformance branch November 14, 2026 10:07
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