Skip to content

fix(ci): preserve native desktop assets during builds#3448

Merged
CharlVS merged 3 commits intodevfrom
codex/ci-native-build-fixes
Mar 18, 2026
Merged

fix(ci): preserve native desktop assets during builds#3448
CharlVS merged 3 commits intodevfrom
codex/ci-native-build-fixes

Conversation

@CharlVS
Copy link
Collaborator

@CharlVS CharlVS commented Mar 18, 2026

Summary

  • preserve desktop native assets between the warm-up and final flutter build runs in the shared generate-assets action
  • add lld to the Docker Linux build image so Dart AOT can find the linker it expects

Root cause

  • Linux desktop builds were deleting build/native_assets/linux between builds, which caused CMake install to fail
  • Windows desktop builds use the same shared action and native-assets install path, so they failed in the same install phase behind the MSBuild wrapper error
  • Linux Docker builds were missing ld.lld/lld

Validation

  • validated the edited shell block with bash -n
  • ran flutter analyze locally; the repository still has many pre-existing analyzer findings unrelated to this change
  • Docker validation could not be completed locally because the Docker daemon was unavailable

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 76aa6ecab1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@GLEECBTC GLEECBTC deleted a comment from chatgpt-codex-connector bot Mar 18, 2026
@github-actions
Copy link

github-actions bot commented Mar 18, 2026

Visit the preview URL for this PR (updated for commit e5d800f):

https://walletrc--pull-3448-merge-f2f9n4o4.web.app

(expires Wed, 25 Mar 2026 20:12:57 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f66a4ff03faa546f12f0ae5a841bd9eff2714dcc

The blanket removal of the build directory wipe between the asset-fetching
and real build passes caused web workflows to skip copy_assets and reuse
the stale AssetManifest.bin from the warm-up run. Restore the cleanup
using a find command that wipes all build caches except native_assets,
which desktop builds generate and need to reuse.
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@CharlVS CharlVS merged commit e38786a into dev Mar 18, 2026
6 of 14 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.

1 participant