Skip to content

fix(ci): stop CI and releases from failing silently - #569

Merged
LeMyst merged 1 commit into
cooklang:mainfrom
LeMyst:fix/ci-silent-failures
Sep 28, 2026
Merged

LeMyst merged 1 commit into
cooklang:mainfrom
LeMyst:fix/ci-silent-failures

Conversation

@LeMyst

@LeMyst LeMyst commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

Closes #568.

What changes

  • The MSI steps are removed from release.yaml. They have never produced an installer: install/windows/main.wxs does not exist, and cargo wix also fails on the workspace. Removing them also saves a cargo install cargo-wix on every Windows build.
  • The coverage job is removed from test.yml. Codecov rejects every upload because no token is configured.
  • Notarization reads its own submission. The id comes from notarytool submit --output-format json instead of the newest notarytool history entry. If Apple does not answer Accepted, the job raises a ::warning. The binary still ships either way, as it does today. The script's variables are now quoted, which clears the actionlint/shellcheck notes on that step.
  • New step Check | Every expected artifact arrived in upload_artifacts. It lists every artifact that did not arrive on the run summary and as a warning, and never fails. The expected list must be kept in step with the three build matrices; a comment says so.

Testing

  • actionlint reports nothing on either workflow (before this change: 11 shellcheck notes, all in the notarization script).
  • I ran the completeness step, extracted from the YAML with yq, against a full and a partial fake artifact tree. The full tree prints "All expected artifacts arrived."; the partial tree lists the two missing artifacts. Exit status is 0 both times.
  • jq -r .id / .status checked against a sample of the notarytool submit --output-format json shape.
  • The release path itself only runs when a release is cut.

🤖 Generated with Claude Code

- Remove the Windows MSI steps. `cargo wix` has always failed: it points
  at install/windows/main.wxs, which never existed, and since the
  workspace split (c433eed) it stops earlier on "Workspace detected.
  Please pass a package name." continue-on-error kept the step green, so
  no release has shipped an .msi, and every Windows build paid for a
  `cargo install cargo-wix`.
- Drop the coverage job. Codecov refuses every upload ("Token required -
  not valid tokenless upload") and fail_ci_if_error: false hid it, so
  each push to main spent ~17 min of tarpaulin for nothing.
- Read the notarization log by the id `notarytool submit` returns, not
  the newest entry of `notarytool history`, which may be the other macOS
  job's submission; warn when Apple does not accept the binary.
- List any artifact missing from a release on the run summary and as
  warnings, without blocking the release.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@LeMyst

LeMyst commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator Author

@dubadub It's normal for the Windows build and CodeCov to be not working?

@dubadub

dubadub commented Sep 28, 2026

Copy link
Copy Markdown
Member

lol, I think we have Windows artefacts in each release, but not specifically MSI. Codecov didn't work.

@LeMyst
LeMyst merged commit d7ddece into cooklang:main Sep 28, 2026
5 checks passed
@LeMyst

LeMyst commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator Author

windows MSVC artfacts are still built, but the MSI steps are moved because they generated nothing

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.

CI: MSI installer never built, Codecov upload always rejected, both reported as success

2 participants