Merged
Conversation
🛡️ Bandit Security Scan Results✅ No security issues found by Bandit. |
Pytest Coverage Report
Test Execution Summary
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Integration Test Results47 tests 47 ✅ 2m 32s ⏱️ Results for commit c9b3e61. ♻️ This comment has been updated with latest results. |
added 2 commits
February 7, 2026 18:21
There was a problem hiding this comment.
Pull request overview
Adds a new “landscape” resource for workspaces, enabling profile-based multi-server deployments plus a fluent builder API, along with unit/integration tests and an example script.
Changes:
- Introduces
WorkspaceLandscapeManagerwith deploy/teardown/scale and profile CRUD helpers. - Adds Pydantic schema models + fluent builders for creating
ci.<profile>.ymlprofile configs. - Exposes
workspace.landscapeand adds await_until_running()helper; adds extensive unit/integration tests and an example.
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/resources/workspace/landscape/test_landscape.py | Adds unit tests for landscape manager methods and builder/schema behavior. |
| tests/resources/workspace/landscape/init.py | Marks the test package (empty init). |
| tests/integration/test_landscape.py | Adds integration coverage for listing/saving/getting/deleting profiles and deploy workflow. |
| src/codesphere/resources/workspace/schemas.py | Adds wait_until_running() and exposes workspace.landscape via cached_property. |
| src/codesphere/resources/workspace/landscape/schemas.py | Adds landscape schema models and fluent builder implementations. |
| src/codesphere/resources/workspace/landscape/operations.py | Adds API operation definitions for deploy/teardown/scale. |
| src/codesphere/resources/workspace/landscape/models.py | Implements WorkspaceLandscapeManager and profile file operations via execute-command. |
| src/codesphere/resources/workspace/landscape/init.py | Exports landscape public API symbols. |
| examples/create_workspace_with_landscape.py | Adds an end-to-end example for creating a workspace and deploying via landscape profile. |
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.
No description provided.