Skip to content

feat: improve GitHub discovery and current release metadata - #4134

Merged
yannickmonney merged 6 commits into
mainfrom
feat/github-discovery
Oct 3, 2026
Merged

yannickmonney merged 6 commits into
mainfrom
feat/github-discovery

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

GitHub visitors now get concise evaluation answers and an illustrative review task in English, German and French. Maintainers can preserve validated GitHub traffic snapshots outside Git and follow one documented discovery and measurement process.

The public changelog advertises a current /changelog.json feed through HTML metadata and llms.txt, reusing the existing release cache. Health reports stale release data without making GitHub outages fail readiness. Docs sitemaps omit modification dates derived from checkout times. Full releases require reviewed, version-specific highlights and upgrade notes before publishing; site-only builds remain exempt and retries preserve already-published releases.

This follows the marketing content merged in #4120 and preserves its localized content discovery. The GitHub organization profile is maintained separately in tale-project/.github.

Checklist

  • Root check components pass in CI: format, lint, typecheck, build, unit, UI, browser and Knip. Local default-concurrency bun run check reached 57/58 tasks twice but failed on unrelated platform UI timing; the complete UI suite then passed with two workers (5,182 tests across 567 files), without source changes or retries. The local root command itself is not recorded as passing.
  • bun run lint:sast passed with zero findings, and CI Opengrep passed. Local scanner output records partial-analysis and timeout limitations.
  • Translations: README changes cover EN/DE/FR. Message catalogs are N/A: no new visible UI strings.
  • Docs: site-maintainer READMEs, discovery/release guides and automated-coverage registers updated. Product-docs trees are N/A: no changed product workflow; metadata discovery preserves the localized content from feat(web): redesign marketing sites and publish localized guides #4120.
  • README.md, README.de.md and README.fr.md updated.

Test plan

  • Focused release-note, metadata, sitemap, traffic and README checks pass; independent review of the integrated diff found no blockers.
  • Production builds passed for web (226 routes), docs (433) and UI docs (22). Their prerender suites passed: 469, 11 and 2 tests respectively. After refreshing the generated release fallback, all 58 affected web tests and five release-note tests passed.
  • Observe /changelog.json through HTTP and Chromium, its HTML alternate link and LLM export, and stale-feed health behavior. These were verified during development; production publication is a separate deployment step.
  • Compile identical documentation after changing only filesystem timestamps; both sitemap regressions verify no invented modification dates.
  • The published v0.5.69 highlights and upgrade notes were checked against their merged changes and read back after publication; the generated fallback now includes them.

@yannickmonney
yannickmonney marked this pull request as ready for review October 3, 2026 12:20
@yannickmonney
yannickmonney merged commit d397560 into main Oct 3, 2026
@yannickmonney
yannickmonney deleted the feat/github-discovery branch October 3, 2026 12:48
@yannickmonney

Copy link
Copy Markdown
Contributor Author

Post-merge independent review of #4134 at d39756043: root merged it at 12:48:27Z with no review on record. Tale agent #2 3f9fdcee, TALE-359 run dea040d6-b37f-49a1-a4a0-fdef67ce4ee8. This is a source review by one read-only reviewer, cross-checked by me on the workflow points. I didn't execute anything.

Verdict: source accepted with LOW follow-ups. Nothing in release.yml got weaker.

  • There are no new triggers, permissions or secrets, and no pull_request_target. Prepare stays contents: read.
  • The new steps pass the tag through the environment, quoted and regex-checked (release.yml:57-59,83-87,432-453). The old Create release step put ${{ }} straight into run:, so this is an improvement.
  • The notes gate runs in Prepare, before any build, and sites-only runs are exempt.
  • A failed create now fails the step: the old || echo hid it.
  • release-notes.ts and github-traffic-snapshot.ts stay safe:
    • Node built-ins only;
    • gh is called without a shell;
    • the token is never read or printed;
    • the snapshot is written exclusively at 0600 in a 0700 directory.
  • /changelog.json reuses the /api/releases handler: GET only, a public 5-minute cache, public data. Security headers still apply.

LOW, for the release lane:

  1. The next tag fails unless its notes file is merged first.
    • At d39756043 only .github/release-notes/v0.5.69.md exists, and v0.5.70 points at 2bd3905f0, from before this gate.
    • Tagging v0.5.71 the usual way fails Prepare (release.yml:83-87). Per RELEASING.md:218-220, that version is then burned.
    • publish-packages.yml also runs on v*.*.* tags and has no notes gate. It would still pin ui-v0.5.71 and marketing-ui-v0.5.71 for a version that never gets a release.
    • Next steps: add the notes file before tagging, and gate publish-packages or document the orphan tags.
  2. Prepare now does a full checkout and sets up Bun within timeout-minutes: 3 (release.yml:36,73-81), just to read one file. The tree is about 540 MB. A slow clone would fail safe and could be re-run. A sparse checkout would avoid it.

INFO

  • The notes validator rejects only empty sections and TODO/TBD. RELEASING.md:26 overstates it slightly.
  • The draft check depends on gh release view finding drafts by tag. It's tested only with a stub.
  • After a deploy, the first failed feed refresh can report one stale-release error.
  • The traffic script creates its output directory before refusing a path inside a checkout.
  • The squash subject has no "(feat: improve GitHub discovery and current release metadata #4134)".

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