CopilotKit / CopilotKit/outpost

ci: build the Docker images and run tests on the runtime they ship

Open
#185 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: infrastructure roadmap roadmap: next
Dominant language
TypeScript
Stars
7
Forks
3
Avg merge
7d 16h
Merged PRs (30d)
15

Description

Found during the review of #180.

CI runs node-version: 24 and pnpm 10.33.4 (from packageManager). Both production images are node:20-alpine with corepack prepare pnpm@9.15.0. No job builds either Dockerfile.

So a green CI run does not establish that the image builds, that the pruned lockfile installs under the pnpm the image uses, or that apps/worker/dist/index.js runs on Node 20 — while the incident CI is now guarding against was a deploy-time failure.

This is not hypothetical for #180 specifically: the timeout handling in apps/worker/start.sh depends on busybox timeout semantics (exit 143, not GNU's 124), which is an alpine-only property. #180 added a CI step that executes start.sh against a stub, which covers the branching — but it runs under bash on ubuntu, so the busybox-specific behaviour is still unverified in CI.

Building apps/worker/Dockerfile and running the startup guard inside it would close both gaps.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with apps/worker/Dockerfile and apps/worker/start.sh, then inspect the existing CI job and the startup guard added for #180. Build the worker image and run the startup guard inside the Alpine-based runtime, verifying the pruned lockfile installs with the image's pnpm and that apps/worker/dist/index.js runs on Node 20.】【。

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, dockerfile, github-actions, node.js, typescript
Domain
build-system, ci-cd, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.