Skip to content

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

Closed

Description

@LeMyst

Two CI jobs have been failing on every run while reporting success, and a third prints the wrong log.

1. The Windows MSI installer has never shipped

The Build | Installer [Windows] step in release.yaml fails every time:

Error[2] (Generic): Workspace detected. Please pass a package name.

(v0.37.0 release run 36117551763, job x86_64-pc-windows-msvc.) This error dates from the workspace split in c433eed. Passing -p cookcli would not help, though: the step reads -I install/windows/main.wxs, and that file has never been in the repository. The step was added in 2f8724b. Because it is continue-on-error: true, it reports success. None of the last 15 releases (v0.27.2 → v0.37.0) has an .msi attached. Each Windows build still pays for cargo install cargo-wix.

2. Codecov refuses every upload

The coverage job in test.yml (added in 88f90bf) ends with:

Upload queued for processing failed: {"message":"Token required - not valid tokenless upload"}

(for example run 36341737177). No CODECOV_TOKEN is configured, and fail_ci_if_error: false keeps the job green. Every push to main spends about 17 minutes of tarpaulin on a report that never arrives.

3. The notarization log can belong to the other macOS job

After notarytool submit, the release workflow prints the log of notarytool history | grep -m1 id:, which is the newest submission. Both macOS targets notarize at the same time, so that entry may be the other job's.

Why none of this was visible

The build jobs are continue-on-error on purpose, so one broken platform cannot strand a release as a draft. The downside is that a missing asset turns no job red.

Proposal

  • Remove the MSI steps. They can come back together with a real .wxs.
  • Drop the coverage job until someone wants to set up the token.
  • Read the notarization log by the id that notarytool submit --output-format json returns.
  • In upload_artifacts, list any expected artifact that did not arrive on the run summary and as warnings, without blocking the release.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions