Skip to content

Conversation

atyrode
Copy link
Contributor

@atyrode atyrode commented May 4, 2025

This should allow users who had a dormant workspace to correctly start it up again (and cancelling the dormancy process)

  • Added a new method get_workspace_metadata to fetch metadata for a specific workspace.
  • Implemented is_workspace_dormant and set_workspace_dormancy methods to manage workspace states effectively.
  • Updated the workspace router to print the response when starting a workspace, enhancing debugging capabilities.

- Renamed and modified the method to retrieve all templates to `_get_all_templates`, ensuring clarity in its purpose.
- Added a new method `get_workspace_metadata` to fetch metadata for a specific workspace.
- Implemented `is_workspace_dormant` and `set_workspace_dormancy` methods to manage workspace states effectively.
- Refactored the `create_workspace` method to streamline workspace creation logic.
- Updated the workspace router to print the response when starting a workspace, enhancing debugging capabilities.
@atyrode atyrode self-assigned this May 4, 2025
- Updated the print statement in CoderAPI to clarify that the workspace was previously dormant before changing its state.
- Removed the print statement in the workspace router when starting a workspace to reduce console clutter.
@atyrode atyrode merged commit b3963a0 into main May 4, 2025
1 check passed
@atyrode atyrode deleted the coder-dormancy-fix branch May 4, 2025 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant