Skip to content

Test: Assert submodule content reaches both scans - #114

Merged
tykeal merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:test/submodule-scan-contents
Sep 30, 2026
Merged

tykeal merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:test/submodule-scan-contents

Conversation

@ModeSevenIndustrialSolutions

@ModeSevenIndustrialSolutions ModeSevenIndustrialSolutions commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Asserts that submodule content actually reaches both scans, using the new lfreleng-actions/test-python-submodules fixture. A single commit.

Closes #74.

Related: lfreleng-actions/test-python-submodules#1 corrects the fixture's own Sonar project key. This PR does not depend on it merging, because the Sonar legs name the project explicitly (see below).

The problem

Both lanes hand submodules to actions/checkout, and a fault there is silent by construction: the scan keeps passing against less code (the D12 failure mode). No fixture carried a submodule, so nothing could catch it.

The fixture

test-python-submodules nests three levels in one repository on one branch, with each submodule pinning an earlier commit of the same main. Each level carries something no other level does:

Level Pin (Nexus IQ) Marker (Sonar)
parent six==1.17.0 parent_level.py
direct iniconfig==2.0.0 direct/direct_level.py
nested tomli==2.2.1 direct/nested/nested_level.py

So a level's marker in the result proves that level was scanned, and its absence proves it wasn't. It was verified live from github.com: a depth-1 clone gives six for false, adds iniconfig for true, and adds tomli for recursive.

The assertion

Neither lane reports what it analysed, and neither scan action does, so tests/scan_contents.py asks the server afterwards. It reads the newest build-stage Nexus IQ report, or the latest Sonar analysis's indexed files.

Each lane scans twice. With recursive, all three levels must appear. With true, the direct level must appear and the nested one must not. That negative control proves the check can fail. It also catches a lane that ignores the input and always recurses, which a presence-only check would pass.

Attributing each result to its own scan

Reading the right result matters as much as reading it. Each lane's chain runs:

baseline -> scan recursive -> assert -> scan true -> assert
  • baseline, before the first scan, records the identity of the newest result the server already holds: the report's scan-specific reportDataUrl, or the Sonar analysis key.
  • assert accepts only a result with a different identity that is strictly newer by the server's own clock, then emits it as the next leg's baseline.

The runner's clock is never consulted. An earlier draft compared a runner timestamp with the server's, which a Copilot review correctly caught: the stamp was truncated to whole seconds, and the comparison was across two clocks. Identity settles the same-second case, and comparing the server with itself removes clock skew.

testing.yaml now also runs one at a time across all refs, and never cancels mid-flight. Every credentialled leg, old and new, scans into a server-side project shared by every run, so two dispatches from different branches could each read the other's result. Cancelling offers no protection either, since a cancelled scan can still finish processing on the server.

All four scan legs pin one resolved fixture commit, following the Go legs' existing pattern, so a push to the fixture mid-run can't leave the two checkout modes on different trees.

Both Sonar scans are pinned to branch main and to project lfreleng-actions_test-python-submodules, and every Sonar query names both. The lane's sonar_project_key and sonar_organization are documented overrides of the fixture's sonar-project.properties, so the scan and its assertion name one project whatever that file says. Without a name, the scanner's GitHub Actions auto-configuration analyses under the ref that dispatched the run, so a run from a branch under review would land where the assertion never reads, and a correct scan would then be rejected as stale. Copilot caught this in round 2. I confirmed the mechanism in the scan action (it sets sonar.branch.name only when the input is non-empty) and that both endpoints honour branch=: main returns 200 and a missing branch 404.

Verified against both servers, read-only

Response shapes were checked against live data, not the docs. That surfaced three things worth knowing:

  1. The fixture's Sonar key was wrong, and so is test-python-project's. SonarCloud names auto-created projects <org>_<repo>: test-python-project returns 404 and lfreleng-actions_test-python-project returns 200. I'd copied the stale convention into the new fixture; Fix: Name the Sonar project SonarCloud creates test-python-submodules#1 fixes it.
  2. Nexus IQ's build stage is right. The pinned scan action sets no stage, so I read run-iq-cli's default at the exact pinned commit: stage default=build.
  3. testing.yaml has run six times ever, all on 28 July, before it became dispatch-only. The Go and Python fixture applications hold zero Nexus IQ reports, and the Maven and Node applications don't exist. That's pre-existing, but these legs inherit it: they prove nothing until someone dispatches the workflow.

