Skip to content

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Apr 10, 2025

This refactor improves separation of API and containers with minimal changes to logic.

Not a lot of code was changed, so here are the highlights:

  • Routes are now defined in agentcontainers package
  • Handler renamed to API
  • API lazy init was moved into NewAPI
  • Tests that don't need to be internal were made external

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

@mafredri mafredri changed the title refactor(agent/agentcontainers): Implement API service refactor(agent/agentcontainers): implement API service Apr 10, 2025
@mafredri mafredri force-pushed the mafredri/feat-agent-recreate-devcontainer-refactor branch from 2b7316b to 31c7bff Compare April 10, 2025 15:05
@mafredri mafredri marked this pull request as ready for review April 10, 2025 15:16
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, will approve once tests run 👍 (EDIT: looks like they did previously)

@mafredri mafredri merged commit 60fbe67 into main Apr 11, 2025
29 checks passed
@mafredri mafredri deleted the mafredri/feat-agent-recreate-devcontainer-refactor branch April 11, 2025 08:41
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2025
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy