Skip to content

feat(pm-dispatch): record the lane assignment after a launch claim - #2658

Merged
dezren39 merged 1 commit into
mainfrom
feat/pm-dispatch
Oct 30, 2026
Merged

dezren39 merged 1 commit into
mainfrom
feat/pm-dispatch

Conversation

@dezren39

@dezren39 dezren39 commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Third follow-up to #2650, from live verification of the completed smoke task: completing a dispatch task with an execution record failed with no lane ledger row because dispatch never called assign_repo_task_lane. It now does, immediately after the claim PATCH (the RPC reads the lane from the progress the PATCH set); a ledger failure is noted on the task and never fails the launch. Verified live against probe task #3891 (assigned_lane opencode, then completed with an execution record). Tests 28/28, typecheck clean.

Refs #2648


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Call assign_repo_task_lane right after the claim PATCH (it reads the
lane from the progress the PATCH set), so dispatch tasks carry a lane
ledger row exactly like queue-worker claims and can be completed
with an execution record. Ledger failure is noted on the task, never
fails the launch. Verified live against probe task 3891.
@dezren39
dezren39 requested a review from a team as a code owner October 30, 2026 09:18
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 47 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 24a24f39-152f-4051-8fbc-f2a9896daf5b
Commits

Reviewing files that changed from the base of the PR and between 3a1343e and 1c3a0c9.

Files selected for processing: 3
  • pm-stack/dispatch/README.md
  • pm-stack/dispatch/src/queue.ts
  • pm-stack/dispatch/src/server.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@dezren39
dezren39 merged commit 732ca26 into main Oct 30, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 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-10-30T09:19:21.935371Z 1c3a0c9 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.

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