Skip to content

Conversation

@oddessentials
Copy link
Owner

No description provided.

Fixed critical bug where TUI cluster launch failed due to
mismatched Docker build contexts:

- gateway: Context changed from '.' to 'src/services/gateway'
  (Dockerfile uses service-relative paths like 'COPY package.json')
- processor: Context changed from '.' to 'src/services/processor'
  (Dockerfile uses service-relative paths like 'COPY requirements.txt')
- web-pty-server: Context changed from 'src/services/web-pty-server' to '.'
  (Dockerfile uses repo-root paths like 'COPY src/services/...')

Added clarifying comments explaining the context requirements.
Fixed critical bug where start-all.ps1 built images with VERSION tags
but K8s manifests expected different tags, causing pod creation failures.

Changes:
- scripts/start-all.ps1: Fixed build contexts for gateway/processor/web-pty-server
- src/services/gateway/Dockerfile: Updated BUILD CONTEXTS comment
- src/services/processor/Dockerfile: Updated BUILD CONTEXTS comment
- infra/k8s/web-pty-ws.yaml: Changed :latest to :0.1.0, added version label
- infra/k8s/web-ui-http.yaml: Changed :latest to :0.1.0, added version label
- src/interfaces/web/VERSION: Added (0.1.0) for consistent versioning
- scripts/check-service-versions.py: Extended to check web-pty-server and web-ui

CI Enforcement:
- check-service-versions.py now validates all 6 services have matching
  VERSION files and K8s manifest image tags
- Script runs in CI and will fail if :latest is used for any service

Fixes TUI cluster launch failure ('Failed to build: web-pty-server')
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Empty string from K8s secret was being treated as 'auth enabled with
empty password' instead of 'auth disabled'. Now empty string is
converted to None, matching the documented behavior in web-pty-ws.yaml.
@oddessentials oddessentials merged commit 038cda2 into main Dec 26, 2025
14 checks passed
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.

3 participants