You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve PR attribution and linked identity from the exact target repository's provider and host instead of workspace-wide provider stamps.
Preserve provider and host attribution for complete homogeneous ALL_REPOSITORIES tasks while failing closed for mixed, missing, host-ambiguous, or incomplete selections and environment mappings.
Use linked Gitea usernames for delegated PR assignment and preserve existing assignees when Gitea pull requests are refreshed.
Cover target repository resolution, aggregate attribution, provider-specific assignment wording, and Gitea create/update behavior with focused regression tests.
Why this change was made
Workspace-wide provider stamps can describe a primary repository rather than the repository receiving a pull request. That could leak a GitHub identity into a Gitea task or omit the correct Gitea assignee, especially in mixed-provider and multi-host workspaces.
Impact
Pull request attribution and assignment now follow the exact target repository provider and host. Fully resolved homogeneous aggregate tasks retain linked attribution, while ambiguous or incomplete selections and environment mappings safely fall back to Roomote without assigning the wrong user. The final rebased branch passed focused provider and pull-request tests, formatting, package typechecks, and the repository pre-push gate; two unrelated repository-wide test assertions passed when rerun in isolation.
Fixed in 2cd50a2: environment workspaces now persist complete provider coverage and use the same fail-closed classification for provider/host stamping. Incomplete configured mappings resolve to no provider map and clear stale scalar attribution before prompt generation. Eight provider-stamping tests pass, package TypeScript and changed-file lint/format checks pass, and the full pre-push gate passes. The review thread is resolved and the refreshed Roomote code review found no issues.
roomote-roomoteBot
changed the title
[Fix] PR assignment uses GitHub username for Gitea tasks
[Fix] Gitea tasks use GitHub usernames for PR assignment
Aug 21, 2026
Rebased onto current develop and completed the follow-up environment coverage fix in fd4fedf. Target provider/host attribution, Gitea assignment, and aggregate fail-closed behavior are preserved; focused tests, formatting, package typechecks, and the repository pre-push gate pass. The remaining review thread is resolved and refreshed checks are running.
roomote-roomoteBot
changed the title
[Fix] Gitea tasks use GitHub usernames for PR assignment
[Fix] Gitea pull requests miss linked user assignments
Aug 28, 2026
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
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.
What changed
ALL_REPOSITORIEStasks while failing closed for mixed, missing, host-ambiguous, or incomplete selections and environment mappings.Why this change was made
Workspace-wide provider stamps can describe a primary repository rather than the repository receiving a pull request. That could leak a GitHub identity into a Gitea task or omit the correct Gitea assignee, especially in mixed-provider and multi-host workspaces.
Impact
Pull request attribution and assignment now follow the exact target repository provider and host. Fully resolved homogeneous aggregate tasks retain linked attribution, while ambiguous or incomplete selections and environment mappings safely fall back to Roomote without assigning the wrong user. The final rebased branch passed focused provider and pull-request tests, formatting, package typechecks, and the repository pre-push gate; two unrelated repository-wide test assertions passed when rerun in isolation.