Skip to content

feat: add survey reports to resources - #2110

Merged
mrbobbytables merged 2 commits into
cncf:mainfrom
mrbobbytables:resources/survey-reports
Nov 5, 2026
Merged

mrbobbytables merged 2 commits into
cncf:mainfrom
mrbobbytables:resources/survey-reports

Conversation

@mrbobbytables

Copy link
Copy Markdown
Member

Adds a Survey Reports section under Resources, after Radar Reports, mirroring the cncf.io survey listing (https://www.cncf.io/reports/?_sft_lf-report-type=survey) the same way the Radar page mirrors the radar listing.

Remit: end users get a Survey Reports page at /resources/survey-reports (17 CNCF survey reports with hand-written summaries) and a matching card on the Resources landing page.

What changed

  • Shared report machinery. The radar collector, validator and list component are refactored into scripts/lib/cncf-reports.mjs and src/components/shared/ReportList.js (plus a shared CSS module). collect-radar-reports.mjs, validate-radar-reports.mjs and their new survey counterparts are now thin entry points passing a configuration record. This keeps the jscpd clone gate green and means the two mirrors cannot drift.
  • Data. New data/survey-reports.json (surveyReports key), with every summary written by hand. validate:survey-reports passes and a re-run of the collector reports no change.
  • Refresh workflow. refresh-radar-reports.yml is extended to collect and validate both files rather than adding a second workflow; its commit message and PR body name both.
  • Sidebar and landing grid. Resources order is now Case Studies, Radar Reports, Survey Reports, Job Board, Metrics, Changelog. The Job Board link is inserted after resources/survey-reports.
  • Lists and gates. validate:all, the Justfile build recipe, ci.yml, content-only-ci.mjs, data-links.mjs, CONTRIBUTING's validator list and data table, and the pinned call-site lists in tests are updated.
  • Tests. New in-process suite tests/cncf-reports.test.mjs for the shared module (so unit and mutation coverage see it), plus sandboxed suites for the survey entry points, component tests, and e2e specs covering the new route in smoke, docs-routes and accessibility.

Validation

  • npm run test:unit:coverage:check: 4229 pass, 100% source lines and regions
  • npm run check:format, check:spelling, check:markdown, check:lint, check:duplication, check:unused: clean
  • npm run test:mutation -- --mutate scripts/lib/cncf-reports.mjs,src/components/shared/ReportList.js: 91.8% / 100%
  • npm run build: success; /resources/survey-reports/ lists all 17 reports and the sidebar order above

Add a Survey Reports section under Resources, after Radar Reports, that
mirrors the cncf.io survey report listing the same way the Radar page
mirrors the radar listing.

The radar collector, validator and list component are refactored into
shared parameterized modules (scripts/lib/cncf-reports.mjs and
src/components/shared/ReportList.js) so the survey mirror is a thin
configuration record rather than a copy. The refresh-radar-reports
workflow now collects and validates both data files. The Job Board link
moves after Survey Reports in the sidebar and the landing grid.

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

netlify Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for endusers ready!

Name Link
🔨 Latest commit f86ce6d
🔍 Latest deploy log https://app.netlify.com/projects/endusers/deploys/6aebc94a9404fbadefd844be
😎 Deploy Preview https://deploy-preview-2110--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.

…ReportList

The `|| []` data-shape guard moved from RadarReports/index.js into the
shared ReportList component, so the accepted-regions fixture now names
the span the e2e coverage report actually sees.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: mrbobbytables <mrbobbytables@users.noreply.github.com>
@mrbobbytables
mrbobbytables merged commit 5b9244a into cncf:main Nov 5, 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.

1 participant