shay and Claude Opus 4.8
0586f83a33
fix(fetcher): keep last-good counts on GitHub rate limits + expose fetch metrics
...
Rate-limited / 5xx / network failures were silently returning 0 from the
commit- and PR-count paths, then overwriting good values in fetcher.db —
turning a traffic spike into permanently-wrong "0 commits" cards. Raise
GitHubTransientError instead so the fetch aborts and the last-good row is
retained; genuine NOT_FOUND still yields 0.
Add a shared fetch-outcome counter (fetch_metrics table, spanning the web
workers and the cron container) surfaced at an unauthenticated GET /metrics
as ghstats_fetch_total{outcome="ok|not_found|rate_limited|error"}, so rate
limits are visible to the monitoring stack instead of dying silently.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-18 11:45:42 -07:00
shay
d1e89fb1c3
fix(api): normalize GitHub usernames to lowercase and update tests.
2026-06-12 01:37:08 -07:00
shay
e53d1cfbe0
fix(api): normalize GitHub usernames to lowercase and update tests.
2026-06-12 01:17:53 -07:00
shay
c54b5ac6ff
feat(ResultScreen): wraps embed image markdown in a link to origin
2026-06-11 21:33:39 -07:00
shay
ceac269738
feat(ResultScreen): wraps embed image markdown in a link to origin
2026-06-11 16:12:06 -07:00
shay
78299fa2b9
feat(GrowthChart): refactor y-coordinate mapping and add
2026-05-29 10:27:45 -07:00
shay
410b503877
feat(Analytics): add daily stats rollup to persist data beyond pruning
2026-05-27 10:47:42 -07:00
shay
61b8090c64
feat(api): add endpoint for retrieving growth data for the dashboard
2026-05-27 10:28:51 -07:00
shay
a1d1813a51
feat(api): add endpoint for retrieving growth data for the dashboard
2026-05-27 10:23:49 -07:00
shay
f66088e5d6
feat(api): add endpoint for retrieving growth data for the dashboard
2026-05-27 10:21:32 -07:00
shay
99c40cb0ce
feat(api): add endpoint for retrieving growth data for the dashboard
2026-05-27 10:16:11 -07:00
shay
e7a0521ff6
feat(api): implement self-healing build enqueue for user widgets
2026-05-26 15:23:14 -07:00
shay
2be8dc1ca3
feat(firebase): add Firebase initialization script to index.html
2026-05-26 15:20:41 -07:00
shay
369d42bb5f
feat(api): implement auto-enrollment for unknown users on first hit
2026-05-26 15:10:20 -07:00
shay
151f330d31
feat(analytics): add request tracking decorator for API endpoints
2026-05-12 01:47:13 -04:00
shay
01927b2173
feat(analytics): include render-only users in activity count query
2026-05-11 23:34:57 -04:00
shay
d4cbbae82a
feat(api): add basic auth protection to /dev dashboard route
2026-05-11 19:03:26 -04:00
shay
ef48d2581b
feat(admin dashboard): add admin dashboard
2026-05-11 18:26:43 -04:00
shay
00bf46968a
feat(admin dashboard): add admin dashboard
2026-05-11 18:25:09 -04:00
shay
ab7c9b32aa
feat(README): update
2026-05-08 19:46:01 -04:00
shay
05efac8fd2
feat(README): update
2026-05-08 19:45:37 -04:00
shay
9d15dd6c94
feat(grade): add data attributes for footer attribution in widgets
2026-05-06 16:38:59 -04:00
shay
8f7b27f806
feat(grade): add footer attribution for visual consistency in widget
2026-05-06 10:32:00 -04:00
shay
99378e13cd
feat(api): add compatibility route for top-langs to handle upstream URLs.
2026-05-06 10:26:53 -04:00
shay
9639051398
feat(ResultScreen): add widget status and manual refresh functionality.
2026-05-04 21:52:44 -04:00
shay
8dbbd16cf9
feat(api): auto-enroll users typing unknown usernames into workshop
2026-05-04 16:34:12 -04:00
shay
6edf98334c
feat(api): add idempotency check for already queued builds in callback
2026-05-04 15:52:03 -04:00
shay
673eb5b39d
feat(tests): implement dynamic GraphQL response handling for tests
2026-05-04 12:56:52 -04:00
shay
4a1d31ffdd
feat(api): implement async fetch with callback to enqueue build job
2026-05-04 12:35:41 -04:00
shay
50dd73a0de
feat(api): distinguish between not enrolled and not found user statuses
2026-05-03 20:38:21 -04:00
shay
954f259b8f
feat(worker): update worker to render and persist SVGs with widget data
2026-04-25 12:28:38 -04:00
shay
7f1e53cfad
feat(db): normalize usernames in enrollment_rank for case insensitivity
2026-04-22 12:50:14 -04:00
shay
5102a36238
feat(workshop): refine login banner to display only for signed-in users.
2026-04-21 15:40:46 -04:00
shay
9cc9de2147
feat(api): add shortcut for rendering grade widget with username query.
2026-04-21 15:09:17 -04:00
shay
a4ca81eab9
feat(workshop): simplify button visibility and update user message.
2026-04-21 14:46:46 -04:00
shay
118c8b7cc4
feat(workshop): add drag-and-drop functionality for achievements list
2026-04-21 14:10:37 -04:00
shay
113e4747cf
feat(readme): replace hero widget image with composite widget example
2026-04-21 14:09:13 -04:00
shay
a06bd2a20c
feat(readme): replace hero widget image with composite widget example
2026-04-21 14:07:26 -04:00
shay
8941ed2f15
feat(readme): replace hero widget image with composite widget example
2026-04-21 14:07:15 -04:00
shay
048756c787
feat(workshop-screen): add generate button for editable users
2026-04-21 11:43:00 -04:00
shay
fc4e8e4da5
feat(readme): update instructions and add table of contents section
2026-04-20 16:13:28 -04:00
shay
b5bba19d46
feat(readme): update instructions and add table of contents section
2026-04-20 16:05:42 -04:00
shay
795f49d0a8
feat(api): update ResultScreen to use fallback URL for embed snippet
2026-04-20 16:05:33 -04:00
shay
451cb45788
feat(api): add sanitize_settings_query function for URL params handling
2026-04-20 15:04:15 -04:00
shay
96dc98142f
feat(composite): add show_name parameter to control header visibility.
2026-04-20 15:04:09 -04:00
shay
b66f966adb
feat(workshop): refactor achievements section for improved layout.
2026-04-20 14:38:29 -04:00
shay
599c1ed672
feat(processor): refactor byte tally logic for authored repositories only.
2026-04-20 14:19:26 -04:00
shay
fdd6b61172
feat(rendering): adjust text position in SVG for better visibility.
2026-04-20 14:19:18 -04:00
shay
13cc2b4eed
feat(build-system): introduce BUILD_VERSION for widget invalidation logic.
2026-04-20 14:09:04 -04:00
shay
a88561073a
feat(result-screen): add onRegenerate prop to ResultScreen component.
2026-04-20 13:56:43 -04:00