Skip to content

Commit 25444dd

Browse files
mchwangclaude
andcommitted
Describe getAlreadyFixed as the look-up by check ID it is
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 94c3557 commit 25444dd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎runner/store.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,9 +2352,9 @@ export class Store {
23522352
return this.#db.prepare('SELECT * FROM task_pull_requests WHERE plan_key=? ORDER BY rowid').all(key).map(row => this.#pullRequestRecord(row));
23532353
}
23542354
/**
2355-
* The task's first already-fixed check that found nothing: the scan start for an opening recorded before schema v19,
2356-
* which did not record its own check. A compare range excludes its start commit, so only a scan from this check's tip
2357-
* onward is provably continuous with what was scanned before.
2355+
* The task's already-fixed check with this ID, or null if it has none with that ID. The guarded merge reads the check the
2356+
* task's first opening into the base branch recorded (`task_pull_requests.check_id`, schema v19) to decide where its
2357+
* already-fixed scan starts.
23582358
*/
23592359
getAlreadyFixed(identity: PlanIdentity, id: string): AlreadyFixedCheck | null {
23602360
const row = this.#get('SELECT * FROM already_fixed_checks WHERE plan_key=? AND id=?', identityKey(identity), id);

0 commit comments

Comments
 (0)