jaeger-2/2.14.1 package update#77060
Conversation
⚙️ Build Failed: Configuration
Build Details
Root Cause Analysis 🔍The target directory 'cmd/query/app/ui/actual' does not exist when attempting to copy built UI assets. The build process successfully compiled the JavaScript/TypeScript components with npm and vite, but the subsequent file copy operation failed because the destination directory structure was not properly created or does not exist in the expected location. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Suggested ChangesFile: melange.yaml
Replacement: Content: Click to expand fix analysisAnalysisNo similar past fixes were provided, but analyzing the current build failure reveals the root cause: the target directory 'cmd/query/app/ui/actual' does not exist when attempting to copy built UI assets. The build process successfully compiles the JavaScript/TypeScript components but fails during the file copy operation because the destination directory structure is missing. This is a common issue in multi-step build processes where intermediate directories need to be created before file operations. Click to expand fix explanationExplanationThe fix addresses the root cause by ensuring the target directory 'cmd/query/app/ui/actual' exists before attempting to copy files into it. The 'mkdir -p' command creates the directory and any necessary parent directories if they don't exist, and the '-p' flag prevents errors if the directory already exists. This is placed immediately before the cp command that was failing, ensuring the directory structure is ready for the file copy operation. The rest of the pipeline remains unchanged, maintaining the existing build logic while fixing the missing directory issue. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
693187f to
c40722f
Compare
|
Hey @srishtih are you working on this one seems like a major refactoring and you are assign to the ticket https://github.com/chainguard-dev/internal-dev/issues/25029 ? |
|
@debasishbsws I was working on jaeger-iamguarded, so there was some overlapping there. |
|
marking as blocked as there are some refactors going on by @srishtih, see also https://chainguard-dev.slack.com/archives/C09PASNRT54/p1767878673440359 |
|
Closing due to stereo migration to reduce confusion |
Commit: 9173e343bfabb4ce8ff04d5b60c4d34058e5744a