Skip to content

chore: fix roll_browser script#34886

Merged
mxschmitt merged 1 commit intomicrosoft:mainfrom
mxschmitt:fix-roll-script
Feb 21, 2025
Merged

chore: fix roll_browser script#34886
mxschmitt merged 1 commit intomicrosoft:mainfrom
mxschmitt:fix-roll-script

Conversation

@mxschmitt
Copy link
Contributor

@mxschmitt mxschmitt commented Feb 21, 2025

This fixes the following GitHub Actions workflow (that the README/deviceDescriptor.json didn't get updated).

The issue was that we need the headless browser for updating the README files via npm run doc but we never installed the never revision because only the 'chromium' entry got updated, not the 'chromium-headless-shell' entry in the browsers.json.

This patch fixes the updating logic and by that we don't need a manual hack for updating the browserVersion/revision later on, we can instead filter for it in the beginning.

Drive-by: Adjust how npm run doc got called. This should not have any logical changes, just cosmetics.

This regressed in #34659.

@github-actions
Copy link
Contributor

Test results for "tests 1"

7 flaky ⚠️ [chromium-page] › tests/page/page-event-popup.spec.ts:149:3 › should not treat navigations as new popups @chromium-ubuntu-22.04-node18
⚠️ [chromium-library] › tests/library/chromium/oopif.spec.ts:284:3 › should click @chromium-ubuntu-22.04-node20
⚠️ [firefox-page] › tests/page/page-evaluate.spec.ts:403:3 › should throw for too deep reference chain @firefox-ubuntu-22.04-node18
⚠️ [chromium-page] › tests/page/workers.spec.ts:240:3 › should support extra http headers @ubuntu-20.04-chromium-tip-of-tree
⚠️ [webkit-library] › tests/library/trace-viewer.spec.ts:247:1 › should render network bars @webkit-ubuntu-22.04-node18
⚠️ [webkit-page] › tests/page/page-set-input-files.spec.ts:146:5 › should upload large file @webkit-ubuntu-22.04-node18
⚠️ [playwright-test] › tests/ui-mode-test-watch.spec.ts:145:5 › should watch all @windows-latest-node18-1

38671 passed, 794 skipped
✔️✔️✔️

Merge workflow run.

@mxschmitt mxschmitt merged commit af61d65 into microsoft:main Feb 21, 2025
29 checks passed
@mxschmitt mxschmitt deleted the fix-roll-script branch February 21, 2025 15:37
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.

2 participants