memory-bank/activeContext.md
Building a comprehensive knowledge base of the Gitpod codebase and architecture for effective development, troubleshooting, and enhancement.
| Focus Area | Description |
|---|---|
| System Architecture | Component relationships and service interactions |
| Component Documentation | Detailed documentation for each component |
| Development Workflow | Effective development and testing processes |
| Documentation | Comprehensive memory bank maintenance |
| Standardized Workflows | Established development procedures |
registry-facade resilience by implementing a comprehensive retry mechanism for blob retrieval, addressing transient network errors.gitpod.io/# to app.ona.com/#. Added redirect logic to both QueryErrorBoundary.tsx (primary path for authentication errors) and kept it in App.tsx (secondary path for defense in depth). This provides comprehensive coverage across different execution paths.registry-facade: Observe the component's behavior with the new retry logic to ensure it correctly handles the previously identified network issues.| Category | Considerations |
|---|---|
| Architecture | • Component boundaries |
| • API contracts | |
| • Performance impacts | |
| Development | • Testing strategies |
| • Documentation standards | |
| • Collaboration model | |
| Technical | • Backward compatibility |
| • Security implications | |
| • Scalability impacts |
No active experiments currently in progress.
| Area | Insights |
|---|---|
| Architecture | • Microservices with loosely coupled services |
| • Go (backend) and TypeScript/React (frontend) | |
| • Kubernetes-native components | |
| • gRPC for service communication | |
| Component Patterns | • Go services with cmd/ directory structure |
| • TypeScript with Reac | |
| • Clear API/implementation separation | |
| Build System | • In-tree: Language tools (yarn, go) for local dev |
| • Out-of-tree: Leeway for CI/CD and dependency management | |
| Server Architecture | • Dependency injection (Inversify) |
| • Component registration in container-module.ts | |
| • HTTP endpoints in registerRoutes method | |
| • Health checks: liveness (event loop) and readiness (dependencies) | |
| Critical Dependencies | • Database (TypeORM) |
| • SpiceDB (authorization) | |
| • Redis (caching, pub/sub, locking) |