Skip to content

Commit 6c1dca7

Browse files
committed
style(server): keep mergeability rationale concise
1 parent 86d6bd2 commit 6c1dca7

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎apps/server/src/orchestration-v2/PullRequestSyncReactor.ts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,7 @@ function snapshotFieldsOf(summary: PullRequestSummary): SnapshotFields {
214214
};
215215
}
216216

217-
/**
218-
* GitHub answers `unknown` while it recomputes mergeability, which it does for every open pull
219-
* request whenever the base branch moves. Keep the last known answer for an unchanged GitHub
220-
* pull request through that window so a busy base branch does not rewrite every linked thread
221-
* twice per push. Other hosts can use `unknown` for a lasting condition.
222-
*/
217+
// GitHub briefly returns unknown after base pushes; other hosts may mean a lasting condition.
223218
function withKnownMergeability(
224219
previous: ThreadPullRequestSnapshot | null,
225220
fields: SnapshotFields,

0 commit comments

Comments
 (0)