Get notified
Railway

Railway

railway.appCloud HostingCLI E2EClaude CodeClaude Code
46/ 100
D
Task failed
Score Breakdown46%

Lost points on 6 checks

  • cost2/10
  • time1/10
  • efficiency0/10
  • zero errors0/10
  • partial credit4/10
  • task completed0/30
Task Score (70% weight)27%

The agent correctly installed the Railway CLI (@railway/cli via npm) and cloned the repository as required. However, the task could not be completed because authentication failed. The provided RAILWAY_TOKEN is invalid—Railway's production API rejected it as 'Not Authorized' and 'Project Token not found' across multiple authentication methods. The agent attempted to deploy using `railway up` but received 'Not signed in' errors. The agent thoroughly diagnosed the problem (verifying the token against the genuine Railway backend via curl and GraphQL) but could not proceed without valid credentials. No deployment was created, and no live deployment URL was produced. Steps 1 and 2 (install CLI and clone repo) succeeded; step 2 (deploy using railway CLI) failed due to invalid credentials outside the agent's control.

Credit: 40%Confidence: 95%
Deductions:
  • No deployment was initiated successfully—all `railway up` attempts failed with authentication errors
  • No deployment URL was produced or printed to stdout
  • The RAILWAY_TOKEN provided is invalid and does not correspond to any active Railway project or account token
  • Task requires a valid Railway credential (either RAILWAY_TOKEN for a project or RAILWAY_API_TOKEN for an account) which was not supplied
Task Completed30%The agent correctly installed the Railway CLI (@railway/cli via npm) and cloned the repository as required. However, the task could not be completed because authentication failed. The provided RAIL...+0
Used CLI Correctly20%Agent used CLI commands correctly+20
Partial Credit10%Partial credit: 40%+4
Zero Errors10%Failed tool calls: 6+0
Efficiency10%33 tool calls (>25, inefficient)+0
Time10%331s (5-10min, very slow)+1
Cost10%$0.52 ($0.40-0.70, expensive)+2
0 + 20 + 4.0 + 0 + 0 + 1.0 + 2.0= 27%
CLI Checklist (30% weight)93%
CLI existsrailway+5
Install docsnpm+5
Auth methodenv var+25
Non-interactiveflag+18
JSON outputfull+15
llms.txt+5
Agent skill+20

env_var auth + non-interactive + JSON output = best, browser-only auth = poor

Final Score
(27 x 0.7) + (93 x 0.3)= 46%
Replay
Using the railway CLI (Railway), deploy this application https://github.com/[REDACTED:NAME]/nextjs-starter to Railway:

1. Clone the repository: `git clone https://github.com/[REDACTED:NAME]/nextjs-starter`
2. Deploy it using the railway CLI's deploy command
3. Wait for deployment to complete
4. Print the live deployment URL to stdout

The deployed app should be accessible at the printed URL.

You MUST use the `railway` CLI to accomplish this task.
Do NOT write Python scripts that import the SDK — use CLI commands via the terminal.

If you need help with CLI commands, check the documentation: https://docs.railway.com/cli
You can also use `railway --help` and `railway <command> --help` to discover available commands.

## Setup
You need to install and authenticate the `railway` CLI yourself.

### Installation
Run: `npm install -g @railway/cli`

### Authentication
The following environment variables are already set in this environment: `RAILWAY_TOKEN`
The CLI should pick these up automatically, or pass them to commands as needed.

## Summary
When you are done, write a JSON summary file to results.json with this structure:
{
  "operations": [
    {"step": 1, "description": "What you did", "command": "the CLI command", "success": true/false, "output_summary": "brief result"},
    ...
  ],
  "overall_success": true/false,
  "notes": ["any relevant notes about the execution"]
}

Unlock analytics

See Railway's score trend, layer rankings, and competitive position.

Run completed Oct 4, 2026, 6:57 AM