Add deterministic IBM cross-compile RBE support

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1023
    • Affects Version/s: None
    • Component/s: Bazel
    • None
    • Fully Compatible
    • Build OnDeck
    • None
    • None
    • None
    • None
    • None
    • None
    • None

        1. Summary
      • Add compile-only RBE routing for PPC64LE and s390x, keeping link, packaging, debug, provenance, and test actions local in release-safe modes.
      • Make WASI execution-platform links and host Python signing actions deterministic under remote execution.
      • Harden task-scoped Podman configuration, cleanup, install materialization, and Bazel convenience-link recovery.
      • Scope the policy to IBM cross variants; other platforms retain their existing behavior.
        1. Implementation details
      • `LINUX_CROSS_REMOTE_COMPILE_MNEMONICS` and `_linux_host_container_action_args` keep compiler/code-generation actions remote while native IBM output actions remain local and uncached.
      • `CONTAINERS_CONF` explicitly selects cgroupfs for task-scoped rootless Podman when no systemd user session exists.
      • Python signing rules include `py3_runtime.files`; `compile_bazel_task_group_template` owns Podman teardown; IBM materialization preserves local resource limits.
        1. Testing
      • `bazel run format`
      • 228 hermetic-container integration tests and 54 focused wrapper/toolchain tests passed.
      • Evergreen shell tests and YAML validation passed.
      • Remote signing target completed successfully on EngFlow.
        1. Safety and compatibility
      • Release/provenance invocations clear cross executor, cache, foreign execution platforms, and toolchains before applying native IBM settings.
      • Task-scoped configuration paths are ownership-checked and isolated by task ID.
      • Non-IBM variants and existing native RBE behavior are unchanged.

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: