Repository navigation
Experiment, not for merge: who holds a store file open in hadolint's build - #96
Draft
closer-claudio wants to merge 1 commit into
Draft
closer-claudio wants to merge 1 commit into
closer-claudio wants to merge 1 commit into
Conversation
Not for merge. hadolint's build failed on CI with ETXTBSY when cabal ran alex just after installing it. This samples, through the dependencies' build, every descriptor open for writing on a file of cabal's store and the process that holds it, with cabal's own job count and then with one job, and prints the time of each. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: closer-claudio <claudio@farcloser.world>
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.
🎯 Why
"build (hadolint, linux-arm64)" failed with
alex: createProcess: posix_spawnp: resource busy (Text file busy)when cabal ran alex just after installing it. Before the fix, the cause is to be measured, and this machine's sandbox cannot run the build's container, so CI runs it.🛠️ What
hadolint/in-container.shsamples, through the dependencies' build, every descriptor open for writing on a file of cabal's store and the process holding it, first with cabal's own job count and then with-j1, and prints each one's time.🧪 How
The four hadolint builds of this pull request's CI (two architectures, the build and its rebuild) print the samples.
📝 Notes
A draft, to be closed without merging once read. The fix is a pull request of its own.