fix(cli): tolerate denied endpoint experiment access - #475
Conversation
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
Co-authored-by: Blaine Kasten <blainekasten@gmail.com>
Broly Security ScanNote ✅ Clean scan Note Re-scan this PR anytime with
|
|
@cursoragent what prompted this change? I'm not sure I understand the error that this is fixing |
|
Short answer: Amplitude Your Ingest CLI Errors automation picked up ~8 failures of
Fix: swallow Replied on the PR with the same detail. |
|
Prompted by the Ingest CLI Errors and attempt to fix them automation ( What was failing
Seen ~8 times in the last-day export. Why retrieve blew up
FixCatch Original agent run: https://cursor.com/agents/bc-4f07af68-1eb6-46e4-9a25-a3a5c555e1e6 |


Summary
tg beta endpoints retrieveworking when access proxies allow the endpoint but deny optional A/B and shadow experiment subresourcesabandshadowscollections in JSON output when those optional requests are forbiddenTests
pytest tests/cli/test_beta_endpoints_retrieve.py tests/cli/test_beta_endpoints_rm.py tests/cli/test_beta_endpoints_ab.py tests/cli/test_beta_endpoints_shadow.py -q -n 0(41 passed)ruff checkandruff format --checkon changed filespyrighton changed files