[Feat] Connect source control when Sessions need repository access - #2400
Open
roomote-roomote[bot] wants to merge 3 commits into
Open
[Feat] Connect source control when Sessions need repository access#2400roomote-roomote[bot] wants to merge 3 commits into
roomote-roomote[bot] wants to merge 3 commits into
Conversation
Contributor
roomote-roomote
Bot
requested review from
brunobergher,
daniel-lxs and
mrubens
as code owners
September 9, 2026 14:47
…ource-control-3t76rtor3issz
…ource-control-3t76rtor3issz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue
No linked issue. This implements the approved optional source-control and just-in-time Session connection request.
Why this PR exists
Allow setup and general Sessions without repositories, while requiring verified access before repository work can continue.
What changed
optional_source_control_enabled === true; inference, compute and repository-starter requirements remain intact.Impact: users can connect repositories when needed without treating OAuth consent alone as authorization to resume stale work. No merge or rollout is performed by this PR.
How it was tested
pnpm lintpassed after formatting generated migration metadata. Push hooks passed oxlint, residual ESLint, all 27 fast typechecks and knip.develophas advanced, including another0078migration snapshot; reconcile migrations and source conflicts and rerun integrated validation before merge. Full core test suite and a changeset were not run/added in this delivery pass.Checklist
[Fix],[Feat],[Improve],[Refactor],[Docs], or[Chore]followed by a user-facing descriptionpnpm lintandpnpm check-typespass locallypnpm changesetRelated PRs