-
Notifications
You must be signed in to change notification settings - Fork 932
[Auth CI] Log warning if chrome version has changed #7872
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
43ef5fe
debug output test
DellaBitta a700447
attempt to log a notice
DellaBitta 89d4a30
customize notice string
DellaBitta 3ce17ea
warning control message
DellaBitta c8cfdf8
attempt to detect and log chrome version mismatches
DellaBitta 20760cf
test message
DellaBitta 732c39e
hm
DellaBitta f107452
attempt second block of ::s
DellaBitta 5273abb
log versions
DellaBitta c91daa1
correct the use of chromeVersionString
DellaBitta 5259403
updated warning message, added it to test-all.yml
DellaBitta 386d67a
demangle chrome name to prevent warning
DellaBitta fe443b5
log CHROME_VERSION_MISMATCH_MESSAGE on test failure
DellaBitta fd00cc0
export CHROME_VERSION_MISMATCH_MESSAGE in workflows
DellaBitta a87b617
temporarily cause auth tests to fail.
DellaBitta a1b920f
testall yaml fix
DellaBitta 103aa24
move output to before WriteLogs
DellaBitta c5cb816
more output
DellaBitta 105831e
fix yaml
DellaBitta 10b530b
red formatting, and a yo test
DellaBitta c74725d
one more run_tests_in_cjs.js
DellaBitta e277ce8
remove purposeful failures
DellaBitta c0a34ac
Merge branch 'master' into ddb-chrome-version-warnings
DellaBitta 8cfec21
formatter.
DellaBitta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ env: | |
# the beahvior to use the new URLs. | ||
CHROMEDRIVER_CDNURL: https://googlechromelabs.github.io/ | ||
CHROMEDRIVER_CDNBINARIESURL: https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/ | ||
CHROME_VALIDATED_VERSION: linux-120.0.6099.71 | ||
artifactRetentionDays: 14 | ||
# Bump Node memory limit | ||
NODE_OPTIONS: "--max_old_space_size=4096" | ||
|
@@ -39,6 +40,11 @@ jobs: | |
- name: install Chrome stable | ||
run: | | ||
npx @puppeteer/browsers install chrome@stable | ||
chromeVersionString=$(ls chrome) | ||
if [ "$CHROME_VALIDATED_VERSION" != "$chromeVersionString" ]; then | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will this stand out in the workflow in any way if the tests fail? I'm guessing contributors will look at the failed step further down if tests fail, is there anything to direct them to look at this one? |
||
echo "::warning ::The Chrome version doesn't match the previously validated version. Consider updating CHROME_VALIDATED_VERSION in the GitHub workflow if tests pass." | ||
echo "::warning ::Previously validated version: ${CHROME_VALIDATED_VERSION} vs. Installed version: $chromeVersionString" | ||
fi | ||
- uses: actions/checkout@v3 | ||
- name: Set up Node (16) | ||
uses: actions/setup-node@v3 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is this possible that this line can be automatically updated?
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.
Not easily, unless you have any ideas!