Skip to content

fix(capture): collect retention on the housekeeping route; drop request_budget - #4575

Merged
Sinity merged 2 commits into
masterfrom
feature/packet/polylogue-06zm
Sep 3, 2026
Merged

Sinity merged 2 commits into
masterfrom
feature/packet/polylogue-06zm

Conversation

@Sinity

@Sinity Sinity commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Summary

The two review conditions for polylogue-06zm. #4574 merged the lane's pre-review head (the remote branch was stale; the rebased push was rejected non-fast-forward after the merge had already been queued). This PR carries the reviewed delta.

Solution

gc() runs on GET /v1/capture-jobs/orphans, the receiver's existing housekeeping pass; the end-to-end test drives GC through that route (unwiring it turns the test red). request_budget (never incremented or enforced) removed; the job insert uses named columns so a receiver database that already has the retired column still opens.

Verification

devtools test tests/unit/browser_capture -n 2   # 172 passed on the lane head

🤖 Generated with Claude Code

https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz

Sinity and others added 2 commits September 3, 2026 04:35
Retention collection ran nowhere in production: `gc()` had no caller. It now
runs on the receiver's existing spool-housekeeping route, which already
reconciles the legacy checkpoint census, so no second schedule exists.

Drop `request_budget`: nothing incremented or enforced it. The job insert is
keyed by column name so a receiver database carrying the retired column still
opens and accepts writes; a fresh one never creates it.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: f4eb97bf-86f9-4dfe-a923-5f7bf0ae36fc


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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-03T02:40:29.632512Z 1f0add7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Sinity
Sinity merged commit 8bce6dd into master Sep 3, 2026
2 of 3 checks passed
@Sinity
Sinity deleted the feature/packet/polylogue-06zm branch September 3, 2026 02:38
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.

1 participant