Skip to content

Declare the QNX license as an action input without exposing it to RBE #204

Todo

Description

@nradakovic

Problem

The QNX toolchain accepts the license location as a string and passes it through QNX_SHARED_LICENSE_FILE. Bazel does not treat the file as an action input, so it is unavailable in isolated execution environments.

Declaring the license as an input would make it available to actions, but remote execution would upload its contents to the executor's
content-addressable storage.

Proposed solution

  • Support supplying the license file as a Bazel label and declare it as an input to the QNX actions that need it. Resolve the environment variable to the file's execution path.
  • Prevent actions that receive the license file from executing remotely.
  • Preserve existing path-based and license-server configurations.

Acceptance criteria

  • QNX compilation and linking can access the declared license file during local execution, including sandboxed execution.
  • Actions that receive the license file cannot execute remotely, even when remote execution is enabled for the build.
  • Remote and disk caching remain available for those actions. The license contents are not copied into outputs or logs.
  • Tests cover license input propagation, local execution requirements, and existing configurations.
  • Documentation explains the configuration, remote execution restriction, and cache behavior, including that a cache hit can bypass a license check.

Activity

  1. self-assigned this
    on Nov 26, 2026
  2. added theissue type on Nov 26, 2026
  3. added
    documentation
    action config
    toolchain pkg
    unit test
    p3
    on Nov 26, 2026
  4. added
    improvements
    on Nov 26, 2026
  5. changed the issue type fromtoon Nov 26, 2026
  6. added
    refinement needed
    and removed
    documentation
    action config
    toolchain pkg
    unit test
    improvements
    on Nov 26, 2026
  7. moved this from Backlog to On Hold in S-CORE Roadmapon Nov 26, 2026
  8. moved this from refinement needed to On Hold in INF - Infrastructure Communityon Nov 26, 2026
  9. added
    blocked
    and removed
    refinement needed
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

blockedp3

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions