Skip to content

Move the remaining native Linux CI jobs off EC2 - #22108

Draft
huydhn wants to merge 1 commit into
osdc/linux-job-v3from
osdc/native-linux-jobs
Draft

Move the remaining native Linux CI jobs off EC2#22108
huydhn wants to merge 1 commit into
osdc/linux-job-v3from
osdc/native-linux-jobs

Conversation

@huydhn

@huydhn huydhn commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Part 3 of moving ExecuTorch's Linux CI to OSDC. Stacked on #22107 for _docker-image.yml — review that first.

These are the Linux jobs that write their own steps, so the v3 migration did not reach them.

The Xtensa workflows were native because ACTIONS_ID_TOKEN_REQUEST_* did not cross into the docker exec, so they assumed the Cadence role outside the container and passed credentials into docker run. OSDC has no host docker and the job already runs inside its container, so that collapses into plain steps. They stay native only because they assume the Cadence role rather than role/arc.

stale.yml and the two artifact-to-S3 jobs do no ExecuTorch work, so they move to ubuntu-latest and assume role/arc through OIDC.

apple.yml's test-demo-ios stays on EC2: mobile_job.yml resolves its actions by relative path, which does not work on OSDC.

Authored with Claude Code.

@pytorch-bot

pytorch-bot Bot commented Aug 24, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/22108

Note: Links to docs will display an error until the docs builds have been completed.

❌ 6 New Failures, 5 Cancelled Jobs, 13 Pending

As of commit 0a8e483 with merge base 9a2d135 (image):

NEW FAILURES - The following jobs have failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 24, 2026
@huydhn
huydhn force-pushed the osdc/native-linux-jobs branch from d9cca8f to d2686e7 Compare August 24, 2026 19:32
These are the Linux jobs that write their own steps instead of calling
linux_job, so the v3 migration did not reach them.

The two Cadence Xtensa workflows were native specifically because the OIDC token
had to be minted on the host: the ACTIONS_ID_TOKEN_REQUEST_* variables did not
cross into the docker exec, so the job assumed the Cadence role outside the
container and passed the credentials in through docker run. OSDC has no host
docker daemon, and a job there already runs entirely inside its container, so
the workaround is no longer needed and the docker run wrapper collapses into
plain steps. The reason these stay native rather than becoming linux_job_v3 is
now only that they assume the Cadence artifacts role rather than role/arc.

Three jobs did no ExecuTorch work at all and move to GitHub-hosted runners
instead of OSDC: the stale-PR bot, which only calls the GitHub API, and the two
jobs that repackage an artifact into S3, which now assume role/arc through OIDC
rather than relying on the EC2 instance role they used to inherit.

apple.yml's test-demo-ios keeps its EC2 label, because mobile_job.yml resolves
its actions by relative path and that does not work on OSDC.

This builds on the linux_job_v3 migration for _docker-image.yml, which resolves
the CI image the Xtensa jobs now name in `container:`.

Authored with Claude Code.
@huydhn
huydhn force-pushed the osdc/native-linux-jobs branch from d2686e7 to 0a8e483 Compare August 25, 2026 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant