Closed skyclouds2001 closed 5 days ago
This pull request has merge conflicts that must be resolved before it can be merged.
(comment last updated: 2024-05-16 09:45:29)
remove /en-US/docs/Web/API/crossOriginIsolated /en-US/docs/Web/API/Window/crossOriginIsolated the redirect can pass the test, but the issue existed in the preview product
It seems that when building the preview result, the _redirects.txt file in the repository is used, not the updated one (same behavior can be observed in #33339 )
It seems that when building the preview result, the _redirects.txt file in the repository is used, not the updated one (same behavior can be observed in #33339 )
Yeah, I know. It's OK, I have your branch checked out locally so I can test the redirects :).
(edited to add: oh, do you mean, that's the reason we are getting these CI errors?)
(edited to add: oh, do you mean, that's the reason we are getting these CI errors?)
Yes, I think this is the reason
So what should do next?
It seems that when building the preview result, the _redirects.txt file in the repository is used, not the updated one
Not true. We are not using pull_request_target
trigger here.
In future run yarn content fix-redirects
command to fix automatically fixable errors in _redirects.txt
file.
It seems that when building the preview result, the _redirects.txt file in the repository is used, not the updated one
Not true. We are not using
pull_request_target
trigger here.In future run
yarn content fix-redirects
command to fix automatically fixable errors in_redirects.txt
file.
Got it!
Thanks @OnkarRuikar ! I had forgotten about sorting. Yes, AFAIK we have to edit redirects manually for some of this work because when these global properties were first added, redirect were sometimes made from API/Window/thing
to API/thing_property
, and we're now reinstating API/Window/thing
. Maybe there's a better way but if so I don't know it.
Description
/cc @wbamberg
part of the #33019
Motivation
Additional details
Related issues and pull requests