release: cut stable 0.0.11#460
Merged
Merged
Conversation
Promote the 0.0.11-beta line to the first stable 0.0.11 release: - package.json 0.0.11-beta.13 -> 0.0.11 (drops the -beta suffix so publish.yml publishes under the `latest` dist-tag, not `beta`). - Consolidate every 0.0.11-beta.* CHANGELOG entry into a single `## 0.0.11 — 2026-06-26` section (Breaking / Features / Fixes / Dependencies / Tests / Docs), preserving all 104 bullets and their PR references. The individual per-beta sections are removed. Done on a luv-cut-0.0.11 branch per the repo's release convention (block-version-bumps reserves version edits for luv-cut-X.Y.Z). Sanity-checked against all CI gates locally: lint (0 errors), tsc, 1895 unit tests, build, validate:mdx (300 pages), 298 e2e tests, and a frozen-lockfile install — all green. Publishing to npm happens when the GitHub Release v0.0.11 is created; publish.yml then auto-bumps main to 0.0.12-beta.0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TD26MQ8M3gyaTLN2cwufTf
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough
ChangesPackage Version Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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. Comment |
NiveditJain
added a commit
that referenced
this pull request
Jun 26, 2026
* fix: reliable cli_audit telemetry + point docs links at /introduction Separate PR (the 0.0.11 release PR #460 is already merged). Two changes: 1. The `failproofai audit` CLI dropped its telemetry on exit. src/audit/cli.ts emitted cli_audit_started/completed/failed fire-and-forget (void trackHookEvent), then die()->process.exit(1) (failed path) and process.exit(0) (empty-history path) killed the in-flight fetch before it landed — those events never reached PostHog. Now await the two exit-adjacent events before exiting, matching bin/failproofai.mjs's track() helper; cli_audit_started stays fire-and-forget since the multi-second scan keeps the process alive. New __tests__/audit/audit-cli-telemetry.test.ts asserts each path emits its event and that the exit-adjacent events are awaited before process.exit. 2. "Docs" landing links pointed at a bare root that doesn't resolve to a page. Point the failproofai --help LINKS banner, the dev/start launch banner, the dashboard "Reach Us" Documentation entry, and the README docs badge (English + 14 translations) at https://docs.befailproof.ai/introduction. Deep page links (e.g. /built-in-policies) are unchanged. All gates green locally: lint (0 errors), tsc, 1898 unit tests, build, validate:mdx (300 pages), 298 e2e tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TD26MQ8M3gyaTLN2cwufTf * fix: close the telemetry gaps found by the audit (auth CLI, server audit run, +) Follow-up to the cli_audit fix, addressing the rest of the telemetry audit: - Auth CLI (src/auth/cli.ts): same fire-and-forget bug as cli_audit — the terminal login/logout/whoami/otp events were dropped when the process exited. Now awaited (mid-flow events stay fire-and-forget behind interactive prompts). - Server-side audit run (POST /api/audit/run): ran runAudit() detached with NO telemetry. Now emits audit_run_started/completed/failed/rejected mirroring the CLI funnel; dashboard now emits the missing audit_rerun_succeeded too. - postinstall: track the build-missing failure (package_install_failed) awaited before exit(1) — previously invisible. - captureClientEvent: add keepalive:true so unload-time events aren't dropped. - login-verify: track validation-400s + add email/source for parity with login-request. - Property gaps: node_version on package_installed, drop duplicate version on first_install, subcommand+exit_code on cli_auth_invoked. - Deliberately left the hook hot-path error events fire-and-forget (awaiting them would add telemetry latency to every tool call). Tests: new __tests__/auth/auth-cli-telemetry.test.ts; extended audit-run-route, client-telemetry, and postinstall tests. All gates green: lint, tsc, 1905 unit, build, validate:mdx (300), 298 e2e. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TD26MQ8M3gyaTLN2cwufTf --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stable release:
0.0.11Cuts the first stable release of the
0.0.11line, on aluv-cut-X.Y.Zbranch per the repo's release convention (block-version-bumpsreserves version edits for cut branches). This PR only preparesmain; the npm publish happens when the GitHub Releasev0.0.11is created (see How publishing works).Changes
package.json:0.0.11-beta.13→0.0.11. Dropping the-betasuffix makespublish.ymlpublish under thelatestdist-tag instead ofbeta.CHANGELOG.md: consolidate every0.0.11-beta.*entry into a single## 0.0.11 — 2026-06-26section, preserving all 104 bullets and their original PR references. Grouped as:The per-beta sections (
beta.0–beta.12) are removed;## 0.0.10and older history are untouched.Sanity check (all CI gates run locally, green)
no-img-elementwarnings)--noEmitpackages/)bun run build)validate:mdxfailproofai --version(fresh CLI build) reports0.0.11.How publishing works (for the merger)
Publishing is driven by GitHub Releases, not by merging this PR (
.github/workflows/publish.yml):mainis at0.0.11.v0.0.11.publish.ymlpublishes0.0.11to npm underlatest, publishes the alias packages, then auto-bumpsmainto0.0.12-beta.0with a[skip ci]commit.🤖 Generated with Claude Code
Summary by CodeRabbit
0.0.11-beta.13to0.0.11.