Skip to content

Enable features on 404 pages#9603

Merged
fregante merged 1 commit into
mainfrom
404-ok
May 26, 2026
Merged

Enable features on 404 pages#9603
fregante merged 1 commit into
mainfrom
404-ok

Conversation

@fregante

Copy link
Copy Markdown
Member

@fregante fregante changed the title Enable features on 404 Enable features on 404 pages May 25, 2026
@github-actions github-actions Bot added the bug label May 25, 2026
}

// 404 pages should only run 404-only features
if (pageDetect.is404() && !include?.includes(pageDetect.is404) && !asLongAs?.includes(pageDetect.is404)) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So of course this will cause features to run on valid-looking URLs and failing. Surprisingly the /no-user page has no console errors and /user/no-repo only has a single console error, which... you know, it's kind of obvious since it is a 404 page

Image

We can patch up these errors as they come up, if deemed necessary

@fregante fregante merged commit 705053c into main May 26, 2026
19 checks passed
@fregante fregante deleted the 404-ok branch May 26, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

⚠️ Features missing from 404 page

1 participant