Skip to content

id: five-minute-path echoes the serve log on failure (#12231 row 1) - #17002

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
felix/12231-fmp-serve-log
Nov 29, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
felix/12231-fmp-serve-log

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

One bounded slice of #12231, row 1: make serve failures diagnosable from the run record, then re-run the timed path.

Problem (from #12231's own record): the latest timed re-run verdicted row 1 NOT MET, but serve "exited while waiting for readiness" ~2s in and, per 0640-BP's note, "the serve log stayed in the runner's temp dir and is not recoverable from the run record." five-minute-path.sh's die names the serve log's path but never prints it — and callers like the fleet-command executor keep only the script's output, so the one artifact that explains the failure is discarded with the runner.

Change: die() now echoes the last 50 lines of the serve log into the script's stderr whenever the log exists and is non-empty. No argument changes (the #3352 contract is untouched); the full log still stays at the path die names.

Test: new case in five-minute-path-args-test.sh — a stub id binary whose serve dies immediately with a marker line; the run must fail with "serve exited…" and the marker must appear in the script's output. Suite passes locally; remote gate dispatched against this branch.

Follow-through: a fresh timed run of the path is dispatched against this branch; its verdict and — if serve fails again — the now-captured serve output will be posted on #12231.

Refs #12231 (row 1 slice only; the issue's exit decision and remaining rows stay with its existing record).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-29T22:32:41Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "010b47d1c4cecdcd1b7d6ea260b7c9b0a61fb89e"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Row 1's latest timed re-run failed with serve exiting during
readiness, and the serve log stayed in the runner's temp dir —
unrecoverable from the run record, so the failure is still
undiagnosed. die() now echoes the last 50 lines of the serve log
into the script's own stderr on any failure after the log exists,
so CI / fleet-command run records carry the artifact that
explains a serve failure. Regression case in
five-minute-path-args-test.sh: a stub id whose serve dies with a
marker line must surface that marker in the script's output.
@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 87ac0b3c-1cd3-44fc-be7d-823bb42af1a6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

Lane 0640-EK — PR #17002 gate verdict (args half): GREEN, read firsthand.

Run 46318425058 (fleet-command, against this branch) completed success; its log carries five-minute-path-args tests passed at 22:37:14Z — the full argument-contract suite including the new case (stub id whose serve dies with a marker line; the marker must surface in the script's output) executed and passed remotely. The suite also passed in a quick local check while iterating (disclosed; the remote run is the record).

The timed five-minute-path run against this branch (46318435588) is still in progress; its verdict — and, if serve fails again, the serve output the fixed script now captures into the run record — will be posted on #12231 when it finalizes.

@developing-today-fleet
developing-today-fleet Bot merged commit bb8cd9b into main Nov 29, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the felix/12231-fmp-serve-log branch November 29, 2026 22:43
@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

1637-E (alpha DRIVE landings sweep): merged under standing merge authority after firsthand diff verification against the PR's stated purpose (CI is not a gate per Drew 2026-11-29). Diff scope matched the body exactly; fresh pre-merge read was CLEAN/MERGEABLE at the head the diff was read from.

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

Lane 0640-EK — row 1 serve failure DIAGNOSED; root-cause fix opened as PR #17013.

Timed run 46318435588 (against PR #17002's branch; PR #17002 merged 22:43:35Z as bb8cd9b) completed failure at 22:46:59Z; log read firsthand. Steps: clone 22:37:24Z (~9s), build until 22:46:52Z (~9m19s), serve started and exited ~2s into the readiness wait — re-run #3's exact signature. This time the serve log was in the run record (that is PR #17002's fix working), and it names the cause:

Error: this build has no world support (feature `world`)

Root cause: the script's build step used cargo build --release --no-default-features -p id. The id package's default features are sandbox + world; --no-default-features strips world, and serve --world then bails at startup (crates/id-cli/src/commands/serve.rs: "this build has no world support (feature world)"). The five-minute path as written could never complete — the earlier NOT MET verdicts were measuring this build/serve feature mismatch (invisible until the serve log was captured) on top of the venue build-time problem. pkgs/id's README variant section already warns that --no-default-features "builds neither variant"; the script and the README's path steps both carried the wrong command anyway.

Fix — PR #17013 (fix-forward on the merged #17002): build with the default features (the documented lib variant) in the script, its dry-run print, and the README's steps; args suite gains a regression lock (the dry-run build step must not carry --no-default-features). Gates dispatched against the branch: args run 46321210306, timed run 46321223260. Honest expectation for the timed run: the path should now complete end to end, but its elapsed time will still exceed the 300s budget in this venue (build alone was 9m19s on a cold runner) — the venue half of row 1 stands as previously recorded and is not claimed by this fix.

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.

0 participants