Skip to content

refactor(agent): update agentcontainers api initialization #17600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Apr 29, 2025

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Apr 29, 2025

There were too many ways to configure the agentcontainers API resulting in inconsistent behavior or features not being enabled. This refactor introduces a control flag for enabling or disabling the containers API. When disabled, all implementations are no-op and explicit endpoint behaviors are defined. When enabled, concrete implementations are used by default but can be overridden by passing options.

@mafredri mafredri force-pushed the mafredri/fix-agent-agentcontainers-init branch from ef75f7b to 2fd85f7 Compare April 29, 2025 11:17
@mafredri mafredri force-pushed the mafredri/fix-agent-agentcontainers-init branch from 37d3747 to 6990772 Compare April 29, 2025 11:22
@mafredri mafredri force-pushed the mafredri/fix-agent-agentcontainers-init branch from 6990772 to 44cc9a6 Compare April 29, 2025 11:23
@mafredri mafredri force-pushed the mafredri/fix-agent-agentcontainers-init branch from 8bb5eb6 to 48cde34 Compare April 29, 2025 11:37
@mafredri mafredri force-pushed the mafredri/fix-agent-agentcontainers-init branch from 48cde34 to ebed3de Compare April 29, 2025 11:37
@mafredri mafredri force-pushed the mafredri/fix-agent-agentcontainers-init branch from 91ce016 to 17fa155 Compare April 29, 2025 12:16
@mafredri mafredri force-pushed the mafredri/fix-agent-agentcontainers-init branch from cca9490 to ea9f564 Compare April 29, 2025 12:44
@mafredri mafredri marked this pull request as ready for review April 29, 2025 13:14
@mafredri mafredri merged commit 1fc74f6 into main Apr 29, 2025
35 of 37 checks passed
@mafredri mafredri deleted the mafredri/fix-agent-agentcontainers-init branch April 29, 2025 14:53
@github-actions github-actions bot locked and limited conversation to collaborators Apr 29, 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