fix(ci): check out openaec-reports so builds stop failing#9
Open
Nozzit wants to merge 1 commit into
Open
Conversation
…c-core
Every build job on every platform has been failing since May, so no
release artifacts are produced at all — the v0.1.4 release only contains
the Windows installer that was built by hand.
The cause is a path dependency in packages/desktop/src-tauri/Cargo.toml:
openaec-core = { path = "../../../../openaec-reports/rust/crates/openaec-core" }
That resolves to a sibling directory next to the repository root, which
developers have locally but CI never checks out. Cargo then fails with:
failed to get `openaec-core` as a dependency
failed to read `.../openaec-reports/rust/crates/openaec-core/Cargo.toml`
No such file or directory (os error 2)
Cloning the (public) sibling repository into ../openaec-reports before
the build mirrors the local development layout. Added to the three
workflows that build the app: ci.yml, nightly.yml and release.yml.
Verified locally: `cargo metadata` in packages/desktop/src-tauri fails
with the exact CI error without the sibling checkout, and resolves all
607 packages with it.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
The problem
Every build job on every platform has been failing since May. The three most recent
release.ymlruns failed on all four matrix jobs, andnightly.ymlhas failed every night since. As a result the pipeline produces no artifacts at all — the v0.1.4 release contains only the Windows installer, which was evidently built and uploaded by hand.The cause
packages/desktop/src-tauri/Cargo.tomlhas a path dependency pointing outside the repository:That resolves to a sibling directory next to the repository root — a layout developers have locally, but which CI never creates. From today's nightly run (Linux job):
The identical error appears in the Windows and macOS jobs, which is why all four fail.
The change
Clone the sibling repository into
../openaec-reportsbefore the build, mirroring the local development layout.OpenAEC-Foundation/openaec-reportsis public, so no additional token is needed. Added to the three workflows that build the app:ci.yml,nightly.yml,release.yml. Nine added lines, nothing else touched.actions/checkoutis not usable here because it refuses to write outside$GITHUB_WORKSPACE, and the dependency has to land in the workspace's parent directory.Verification
Reproduced and fixed locally against this branch:
cargo metadatainpackages/desktop/src-tauriThe workflow YAML parses cleanly. What I could not verify is a full end-to-end run on GitHub's runners — that only happens once this is merged and a build is triggered. If anything else is broken further along the pipeline, this fix gets the build past its first hurdle rather than guaranteeing a green run.
Why this came up
The OpenAEC Installer gained Linux support and can install tools that publish an
.AppImage. This repository already listsappimagein its bundle targets, so once the pipeline builds again, Linux artifacts should follow without further changes here.Note that
openaec-coreis pinned to whatever is onopenaec-reports@main. If you would rather have reproducible builds, a git dependency with a pinned rev would be the more robust long-term fix — that felt like a bigger architectural call than belongs in a build fix.🤖 Generated with Claude Code