Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

feat: initial work on endpoints for creating/updating workspace config#1107

Merged
alex-mcgovern merged 23 commits into
mainstacklok/codegate:mainfrom
feat/configure-workspace-endpointstacklok/codegate:feat/configure-workspace-endpointCopy head branch name to clipboard
Mar 5, 2025
Merged

feat: initial work on endpoints for creating/updating workspace config#1107
alex-mcgovern merged 23 commits into
mainstacklok/codegate:mainfrom
feat/configure-workspace-endpointstacklok/codegate:feat/configure-workspace-endpointCopy head branch name to clipboard

Conversation

@alex-mcgovern

@alex-mcgovern alex-mcgovern commented Feb 19, 2025

Copy link
Copy Markdown
Contributor

Related to #1067

  • Modifies the existing POST /workspaces
    • it exclusively handles workspace creation — the ability to rename via this endpoint is removed
    • it can handle custom instructions & muxes configuration as part of the same request
  • Adds a PUT /workspaces/:workspace_name
    • this is how you rename a workspace now
    • this can also handle updating custom instructions & muxes configuration

Has a companion PR for the dashboard to handle the breaking changes: stacklok/codegate-ui#349

ToDo:

  • GET /workspaces/:workspace_name or maybe (/workspaces/:workspace_name/config, I'm not sure yet) to get the configuration for a workspace

Comment thread src/codegate/api/v1.py Outdated
@alex-mcgovern alex-mcgovern changed the title feat: initial work on endpoints for creating/updating feat: initial work on endpoints for creating/updating workspace config Feb 19, 2025
Comment thread tests/api/test_v1_workspaces.py
@alex-mcgovern alex-mcgovern marked this pull request as ready for review February 21, 2025 16:38
@alex-mcgovern alex-mcgovern marked this pull request as draft February 21, 2025 16:38
@alex-mcgovern alex-mcgovern marked this pull request as ready for review March 4, 2025 09:26
Comment thread src/codegate/muxing/models.py Outdated
Comment thread src/codegate/api/v1.py
Comment thread src/codegate/workspaces/crud.py
Comment thread src/codegate/workspaces/crud.py Outdated
Comment thread src/codegate/workspaces/crud.py Outdated
Comment thread src/codegate/db/connection.py
@alex-mcgovern alex-mcgovern merged commit f310e46 into main Mar 5, 2025
@alex-mcgovern alex-mcgovern deleted the feat/configure-workspace-endpoint branch March 5, 2025 11:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.