-
Notifications
You must be signed in to change notification settings - Fork 47.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ci] Temporary fork runtime_commit_artifacts #30472
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Unfortunately creating a workflow that depends on another worfklow run requires it to first be merged into main, so I can't really test porting this without landing it first. To do this safely, I've left the original job intact for DiffTrain and added a forked file. This fork only currently downloads the artifact from the HEAD commit in GH actions; I've removed the steps that push to the protected branches for now while I test to see if this works as expected. This workflow needs to depend on the runtime_build_and_test workflow being complete because otherwise it will fail since the artifacts haven't been built yet. ghstack-source-id: 0f9cebc5251ee8339ca95e2d658d7e75fc2a213e Pull Request resolved: #30472
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.20.1 | ||
cache: yarn | ||
cache-dependency-path: yarn.lock | ||
- name: Restore cached node_modules | ||
uses: actions/cache@v4 | ||
id: node_modules | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('yarn.lock', 'scripts/release/yarn.lock') }} | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn install --frozen-lockfile | ||
working-directory: scripts/release | ||
- name: Download artifacts for base revision | ||
run: | | ||
git fetch origin main | ||
GH_TOKEN=${{ github.token }} scripts/release/download-experimental-build-ghaction.js --commit=$(git rev-parse origin/main) | ||
- name: Display structure of build | ||
run: ls -R build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are newly added and is the same script we use to download the base build for sizebot and for the devtools regression tests, so it's already been tested.
Comparing: 720a982...ef82168 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: (No significant changes) |
Unfortunately creating a workflow that depends on another worfklow run requires it to first be merged into main, so I can't really test porting this without landing it first. To do this safely, I've left the original job intact for DiffTrain and added a forked file. This fork only currently downloads the artifact from the HEAD commit in GH actions; I've removed the steps that push to the protected branches for now while I test to see if this works as expected. This workflow needs to depend on the runtime_build_and_test workflow being complete because otherwise it will fail since the artifacts haven't been built yet. ghstack-source-id: 0f9cebc5251ee8339ca95e2d658d7e75fc2a213e Pull Request resolved: #30472
Stack from ghstack (oldest at bottom):
Unfortunately creating a workflow that depends on another worfklow run
requires it to first be merged into main, so I can't really test porting
this without landing it first.
To do this safely, I've left the original job intact for DiffTrain and
added a forked file. This fork only currently downloads the artifact
from the HEAD commit in GH actions; I've removed the steps that push to
the protected branches for now while I test to see if this works as
expected.
This workflow needs to depend on the runtime_build_and_test workflow
being complete because otherwise it will fail since the artifacts
haven't been built yet.