The decisive live check was asserting straight after a baseline, with no new scan in between. It fails on both servers with "still the one the server held before this scan".

Tested offline on every PR

testing.yaml needs credentials and runs only on dispatch, so the assertion logic itself is covered by 25 offline cases. They stub both servers in the shapes captured live, and run on every PR through tests/workflow-steps.sh. Each rejection must name its cause.

Verified to catch regressions, since each mutant fails the case written for it:

Mutation Caught by
Identity check dropped the report held before the scan is refused, and the Sonar equivalent
> relaxed to >= (the same-second bug) a new report in the same second as the baseline is refused, on both servers
Server-time ordering dropped same-second and older-than-baseline cases
Absent-direction check dropped a lane ignoring the input and always recursing fails
Build-stage filter removed a report at a stage other than build does not count
strategy=all dropped from the tree query three Sonar cases
branch= dropped from both Sonar queries six Sonar cases: the stub serves only the named branch and answers 404 otherwise, as the real server does

The script is fully typed with no suppressions (ruff, mypy and basedpyright all clean). It uses http.client against a fixed HTTPS host, so a crafted URL can't steer it to another scheme.

One design change forced by zizmor

Inline jobs reading secrets directly drew four secrets-outside-env findings against a baseline of 0. Rather than allow-list them, I moved the checks into a small internal reusable workflow, assert-submodule-scan.yaml. Its credentials arrive as declared workflow_call secrets that the caller hands over explicitly, exactly as every lane receives them. zizmor is back to 0.

That needed one line in .github/actionlint.yaml, following that file's documented convention of one named entry per $/ call target. A positive control confirms it excuses only the correct spelling: a misspelled call still fails actionlint.

Before this can pass

When testing.yaml is next dispatched, these legs need two things provisioned on the servers. Creating them is an administrative action this PR can't and shouldn't take; the first dispatch fails loudly, naming the missing one, until they exist:

  • A SonarCloud project lfreleng-actions_test-python-submodules
  • A Nexus IQ application lfreleng-actions-test-python-submodules. The baseline copes with it missing, but the assertion needs it to exist once scanned.

One open question I couldn't settle from here: locally, the IQ username returns 401 and only the user code authenticates. CI's vars.NEXUS_IQ_USERNAME matches neither local identity, so it's likely a separate service account, and only a dispatch will show whether it works.

Validation

  • prek run --all-files — all hooks pass
  • zizmor --persona auditor — 0 findings
  • tests/workflow-steps.sh — 70/70 (its scan-contents case runs all 25 offline cases), plus the seven mutations above
  • aislop ci --changes --base upstream/main — score 100, 0 errors, 0 warnings
  • gitlint — clean; commit signed with DCO sign-off
  • The dependency graph was walked from the parsed YAML: both chains are strictly ordered baseline → scan → assert → scan → assert, every scan leg pins the one fixture SHA, and every needs.*.outputs reference is backed by a matching needs

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions requested review from a team and a balanced review from Copilot September 23, 2026 17:44
@github-actions github-actions Bot added the code-quality Updates to code-quality label Sep 23, 2026

This comment was marked as resolved.

This comment was marked as resolved.

This comment was marked as resolved.

This comment was marked as resolved.

Both lanes hand 'submodules' to actions/checkout, and a fault there
is silent by construction: the scan keeps passing against less code.
No fixture carried a submodule, so nothing could catch it.

lfreleng-actions/test-python-submodules now does, with three nested
levels. Each carries something no other level does: a pinned
requirements.txt line, which Nexus IQ identifies, and a marker file,
which Sonar indexes. So a level's marker in the result proves the
level was scanned, and its absence proves it was not.

Neither lane reports what it analysed, and neither scan action does,
so tests/scan_contents.py asks the server afterwards: the newest
build-stage Nexus IQ report, or the latest Sonar analysis's files.

