gabriel / musehub public
fix bench task/staging-gates-phase5 #4 / 4
AI Agent gabriel · 122 days ago · May 14, 2026 · Diff

fix(bench): auto-route M+ push to presign on staging/prod; add staging gates (issue #56 phase 5)

sha256:edb137f64af4f4b7c5698753f0f18e4762e305f002b32963fc51a99be37c3ea1 sha
+53 ~8 symbols
sha256:b307091ba5bd1676a317ea3dfde8a8ac0f17ff951e1789a558d010d1e0ce5fce snapshot
+53
symbols added
~8
symbols modified
0
dead code introduced
Semantic Changes 61 symbols
~ tests/test_h1_no_reuse.py .py 17 symbols added
+ N_PUSHES variable variable N_PUSHES L36–36
+ SIZE variable variable SIZE L35–35
+ STAGING_URL variable variable STAGING_URL L34–34
+ Path import import Path L19–19
+ SIZE_MATRIX import import SIZE_MATRIX L25–25
+ _create_repo import import _create_repo L25–25
+ _delete_repo import import _delete_repo L25–25
+ _make_commits_chain import import _make_commits_chain L25–25
+ _make_objects import import _make_objects L25–25
+ _push_stream import import _push_stream L25–25
+ annotations import import annotations L14–14
+ httpx import import httpx L21–21
+ os import import os L16–16
+ pytest import import pytest L22–22
+ ssl import import ssl L17–17
+ sys import import sys L18–18
+ test_push_stream_h1_fresh_client_per_call function async_function test_push_stream_h1_fresh_client_per_call L41–114
~ tests/test_push_path_selection.py .py 12 symbols added
+ Path import import Path L16–16
+ annotations import import annotations L13–13
+ bench_wire_remote import import bench_wire_remote L21–21
+ pytest import import pytest L18–18
+ sys import import sys L15–15
+ test_bench_push_calls_cf_safe_push_path function function test_bench_push_calls_cf_safe_push_path L79–87
+ test_cf_safe_push_path_exists function function test_cf_safe_push_path_exists L26–29
+ test_localhost_always_stream function function test_localhost_always_stream L35–39
+ test_prod_large_uses_presign function function test_prod_large_uses_presign L72–74
+ test_prod_small_uses_stream function function test_prod_small_uses_stream L66–68
+ test_staging_large_uses_presign function function test_staging_large_uses_presign L55–60
+ test_staging_small_uses_stream function function test_staging_small_uses_stream L45–49
~ tests/test_staging_gates.py .py 20 symbols added
+ BenchResult import import BenchResult L20–20
+ GATES import import GATES L20–20
+ Path import import Path L14–14
+ annotations import import annotations L11–11
+ bench_wire_remote import import bench_wire_remote L19–19
+ pytest import import pytest L16–16
+ sys import import sys L13–13
+ test_bench_push_stream_catches_ssl_and_read_error function function test_bench_push_stream_catches_ssl_and_read_error L119–126
+ test_bench_result_staging_gate_fail_with_slow_time function function test_bench_result_staging_gate_fail_with_slow_time L110–114
+ test_bench_result_staging_gate_pass_with_fast_time function function test_bench_result_staging_gate_pass_with_fast_time L104–107
+ test_bench_result_uses_local_gates_by_default function function test_bench_result_uses_local_gates_by_default L84–86
+ test_bench_result_uses_local_gates_for_localhost function function test_bench_result_uses_local_gates_for_localhost L89–91
+ test_bench_result_uses_staging_gates_for_prod_url function function test_bench_result_uses_staging_gates_for_prod_url L99–101
+ test_bench_result_uses_staging_gates_for_staging_url function function test_bench_result_uses_staging_gates_for_staging_url L94–96
+ test_seed_repo_catches_read_error function function test_seed_repo_catches_read_error L129–141
+ test_staging_gates_exist function function test_staging_gates_exist L25–29
+ test_staging_gates_l_stream_is_none function function test_staging_gates_l_stream_is_none L71–79
+ test_staging_gates_not_stricter_than_local function function test_staging_gates_not_stricter_than_local L41–60
+ test_staging_gates_same_keys_as_local function function test_staging_gates_same_keys_as_local L32–38
+ test_staging_gates_xs_stream_push_is_defined function function test_staging_gates_xs_stream_push_is_defined L63–68
~ tests/bench_wire_remote.py .py 4 symbols added, 8 symbols modified
+ STAGING_GATES variable variable STAGING_GATES L60–101
+ _CF_STREAM_MAX_SIZES variable variable _CF_STREAM_MAX_SIZES L156–156
+ _cf_safe_push_path function function _cf_safe_push_path L159–168
+ _is_remote_hub function function _is_remote_hub L148–150
~ gate

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:edb137f64af4f4b7c5698753f0f18e4762e305f002b32963fc51a99be37c3ea1 --body "your comment"