Repository navigation
Description
This was generated by AI during triage.
Summary
Every manual dispatch of fuzz-sarif-publish.yaml fails before any repository is fuzzed. The dispatch input fuzz_seconds reaches the reusable-workflow call as a string, and the called workflow's number input refuses it.
Evidence
The first dispatch after #374 merged, a dry run on grype-scan-action at 805caa2:
https://github.com/lfreleng-actions/.github/actions/runs/44738248890
-
Discovery, the harness search and the summary all succeeded. The search found both harnesses in
grype-scan-action, soFUZZ_SARIF_PATworks. -
The per-repository call never started, and the run concluded
failurewith seven copies of one annotation:evaluate reusable workflow inputs: .github/workflows/fuzz-sarif-publish.yaml (Line: 244, Col: 21): Unexpected value '300' -
Line 244 is
fuzz_seconds: ${{ inputs.fuzz_seconds || 300 }}. Theworkflow_dispatchinput is declaredtype: numberwithdefault: 300;fuzz-sarif-repository.yamldeclares itsworkflow_callinputfuzz_secondsastype: number.
The dry_run boolean beside it passed without complaint. A scheduled run has no inputs, so it should take the literal 300 and is probably unaffected; it has not run yet.
Desired behaviour
- A dispatch with or without
fuzz_seconds, and a scheduled run, all pass a number to the call. One expression that works whether the value arrives as a string, a number or absent, for example${{ fromJSON(format('{0}', inputs.fuzz_seconds || 300)) }}. Confirm the form against GitHub's documentation for theinputscontext and expression coercion. - A value that is not a positive whole number fails clearly, in a job that runs before the repository calls, rather than at call expansion with GitHub's message.
dry_runstays as it is unless the same rule turns out to apply to it.
Acceptance criteria
- Line 244's expression converts
fuzz_secondsexplicitly, and the comment beside it says why. - A test in
test_fuzz_workflow.pypins that conversion, so a bareinputs.fuzz_seconds || 300fails the suite. - A bad
fuzz_secondsis refused by name before any repository job starts, with a test. - actionlint, yamllint,
zizmor --persona auditorwith zero findings, and the repository's hooks pass. - After merge, a maintainer's
dry_rundispatch ongrype-scan-actionreaches the per-repository jobs. The pull request body asks for this, since the session cannot dispatch.
Out of scope
Anything else in the publisher. Review rounds on #374 are the reference for this workflow's design: #374
Activity
lf-releng-code-monkey-bot commentedon Nov 20, 2026
🐒 An AI agent has proposed a change for this issue: pull request #378 (head 38da313). The Copilot review of it has findings (2 unresolved review threads; assessment: changes recommended). Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.
lf-releng-code-monkey-bot commentedon Nov 20, 2026
🐒 Round 1: an AI agent revised pull request #378 (head 1517f93). Round 1: fixed both Copilot findings by amending the single commit. No rebase: the branch already sits on the default branch's head and is mergeable. - Falsy dispatch values (PRRT_kwDORqP1Us65_oAB): fixed. Only scheduled runs take the default 300 now.
check-inputschecks the value and outputs it, and the repository call converts that output withfromJSON. Tests pin this and cover0and empty. - Slack alert on check failure (PRRT_kwDORqP1Us65_oAb): fixed.notify-failurenow needscheck-inputs, with a test. Ran pytest, prek on the changed files, zizmor auditor, the aislop gate and gitlint. All passed. No failing checks were reported. Still to do: after merge, a maintainer runs adry_rundispatch ongrype-scan-action.. The Copilot review of it is clean. Still pending after 8 minutes and not waited for, so its result is unknown: pre-commit.ci - pr. An antagonistic review was requested from the review bot.