Skip to content

feat: add web.codexeditor.app and preview.codexeditor.app hostnames#1

Merged
andrewhertog merged 2 commits intomainfrom
feat/add-codexeditor-app-hostnames
Dec 3, 2025
Merged

feat: add web.codexeditor.app and preview.codexeditor.app hostnames#1
andrewhertog merged 2 commits intomainfrom
feat/add-codexeditor-app-hostnames

Conversation

@andrewhertog
Copy link
Contributor

Summary

  • Add web.codexeditor.app and preview.codexeditor.app to all HTTPRoute configurations
  • Update workspace URL generation to use preview.codexeditor.app as the default hostname
  • Maintain backward compatibility with existing hosts (test.denhertog.ca and loadbalancer.frontierrnd.com)
  • Configure CI/CD workflows to test on PRs but only deploy on merge to main

Changes

Hostname Configuration

Workflow Updates

Impact

  • All existing deployments/statefulsets will accept traffic from four hosts after deployment
  • Newly created workspaces will have URLs like https://preview.codexeditor.app/{namespace}/{workspace-name}
  • Existing workspaces retain their stored URLs (no database migration required)
  • CI/CD will run tests on this PR but skip Docker builds and deployments
  • Deployments will only occur when this PR is merged to main

Test plan

  • Verify CI/CD tests run successfully on this PR (without deploying)
  • Merge PR and verify workflows run with deployment
  • Deploy updated Kubernetes manifests: kubectl apply -f frontend/k8s/k8s-ingress.yaml and kubectl apply -f backend/backend-deployment.yaml
  • Verify frontend is accessible via all four hostnames
  • Verify backend API is accessible via all four hostnames
  • Create a new workspace and verify the URL uses preview.codexeditor.app
  • Test workspace access via the new URL
  • Verify existing workspaces continue to work with their original URLs

🤖 Generated with Claude Code

andrewhertog and others added 2 commits December 3, 2025 09:21
Add support for new codexeditor.app domain hostnames across all HTTPRoutes:
- Add web.codexeditor.app and preview.codexeditor.app to frontend HTTPRoute
- Add web.codexeditor.app and preview.codexeditor.app to backend API HTTPRoute
- Update default hostnames in kubernetesService for dynamic workspace routes
- Update workspace URL generation to use preview.codexeditor.app

All deployments and workspaces now accept traffic from four hosts:
- test.denhertog.ca
- loadbalancer.frontierrnd.com
- web.codexeditor.app (new)
- preview.codexeditor.app (new)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Update CI/CD workflows to:
- Run tests and security checks on both PRs and pushes to main
- Only build Docker images and deploy when changes are merged to main
- Skip docker/deploy jobs on PR creation using conditional checks

This allows code quality validation during PR review while preventing
unnecessary deployments until changes are approved and merged.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@andrewhertog andrewhertog merged commit 7228d49 into main Dec 3, 2025
7 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.

1 participant

Comments