Scan each lane twice. 'recursive' must yield all three levels.
'true' must yield the direct level and not the nested one: a
negative control proving the check can fail, which also catches a
lane that ignores the input and always recurses.

Attribute each result to its own scan by the server's record, never
the runner's clock. Before a lane's first scan, a baseline records
the newest result the server holds. An assert then accepts only a
result with a different identity, strictly newer by the server's
clock, and emits it as the next leg's baseline. Identity settles the
same-second case a whole-second timestamp cannot, and comparing the
server with itself leaves no clock skew.

Make testing.yaml one run at a time across all refs, never cancelled.
Every credentialled leg scans into a server-side project shared by
every run, so overlapping dispatches from two branches could each
read the other's result, and a cancelled scan can still finish
processing after its replacement starts.

Pin one fixture commit for every leg, so a push to the fixture
mid-run cannot leave the two checkout modes on different trees.

Pin every Sonar scan to one branch, and query that branch. Left
unnamed, the scanner's GitHub Actions auto-configuration analyses
under the ref that dispatched the run, so a run from a branch under
review would land where the assertion never reads, and it would
then reject a correct scan as stale. sonar_branch_name and the
script's queries both name main.

Name the Sonar project on both scan legs, as the branch already is.
The lane's sonar_project_key and sonar_organization override the
fixture's sonar-project.properties, so the scan and the assertion
name one project whatever that file says, and these legs no longer
wait on the fixture's own key correction to merge. A Sonar 404 now
names both of its causes: an unknown key, or a branch nothing has
analysed yet.

Request the component tree with strategy=all. The default does
recurse today, checked live to two levels, but the markers sit
below the root and 'children' would return none of them, so
naming the traversal says what the check needs.

The assertion runs as a reusable workflow, so its credentials arrive
as declared workflow_call secrets, as every lane receives them.
Inline jobs reading secrets directly drew four zizmor
secrets-outside-env findings.

Verified against both servers, read-only. Twenty-five offline
cases, run on every PR, stub them in the shapes captured live;
dropping the identity check, relaxing the strict ordering, removing
the absent-direction check, the stage filter or the branch each
fails the case written for it.

Copilot review rounds 1 to 4.

Closes: lfreleng-actions#74

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Credentialed cross-service workflow behavior and required server provisioning warrant final human review.

Review effort: Balanced
Findings: None

Resolved since last review (2)

@tykeal
tykeal disabled auto-merge September 30, 2026 12:36
@tykeal
tykeal merged commit 34374ce into lfreleng-actions:main Sep 30, 2026
11 checks passed
ModeSevenIndustrialSolutions added a commit to modeseven-lfreleng-actions/security-workflows that referenced this pull request Sep 30, 2026
Break-point review of the repository against docs/BRIEF.md, taken
after PR lfreleng-actions#114 merged, with v0.9.1 the latest release. Revises the
first review, written after PR lfreleng-actions#38 and v0.3.0, against what the cycle
since then delivered.

Records twenty issues closed across twelve releases, leaving none
open, and the five places the previous plan was wrong: lfreleng-actions#43 closed the
opposite way, because build metadata was the defect D21 records; lfreleng-actions#41
was never blocked, since the policy-opa-pdp cutover had already
happened; lfreleng-actions#59 and lfreleng-actions#60 closed as evidence-backed decisions; lfreleng-actions#42's
consumer gate passed, with three O-RAN-SC projects found; and lfreleng-actions#39 was
answered without the upload the plan assumed, with lfreleng-actions#40 then closed as
a decision rather than built (D25).

Adds an estate adoption survey: 55 repositories across ONAP and
OpenDaylight call the lanes, 18 calls still pinned to v0.3.0, and no
O-RAN-SC callers yet.

Reports honestly that neither course correction the first review
raised was acted on: inline shell in the CLM lane grew from 127 to 323
lines, and the build-scan artefact interface is unstarted.

