Skip to content

appimage: run the packer as dx appimage_packer, appimage joins the in-graph guard - #14477

Merged
TrapsterDK merged 2 commits into
mainfrom
cloud/13149
Nov 21, 2026
Merged

TrapsterDK merged 2 commits into
mainfrom
cloud/13149

Conversation

@TrapsterDK

Copy link
Copy Markdown
Collaborator

Part of #13149.
Part of #13154.

appimage_package now runs the prebuilt dx (@dx_prebuilt//:dx appimage_packer ...), so a consumer no longer compiles a rules_dx Rust binary to package an AppImage. This was the last language in GUARD_PENDING.

  • appimage/private/tools/packer: the appimage_packer rust_binary and src/main.rs are gone. The library builds everywhere except Windows and is a dx dependency, like dx_apple_ops.
  • cli/cli/src/multicall.rs: new appimage_packer subcommand, plus a file argv[0] alias. The packer puts dx on appimagetool's PATH as file, so a stray file call still fails with the clear "set ARCH and pass --no-appstream" message. Both are cfg(not(windows)).
  • tools/testing/consumer/fixtures.bzl: appimage moves from GUARD_PENDING to IN_GRAPH_GUARD_LANGS.
  • Also fixes a clippy string_add finding in the packer that dx check flagged. The quality_probe_tests expected value now includes android_sdk_aspect, which matches cli/plan's selected_shards_reach_the_build_argv. That test was failing on main after java: move the Android SDK aspect to android/private/quality (closes #14418) #14429.

Tested: //appimage/tests:all, //appimage/private/tools/packer:all (appimage_packer_test), //cli/cli:dx_cli_test, //tools/testing/consumer:in_graph_prebuilt_guard_test all passed on linux_x86_64.
Guard: bazel run //tools/testing/consumer:in_graph_prebuilt_guard -- --langs appimage printed appimage: 0 compiled rules_dx binaries. Negative check: pointing _build at //cli/cli:dx made it fail with appimage: compiles rust_binary rule @@rules_dx+//cli/cli:dx_upstream.
macOS and Windows dx builds: evidence is requested in the comments below (macos_arm64, windows_x86_64, //cli/cli:dx_cli_test).


Generated by Claude Code

…in-graph guard

appimage_package now runs the prebuilt dx with the appimage_packer subcommand, so a
consumer no longer compiles a rules_dx Rust binary to package an AppImage. dx answers
to `file` on appimagetool's PATH. appimage moves from GUARD_PENDING to
IN_GRAPH_GUARD_LANGS.

Part of #13149. Part of #13154.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hwKy3hp3GjLZ5fZQNo
Matches cli/plan's selected_shards_reach_the_build_argv since the Android SDK aspect moved to android/private/quality.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hwKy3hp3GjLZ5fZQNo

Copy link
Copy Markdown
Collaborator Author

/evidence platforms=["macos_arm64"] task=test scope=//cli/cli:dx_cli_test


Generated by Claude Code

Copy link
Copy Markdown
Collaborator Author

/evidence platforms=["windows_x86_64"] task=test scope=//cli/cli:dx_cli_test


Generated by Claude Code

@github-actions

Copy link
Copy Markdown
Contributor

/evidence could not dispatch evidence.yml on cloud/13149.

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

/evidence could not dispatch evidence.yml on cloud/13149.

TrapsterDK added a commit that referenced this pull request Nov 21, 2026
…ker bin removal (#14535)

#14477 dropped the appimage_packer [[bin]] section, which changes the
dx_crates splicing digest; the analysis job's CARGO_BAZEL_DIGEST_CHECK
fails on main without this refresh.

Part of #13149.


Claude-Session: https://claude.ai/code/session_01Xut2hwKy3hp3GjLZ5fZQNo

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

train Tested; land via merge train

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants