Commit 374c7ff
committed
feat: Enhance session handling and observability improvements
- Refactored session management to improve clarity and efficiency, including the removal of self-referential parent-session-id annotations.
- Updated session workspace path handling to be relative to the content service's StateBaseDir, simplifying path management.
- Introduced graceful shutdown for the content service, enhancing reliability during server termination.
- Enhanced observability stack with new Grafana dashboard configurations and metrics for session lifecycle tracking.
- Cleaned up unused code and improved logging for better debugging and maintenance.
chore: Update .gitignore and remove obsolete deployment documentation
- Added build log and log file patterns to .gitignore to prevent accidental commits.
- Deleted outdated deployment documentation files: DEPLOYMENT_CHANGES.md, DIFF_IMPROVEMENTS.md, S3_MIGRATION_GAPS.md, and OPENSHIFT_SETUP.md, which are no longer relevant to the current architecture.
- Cleaned up observability-related files, including Grafana and Prometheus configurations, to streamline the observability stack.
feat: Enhance operator metrics and session handling
- Introduced Prometheus metrics for monitoring session lifecycle, including startup duration, phase transitions, and error tracking.
- Updated session handling to record metrics during reconciliation, including session creation and completion.
- Refactored session management logic to ensure consistent behavior across API and kubectl session creations.
- Increased QPS and Burst settings for Kubernetes client to improve performance under load.
- Added a new Service and ServiceMonitor for exposing operator metrics in the ambient-code namespace.
feat: Refactor AgenticSession handling to use Pods instead of Jobs
- Updated the operator to create and manage Pods directly for AgenticSessions, improving startup speed and reducing complexity.
- Changed environment variable references and logging to reflect the transition from Jobs to Pods.
- Adjusted cleanup logic to handle Pods appropriately, including service creation and monitoring.
- Modified deployment configurations to ensure compatibility with the new Pod-based architecture.
feat: Implement S3 storage configuration for session artifacts
- Added support for S3-compatible storage in the settings section, allowing users to configure S3 endpoint, bucket, region, access key, and secret key.
- Updated the operator to persist session state and artifacts in S3, replacing the previous temporary content pod mechanism.
- Removed deprecated references to temporary content pods and PVCs, transitioning to an EmptyDir storage model with S3 integration.
- Enhanced the operator's handling of S3 configuration, ensuring proper validation and logging for S3 settings.
- Updated Makefile to include new build targets for state-sync image and MinIO setup.
feat: Enhance operator deployment with controller-runtime features
- Added command-line arguments for metrics and health probe endpoints, enabling better observability.
- Implemented concurrent reconciliation with a configurable maximum, improving performance.
- Updated Dockerfile to use ENTRYPOINT for better argument handling.
- Enhanced health checks with HTTP probes for liveness and readiness.
- Updated README to reflect new configuration options and features.
feat: Enhance observability stack deployment and cleanup in Makefile
- Added new targets for deploying and cleaning up the observability stack, including OpenTelemetry and Grafana.
- Introduced commands for accessing Grafana and Prometheus dashboards.
- Updated .gitignore to include secrets template for MinIO credentials.
- Removed deprecated image-prepuller DaemonSet and associated metrics service from manifests.
- Updated Makefile to reflect changes in observability management and improve user experience.
refactor: Clean up observability stack and enhance session handling
- Removed obsolete observability stack deployment commands from Makefile.
- Updated session handling in the operator to improve clarity and efficiency.
- Introduced a new state sync image in deployment scripts and updated related configurations.
- Refactored metrics handling for session lifecycle, ensuring consistent error tracking and performance monitoring.
- Cleaned up unused code and improved readability across multiple files.
feat: Refactor S3 storage configuration in settings and operator
- Replaced S3_ENABLED with STORAGE_MODE to allow selection between shared and custom storage options.
- Updated settings section to include radio buttons for storage mode selection, enhancing user experience.
- Modified operator session handling to read and apply storage mode, ensuring proper configuration for S3 settings.
- Improved logging for storage mode usage, clarifying the configuration process for users.1 parent 41bac1f commit 374c7ff
File tree
47 files changed
+6042
-1966
lines changed- components
- backend
- handlers
- server
- frontend/src
- app/projects/[name]/sessions/[sessionName]
- components
- workspace-sections
- types
- manifests
- base
- rbac
- observability
- dashboards
- overlays/with-grafana
- overlays/production
- operator
- internal
- config
- controller
- handlers
- services
- runners
- claude-code-runner
- state-sync
- docs
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+6042
-1966
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
94 | | - | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
148 | 157 | | |
149 | 158 | | |
150 | 159 | | |
| |||
164 | 173 | | |
165 | 174 | | |
166 | 175 | | |
167 | | - | |
| 176 | + | |
168 | 177 | | |
169 | 178 | | |
170 | 179 | | |
171 | 180 | | |
172 | 181 | | |
173 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
174 | 229 | | |
175 | 230 | | |
176 | 231 | | |
| |||
0 commit comments