Leads the remaining work with proving what already shipped:
testing.yaml has never been dispatched since it became dispatch-only,
and the submodule legs also need their SonarCloud project and Nexus IQ
application provisioned. Then rollout, the Nexus IQ upload extraction
D25 left standing on its own merits, and build-artifact-action.

Extends the write-good exclusion to the new document, matching the
existing BRIEF.md exemption for design-decisions records.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
ModeSevenIndustrialSolutions added a commit to modeseven-lfreleng-actions/security-workflows that referenced this pull request Sep 30, 2026
Copilot review round 1.

Separate the release count from the issue count. The twelve releases
end at v0.9.1, but the twentieth issue, lfreleng-actions#74, closed when PR lfreleng-actions#114
merged three hours after that tag, so the headline implied it had
shipped. It now says lfreleng-actions#74 waits for v0.9.2, as Remaining work does.

Narrow the harness claim. workflow-tests.yaml triggers only on pull
requests changing a workflow or a test, not on every pull request;
this documentation change did not trigger it.

Update the passages still saying no fixture carries a 'toolchain'
directive. test-go-project declares go 1.25 and toolchain go1.25.0,
and assert-go-toolchain enforces it, but D21 in the BRIEF and two
comments in testing.yaml described the skip branch as the live path.
The branch stays as a guard against the fixture losing its
directive; only its wording and its pointer to the closed lfreleng-actions#75
change, so no behaviour does.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
ModeSevenIndustrialSolutions added a commit to modeseven-lfreleng-actions/security-workflows that referenced this pull request Sep 30, 2026
Copilot review rounds 1 and 2.

Separate the release count from the issue count. The twelve releases
end at v0.9.1, but the twentieth issue, lfreleng-actions#74, closed when PR lfreleng-actions#114
merged three hours after that tag, so the headline implied it had
shipped. It now says lfreleng-actions#74 waits for v0.9.2, as Remaining work does.

State what the per-PR harness covers, and no more. It runs only on
pull requests changing a workflow or a test, not on every one; it
covers the lanes' validation and hook steps, not their builds, scans
or the Nexus IQ upload; and mutation testing sampled its checks
rather than proving each can fail. Three passages claimed more.

Describe sbom-action's Gradle support as it stands. v0.2.0 runs
cyclonedx-gradle-plugin, with its own gradle_plugin_version input;
the document still said the Gradle plugin was yet to join.

Update the passages still saying no fixture carries a 'toolchain'
directive. test-go-project declares go 1.25 and toolchain go1.25.0,
and assert-go-toolchain enforces it, but D21 in the BRIEF and two
comments in testing.yaml described the skip branch as the live path.
The branch stays as a guard against the fixture losing its
directive; only its wording and its pointer to the closed lfreleng-actions#75
change, so no behaviour does.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
ModeSevenIndustrialSolutions added a commit to modeseven-lfreleng-actions/security-workflows that referenced this pull request Sep 30, 2026
Copilot review rounds 1 to 3.

Separate the release count from the issue count. The twelve releases
end at v0.9.1, but the twentieth issue, lfreleng-actions#74, closed when PR lfreleng-actions#114
merged three hours after that tag, so the headline implied it had
shipped. It now says lfreleng-actions#74 waits for v0.9.2, as Remaining work does.

State what the per-PR harness covers, and no more. It runs only on
pull requests changing a workflow or a test, not on every one; it
covers the lanes' validation and hook steps, not their builds, scans
or the Nexus IQ upload; and mutation testing sampled its checks
rather than proving each can fail. Three passages claimed more.

Describe sbom-action's Gradle support as it stands. v0.2.0 runs
cyclonedx-gradle-plugin, with its own gradle_plugin_version input;
the document still said the Gradle plugin was yet to join.

Add PR lfreleng-actions#116 to the immediate work. The openssf-scorecard lane has
never published a result: the Scorecard API rejects its
expression-valued runs-on, and scorecard-action exits 0, so every
run is green while nothing arrives, for callers such as onap/cps
too. The plan omitted this and called v0.9.2 unnecessary for
callers. It now leads the immediate work with a release and proof
of publication, and names the defect where the lanes are listed
and in the risk register.

