Repository navigation
chore(docs): generate README metrics block and check version banners in CI - #710
ajitpratap0 wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @ajitpratap0's task in 25s —— View job Review of PR #710: README metrics generation and version banner checksThe design is sound: a small stdlib-only generator, a Bugs and robustness
Quality and maintainability
Tests (
Security
CI and workflow
Verdict: approve once item 1 (the policy for post-tag failures) is decided. Items 4 and 5 are nice-to-haves. |
|
Fixed: |
|
Fixed in the latest push. The banner patterns now match both 🤖 Generated with Claude Code |
|
Claude finished @ajitpratap0's task in 24s —— View job Review of PR #710: README metrics generation and version banner checksI read Needs a decision
Bugs and robustness
Quality
Tests ( The banner, block and rounding cases are covered. Missing:
Security No concerns. There is no user input and no network access, and Verdict: Fine to merge once item 1 is decided. Items 2 to 4 are worth doing if cheap. The rest are nice-to-haves. |
|
Claude finished @ajitpratap0's task in 21s —— View job Review of PR #710: README metrics generation and version banner checksI read The design is sound: a small stdlib-only generator with a Issues worth addressing
Smaller points
Tests The banner, block and rounding cases are good, including the Missing cases:
Security No concerns. There is no user input and no network access, and Verdict: approve once item 1 is decided. Items 2 to 4 are nice-to-haves. |
…in CI Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9
Make the v prefix optional so the API_REFERENCE.md footer banner is synced and --check can catch it. Adds a test case and regenerates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9
…etrics Regenerate docs/TROUBLESHOOTING.md, COMPARISON.md and PERFORMANCE_TUNING.md so no doc banner disagrees with the latest tag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9
1ba5dad to
c4eb175
Compare
|
Deployment failed for project gosqlx-website with the following error: Learn More: https://vercel.com/coolajitpratapsingh0-9932s-projects?upgradeToPro=build-rate-limit |
|
Claude finished @ajitpratap0's task in 20s —— View job Review of PR #710: README metrics generation and version banner checksI read Needs a decision
Bugs and robustness
Quality
Tests
Security Verdict: Fine to merge once item 1 is decided. Items 2 to 5 are worth doing if cheap. The rest are nice-to-haves. |
Summary
scripts/gen-readme-metrics(Go). It renders the README metrics table and the inline "318 ns" figure fromscripts/gen-readme-metrics/metrics.json, between<!-- metrics:start/end -->and<!-- metrics-inline:start/end -->markers. Every number is labeled parse stage, hardware, Go version and run count. No competitor numbers are involved.docs/*.mdto the latest release tag (v1.15.0), including banners that were stale at v1.6.0, v1.12.0, v1.13.0 and v1.14.0.sql99-compliance-analysis.mdis a point-in-time snapshot and is skipped.doc.goversion-history entry matches the tag.pkg/gosqlx/doc.gocarries no version banner.--checkmode exits non-zero on drift. It is wired into.github/workflows/lint.ymlas a newdocs-driftjob (fetch-depth 0 for tags) and into Taskfile astask docs:metrics/task docs:metrics:check.Note: after each release tag, the
docs-driftjob fails untilgo run ./scripts/gen-readme-metricsis run anddoc.gohistory is updated. This is by design.Test Plan
go run ./scripts/gen-readme-metrics --checkpasses on this branch--checkexit 1go test -race ./scripts/gen-readme-metrics/(banner regex and marker tests)task checkpassesBreaking Changes
None.
Closes #658
Part of #634
🤖 Generated with Claude Code
https://claude.ai/code/session_01RkzVu3JY9Y6BRWfjesWts9