Repository navigation
fix(showcase): persist complete canonical fleet results - #7335
Conversation
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (4)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: CopilotKit/CopilotKit/.coderabbit.yaml Review profile: CHILL Plan: Advanced 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 |
Production Digest-Pinning AuditAll 42 services digest-pinned. Run 2026-09-21 15:02:50 PDT — 0 finding(s). |
Complete fleet results can exceed the existing 65,536-byte probe_jobs.result limit and fail persistence. This restores the additive migration from #7335 byte-for-byte, raising the finite limit to 2,000,000 bytes while preserving existing larger limits and other schema options. Missing or incorrectly typed fields fail with a specific migration error. The down callback remains a no-op. The focused integration driver uses official PocketBase images and disposable local databases. It checks baseline rejection, full payload equality after upgrading the same row, finite overflow rejection, fresh installs, preserved larger limits, malformed schema guards, exact migration re-execution, and application-image rollback and re-upgrade. No down migration is run. Its synthetic fixture verifies storage capacity; it is not evidence that demo features pass. Removed the Docker lifecycle fault suite, custom-input test, legacy failure mode, evidence writer, artifact retention options, and duplicate payload hashes. Direct database assertions and owned-resource cleanup remain. Production migration behavior is unchanged. Validation: the retained real PocketBase suite passed on official images, including baseline rejection, upgrade/fresh writes, guards, finite overflow, idempotence, and application-image rollback/re-upgrade. Scoped Nx format/lint and JavaScript syntax checks passed; the full official Docker image built successfully. Test containers and volumes were removed. Deploy separately after the endpoint prerequisite, retaining schema/data and observing a complete staging D5/D6 cycle before the next change. No rollout is included. Restart references: #7335, #7340. This does not reverse the broader showcase rollback or merge the archive.
Problem and change
Full canonical Showcase results exceeded PocketBase's 65,536-byte
probe_jobs.resultlimit. Workers completed their jobs, but their result writes were rejected; the dashboard could not receive the cell verdicts.Add one migration increasing only that JSON field to a finite 2,000,000-byte limit, matching the existing status/history signal ceiling. The captured full 42-cell result measured 106,702 UTF-8 bytes (18.7× headroom, not a guaranteed maximum for every future result). All verdicts and proof fields remain intact. Preserve other field options and existing larger limits; fail if the expected JSON field is absent. Rollback intentionally retains capacity so stored larger results remain compatible.
Real local RED → GREEN
Actual canonical full D5 capture through the local public shell and LangGraph Python backend; immutable payload SHA256
586b59996a2b616b2e2dc1c70c6fc3bd4b92ef745b1ef88c70dd238aea20da0c.The local result contains failing demos; this change delivers their results rather than changing demo behavior. No framework-cell repair claim.
Validation
Proof artifacts:
result-capacity-local/private-probe-jobs-red.json,migration-up.log,private-probe-jobs-green.json,consumer-green.json,implementation-gates.json, anddocker-build.log.Staging deployment must retain
:latest, apply the additive migration on its existing volume, verify actual field capacity, and rerun the fresh matrix. No aimock release or image pin.Final source:
4523f65a36c103cd7bd0bb672a9521141728b6f4. Seven independent review roles report zero mandatory findings.pre-push-quality.jsonrecordsCLEAN_NO_PUSH;commit-concerns.jsonconfirms the unchanged single purpose commit. Remote CI and deployment remain pending.