Skip to content

Commit c9f3e7e

Browse files
committed
feat(cli): add --resolve-after-misses flag to sentinel run
Lets an operator tune how many consecutive absent runs before an issue auto-resolves (default 3). Verified the full live loop end to end against a real repo: file, dedup, suppress, and auto-resolve all behave.
1 parent b1d0ae8 commit c9f3e7e

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ onlyBuiltDependencies:
2222
- '@biomejs/biome'
2323
- esbuild
2424

25-
auditConfig: { ignoreGhsas: null }
25+
auditConfig: {}

source/cli.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,9 @@ async function runRun(argv: string[]): Promise<number> {
273273
configDir: resolve(flagStr(flags, 'config-dir') ?? dirname(configPath)),
274274
configRepo:
275275
flagStr(flags, 'config-repo') ?? process.env.GITHUB_REPOSITORY,
276+
resolveAfterMisses: flagStr(flags, 'resolve-after-misses')
277+
? Number(flagStr(flags, 'resolve-after-misses'))
278+
: undefined,
276279
dryRun,
277280
},
278281
);

0 commit comments

Comments
 (0)