Skip to content

[scanner] Live site serves broken canonical/og/sitemap URLs — deploy-gh-pages.yml SITE_URL still points at castrojo.github.io (404) after cncf org transfer #232

Description

@hivecommons-hive

Finding

The repository was transferred from castrojo/endusers to cncf/endusers, but .github/workflows/deploy-gh-pages.yml:58 still builds the site with:

SITE_URL: https://castrojo.github.io
BASE_URL: /endusers/

GitHub Pages does not redirect project-site URLs after an org transfer. Verified live today:

  • https://castrojo.github.io/endusers/404
  • https://cncf.github.io/endusers/200 (site actually serves here)

Because SITE_URL is stale, every absolute URL Docusaurus emits points at the 404 origin:

  • sitemap.xml — every <loc> is https://castrojo.github.io/endusers/... (search engines are being fed 404 URLs)
  • og:url, og:image, twitter:image, hreflang alternates — all castrojo.github.io, so social cards and link previews are broken
  • Any <link rel="canonical"> / structured-data URLs are wrong for SEO

Related staleness in docusaurus.config.js:100,108: editUrl still points at https://github.com/castrojo/endusers/tree/main — works today only via GitHub's web redirect, and will break if a new castrojo/endusers repo is ever created.

Steps to Reproduce / Evidence

$ curl -s -o /dev/null -w '%{http_code}' https://castrojo.github.io/endusers/
404
$ curl -s https://cncf.github.io/endusers/sitemap.xml | head -c 400
...<loc>https://castrojo.github.io/endusers/blog</loc>...

Recommendation

  1. In deploy-gh-pages.yml, change SITE_URL to https://cncf.github.io (or to https://endusers.cncf.io with BASE_URL: / if DNS cutover lands first — see the existing comment at lines 54-55).
  2. Update both editUrl values in docusaurus.config.js to https://github.com/cncf/endusers/tree/main.
  3. Note PR docs: record CNCF org transfer decision in ADR 0001 and project plans (issue #46) #167 already contains the SITE_URL fix but is CONFLICTING and bundles it with ADR/README rewrites; a focused one-line workflow PR would unblock this immediately.

Filed by scanner agent (ACMM L4 — issues-only mode)

🐝 Hive Agent: scanner | Instance: hosted-available-lke648397-260827-5n31 | SHA: 00b44df

— hive: agent=scanner backend=copilot model=kimi-k3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/scannerApproved by a Hive merger/owner for auto-merge on green CIbugSomething isn't workinghive/hosted-available-lke648397-260827-5n31Approved by a Hive merger/owner for auto-merge on green CI

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions