Repository navigation
fix(signals): match WebKit's Linux wording for a cancelled request - #5
Merged
Merged
Conversation
WebKit on macOS reports a cancelled request as "cancelled", and WebKit on Linux as "Load request cancelled". The previous change matched only the macOS text, so the release workflow's WebKit smoke on ubuntu failed the new fence-noise case with two requestfailed signals, before npm publish ran. Both wordings are now ignored; connection failures such as "Could not connect to server" are still reported.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The v0.4.0 release workflow failed at its WebKit smoke, before npm publish, so 0.4.0 is not on npm yet and no GitHub release exists.
The cause: #4 taught the requestfailed handler to ignore WebKit's cancelled requests, but matched only the macOS wording, "cancelled". WebKit on Linux reports the same event as "Load request cancelled", so the new fence-noise case got two requestfailed signals on ubuntu. PR CI runs Chromium only, so the release job was the first Linux WebKit run.
net::ERR_CONNECTION_REFUSED,NS_ERROR_CONNECTION_REFUSED) are still reported; checked against the pattern directly.browser-smoke.ymldispatched on this branch, which runs the same three smoke files on ubuntu Firefox and WebKit as the release job: result in the checks below.After merge, the plan is to move the unpublished
v0.4.0tag to the merged commit so the release workflow publishes 0.4.0 from it.