Skip to content

fix(showcase): connect selected results to atomic PocketBase persistence - #7550

Merged
contextablemark merged 1 commit into
contextablemark/restart-pocketbase-green-honestfrom
contextablemark/restart-pocketbase-caller
Oct 1, 2026
Merged

contextablemark merged 1 commit into
contextablemark/restart-pocketbase-green-honestfrom
contextablemark/restart-pocketbase-caller

Conversation

@contextablemark

Copy link
Copy Markdown
Contributor

Selected fleet results still used separate status and history writes, so a history failure could be acknowledged as processed. This connects selected observations to the atomic PocketBase endpoint in #7548. Status, history, and the durable observation receipt commit together; persistence failures propagate to the existing consumer and leave the job unprocessed.

Selection comes from the persisted job payload. Selected D5 keys use the canonical d5 namespace; aggregate and off-scope rows are excluded. Interrupted results reuse the same run, including after the boot stale-run sweep, and committed observation receipts replay without duplicate history, counters, or status events. A completed-run fingerprint is recorded only after all selected observations and required run finish succeed. The caller asks the endpoint to validate durable receipt replay.

The existing writer calculations and ordinary/unfiltered behavior remain. This change adds no probe execution, retry/skip qualification, dashboard UI, storage schema, or test framework. It does not establish honest functional green.

Validation:

  • Focused regression cases failed against the prior caller, then passed with the integration; existing relevant suites and the repaired orchestrator job-lookup case passed.
  • Harness Nx typecheck/build and scoped format passed. Lint has zero errors and the same 102 warnings as the exact base; the new helper has no diagnostics.
  • A private real PocketBase run reproduced the old false acknowledgement. With the candidate, a successful prefix committed once, a later history-validation failure rolled back and left the job unprocessed, and a new consumer process ran the real stale-run sweep before recovering the same run. Prefix data/history/receipt, excluded aggregate/off-scope rows, and the raw worker result stayed unchanged; the later observation gained exactly one history row and receipt. All disposable resources were removed.

This PR is stacked on #7548 and should follow its endpoint deployment. Capacity restoration is separate in #7549. Preserve database schema/data across application rollback and follow the artifact's staged rollout with a complete D5/D6 observation between changes. No deployment is included.

Restart reference: narrowly restores the persistence seam from #7256, without restoring its producer and qualification policy changes.

@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (4)
  • fix(showcase)
  • feat(showcase)
  • chore(release)
  • chore: release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: CopilotKit/CopilotKit/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 61cd0634-3f6a-4c2d-a260-dc9ac8e60843

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Production Digest-Pinning Audit

All 42 services digest-pinned.

Run 2026-09-30 19:09:38 PDT — 0 finding(s).

@contextablemark
contextablemark marked this pull request as ready for review October 1, 2026 02:18
@contextablemark
contextablemark merged commit 419580e into contextablemark/restart-pocketbase-green-honest Oct 1, 2026
12 checks passed
@contextablemark
contextablemark deleted the contextablemark/restart-pocketbase-caller branch October 1, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants