Skip to content

fix(fleet): read CF-2b live probe response bodies once - #16798

Merged
developing-today-fleet[bot] merged 2 commits into
mainfrom
fleet/oc-code-06/14987-roundtrip-response
Nov 29, 2026
Merged

developing-today-fleet[bot] merged 2 commits into
mainfrom
fleet/oc-code-06/14987-roundtrip-response

Conversation

@developing-today-fleet

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

Copy link
Copy Markdown
Contributor

Summary

 liveCall
-  consume response text while constructing every assertion message
+  read response text only on non-200 failures
   parse successful JSON once

Slice of #14987: remove a deterministic blocker in the deploy-gated CF-2b verification harness. Inject transport for credential-free native Response regression tests covering successful JSON, the authenticated POST contract, and 503 diagnostics. No broker or production routing changes; the live cutover remains a separate supervised pass. This does not complete #14987.

Evidence

  • Before: red commit e836de1a80e9a473dbdc17320b71c12d85b4f6c8 adds the native-Response oracle with the original eager text read intact.
  • After: green commit e42c073e74ae3812271a6a6bbbceb8fe9dec072a reads failure text conditionally. Fleet remote red/green verification submitted; terminal evidence pending. No local compilation or tests and no live credentials used.
  • Focused command: cd pkgs/fleet/hosted-worker && node --experimental-transform-types --test test/queue-service-token-roundtrip.test.ts.

Merge Danger

Door: two-way

Revert the single test-file change.

Blast Radius: verification

Only the CF-2b test harness changes. Credential-gated live verification is not claimed as run.

{
  "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-29T13:36:20Z",
    "session_id": "ses_e5dd887c232ffen18yIG8H3wck",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/oc-code-06-cf2b-20261129T132520Z-c7e66bab",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/oc-code-06-cf2b-20261129T132520Z-c7e66bab",
      "repo": "developing-today/code",
      "branch": "fleet/oc-code-06/14987-roundtrip-response",
      "sha": "e42c073e74ae3812271a6a6bbbceb8fe9dec072a"
    },
    "auth_subject": "oc-code-01",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

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

@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: 91ea8139-bbb4-405b-8e84-c27ff59c03a6

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
developing-today-fleet Bot merged commit c8cebf1 into main Nov 29, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the fleet/oc-code-06/14987-roundtrip-response branch November 29, 2026 13:46
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