Call the sibling actions references, not dependencies: no workflow
here uses grype-scan-action, sbom-action or python-sbom-action.

Date the CLM lane's size, now 326 lines of run: shell in a 1,188-
line file on main, rather than quote an earlier snapshot as current.

Update the passages still saying no fixture carries a 'toolchain'
directive. test-go-project declares go 1.25 and toolchain go1.25.0,
and assert-go-toolchain enforces it, but D21 in the BRIEF and two
comments in testing.yaml described the skip branch as the live path.
The branch stays as a guard against the fixture losing its
directive; only its wording and its pointer to the closed lfreleng-actions#75
change, so no behaviour does.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
ModeSevenIndustrialSolutions added a commit to modeseven-lfreleng-actions/security-workflows that referenced this pull request Sep 30, 2026
Copilot review rounds 1 to 4.

Separate the release count from the issue count. The twelve releases
end at v0.9.1, but the twentieth issue, lfreleng-actions#74, closed when PR lfreleng-actions#114
merged three hours after that tag, so the headline implied it had
shipped. It now says lfreleng-actions#74 waits for v0.9.2, as Remaining work does.

State what the per-PR harness covers, and no more. It runs only on
pull requests changing a workflow or a test, not on every one; it
covers the lanes' validation and hook steps, not their builds, scans
or the Nexus IQ upload; and mutation testing sampled its checks
rather than proving each can fail. Three passages claimed more.

Describe sbom-action's Gradle support as it stands. v0.2.0 runs
cyclonedx-gradle-plugin, with its own gradle_plugin_version input;
the document still said the Gradle plugin was yet to join.

Add PR lfreleng-actions#116 to the immediate work. The openssf-scorecard lane has
never published a result: the Scorecard API rejects its
expression-valued runs-on, and scorecard-action exits 0, so every
run is green while nothing arrives, for callers such as onap/cps
too. The plan omitted this and called v0.9.2 unnecessary for
callers. It now leads the immediate work with a release and proof
of publication, and names the defect where the lanes are listed
and in the risk register.

Call the sibling actions references, not dependencies: no workflow
here uses grype-scan-action, sbom-action or python-sbom-action.

Date the CLM lane's size, now 326 lines of run: shell in a 1,188-
line file on main, rather than quote an earlier snapshot as current.

Update the passages still saying no fixture carries a 'toolchain'
directive. test-go-project declares go 1.25 and toolchain go1.25.0,
and assert-go-toolchain enforces it, but D21 in the BRIEF and two
comments in testing.yaml described the skip branch as the live path.
The branch stays as a guard against the fixture losing its
directive; only its wording and its pointer to the closed lfreleng-actions#75
change, so no behaviour does.

Count the adoption table in calls, not files. Two workflow files,
onap/policy-opa-pdp security-audits.yaml and onap/multicloud-framework
gerrit-clm.yaml, call the lanes twice, so 61 files make 63 calls:
v0.5.0 rises to 4 and v0.8.0 to 17. Each file was read in full; the
search fragments alone undercount.

Order the immediate work by prerequisite. Provisioning the fixture's
Sonar project and IQ application, and settling the IQ credential,
now come before the testing.yaml dispatch that depends on them, and
the lfreleng-actions#116 merge leads, with its proof following the v0.9.2 release.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
ModeSevenIndustrialSolutions added a commit to modeseven-lfreleng-actions/security-workflows that referenced this pull request Sep 30, 2026
Copilot review rounds 1 to 5.

Separate the release count from the issue count. The twelve releases
end at v0.9.1, but the twentieth issue, lfreleng-actions#74, closed when PR lfreleng-actions#114
merged three hours after that tag, so the headline implied it had
shipped. It now says lfreleng-actions#74 waits for v0.9.2, as Remaining work does.

State what the per-PR harness covers, and no more. It runs only on
pull requests changing a workflow or a test, not on every one; it
covers the lanes' validation and hook steps, not their builds, scans
or the Nexus IQ upload; and mutation testing sampled its checks
rather than proving each can fail. Three passages claimed more.

