Skip to content

spec(port): railway_null_startcmd as .t27 - #6240

Merged
dmitrii-f-t27 merged 1 commit into
masterfrom
spec/port-railway-null-startcmd-6213
Oct 4, 2026
Merged

dmitrii-f-t27 merged 1 commit into
masterfrom
spec/port-railway-null-startcmd-6213

Conversation

@dmitrii-f-t27

Copy link
Copy Markdown
Collaborator

Closes #6213

Adds specs/port/trinity/src/cli/railway_null_startcmd.t27, the port of src/cli/railway_null_startcmd.zig (gHashTag/trinity at 8afec86b8da9). One file, nothing else.

Ported decisions:

  • decide_args(argc): fewer than 3 arguments (program, service id, token) is a usage failure.
  • decide_result(curl_exit_code, stdout_has_errors_field): a non-zero curl exit or an "errors" field in the response is a failure, because Railway rejects a mutation with HTTP 200 and an errors array.
  • main is kept under its name with an undefined; body (argv, GraphQL body, curl, printing).

Checks, run from this branch with t27c built from the same tree and Zig 0.16.0:

  • t27c typecheck: OK (0 errors, 0 warnings)
  • t27c spec-status: IMPLEMENTED
  • t27c gen: 61 lines, 0 x not yet implemented
  • t27c test-report: 8 tests, 8 pass, 0 BLOCKED
  • grep -cE '^\s*(pub )?fn (main)\(': 1

Not checked: the seal in .trinity/seals/ and conformance vectors (the issue does not ask for them); CI result is pending.

🤖 Generated with Claude Code

…ailway_null_startcmd.t27 (Closes #6213)

Ports the two decisions in the original: the argument count check (argc < 3 is a
usage failure) and the result verdict (a non-zero curl exit or an "errors" field
in the response is a failure). The curl/argv plumbing stays an undefined main.

Checked with t27c from this tree and Zig 0.16.0: typecheck OK, spec-status
IMPLEMENTED, gen 61 lines with no "not yet implemented", test-report 8/8, 0 BLOCKED.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-04 19:25:11 UTC

Summary

Status Count
Total Open PRs 46
PRs with Failing Checks 28
PRs with All Checks Green 18
READY 12
FAILING 28
PENDING 0
NO CHECKS YET 0

These columns do not partition: 12 + 28 + 0 + 0 = 40, and there are 46 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=8597b6ded596 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@dmitrii-f-t27
dmitrii-f-t27 merged commit 8698ebc into master Oct 4, 2026
22 of 24 checks passed
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.

Port gHashTag/trinity:src/cli/railway_null_startcmd.zig (Zig, 1 function) to specs/port/trinity/src/cli/railway_null_startcmd.t27

1 participant