Skip to content

[REV-2383] Scope schedule operations to selected team - #15812

Open
warp-agent-staging[bot] wants to merge 4 commits into
factory/rev-2383-environmentsfrom
factory/rev-2383-schedules
Open

[REV-2383] Scope schedule operations to selected team#15812
warp-agent-staging[bot] wants to merge 4 commits into
factory/rev-2383-environmentsfrom
factory/rev-2383-schedules

Conversation

@warp-agent-staging

@warp-agent-staging warp-agent-staging Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

Scope oz schedule list and schedule creation to a validated personal or selected-team context. Both commands now refresh team metadata, mint RequestTeamScope, and send X-Warp-Team-Uid only for selected-team Warp Drive requests before reading scoped schedules or environments. Scoped refreshes submit only personal and selected-team versions and cannot evict personal or sibling-team cache entries. Owner resolution remains independent, and UID-addressed get/update/pause/unpause/delete behavior remains unchanged.

Built on parent PR #15805. The server-side active-team filter is in warpdotdev/warp-server#16853.

Origin: https://warpdev.slack.com/archives/C0BREN45G2D/p1788501775785069

Linked Issue

REV-2383

  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • No screenshots or video apply; this is a headless CLI behavior change and computer-use verification was declined.

Testing

  • cargo nextest run -p warp_cli -p warp -E 'test(schedule_) or test(team_scoped_graphql_request)' — 18 passed on the original vertical.

  • Focused cargo test -p warp --lib regressions for request-scoped versions, scoped deletion safety, schedule visibility, and GraphQL team headers — 6 passed.

  • ./script/format --check and ./script/check_no_inline_test_modules — passed.

  • cargo clippy -p warp_server_client --all-targets --tests -- -D warnings — passed on the original vertical.

  • cargo clippy -p warp_cli --all-targets --tests -- -D warnings — passed on the original vertical.

  • cargo clippy -p warp --all-targets --tests -- -D warnings — passed after the cache-safety update.

  • The workspace-unified Clippy stage could not complete because the dedicated 49 GB Cargo target filesystem was full (No space left on device); CI is pending on the pushed head.

  • I have manually tested my changes locally with ./script/run — not run; automated CLI and request-transport tests cover this headless behavior.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-NONE

Co-Authored-By: Warp Agent <agent@warp.dev>
@warp-agent-staging
warp-agent-staging Bot force-pushed the factory/rev-2383-schedules branch from e94143d to 401b4a0 Compare September 4, 2026 17:54
@warp-agent-staging warp-agent-staging Bot changed the title [REV-2383] Scope schedule listing to selected team [REV-2383] Scope schedule operations to selected team Sep 4, 2026
@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

This PR was generated with Warp.

Comment @warp-factory on this PR to send it follow-up work.

View run View conversation View origin

@warp-agent-staging
warp-agent-staging Bot marked this pull request as ready for review September 4, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants