Scope managed secrets to selected teams - #15813
Open
warp-agent-staging[bot] wants to merge 2 commits into
Open
Conversation
Contributor
Author
|
This PR was generated with Warp. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Scope managed-secret requests to the selected team across the Oz CLI, GUI, TUI, and harness-auth flows. This adds an app-owned scoped facade, makes
oz secret listaccept the sharedTeamSelection, and isolates cached harness secrets by request scope and harness.Long-lived views now resolve their current window scope at operation time, cache invalidation rejects stale in-flight fetch completions, and persisted auth-secret defaults are keyed by scope and harness. Legacy harness-only defaults remain available only to personal/teamless requests.
Owner resolution remains independent from request scope, and task/workload-token operations remain resource-authoritative.
Linked Issue
Testing
./script/format./script/check_no_inline_test_modulescargo test -p warp_cli 'secret::tests::list_accepts_' -- --nocapturecargo test -p warp --features tui auth_secret_cache_key_distinguishes -- --nocapturecargo test -p warp --features tui request_team_scope_sets_only_the_resolved_team_header -- --nocapturecargo test -p warp scoped_auth_secret_defaults_do_not_cross_team_scopecargo test -p warp invalidation_rejects_in_flight_auth_secret_fetch_generationcargo test -p warp long_lived_view_resolvers_follow_only_their_own_window_team_switchcargo check -p warp -p warp_cli -p warp_tuicargo clippy -p warp --lib -- -D warningscargo clippy -p warp_cli --all-targets --all-features -- -D warningscargo clippy -p warp_tui --lib --bins -- -D warningscargo test -p warp_tui orchestration_blockand TUI all-target test linting are blocked on the base branch by three existingwarpuidelegate implementations missingget_cursor_shape../script/presubmitpassed formatting and inline-test checks, then exhausted the sandbox disk during workspace-wide Clippy; the affected targets were compiled and linted separately above../script/runAgent Mode
CHANGELOG-IMPROVEMENT: Scope managed secrets and harness credentials to the selected team.