gabriel / musehub public
feat patch stable task/stable-phase2 #1 / 1
AI Agent gabriel · 138 days ago · May 3, 2026 · Diff

feat(stable): Phase 2 — route + list page, 20-test suite (issue #12)

sha256:47d468df21d098b70630c2f1252f3c3093567e243783b58058f9311aa2fcceb8 sha
+51 symbols
sha256:45b4f9ab63416c7520b2f43548638c46934c7b8ffb965f363ca2197142473d42 snapshot
+51
symbols added
0
dead code introduced
Semantic Changes 51 symbols
~ tests/test_phase2_stable_route.py .py 47 symbols added
+ TestStableRouteDataIntegrity class class TestStableRouteDataIntegrity L282–308
+ test_P2_14_only_this_repo_rows_returned method async_method test_P2_14_only_this_repo_rows_returned L286–298
+ test_P2_15_sort_order_days_stable_desc method async_method test_P2_15_sort_order_days_stable_desc L301–308
+ TestStableRouteE2E class class TestStableRouteE2E L207–236
+ test_P2_09_full_round_trip method async_method test_P2_09_full_round_trip L211–218
+ test_P2_10_stat_row_rendered method async_method test_P2_10_stat_row_rendered L221–228
+ test_P2_11_filter_url_contains_top method async_method test_P2_11_filter_url_contains_top L231–236
+ TestStableRouteIntegration class class TestStableRouteIntegration L131–200
+ test_P2_02_empty_state_returns_200 method async_method test_P2_02_empty_state_returns_200 L135–140
+ test_P2_03_populated_returns_200 method async_method test_P2_03_populated_returns_200 L143–148
+ test_P2_04_since_start_filter method async_method test_P2_04_since_start_filter L151–159
+ test_P2_05_top_param_limits_rows method async_method test_P2_05_top_param_limits_rows L162–174
+ test_P2_06_stat_eternal_count_correct method async_method test_P2_06_stat_eternal_count_correct L177–183
+ test_P2_07_address_in_html method async_method test_P2_07_address_in_html L186–192
+ test_P2_08_days_stable_value_in_html method async_method test_P2_08_days_stable_value_in_html L195–200
+ TestStableRoutePerformance class class TestStableRoutePerformance L315–336
+ test_P2_16_response_under_500ms method async_method test_P2_16_response_under_500ms L319–328
+ test_P2_17_invalid_top_falls_back_to_default method async_method test_P2_17_invalid_top_falls_back_to_default L331–336
+ TestStableRouteSecurity class class TestStableRouteSecurity L343–381
+ test_P2_18_xss_in_address_escaped method async_method test_P2_18_xss_in_address_escaped L347–358
+ test_P2_19_unknown_repo_returns_404 method async_method test_P2_19_unknown_repo_returns_404 L361–366
+ test_P2_20_idor_repo_b_rows_not_on_repo_a_page method async_method test_P2_20_idor_repo_b_rows_not_on_repo_a_page L369–381
+ TestStableRouteStress class class TestStableRouteStress L243–275
+ test_P2_12_200_rows_render_without_error method async_method test_P2_12_200_rows_render_without_error L247–259
+ test_P2_13_top_100_returns_correct_count method async_method test_P2_13_top_100_returns_correct_count L262–275
+ TestStableRouteUnit class class TestStableRouteUnit L117–124
+ test_P2_01_route_registered method method test_P2_01_route_registered L120–124
+ _OWNER variable variable _OWNER L41–41
+ _REF variable variable _REF L43–43
+ _SLUG variable variable _SLUG L42–42
+ _seed_stable function async_function _seed_stable L46–82
+ _uid function function _uid L37–38
+ AsyncClient import import AsyncClient L28–28
+ AsyncSession import import AsyncSession L30–30
+ annotations import import annotations L21–21
+ create_repo import import create_repo L34–34
+ datetime import import datetime L24–24
+ db import import db L33–33
+ fake_id import import fake_id L32–32
+ pg_insert import import pg_insert L29–29
+ pytest import import pytest L26–26
+ pytest_asyncio import import pytest_asyncio L27–27
+ secrets import import secrets L23–23
+ timedelta import import timedelta L24–24
+ timezone import import timezone L24–24
+ route_repo function async_function route_repo L90–92
+ route_repo_with_symbols function async_function route_repo_with_symbols L96–110
+ _STABLE_TIER_ORDER variable variable _STABLE_TIER_ORDER L369–369
+ _VALID_STABLE_TOPS variable variable _VALID_STABLE_TOPS L368–368
+ _stable_tier function function _stable_tier L372–392
+ intel_stable_page function async_function intel_stable_page L396–483
← Older Oldest on task/stable-phase2
All commits
Newer → Latest on task/stable-phase2

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:47d468df21d098b70630c2f1252f3c3093567e243783b58058f9311aa2fcceb8 --body "your comment"