Skip to content

Test actual LRE in CI#2321

Draft
palfrey wants to merge 24 commits into
TraceMachina:mainfrom
palfrey:lre-in-ci
Draft

Test actual LRE in CI#2321
palfrey wants to merge 24 commits into
TraceMachina:mainfrom
palfrey:lre-in-ci

Conversation

@palfrey
Copy link
Copy Markdown
Member

@palfrey palfrey commented May 11, 2026

Description

We previously had LRE testing, but it was a mix of trivial examples and buggy k8s-in-CI setups long commented out. This PR spins up a docker compose setup with the current branch's nix images and tries to build them, which will make it much easier to make improvements to those.

Type of change

Please delete options that aren't relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

CI, bunch of local docker compose and bazel test similar to the CI steps.

Checklist

  • Updated documentation if needed
  • Tests added/amended
  • bazel test //... passes locally
  • PR is contained in a single commit, using git amend see some docs

This change is Reviewable


EXPOSE 50051/tcp 50052/tcp
CMD ["nativelink"]
ENTRYPOINT ["nativelink"]
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Making it behave like the nix images

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Using the newer config so I don't get the warnings every time I boot things

platform_properties: {
cpu_count: {
query_cmd: "nproc",
values: [],
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Path isn't present on the nix images

Comment thread nativelink-worker/src/running_actions_manager.rs
Comment thread nativelink-worker/src/running_actions_manager.rs
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 1, 2026

@palfrey is attempting to deploy a commit to the native-link-web-assets Team on Vercel.

A member of the Team first needs to authorize it.

aws-sdk-s3 = { version = "1.82.0", features = [
"http-1x",
"rt-tokio",
], default-features = false }
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Duplicate of what's in non-dev

async-trait = { version = "0.1.88", default-features = false }
aws-config = { version = "1.6.1", default-features = false, features = ["sso"] }
aws-sdk-s3 = { version = "1.82.0", features = [
aws-sdk-s3 = { version = "1.134.0", features = [
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Mostly here to upgrade crc-fast to 1.10.0, which has some issues with musl

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