Skip to content

Increase lease timeout for sso operations and provide arrow-adbc configuration hook for future adjustments#13

Merged
felipecrv merged 5 commits into
v1.14.0+dbtfrom
mp/increase_lease_time_to_eviction
Sep 3, 2025
Merged

Increase lease timeout for sso operations and provide arrow-adbc configuration hook for future adjustments#13
felipecrv merged 5 commits into
v1.14.0+dbtfrom
mp/increase_lease_time_to_eviction

Conversation

@VersusFacit
Copy link
Copy Markdown

@VersusFacit VersusFacit commented Aug 22, 2025

Description

This was not enough time to support users doing copy-paste managed SSO for externalbrowser method leading to seemingly no-cache behavior because auth threads kept jumping the line and grabbing the cachefile early.

Other tooling like extensions and IDEs will similarly benefit due to overhead that makes this process longer than the automatic browser-based sso. In graphical tools, this can look like the dreaded "multiple tabs" problem.

@VersusFacit VersusFacit self-assigned this Aug 22, 2025
Comment thread secure_storage_manager.go Outdated
Comment thread lease.go Outdated
@VersusFacit VersusFacit changed the title Increase timeout to 30s to support headless sso and ide sso Increase lease timeout for sso operations and provide arrow-adbc configuration hook for future adjustments Sep 3, 2025
Copy link
Copy Markdown
Collaborator

@felipecrv felipecrv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the bit-width and time-unit choice. This is perfect!

Comment thread lease.go Outdated
Comment thread lease.go Outdated
No need to worry about cpu alignment. single entrypoint to value through setter and getter normalizes. Decisions on how to handle data made explicit for future readers.
@VersusFacit
Copy link
Copy Markdown
Author

@felipecrv cool suggestion I got down a rabbit hole on cpu bit alignment :D

Made the strategies for handling the timeout explicit in comments.

@felipecrv felipecrv merged commit 77cd230 into v1.14.0+dbt Sep 3, 2025
1 check failed
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 3, 2025
@felipecrv felipecrv deleted the mp/increase_lease_time_to_eviction branch September 3, 2025 20:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants