Skip to content

feat: add CDE demo endpoints, fix Ollama connectivity, auto-start server#6

Merged
jflowers merged 3 commits intomainfrom
opsx/cde-endpoints
Apr 13, 2026
Merged

feat: add CDE demo endpoints, fix Ollama connectivity, auto-start server#6
jflowers merged 3 commits intomainfrom
opsx/cde-endpoints

Conversation

@jflowers
Copy link
Copy Markdown
Contributor

Summary

Addresses all three gaps identified in Issue #3 for CDE (Eclipse Che / Dev Spaces) devfiles:

  • Demo endpoints: Added public endpoints for agent-built applications — demo-http (3000), demo-api (8080), demo-alt (8443) — to both devfiles
  • Ollama connectivity: Replaced hardcoded host.containers.internal (Podman-only, fails in K8s) with empty default. Documented per-environment configuration
  • Auto-start: Added composite postStart commands ensuring sequential execution (init-workspacestart-server, or install-toolsinit-workspacestart-server for dynamic variant)

Review Council

  • 5 Divisor agents invoked (adversary, architect, guard, sre, testing)
  • Verdict: APPROVE WITH ADVISORIES
  • 1 HIGH fix applied: postStart events must use composite command for guaranteed sequential execution (per devfile 2.2.0 spec)
  • 3 LOW/MEDIUM fixes applied: inline YAML comments, Constitution reference correction

Files Changed

File Changes
devfile.yaml +3 endpoints, empty Ollama env, composite postStart
devfile-dynamic.yaml +3 endpoints, empty Ollama env, composite postStart
README.md +CDE Endpoints section, +Ollama in CDE section
openspec/changes/cde-endpoints/ Proposal, design, delta spec, tasks

Closes #3

- Add public demo endpoints (3000, 8080, 8443) to both devfiles
- Replace hardcoded host.containers.internal with empty default
  for CDE/Kubernetes compatibility
- Add composite postStart commands for sequential init + server start
- Document CDE endpoints and Ollama configuration in README

Closes #3
govulncheck v1.2.0 exits non-zero with -version when no Go module
is present in the working directory (prints 'no package patterns
provided'). Use 'which' for existence check instead.
Same govulncheck v1.2+ exit code issue as install script.
Use --entrypoint which for existence check instead of
running govulncheck -version which fails without a Go module.
@jflowers jflowers merged commit 6d57f8d into main Apr 13, 2026
3 checks passed
@jflowers jflowers deleted the opsx/cde-endpoints branch April 13, 2026 17:34
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.

feat: expose demo endpoints and fix Ollama connectivity for CDE workflow

1 participant