Skip to content

infra: Dockerfile + Railway config for the ingest sweep worker#12

Merged
naman7474 merged 1 commit into
mainfrom
feat/ingest-worker-deploy
Jul 4, 2026
Merged

infra: Dockerfile + Railway config for the ingest sweep worker#12
naman7474 merged 1 commit into
mainfrom
feat/ingest-worker-deploy

Conversation

@naman7474

Copy link
Copy Markdown
Collaborator

What

Adds the third deployable — the v2 ingest sweep worker (@lockstep/ingest) — so Slack/Jira/Notion ingestion can actually run. Today only lockstep (core) and lockstep-web are deployed; the worker has never had deploy config.

  • packages/ingest/Dockerfile — builds @lockstep/ingest, runs serve (loop sweep, 15-min default). No HTTP server; talks to core over LOCKSTEP_API_URL.
  • railway.ingest.jsonDOCKERFILE builder, ON_FAILURE restart, no healthcheck (worker, not a server).

Deploy (after merge)

Create a new Railway service in the existing project, point it at this repo with Config file = railway.ingest.json, and set env vars:

  • ANTHROPIC_API_KEY, COMPOSIO_API_KEY
  • LOCKSTEP_INGEST_TOKEN (must match the value on the lockstep core service)
  • LOCKSTEP_API_URL (public URL of the lockstep core service)

Also confirm LOCKSTEP_INGEST_TOKEN is set on the lockstep core service (same value).

Notes

  • Worker is standalone (no @lockstep/core dep; @composio/core + @anthropic-ai/sdk are declared deps).
  • npm run build -w @lockstep/ingest passes. Docker image not built locally (no daemon in this session).

🤖 Generated with Claude Code

Adds the third deployable — the v2 sweep worker (@lockstep/ingest). It runs
`serve` (loop sweep, 15-min default), has no HTTP server, and talks to core
over LOCKSTEP_API_URL. railway.ingest.json builds packages/ingest/Dockerfile
with an ON_FAILURE restart policy and no healthcheck.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@naman7474 naman7474 merged commit 5f6faa0 into main Jul 4, 2026
2 checks passed
@naman7474 naman7474 deleted the feat/ingest-worker-deploy branch July 4, 2026 16:16
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