Describe sbom-action's Gradle support as it stands. v0.2.0 runs
cyclonedx-gradle-plugin, with its own gradle_plugin_version input;
the document still said the Gradle plugin was yet to join.

Add PR lfreleng-actions#116 to the immediate work. The openssf-scorecard lane has
never published a result: the Scorecard API rejects its
expression-valued runs-on, and scorecard-action exits 0, so every
run is green while nothing arrives, for callers such as onap/cps
too. The plan omitted this and called v0.9.2 unnecessary for
callers. It now leads the immediate work, and the defect is named
where the lanes are listed and in the risk register.

Call the sibling actions references, not dependencies: no workflow
here uses grype-scan-action, sbom-action or python-sbom-action.

Date the CLM lane's size, now 326 lines of run: shell in a 1,188-
line file on main, rather than quote an earlier snapshot as current.

Update the passages still saying no fixture carries a 'toolchain'
directive. test-go-project declares go 1.25 and toolchain go1.25.0,
and assert-go-toolchain enforces it, but D21 in the BRIEF and two
comments in testing.yaml described the skip branch as the live path.
The branch stays as a guard against the fixture losing its
directive; only its wording and its pointer to the closed lfreleng-actions#75
change, so no behaviour does.

Count the adoption table in calls, not files. Two workflow files,
onap/policy-opa-pdp security-audits.yaml and onap/multicloud-framework
gerrit-clm.yaml, call the lanes twice, so 61 files make 63 calls:
v0.5.0 rises to 4 and v0.8.0 to 17. Each file was read in full; the
search fragments alone undercount.

Order the immediate work by prerequisite. Provisioning the fixture's
Sonar project and IQ application, and settling the IQ credential,
now come before the testing.yaml dispatch that depends on them, and
the lfreleng-actions#116 merge leads.

Prove Scorecard publishing only after the release that carries the
fix. The merge item claimed the proof before v0.9.2 shipped; the
proof is now its own item, and graph node, after the release.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
ModeSevenIndustrialSolutions added a commit to modeseven-lfreleng-actions/security-workflows that referenced this pull request Sep 30, 2026
Copilot review rounds 1 to 6.

Separate the release count from the issue count. The twelve releases
end at v0.9.1, but the twentieth issue, lfreleng-actions#74, closed when PR lfreleng-actions#114
merged three hours after that tag, so the headline implied it had
shipped. It now says lfreleng-actions#74 waits for v0.9.2, as Remaining work does.

State what the per-PR harness covers, and no more. It runs only on
pull requests changing a workflow or a test, not on every one; it
covers the lanes' validation and hook steps, not their builds, scans
or the Nexus IQ upload; and mutation testing sampled its checks
rather than proving each can fail. Three passages claimed more.

Describe sbom-action's Gradle support as it stands. v0.2.0 runs
cyclonedx-gradle-plugin, with its own gradle_plugin_version input;
the document still said the Gradle plugin was yet to join.

Add PR lfreleng-actions#116 to the immediate work. The openssf-scorecard lane has
never published a result: the Scorecard API rejects its
expression-valued runs-on, and scorecard-action exits 0, so every
run is green while nothing arrives, for callers such as onap/cps
too. The plan omitted this and called v0.9.2 unnecessary for
callers. It now leads the immediate work, and the defect is named
where the lanes are listed and in the risk register.

Call the sibling actions references, not dependencies: no workflow
here uses grype-scan-action, sbom-action or python-sbom-action.

Date the CLM lane's size, now 326 lines of run: shell in a 1,188-
line file on main, rather than quote an earlier snapshot as current.

Update the passages still saying no fixture carries a 'toolchain'
directive. test-go-project declares go 1.25 and toolchain go1.25.0,
and assert-go-toolchain enforces it, but D21 in the BRIEF and two
comments in testing.yaml described the skip branch as the live path.
The branch stays as a guard against the fixture losing its
directive; only its wording and its pointer to the closed lfreleng-actions#75
change, so no behaviour does.

Count the adoption table in calls, not files. Two workflow files,
onap/policy-opa-pdp security-audits.yaml and onap/multicloud-framework
gerrit-clm.yaml, call the lanes twice, so 61 files make 63 calls:
v0.5.0 rises to 4 and v0.8.0 to 17. Each file was read in full; the
search fragments alone undercount.

