Skip to content

ci(debusine): read workspace from $GITHUB_OUTPUT, not a stale output file - #59

Merged
Bjordis Collaku (bjordiscollaku) merged 1 commit into
mainfrom
fix/debusine-build-output-append
Jul 23, 2026
Merged

Bjordis Collaku (bjordiscollaku) merged 1 commit into
mainfrom
fix/debusine-build-output-append

Conversation

@bjordiscollaku

Copy link
Copy Markdown
Contributor

Summary

Every daily trixie build has failed since debusine-action PR #62 (build-failure-logs) merged on 2026-07-16. This restores the daily pipeline to green by adapting build-kernel-debusine.yml to the new lib/build output contract.

Root cause

debusine-action PR #62 changed lib/build to emit workspace and workflow_id directly to $GITHUB_OUTPUT before polling Debusine, so those values survive a poll failure. As part of that change, lib/build stopped writing the separate output file it used to produce as its sole output artifact.

Our Build in Debusine step in build-kernel-debusine.yml still assumed that removed file:

debusine-action/lib/build
cat output >> "$GITHUB_OUTPUT"
workspace=$(sed -n 's/^workspace=//p' output)

Since debusine-action@main no longer creates output, cat output fails with No such file or directory, and the step exits 1 even though the underlying Debusine build itself completed successfully. This has failed every trixie leg of daily.yml since 2026-07-16 (see runs 29541747691 through 29876594727).

Fix

Read the workspace value directly from $GITHUB_OUTPUT, which lib/build now populates itself, instead of the removed output file. This matches how debusine-action's own reusable workflow (.github/workflows/debusine.yml) already consumes lib/build's outputs.

Validation

Ran build-kernel-deb.yml end to end on this branch against trixie:
run 29946314673

  • Build (Debusine) (previously the failing job): success, 26m30s
  • Publish Debusine artifacts: success, 57s
  • Full run: success

…file

debusine-action PR #62 (build-failure-logs) changed lib/build to write
workspace and workflow_id directly to $GITHUB_OUTPUT before polling, so
that these values survive a poll failure. It removed the separate
'output' file that lib/build previously created as its sole output
artifact.

The Build in Debusine step here still expected that removed file: it
ran 'cat output >> "$GITHUB_OUTPUT"' and then read 'output' again to
derive workspace_url. Since debusine-action/main now never creates
'output', the 'cat' fails with 'No such file or directory' and the
step exits 1 even though the underlying Debusine build succeeded.
This has failed every 'trixie' leg of the daily build since debusine-
action#62 merged on 2026-07-16.

Read the workspace value back out of $GITHUB_OUTPUT instead of the
removed file, matching how debusine-action's own reusable workflow
(.github/workflows/debusine.yml) already consumes lib/build's outputs.

Signed-off-by: Bjordis Collaku <bcollaku@qti.qualcomm.com>
@bjordiscollaku
Bjordis Collaku (bjordiscollaku) merged commit 08cb492 into main Jul 23, 2026
18 of 19 checks passed
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