Skip to content

Annual Report: aggregate passport stats at public /report#71

Merged
Kitkatnik merged 1 commit into
mainfrom
Kitkatnik/annual-report
May 1, 2026
Merged

Annual Report: aggregate passport stats at public /report#71
Kitkatnik merged 1 commit into
mainfrom
Kitkatnik/annual-report

Conversation

@Kitkatnik
Copy link
Copy Markdown
Collaborator

Summary

  • New ceremonial "Annual Ruby Embassy Report" page at /report framed as a State-of-the-Union dispatch — public, no auth, cached for 1 hour, with 9 aggregated stats (proficiency, purpose, sentiment, persona, first/sentimental Ruby release, coding years, primary other language, unreleased gems possession). Free-text fields use parsed median + curated quotes (1d), normalized tally + notable mentions (1f), and normalized version tally (2c).
  • Pure-CSS visualizations (horizontal bars + conic-gradient donut) — no JS chart library.
  • Routes SolidCache to the cache database in development (parity with production); previously misconfigured, surfaced as a 500 once new code became the first dev consumer of Rails.cache.
  • Navbar discovery link deliberately omitted so the page can be previewed in production before public launch.

Test plan

  • Visit /report in production; confirm hero, all 4 articles, bar chart, donut, callouts, and ranked lists render with real data
  • Confirm no Annual Report link appears in the navbar (logged in or out)
  • Reload twice — confirm second load is cache-served (instant, no DB queries)

Ceremonial "Annual Ruby Embassy Report" page at /report, framed as a
State-of-the-Union dispatch. Aggregates 9 stats from passport
application answers via cached PORO (1-hour expiry). Pure-CSS bar
chart and conic-gradient donut, no JS chart library.

Also routes SolidCache to the cache database in development —
previously only configured for production, which surfaced as 500s
when the new code became the first dev consumer of Rails.cache.

Navbar discovery link deliberately deferred until after a production
preview pass.
@railway-app
Copy link
Copy Markdown

railway-app Bot commented May 1, 2026

🚅 Deployed to the ruby-embassy-pr-71 environment in ruby-embassy

Service Status Web Updated (UTC)
ruby-embassy ✅ Success (View Logs) Web May 1, 2026 at 3:40 pm

@railway-app railway-app Bot temporarily deployed to ruby-embassy / ruby-embassy-pr-71 May 1, 2026 15:39 Destroyed
@Kitkatnik Kitkatnik merged commit 9aa2173 into main May 1, 2026
6 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