Skip to content

chore(release): promote the star-history privacy fix to main - #162

Merged
scttbnsn merged 59 commits into
mainfrom
dev/v0.9
Aug 19, 2026
Merged

scttbnsn merged 59 commits into
mainfrom
dev/v0.9

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

Promotes dev/v0.9 to main ahead of the v0.9.6 cut. Two commits since the last promotion (#159):

  • fix(website): drop the third-party star-history embed #160 removed the third-party star-history.com embed from the marketing site. Every visitor's browser was making a direct request to api.star-history.com, leaking their IP to a third party, which contradicts the cookieless-analytics posture. The component is deleted rather than replaced; a warpchart embed would have the identical problem on a marketing page. The dead star_history CTA placement and its combination came out of analytics/src/contract.ts, and the deleted file came out of the contract test's source list (it reads each path, so it would have thrown ENOENT).
  • docs(changelog): fold the star-history fix into v0.9.6 #161 folded that entry from [Unreleased] into the staged [v0.9.6] section so the release carries the fix.

star-history.com had also broken upstream after GitHub restricted stargazer API access, so the chart was rendering an error card regardless.

Verified before promotion: zero star-history/star_history references anywhere outside README.md and CHANGELOG.md, checked with a positive control confirming the grep matches where it should. The Vercel preview on #160 served zero occurrences. README is deliberately untouched — its star-history block is sequenced separately after the release.

Reviewed with the CodeRabbit CLI against dev/v0.9 (all 5 files, no findings); the GitHub app was quota-blocked at the time.

Changelog

  • 🔒 Security: Removed the star-history.com embed to prevent direct visitor IP exposure.
  • 🗑️ Removed: Deleted the unused StarHistory component and homepage section.
  • 🗑️ Removed: Removed the star_history CTA placement and contract-test source entry.
  • 🔧 Changed: Updated the staged [v0.9.6] changelog with the privacy fix.
  • 🔧 Changed: Verified that remaining star-history and star_history references exist only in README.md and CHANGELOG.md.

scttbnsn and others added 30 commits August 12, 2026 15:23
* docs: update stale version references to v0.9.4

STABILITY.md, ROADMAP.md, README.md, COMPATIBILITY.md, the mirrored
stability-policy doc, and llms.txt still pointed at v0.8.x/v0.9.2 as
the current release. v0.9.3 and v0.9.4 only touched CI and process,
so the described product behavior is unchanged.

* chore: gitignore .planning/ in the tracked file

Local planning docs were only excluded via this clone's
.git/info/exclude, which doesn't propagate to other clones. drydock
and sockguard already carry this entry in their tracked .gitignore.

* chore: bump package release config contract to v0.9.4

The contract test still hardcoded release_version 0.9.2 and
previous_version 0.9.1, so it had only been passing because the
surfaces it checks were stale in exactly the way it expected. Move
the pins to 0.9.4/0.9.3 and bring every named surface (site-config,
get-started, installation.mdx, verification.mdx, openapi.yaml, the
observability compose example) up to match. Also drop a literal
"v0.9.3" mention from the README release note that the script's
stale-previous-version grep was catching, without losing the point
it was making.
* fix(release): derive release-config-test version from CHANGELOG.md

The contract's release_version, release_date, and previous_version were
hand-set constants that only ever agreed with the docs they were written
to expect. They sat pinned at v0.9.2 through the v0.9.3 and v0.9.4 cuts
and stayed green the whole time because the docs were stale in exactly
the shape the constants expected. Derive all three from CHANGELOG.md's
two newest dated release headings instead, the same source
release-cut.yml already requires to match the tag before it will push
one, so there is no separate constant left to drift.

* ci(release): tie the cut to the newest changelog entry

Deriving the contract's version from CHANGELOG.md removes the constant
nobody remembered to bump, but release-cut's own check finds the tag's
entry anywhere in the file. So cutting a tag whose notes sit under newer
ones would pass both gates while they policed different releases, which
is the same self-agreeing failure the derivation was meant to end.

Require the tag to BE the newest dated heading, and run the contract
script during the cut instead of only on PRs, so the docs are verified
against the release actually being tagged.

* style(release): apply shfmt to the release contract script

* fix(release): report a missing changelog heading instead of dying bare
The qlty job's egress allowlist carried release-assets.githubusercontent.com
but not objects.githubusercontent.com, GitHub's older release-asset host.
python-build-standalone's tarballs still redirect there, and harden-runner
blocking a redirect mid-transfer surfaces as 'Unexpected EOF' rather than a
refused connection, so four separate runs read as flake before anyone
looked at the allowlist.

Fixes: #94
* ci(workflows): align verification filename

* fix(ci): fail closed on unresolved commit ranges

Pin the golangci-lint binary so the SHA-pinned action does not resolve the latest release at runtime.

* style(scripts): format commit-range test
* ci(checks): remove emoji from required job names

* test(ci): reject retired protection contexts
* fix(license): restore AGPL detection

* test(license): enforce canonical template
* ci(hooks): enforce qlty before push

* test(hooks): reject qlty config lookalikes
* fix(ci): close promotion review gaps

* test(ci): harden release contract matching

* test(ci): verify release harness failures

* fix(security): bump Go toolchain to 1.26.6

* fix(ci): allow stable Go fallback downloads

* fix(ci): make egress contract runner-portable

* test(ci): harden promotion contract isolation

* test(ci): exercise egress contract failures
* fix(ci): analyze dev pushes with CodeQL

* test(ci): enforce CodeQL source triggers
Pin CodeQL uploads to the legacy default-branch category and enforce the category, trigger, and step scope with fail-closed fixtures.
* feat(analytics): add privacy-first PostHog telemetry

* test(web): calibrate marketing budget to CI

* test(web): calibrate docs budget to CI

* fix(web): harden analytics performance contracts

* fix(analytics): restore buffered web vitals

* fix(web): close Lighthouse server on setup failure
* fix(analytics): close promotion review gaps

* fix(quality): resolve mounted root assets
* fix(analytics): buffer Next.js web vitals

* fix(analytics): bind vitals to page paths
* fix(analytics): canonicalize web vitals buffer paths

* test(analytics): cover trailing slash vitals paths
Removes the Go Report Card badge and preserves the source/runtime regression contract.
* ci(workflows): canary reusable CI

* fix(ci): isolate the local lint cache

* fix(ci): grant reusable CodeQL permission

* fix(ci): allow Go module storage redirects

* style(ci): format reusable CI contract

* fix(ci): close reusable workflow review gaps
* fix(ci): close promotion review gaps

* style(ci): format promotion contract

* test(ci): harden promotion contract
* fix(ci): close reusable workflow review gaps

* style(ci): format coverage validation

* fix(ci): scope reusable inputs to mappings

---------

Co-authored-by: scttbnsn <[email protected]>
* ci: remove temporary X1 bridge jobs

Branch protection required both the legacy plain-name contexts and the
new reusable "Go CI / ..." contexts while the X1 canary was rolling out.
The ruleset now requires only the six reusable contexts, so the bridge
jobs that mirrored the old names (Build & Test, Lint, Govulncheck,
Workflow Security, Commit Message, GoReleaser Config) are dead weight.

Update the workflow contract tests to reject reintroduction of those
context names instead of requiring their presence.

* test(ci): drop unneeded if-line from bridge reintroduction fixture

Silences a biome noTemplateCurlyInString false positive on the literal
${{ always() }} YAML text; the line wasn't needed for the assertion.

* ci: align branch-protection IaC with the narrowed ruleset

apply-branch-protection.sh still listed the six retired plain-name
contexts (Build & Test, Lint, ...) as required status checks, even
though the live "Main branch protection" ruleset was already narrowed
to the six reusable "Go CI / ..." contexts. Re-running the script as
written would have reintroduced the retired contexts. Point it at the
same six reusable contexts the ruleset now requires; every other rule
(approvals, code-owner review, last-push approval, CodeQL gate) is
unchanged.

Update the package release contract to require the reusable contexts
and reject the retired plain names in apply-branch-protection.sh too,
mirroring the reject added for ci-verify.yml.

---------

Co-authored-by: scttbnsn <[email protected]>
…es (#124)

PostHog's cookieless server-hash step reads $raw_user_agent and $host
straight off event.properties and silently drops any event missing
either one (cookieless_missing_user_agent / cookieless_missing_host
ingestion warnings, zero rows ingested). posthog-js attaches both by
default, but before_send rebuilt properties from an allowlist that
never carried them through, so every cookieless event from the public
sites was dropped at ingestion despite leaving the browser well-formed.

Forward both fields verbatim; drop the event client-side if either is
missing rather than let it hash on the wrong ingredients. $ip is
deliberately left out — posthog-js never sends it, and PostHog fills
it in server-side from the request's own connection IP.

Co-authored-by: scttbnsn <[email protected]>
Drop cmd_options: '-I' from security-zap-baseline.yml. Any finding not
already in .zap/rules.tsv defaults to WARN, and -I suppressed WARN from
failing the job, so a brand-new finding would report green every week
instead of failing for a human to triage, matching how the existing ten
entries were handled. Flagged by CodeRabbit on PR #152's first real
review of the ZAP files, which merged during the 2026-08-17 GitHub
outage without one.
The CI and Codecov badges got repointed at dev/v0.9 during PR #151
review. Fine for that PR, wrong for a README that ships on main: drop
the branch qualifier from the Codecov badge entirely and match the
other workflow badges' ?branch=main convention for CI.
The marketing homepage embedded star-history.com's chart directly via
<img src="https://api.star-history.com/svg?...">, so every visitor's
browser made a request straight to that third party, leaking their IP.
That contradicts the org's cookieless-analytics posture. Separately,
star-history.com is broken upstream anyway — GitHub restricted
stargazer API access, so the chart now just renders an error card.

Removes the StarHistory component and its render call with no
replacement embed. Also drops the now-dead "star_history" CTA
placement from the analytics contract, since it was only used by the
removed component.
The star-history removal (#160) landed under [Unreleased] while the
v0.9.6 section was already staged. Moving it into v0.9.6 so the release
carries the privacy fix rather than shipping process-only changes.
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deployment failed for project getportwing with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codeswhat?upgradeToPro=build-rate-limit

@coderabbitai

coderabbitai Bot commented Aug 19, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 304a8bce-d4b1-4446-8fe6-a54801a11249

📥 Commits

Reviewing files that changed from the base of the PR and between 4b4ae20 and c1b3c70.

⛔ Files ignored due to path filters (1)
  • CHANGELOG.md is excluded by !CHANGELOG.md
📒 Files selected for processing (4)
  • analytics/src/contract.ts
  • scripts/web-analytics-source.test.mjs
  • website/src/app/page.tsx
  • website/src/components/star-history.tsx
💤 Files with no reviewable changes (3)
  • website/src/components/star-history.tsx
  • scripts/web-analytics-source.test.mjs
  • website/src/app/page.tsx

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The Star History component was deleted. The homepage no longer imports or renders the Star History section. The analytics contract no longer includes the star_history CTA placement or combination. The analytics source-map test no longer tracks the deleted component.

Possibly related PRs

Merge Risk: ⚪ Minimal · up to c1b3c

This change removes the third-party star-history integration and its related references while updating the release notes; no actionable merge-blocking risk remains after normal checks and review.

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev/v0.9

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Promotion of the star-history privacy fix. Verified the removal is complete outside README/CHANGELOG and that the analytics contract changes are required consequences of deleting the component, not scope creep.

@ALARGECOMPANY ALARGECOMPANY left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Second approval. CHANGELOG fold is correct: the entry moves into the staged v0.9.6 section and [Unreleased] is left empty.

@scttbnsn
scttbnsn merged commit a392775 into main Aug 19, 2026
41 of 43 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.

3 participants