mirror of
https://github.com/stablyai/orca.git
synced 2026-10-07 00:02:29 +00:00
`checkOrcaStarred`, `starOrca` and `getAuthenticatedViewer` were the only gh call sites that reached for the legacy `execFileAsync` instead of `ghExecFileAsync`, so they ran with no deadline, no process-tree kill and no coalescing. A `gh` that never exits therefore ran forever and never released its slot in the 4-wide GitHub semaphore in gh-utils. Route all three through `ghExecFileAsync`, coalesce concurrent star checks onto one child, and hoist the Landing star-state effect out of the conditionally rendered footer so a repo-catalog rewrite no longer remounts it and re-forks gh. Adds a ratchet test asserting no file outside the command runner names `gh` as a spawned program. Fixes #18234
46 lines
2.7 KiB
TypeScript
46 lines
2.7 KiB
TypeScript
export {
|
|
_getMergeQueueCacheSizeForTests,
|
|
_resetMergeQueueCacheForTests
|
|
} from './client/detect/repository-merge-metadata-cache'
|
|
export { _resetPRStackSummaryCacheForTests } from './client/lookup/pr-stack-summary-cache'
|
|
export {
|
|
_getTrackedUpstreamBranchCacheSizesForTests,
|
|
__resetTrackedUpstreamBranchCacheForTests
|
|
} from './client/lookup/tracked-upstream-cache'
|
|
export { addPRReviewComment, addPRReviewCommentReply } from './client/create/add-pr-review-comment'
|
|
export { __resetOrcaStarCheckForTests, checkOrcaStarred, starOrca } from './client/fetch/orca-star'
|
|
export { countWorkItems } from './client/list/count-work-items'
|
|
export { createGitHubPullRequest } from './client/create/create-github-pull-request'
|
|
export { getAuthenticatedViewer } from './client/fetch/authenticated-viewer'
|
|
export { getGitHubPRLookupRateLimitBlock } from './client/lookup/pr-lookup-rate-limit'
|
|
export { getPRCheckDetails } from './client/check/get-pr-check-details'
|
|
export { getPRChecks } from './client/check/get-pr-checks'
|
|
export { getPRComments } from './client/fetch/get-pr-comments'
|
|
export { getPRForBranch } from './client/lookup/get-pr-for-branch'
|
|
export { getPRForBranchOutcome } from './client/lookup/pr-for-branch-outcome'
|
|
export {
|
|
getPullRequestPushTarget,
|
|
type PullRequestPushTarget
|
|
} from './client/lookup/pull-request-push-target'
|
|
export { getRepoSlug, getRepoUpstream } from './client/fetch/repo-slug-upstream'
|
|
export { getWorkItem, getWorkItemByOwnerRepo } from './client/fetch/get-work-item'
|
|
export { listWorkItems } from './client/list/list-work-items'
|
|
export { mergePR } from './client/merge/merge-pr'
|
|
export { removePRReviewers, requestPRReviewers } from './client/update/pr-reviewers'
|
|
export { rerunPRChecks } from './client/check/rerun-pr-checks'
|
|
export { resolveReviewThread } from './client/update/resolve-review-thread'
|
|
export { setPRAutoMerge } from './client/merge/pr-auto-merge'
|
|
export { setPRCommentReaction } from './client/update/pr-comment-reaction'
|
|
export { setPRFileViewed } from './client/update/pr-file-viewed'
|
|
export { updatePRDetails, updatePRTitle } from './client/update/pr-details'
|
|
export { markPRReadyForReview } from './client/update/pr-ready'
|
|
export { updatePRState } from './client/update/pr-state'
|
|
export type { GitHubPRBranchLookupOptions } from './client/lookup/pull-request-lookup-data'
|
|
export type { MainWorkItem } from './client/map/work-item-field-coercion'
|
|
export { _resetOwnerRepoCache } from './gh-utils'
|
|
export { getIssue, listIssues } from './issues'
|
|
export { createIssue } from './issue-create'
|
|
export { updateIssue } from './issue-update'
|
|
export { addIssueComment } from './issue-comment'
|
|
export { listLabels, listAssignableUsers } from './issue-field-options'
|