Repository navigation
Fix output directory race in parallel CI builds - #8
Merged
Merged
Conversation
memegauste
force-pushed
the
fix/parallel-ci-build
branch
from
October 14, 2026 07:01
e35bd56 to
5717bd5
Compare
memegauste
marked this pull request as ready for review
October 14, 2026 07:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parallel CI builds can start NASM or a library compilation before the kernel recipe creates
build/, producingboot.asm: fatal: unable to open output file build/boot.o. The output directory is now an order-only prerequisite of every object, so all compilation waits for it without rebuilding objects when the directory timestamp changes.Make
cleansafe on both fresh and already-clean checkouts, and remove the attempt to deletebuild/*after the directory is gone. CI now performs a clean parallel build using the Makefile defaults, validates the kernel's Multiboot header, and fails if the ISO artifact is missing.Validation in the exact CI image (
sha256:0413a96395dfe1db6ddb7311dd6212ca264c4f022c5078b85b7853787807ecd9):masterwithmake -j32 -k.make -j16andmake -j32passed.make clean, incremental rebuild after touchingkernel.c, andmake -qpassed.grub-file --is-x86-multiboot kenos.binand nonempty ISO checks passed.git diff --checkpassed.GitHub Actions passed for the latest commit: OSDev CI, including the clean parallel build, Multiboot validation, and ISO artifact upload.