Skip to content

ci: restore integration.yml loading; run and satisfy notices-current - #344

Merged
pdf-amzn merged 3 commits into
mainfrom
ci/fix-integration-workflow-indentation
Sep 11, 2026
Merged

pdf-amzn merged 3 commits into
mainfrom
ci/fix-integration-workflow-indentation

Conversation

@LeeroyHannigan

@LeeroyHannigan LeeroyHannigan commented Sep 11, 2026 •

Copy link
Copy Markdown
Collaborator

What

Three commits, one fix for each link in a circle of required checks that could not report or could not pass:

  1. ci(integration): restores four lines of indentation in .github/workflows/integration.yml (two syslog-dump comment lines and the two run: sudo journalctl ... lines in run-rust-integration and run-rust-integration-postgres-novector). fix(mongodb): dotted attribute paths #312 moved them one column left, so run: no longer aligned with its sibling if: and name: keys and the file stopped parsing.
  2. chore(licenses): regenerates SOFTWARE-LICENSE-NOTICES-MONGODB.html for workspace version 0.1.11 (cherry-picked from chore(licenses): regenerate MongoDB notices for workspace version 0.1.11 #341, authorship preserved).
  3. ci(licenses): removes the paths: filter from the pull_request and merge_group triggers of licenses.yml so notices-current reports on every pull request (cherry-picked from chore(licenses): regenerate MongoDB notices for workspace version 0.1.11 #341).

This PR supersedes #341, whose two commits it carries unchanged.

Why

Since #312 merged (10:41 UTC, 2026-09-11) GitHub has been unable to load integration.yml: every run is a zero-job failure named by the file path. main requires the integration status, so every PR opened since is BLOCKED with all other checks green. The merge queue merged #312, #291, and #313 without the check because a workflow that fails to load never starts a check run on the merge group, and the queue waits only for checks that start.

Fixing integration.yml alone was blocked by notices-current: its workflow is path-filtered and did not run here, so the required check sat at Expected. Carrying the trigger change made it run, and it then failed correctly because the MongoDB notices file on main is stale. Both of those are #341's fixes, and #341 is blocked on the first commit here. One PR has to carry all three.

Closes #

Testing done

Both workflow files parsed with PyYAML: integration.yml on main fails with "while parsing a block collection"; the fixed file loads with all seven jobs; licenses.yml loads with unfiltered pull_request and merge_group triggers.

End to end on this PR: the first commit alone produced a complete "Integration Tests" run with all six jobs passing (15:51 to 16:11 UTC), the first since the breakage. The notices-current job ran on the second revision and reported the stale notices file, which the cherry-picked regeneration fixes. This revision's checks are the proof for all three.

Checklist

  • I have read CONTRIBUTING.md
  • All tests pass (cargo test --workspace) (no Rust change)
  • Code is formatted (cargo fmt --check) (no Rust change)
  • Clippy is clean (no Rust change)
  • I have added or updated tests for new functionality (n/a, CI configuration and a generated notices file)
  • I have updated documentation if behavior changed (n/a)
  • Breaking changes are noted below (none)
  • If this changes the wire protocol, Storage trait, auth model, on-disk format, or public CLI surface, an RFC has been accepted or is linked below. Otherwise, an ADR captures the decision (link below). (n/a)

ADR / RFC: n/a


By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache License 2.0 and I agree to the Developer Certificate of
Origin (DCO). See CONTRIBUTING.md for details.

Commit 8d3d585 (#312) moved four lines in integration.yml one column left:
two comment lines and the two "run: sudo journalctl" lines in the syslog
dump steps of run-rust-integration and run-rust-integration-postgres-novector.
The run key no longer aligns with its sibling if and name keys, so the file
is not valid YAML. GitHub cannot load it, and since 10:41 UTC on 2026-09-11
every run of this workflow is a zero-job failure named by the file path
instead of "Integration Tests", for pull_request, merge_group and push alike.

Branch protection on main requires the integration status. A status that can
never be reported leaves every pull request opened since then BLOCKED with all
other checks green (#341, #340, #343 at the time of writing), and the merge
queue cannot advance.

This restores the four lines to their previous indentation. Nothing else
changes. Verified by parsing the file before and after: the main version fails
with "while parsing a block collection", the fixed version loads with the seven
expected jobs.
@LeeroyHannigan LeeroyHannigan changed the title ci(integration): restore the indentation that stops the workflow loading ci: restore integration.yml loading and run notices-current on every PR Sep 11, 2026
SOFTWARE-LICENSE-NOTICES-MONGODB.html was generated on the #331 branch,
which was cut before #332 bumped the workspace to 0.1.11. The ten drifted
lines are the workspace's own crates at 0.1.10; no third-party dependency
or license changed. The Licenses workflow's "MongoDB notices must be
current" step fails on main since the #331 merge.

Signed-off-by: Lee Hannigan <lhnng@amazon.com>
(cherry picked from commit 5268480)
…roup

The notices-current job becomes a required status check. A required check
whose workflow is path-filtered never reports on a pull request outside its
paths, and that pull request can never merge, so the pull_request and
merge_group triggers lose their path filters. The job takes under three
minutes. The push trigger keeps its filter since it gates nothing.

Signed-off-by: Lee Hannigan <lhnng@amazon.com>
(cherry picked from commit 35f42a2)
@LeeroyHannigan LeeroyHannigan changed the title ci: restore integration.yml loading and run notices-current on every PR ci: restore integration.yml loading; run and satisfy notices-current Sep 11, 2026
@LeeroyHannigan
LeeroyHannigan force-pushed the ci/fix-integration-workflow-indentation branch from 618e421 to 73707bf Compare September 11, 2026 16:20
@pdf-amzn
pdf-amzn added this pull request to the merge queue Sep 11, 2026
Merged via the queue into main with commit 9a3f7e9 Sep 11, 2026
22 checks passed
@pdf-amzn
pdf-amzn deleted the ci/fix-integration-workflow-indentation branch September 11, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants