d4rkstar opened a new pull request, #11: URL: https://github.com/apache/openserverless-admin-api/pull/11
Major improvements to the build service and development environment: Build Service Enhancements: - Add wait logic for init container completion before resource cleanup - Prevent race condition where ConfigMaps/Secrets deleted before pod reads them - Add new KubeApiClient methods: get_pod() and wait_for_init_container_completion() - Refactor cleanup into _cleanup_build_resources() helper method - Add null check for jobs list to prevent iteration errors - Fix Pylance type errors with proper type annotations (str | None) Kubernetes API Client: - Fix time module import (was importing datetime.time instead of time module) - Add pod status monitoring and init container state tracking - Add detailed logging for container lifecycle events - Support timeout-based waiting with configurable durations Development Environment: - Add VSCode debug configuration with automatic port-forwarding - Create start-port-forwards.sh script for registry and CouchDB - Add tasks.json with Start/Stop Port Forwards tasks - Update TaskfileDev.yml with setup-secret task for dev credentials - Auto-setup registry-pull-secret-dev and REGISTRY_SECRET env var Response Builder & Security: - Improve response formatting and error handling - Minor fixes to authorization decorators -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
