Skip to content

CT-2495 connecting stall edits for conversation - #387

Merged
codingLogan merged 5 commits into
ct/CT-2495-connecting-stallfrom
lr/CT-2495-connecting-stall
Sep 15, 2026
Merged

codingLogan merged 5 commits into
ct/CT-2495-connecting-stallfrom
lr/CT-2495-connecting-stall

Conversation

@codingLogan

Copy link
Copy Markdown
Collaborator

I had a few rounds of AI questions for Craig's branch, combined with a few specific prompts around areas I've been involved with in the past. The result?

A few docs and plans, with a few commits to consider in a conversation

Replace the isForeignJob / nested-poll / activeJobAttempt trio in Connecting
with runJobSchedule$, a pure observable that treats the backend as the source
of truth: observe whatever is running, reconcile it against the schedule, start
the next job, repeat. 409s and Firefly's redirect job go through the same path.

The loop is capped at jobs.length + 3 iterations and errors with
JobScheduleExhaustedError, which Connecting throws to the host error boundary.
Previously a perpetual 409 (or an unloadable job) re-ran runJob every poll
interval forever.

Integration tests added for: a foreign job followed by every scheduled job,
early data release still applying when nothing else is scheduled, and bounded
termination under a backend that always rejects the job.
@codingLogan codingLogan self-assigned this Sep 15, 2026
@Craiting
Craiting marked this pull request as ready for review September 15, 2026 16:38
@codingLogan
codingLogan merged commit f52631a into ct/CT-2495-connecting-stall Sep 15, 2026
7 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.39.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant