Skip to content

Conversation

@hntd187
Copy link
Collaborator

@hntd187 hntd187 commented Sep 11, 2025

Description

Just generally check for non-200 response codes and give them back instead of a "token missing" error which is not helpful.

Related Issue(s)

Fixes #3739

@hntd187 hntd187 requested a review from rtyler September 11, 2025 14:53
@hntd187 hntd187 requested a review from roeap as a code owner September 11, 2025 14:53
@github-actions github-actions bot added the binding/rust Issues for the Rust crate label Sep 11, 2025
@github-actions
Copy link

ACTION NEEDED

delta-rs follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

@hntd187 hntd187 changed the title Better error handles in unity client fix: better error handles in unity client Sep 11, 2025
…tead of just the status code

Signed-off-by: Stephen Carman <[email protected]>
@codecov
Copy link

codecov bot commented Sep 11, 2025

Codecov Report

❌ Patch coverage is 89.28571% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.63%. Comparing base (80d3bb9) to head (abfbd27).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/catalog-unity/src/credential.rs 89.36% 3 Missing and 2 partials ⚠️
crates/catalog-unity/src/client/backoff.rs 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3752      +/-   ##
==========================================
+ Coverage   75.54%   75.63%   +0.09%     
==========================================
  Files         145      145              
  Lines       44431    44465      +34     
  Branches    44431    44465      +34     
==========================================
+ Hits        33564    33631      +67     
+ Misses       9224     9188      -36     
- Partials     1643     1646       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hntd187 hntd187 changed the title fix: better error handles in unity client fix: better error handles in unity client Sep 11, 2025
@hntd187 hntd187 enabled auto-merge (squash) September 12, 2025 14:16
@hntd187 hntd187 merged commit 19e1eb2 into delta-io:main Sep 12, 2025
26 checks passed
fvaleye pushed a commit to fvaleye/delta-rs that referenced this pull request Sep 12, 2025
# Description
Just generally check for non-200 response codes and give them back
instead of a "token missing" error which is not helpful.

# Related Issue(s)
Fixes delta-io#3739

---------

Signed-off-by: Stephen Carman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

binding/rust Issues for the Rust crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WorkspaceOAuthProvider::fetch_token doesn't check HTTP status code.

2 participants