Skip to content

[Refactor] Centralize suggestion launch planning - #1176

Draft
roomote-roomote[bot] wants to merge 1 commit into
developfrom
feature/suggestion-launch-plan-1dkeuqze12r84
Draft

[Refactor] Centralize suggestion launch planning#1176
roomote-roomote[bot] wants to merge 1 commit into
developfrom
feature/suggestion-launch-plan-1dkeuqze12r84

Conversation

@roomote-roomote

Copy link
Copy Markdown
Contributor

Created by Roomote. Follow up by mentioning @roomote-roomote, in the web UI, or in Slack.

What changed

  • Added a typed preparation boundary that resolves suggestion delivery mode, candidate repositories, canonical targets, environment selection, persistence eligibility, and per-suggestion repository IDs.
  • Simplified the submission endpoint to persist and deliver a single prepared launch plan instead of re-deriving launch policy from several booleans and optional values.

Why this change was made

Current-thread routing and organization-wide suggestion support had made the submission endpoint a second source of truth for launch policy. Keeping those decisions in one preparation result reduces the chance that future suggestion modes apply repository or routing rules inconsistently.

Impact

There is no intended user-facing behavior change. Suggestion submission, persistence, and provider delivery retain their existing contracts while the launch-planning path becomes easier to extend and review.

@roomote-community

roomote-community Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

No code issues found. See task

Reviewed 016f726

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