Order the immediate work by prerequisite. Provisioning the fixture's
Sonar project and IQ application now comes before the testing.yaml
dispatch that depends on it, and the lfreleng-actions#116 merge leads. The IQ
credential folds into that dispatch, the only thing that can test
it, with a retry once the secret is corrected.

Prove Scorecard publishing only after the release that carries the
fix. The merge item claimed the proof before v0.9.2 shipped; the
proof is now its own item, and graph node, after the release. Its
test is a fresh API result whose date and commit match a v0.9.2
run, not a changed score: a working fix may score the same, and
the API already holds older results for onap/cps and this
repository.

Name the lfreleng-actions#116 defect where the issue inventory says what work
remains, rather than calling none of it a defect.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
ModeSevenIndustrialSolutions added a commit to modeseven-lfreleng-actions/security-workflows that referenced this pull request Sep 30, 2026
Copilot review rounds 1 to 7.

Separate the release count from the issue count. The twelve releases
end at v0.9.1, but the twentieth issue, lfreleng-actions#74, closed when PR lfreleng-actions#114
merged three hours after that tag, so the headline implied it had
shipped. It now says lfreleng-actions#74 waits for v0.9.2, as Remaining work does.

State what the per-PR harness covers, and no more. It runs only on
pull requests changing a workflow or a test, not on every one; it
covers the lanes' validation and hook steps, not their builds, scans
or the Nexus IQ upload; and mutation testing sampled its checks
rather than proving each can fail. Three passages claimed more.

Describe sbom-action's Gradle support as it stands. v0.2.0 runs
cyclonedx-gradle-plugin, with its own gradle_plugin_version input;
the document still said the Gradle plugin was yet to join.

Add PR lfreleng-actions#116 to the immediate work. The openssf-scorecard lane has
never published a result: the Scorecard API rejects its
expression-valued runs-on, and scorecard-action exits 0, so every
run is green while nothing arrives, for callers such as onap/cps
too. The plan omitted this and called v0.9.2 unnecessary for
callers. It now leads the immediate work, and the defect is named
where the lanes are listed and in the risk register.

Call the sibling actions references, not dependencies: no workflow
here uses grype-scan-action, sbom-action or python-sbom-action.

Date the CLM lane's size, now 326 lines of run: shell in a 1,188-
line file on main, rather than quote an earlier snapshot as current.

Update the passages still saying no fixture carries a 'toolchain'
directive. test-go-project declares go 1.25 and toolchain go1.25.0,
and assert-go-toolchain enforces it, but D21 in the BRIEF and three
comments in testing.yaml described the skip branch as the live path,
or the fixture's toolchain edit as still pending.
The branch stays as a guard against the fixture losing its
directive; only its wording and its pointer to the closed lfreleng-actions#75
change, so no behaviour does.

Count the adoption table in calls, not files. Two workflow files,
onap/policy-opa-pdp security-audits.yaml and onap/multicloud-framework
gerrit-clm.yaml, call the lanes twice, so 61 files make 63 calls:
v0.5.0 rises to 4 and v0.8.0 to 17. Each file was read in full; the
search fragments alone undercount.

Order the immediate work by prerequisite. Provisioning the fixture's
Sonar project and IQ application now comes before the testing.yaml
dispatch that depends on it, and the lfreleng-actions#116 merge leads. The IQ
credential folds into that dispatch, the only thing that can test
it, with a retry once the secret is corrected.

Prove Scorecard publishing only after the release that carries the
fix. The merge item claimed the proof before v0.9.2 shipped; the
proof is now its own item, and graph node, after the release. Its
test is a fresh API result whose date and commit match a v0.9.2
run, not a changed score: a working fix may score the same, and
the API already holds older results for onap/cps and this
repository.

Name the lfreleng-actions#116 defect where the issue inventory says what work
remains, rather than calling none of it a defect.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-quality Updates to code-quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No submodule-bearing fixture, so submodule scanning is untested

3 participants