Uh oh!
There was an error while loading. Please reload this page.
doc: jan-2022 sec release pre-announcement - #4344
Conversation
Uh oh!
There was an error while loading. Please reload this page.
mhdawson
commented
Jan 4, 2022
Pushed a few commits trying to fixup the link in the standard boilerplate that was removed since the last security release |
nschonni
commented
Jan 4, 2022
I think the change to the linkanator action in #4309 is causing the build failure rather than an actual issue |
mhdawson
commented
Jan 4, 2022
@nschonni what would you suggest we do ? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
https://github.com/nodejs/nodejs.org/pull/4344/files#r778403894 (adding the |
mhdawson
commented
Jan 4, 2022
@Trott thanks for trying that. Since I don't think the link was necessarily broken before I was not sure that updating the text would not break something else. |
mhdawson
commented
Jan 4, 2022
And I see it's not obvious how to actually fix it... |
nschonni
commented
Jan 4, 2022
Looking at a800a29#diff-25e01f5bf6e807a24898f24cc295bb5a83a84540f8709b82187987b09a0e62c1 I don't think the locale is usually included |
mhdawson
commented
Jan 4, 2022
@nschonni +1, I'd validated that the PR was using the same format as before. |
Trott
commented
Jan 4, 2022
It was broken when I built the site from this PR and the change I made fixed it, but maybe it fixed it in one place and broke it in another? I'll keep looking.... |
Trott
commented
Jan 4, 2022
OK, I think I see what's going on. On the live site. nodejs.org redirects to nodejs.org/en and the link works. However in the test site, that redirect doesn't happen, so without the /en, it's broken. Linkinator is probably testing both pages, so no matter which you do, you get a broken link. That's my guess, anyway. |
Uh oh!
There was an error while loading. Please reload this page.
mhdawson
commented
Jan 4, 2022
Going to try the full link. May not be the right answer but want to see if it works |
Trott
commented
Jan 4, 2022
I'd guess that will almost certainly fail CI because you'll be running on a weird port or something like that. |
Uh oh!
There was an error while loading. Please reload this page.
I think the most expedient workaround for now might be to disable linkinator, which I'll do in a commit here and then open an issue. |
Trott
commented
Jan 4, 2022
Wait! I'm totally wrong. It's finding a genuinely broken link. |
mhdawson
commented
Jan 4, 2022
The full link seems to pass the previous failing job. It may not be the right answer for supporting other languages, but I'm going to suggest we land this way and open an issue to fixup the linkinator separately. |
Trott
commented
Jan 4, 2022
It's finding |
Trott
commented
Jan 4, 2022
And we're not the first to have this issue: JustinBeckwith/linkinator#175 |
mhdawson
commented
Jan 4, 2022
@Trott putting the full link also seemed to work so we can either do that or disable the linkinator, whichever you think it better. |
Trott
commented
Jan 4, 2022
Well now I'm completely mystified. |
mhdawson
commented
Jan 4, 2022
@Trott I think what is supposed to happen is that site.json has a partial link and then the build process fills in the rest of the link including the locale. However, full links are also supported so the full link should still work when the site is published for the English locale at least and the linkinator does not flag it. |
Trott
commented
Jan 4, 2022
But it's the same link linkinator is flagging otherwise. But whatever, it worked, let's land this thing. I can figure out the gap in my understanding some other time. |
No description provided.