Skip to content

TL-05: bridge_outbox returns only intents for current assigned jobs - #25

Merged
SJAryan merged 1 commit into
mainfrom
a/outbox-current-intents
Nov 8, 2026
Merged

SJAryan merged 1 commit into
mainfrom
a/outbox-current-intents

Conversation

@AnkithaThomas

Copy link
Copy Markdown
Collaborator

The view kept every outbox row for the bridge's incident, so after updateJob moved a job to arrived/delivered the old ETA intent stayed visible and the bridge could resend it. Each row is now returned only while its job has status 'assigned' at the row's jobVersion. The role and incident checks are unchanged; the outbox table, reserve and updateJob are untouched. Return type is unchanged, so bindings should not change.

Verified: module tsc and npm run build pass. Not run here (no spacetime CLI on this laptop): stdb:generate, stdb:reset:local, check:tl05/tl06 and the live arrived/delivered check.

The view kept every outbox row for the bridge's incident, so after
updateJob moved a job to arrived/delivered the old ETA intent stayed
visible and the bridge could resend it. Each row is now returned only
while its job has status 'assigned' at the row's jobVersion. The role
and incident checks are unchanged; the outbox table, reserve and
updateJob are untouched. Return type is unchanged, so bindings should
not change.

Verified: module tsc and npm run build pass. Not run here (no spacetime
CLI on this laptop): stdb:generate, stdb:reset:local, check:tl05/tl06
and the live arrived/delivered check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@SJAryan
SJAryan merged commit 54a29f0 into main Nov 8, 2026
AnkithaThomas added a commit that referenced this pull request Nov 8, 2026
SJAryan added a commit that referenced this pull request Nov 8, 2026
TL-19: outbox comment reflects #25 view filter; document no-retry decision
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