Skip to content

[fix] Resolve absolute binaries in railway#3968

Closed
junaway wants to merge 2 commits intofix/local-web-testsfrom
fix/absolute-binaries-in-railway
Closed

[fix] Resolve absolute binaries in railway#3968
junaway wants to merge 2 commits intofix/local-web-testsfrom
fix/absolute-binaries-in-railway

Conversation

@junaway
Copy link
Contributor

@junaway junaway commented Mar 11, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 11, 2026 23:11
@vercel
Copy link

vercel bot commented Mar 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Mar 12, 2026 8:59am

Request Review

@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Mar 11, 2026
@junaway junaway changed the base branch from main to fix/local-web-tests March 11, 2026 23:11
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Mar 11, 2026
@dosubot dosubot bot added the ci/cd label Mar 11, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts Railway OSS deployment wrappers to use absolute executable paths (e.g., /opt/venv/bin/python, /opt/venv/bin/gunicorn, /usr/local/bin/supercronic) to avoid redeploy/start failures caused by command resolution issues, and simplifies the web start command to rely on the base image entrypoint.

Changes:

  • Update API/services/workers to invoke /opt/venv/bin/* binaries directly (python/gunicorn).
  • Update cron to invoke supercronic via /usr/local/bin/supercronic.
  • Simplify web startup to node /app/oss/server.js (avoids invoking /app/entrypoint.sh explicitly).

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
hosting/railway/oss/api/Dockerfile Use /opt/venv/bin/gunicorn explicitly for Railway.
hosting/railway/oss/services/Dockerfile Use /opt/venv/bin/gunicorn explicitly for Railway.
hosting/railway/oss/worker-webhooks/Dockerfile Use /opt/venv/bin/python explicitly for Railway.
hosting/railway/oss/worker-tracing/Dockerfile Use /opt/venv/bin/python explicitly for Railway.
hosting/railway/oss/worker-events/Dockerfile Use /opt/venv/bin/python explicitly for Railway.
hosting/railway/oss/worker-evaluations/Dockerfile Use /opt/venv/bin/python explicitly for Railway.
hosting/railway/oss/cron/Dockerfile Use /usr/local/bin/supercronic explicitly.
hosting/railway/oss/alembic/Dockerfile Use /bin/sh -c plus absolute venv python paths for migration runner.
hosting/railway/oss/scripts/deploy-from-images.sh Generate wrapper Dockerfiles with absolute executable paths.
hosting/railway/oss/web/Dockerfile Run node /app/oss/server.js directly (base image entrypoint handles setup).
hosting/railway/oss/web/railway.json Align Railway start command to node /app/oss/server.js.
hosting/railway/oss/README.md Document absolute-path requirement and the Railway exec lookup behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2026

Railway Preview Environment

Preview URL https://gateway-production-5f4b.up.railway.app/w
Project agenta-oss-pr-3968
Image tag pr-3968-3d5af9c
Status Deployed
Railway logs Open logs
Workflow logs View workflow run
Updated at 2026-03-12T09:09:03.317Z

@junaway junaway marked this pull request as draft March 12, 2026 00:42
@junaway junaway marked this pull request as ready for review March 12, 2026 00:43
@dosubot dosubot bot added the bug Something isn't working label Mar 12, 2026
@junaway junaway marked this pull request as draft March 12, 2026 08:58
@junaway junaway marked this pull request as ready for review March 12, 2026 08:58
Copilot AI review requested due to automatic review settings March 12, 2026 08:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@junaway junaway closed this Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci/cd size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants