Skip to content

Comments

feat: implement xatu cc#117

Merged
mattevans merged 1 commit intomasterfrom
feat/xatu-cc
Feb 24, 2026
Merged

feat: implement xatu cc#117
mattevans merged 1 commit intomasterfrom
feat/xatu-cc

Conversation

@mattevans
Copy link
Member

This commit introduces a new backend structure for managing both the Lab and Xatu stacks, aiming to enhance code maintainability and extend functionality. The refactor separates concerns related to each stack type and includes capabilities for editable configurations, service management, and environment variable overrides. Key changes include:

  • Creation of labBackend and xatuBackend to encapsulate operations specific to their respective stacks.
  • Introduction of standardized capability checks, allowing the frontend to adaptively display features based on stack capabilities.
  • Streamlined API responses, including stack capabilities in the stack information payloads.
  • Improved structure for configuration editing, allowing for async updates and management of profiles and environment variables through dedicated components.

These changes are aimed at enhancing the user experience by providing better feedback on stack status and improving the flexibility of the configuration management interface.

feat(stack): create StackBackend interface to unify stack management and add backend logic for managing services
feat(stack): implement StackBackend methods for service control, logging, and config management
feat(logs): improve logging stream management with context cancellation and liveness detection
feat(compose): add Pull method to pull the latest service images
fix(stack_context): enhance service health management and initialization logic for existing services
fix(tui): handle potential panics when stopping health monitors and streaming logs

…nfiguration handling

This commit introduces a new backend structure for managing both the Lab and Xatu stacks, aiming to enhance code maintainability and extend functionality. The refactor separates concerns related to each stack type and includes capabilities for editable configurations, service management, and environment variable overrides. Key changes include:

- Creation of `labBackend` and `xatuBackend` to encapsulate operations specific to their respective stacks.
- Introduction of standardized capability checks, allowing the frontend to adaptively display features based on stack capabilities.
- Streamlined API responses, including stack capabilities in the stack information payloads.
- Improved structure for configuration editing, allowing for async updates and management of profiles and environment variables through dedicated components.

These changes are aimed at enhancing the user experience by providing better feedback on stack status and improving the flexibility of the configuration management interface.

feat(stack): create StackBackend interface to unify stack management and add backend logic for managing services
feat(stack): implement StackBackend methods for service control, logging, and config management
feat(logs): improve logging stream management with context cancellation and liveness detection
feat(compose): add Pull method to pull the latest service images
fix(stack_context): enhance service health management and initialization logic for existing services
fix(tui): handle potential panics when stopping health monitors and streaming logs
@mattevans mattevans self-assigned this Feb 24, 2026
@mattevans mattevans merged commit 22d5e1c into master Feb 24, 2026
5 of 6 checks passed
@mattevans mattevans deleted the feat/xatu-cc branch February 24, 2026 01:39
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.

2 participants