Conversation
WalkthroughThis pull request standardizes lease acquisition by replacing the use of a dictionary-based filter (named “filter_labels”) with a string-based “selector”. The changes update documentation, examples, tests, client shell logic, and core lease-related modules. In doing so, functionality related to metadata filtering – including helper functions and the Changes
Sequence Diagram(s)sequenceDiagram
participant TR as Test Resource
participant TS as Test Suite
participant CS as Client Shell
participant CC as Client Config
participant LS as Lease Service
TR->>TS: Initiate lease request (using selector)
TS->>CS: Pass selector parameter to client shell
CS->>CC: Call lease(selector, lease_name)
CC->>LS: Process lease request with selector
LS-->>CC: Return lease confirmation
CC-->>CS: Forward lease details
CS-->>TS: Confirm lease granted
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (11)
💤 Files with no reviewable changes (2)
🧰 Additional context used🧬 Code Definitions (3)packages/jumpstarter-testing/jumpstarter_testing/pytest.py (3)
packages/jumpstarter/jumpstarter/common/__init__.py (1)
packages/jumpstarter/jumpstarter/config/client.py (1)
⏰ Context from checks skipped due to timeout of 90000ms (8)
🔇 Additional comments (25)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
✅ Deploy Preview for jumpstarter-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Summary by CodeRabbit
Documentation
Refactor
Tests