-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
chore(ci): fix stencil nightly job dependencies #27298
Conversation
this commit updates the job dependency hierarchy for test-core-screenshot-legacy from `build-core` to `build-core-with-stencil-nightly`. the former is not a valid job name for the `stencil-nightly` workflow, likely just a copy/paste error
Run & review this pull request in StackBlitz Codeflow. |
@@ -98,7 +98,7 @@ jobs: | |||
# to be the length of the shard array. | |||
shard: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] | |||
totalShards: [20] | |||
needs: [build-core] | |||
needs: [build-core-with-stencil-nightly] |
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.
Alternatively, we could rename the job itself to build-core
. The original intent was that when looking at the 'main' CI workflow for Framework, I found myself getting confused (was I looking at main.yml
, or stencil-nightly.yml
?). This served as an easier way to differentiate b/w the two. LMK if you'd prefer to make the s/build-core-with-stencil-nightly/build-core/
change
Issue number: # --------- <!-- Please refer to our contributing documentation for any questions on submitting a pull request, or let us know here if you need any help: https://ionicframework.com/docs/building/contributing --> <!-- Some docs updates need to be made in the `ionic-docs` repo, in a separate PR. See https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#modifying-documentation for details. --> <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> the legacy screenshot test verification step can fail due to improper configuration ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> this commit updates the name of the legacy screenshot test so that we properly gate on verifying that the legacy tests passed ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information I tested this by kicking off the workflow - https://github.com/ionic-team/ionic-framework/actions/runs/4830665737 Yesterday, I [put up a PR](#27298) that did the same. However, I failed to verify it succeeded (since we don't gate on Stencil nightly) - only that it started (since that was the point of failure yesterday). Today, I have verified that it passes all the way through ![Screenshot 2023-04-28 at 9 12 25 AM](https://user-images.githubusercontent.com/1930213/235156949-67aa1b35-d141-4951-9f2c-c0722f11a520.png) <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
Issue number: N/A
What is the current behavior?
The Stencil nightly job fails with the following error:
This started to fail last night. I believe this is a result of #27228, specifically this line 4fe8de7#diff-2f087e8fac034d51c50fc9350e10ceb4034298c16dd0d4f414f79d88ebb71aa0R101
What is the new behavior?
this commit updates the job dependency hierarchy for test-core-screenshot-legacy from
build-core
tobuild-core-with-stencil-nightly
. the former is not a valid job name for thestencil-nightly
workflow, likely just a copy/paste errorDoes this introduce a breaking change?
Other information
To test this, I was able to kick off a version of this job with this branch: https://github.com/ionic-team/ionic-framework/actions/runs/4819613134 and saw the new/legacy screenshot tests running: