Skip to content

fix: update CLI test mocks for new SDK response fields#64

Merged
brandonrc merged 1 commit intomainfrom
fix/cli-test-mocks-sdk-regen
Mar 20, 2026
Merged

fix: update CLI test mocks for new SDK response fields#64
brandonrc merged 1 commit intomainfrom
fix/cli-test-mocks-sdk-regen

Conversation

@brandonrc
Copy link
Contributor

Summary

Fixes 11 failing tests after the SDK regeneration in #63. The new SDK added
fields to response types that the test mocks were missing.

Fixes:

  • RepositoryResponse: added upstream_url, upstream_auth_type, upstream_auth_configured
  • EvaluationResultResponse: added retroactive_tasks_queued
  • CleanupResponse: added stale_uploads_deleted
  • ReindexResponse: replaced old fields with new status field
  • SystemSettings: added storage_backend, storage_path
  • Updated insta snapshot for repo show

All 1380 tests pass.

Test Checklist

  • cargo test --workspace passes (1380 tests)
  • cargo clippy clean

@brandonrc brandonrc merged commit c5abd75 into main Mar 20, 2026
9 checks passed
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant