Skip to content

fix: regenerate members.json after the catalog ExternalDNS fix - #2015

Merged
mrbobbytables merged 1 commit into
cncf:mainfrom
mrbobbytables:fix/members-catalog-drift
Oct 30, 2026
Merged

mrbobbytables merged 1 commit into
cncf:mainfrom
mrbobbytables:fix/members-catalog-drift

Conversation

@mrbobbytables

Copy link
Copy Markdown
Member

Fixes #2014

Remit: /members lists ExternalDNS twice in the project filter, filtering by ExternalDNS omits SNCF, and the SNCF profile shows a project name that contradicts /architectures/sncf-onprem.

What changes

  • data/members.json: regenerated with npm run generate:members (one content change: SNCF External-dns -> ExternalDNS).
  • tests/members-data.test.mjs: new test reconciling each member's projects and industries with the catalog entries behind its architectures. Against the stale file it fails with sncf projects drifted from data/architectures/catalog.json; run npm run generate:members; it passes after regeneration.

Note on the issue's draft test

The draft keyed catalog entries by entry.slug, but generate-members.mjs groups them by orgToSlug(entry.organization), so that join matches nothing and the test would pass vacuously. This version joins through member.architectures[].id, which the artifact already carries, and asserts every listed architecture resolves to a catalog entry.

Verification

  • node --test tests/members-data.test.mjs tests/generate-members.test.mjs: 56 pass
  • Prettier and ESLint clean on the changed files

The catalog normalisation that listed ExternalDNS once on /architectures
did not regenerate data/members.json, so /members still spelled the
project External-dns for SNCF: the project filter offered two options for
one project, selecting ExternalDNS omitted SNCF, and the SNCF profile
disagreed with /architectures/sncf-onprem.

Regenerate the artifact and add a test that reconciles each member's
projects and industries with the catalog entries behind its
architectures, so a catalog edit that skips regeneration fails the
required check instead of shipping.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: mrbobbytables <mrbobbytables@users.noreply.github.com>
@netlify

netlify Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for endusers ready!

Name Link
🔨 Latest commit cfb074b
🔍 Latest deploy log https://app.netlify.com/projects/endusers/deploys/6ae4b3f48551cc8a779bc3a3
😎 Deploy Preview https://deploy-preview-2015--endusers.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mrbobbytables
mrbobbytables added this pull request to the merge queue Oct 30, 2026
Merged via the queue into cncf:main with commit 99eb7b9 Oct 30, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[quality] /members lists ExternalDNS twice and shows SNCF under a stale project name after the #1991 catalog fix

1 participant