Skip to content

Add repository-owned upload resilience checks - #1176

Merged
sophiecarreras merged 4 commits into
masterfrom
sdkharness/resilience-upload-retries
Sep 29, 2026
Merged

sophiecarreras merged 4 commits into
masterfrom
sdkharness/resilience-upload-retries

Conversation

@sophiecarreras

Copy link
Copy Markdown
Contributor

Moves the first six executable resilience checks into the CLI repository under the shared .sdkharness/tests.tsv contract. The checks execute this checkout's CLI against the harness-provided loopback simulator and private fault-control listener.

Scenarios:

  • upload.retry_503
  • upload.retry_500
  • upload.retry_408
  • upload.expired_token_401
  • upload.get_url_503
  • upload.cap_exceeded_403

Verification:

  • Ruff format/check: pass
  • pytest -q test/unit/test_sdkharness_resilience.py: 11 passed
  • Repository-owned shadow run: 5 PASS / 1 expected FAIL
  • Legacy harness run: identical 5 PASS / 1 FAIL

The sole failure is upload.retry_408: both implementations observe one upload attempt and no recovery. Its dependency root cause is already tracked in Backblaze/b2-sdk-python#605. This PR preserves the finding; it does not hide or fix it.

@sophiecarreras sophiecarreras added testing -changelog Skip changelog checking in CI labels Sep 29, 2026
@sophiecarreras
sophiecarreras merged commit 41e02c7 into master Sep 29, 2026
19 of 33 checks passed
@sophiecarreras
sophiecarreras deleted the sdkharness/resilience-upload-retries branch September 29, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

-changelog Skip changelog checking in CI testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant