refactor(source-control): PullRequestService reads GitHub resolvers, not its kind (#17619)
Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
49f849ecce
commit
2ce3e4ae74
11 files changed
+49
-31
No files matched your search
@@ -963,7 +963,7 @@ export const make = Effect.gen(function* () {
|
||||
},
|
||||
listChangeRequests: (input) =>
|
||||
// An open lookup is a user waiting on a status; the rest may be a background sweep.
|
||||
(input.state === "open" ? Effect.succeed(true) : GitHubApi.AllowGitHubReserve).pipe(
|
||||
(input.state === "open" ? Effect.succeed(true) : SourceControlRateLimit.Interactive).pipe(
|
||||
Effect.flatMap((allowReserve) =>
|
||||
listByHead({
|
||||
cwd: input.cwd,
|
||||
|
||||
Reference in new issue
Block a user