Skip to content

ci: drop build inputs mbt no longer declares - #10

Merged
mgrossmann merged 1 commit into
mainfrom
fix/ci-build-workflow-inputs
Aug 7, 2026
Merged

ci: drop build inputs mbt no longer declares#10
mgrossmann merged 1 commit into
mainfrom
fix/ci-build-workflow-inputs

Conversation

@mgrossmann

Copy link
Copy Markdown
Contributor

Every pull_request run currently fails at startup without executing a step — GitHub reports only "This run likely failed because of a workflow file issue", which points nowhere near the project. Most recently on #9 (run 31199878426, failed in 1s).

Cause

The caller passes two inputs the reusable workflow no longer declares:

uses: mvslovers/mbt/.github/workflows/build.yml@main
with:
  incremental: ${{ github.event_name == 'pull_request' }}
  base_sha:    ${{ github.event.pull_request.base.sha || '' }}

mvslovers/mbt's build.yml on main declares only cc370_ref. Passing undefined inputs to a reusable workflow is a startup failure, so no job is created and no log explains it.

This file has been unchanged since the v1-era mbt migration. lua370's own move to mbt v2 (50a657f) updated project.toml and the Makefile but not the workflow caller, and build.yml only triggers on pull_request — so the breakage sat dormant until the next PR. Last green Build run was 2026-03-10.

Fix

Delete the with: block. ufsd, ftpd, httpd and mvsmf all call the same reusable workflow with no inputs; this brings lua370 in line.

The pull_request-only trigger is left as-is — the siblings also build on push: [main], but changing when this project builds is a separate decision.

release.yml is unaffected: it is a correct thin caller with no with: block.

Note

This PR is its own test — if the Build check runs at all, the startup failure is fixed.

Every pull_request run fails at startup ("This run likely failed because
of a workflow file issue") without executing a single step. The caller
passes `incremental` and `base_sha` to mvslovers/mbt's reusable
build.yml, which since the v2 host-build migration declares only
`cc370_ref`. Passing undefined inputs to a reusable workflow is a
startup failure, not a build error, so nothing in the log points at the
project.

This file has been unchanged since the v1-era mbt migration; lua370's
own move to mbt v2 updated project.toml and the Makefile but not the
workflow caller. ufsd, ftpd, httpd and mvsmf all call the same reusable
workflow with no `with:` block -- this brings lua370 in line.

The trigger stays pull_request-only, unchanged.
@mgrossmann
mgrossmann merged commit 8cc77eb into main Aug 7, 2026
1 check passed
@mgrossmann
mgrossmann deleted the fix/ci-build-workflow-inputs branch August 7, 2026 17:16
mgrossmann added a commit that referenced this pull request Aug 7, 2026
Until now Build only ran on pull_request, so nothing verified main after
a merge and a direct push to main was never built at all. That is how
the reusable-workflow input mismatch fixed in #10 stayed hidden from
2026-03-10 until the next PR opened.

This matches ufsd, ftpd, httpd and mvsmf, which all build on both
pull_request and push to main; the file is now identical to theirs.
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.

1 participant