Skip to content

Publish packaged Windows Connect READY through a bounded inherited stdout contract #2064

Closed as not planned

Description

@integry

Objective

Make the real ordinary-user packaged Windows Connect smoke publish exactly one validated READY record through inherited stdout and exit cleanly on both x64 and ARM64. Keep this correction isolated from #2050/#2056 capture-authority work and target only transport sub-epic 1953-epic-desktop-transport-api.

Authoritative evidence

On #2056 exact head ffa1b479bacbfbbd3414bb5c12e46d373bc2cb4a:

  • win32-x64 job 100301669686 passes the focused launcher/parser authority suite and packages successfully, then the real alternate-user process reaches the full unchanged 240-second bound and fails exactly spawn-failed/application-runtime/timeout-before-ready.
  • An independent rerun, win32-x64 job 100305575012, repeats the same full-bound timeout-before-ready result. This is not a transient runner failure.
  • Linux/Darwin packaged Connect lanes are green.
  • The current main-process READY publisher logs to the evidence file, then awaits callback completion of process.stdout.write(...) before shutdown. The parent owns a strict inherited stdout parser, but Windows callback/pipe completion is not proven.
  • [2050 by GPT-5.6 Sol] Stage packaged Windows ARM64 desktop artifacts for ordinary-user Connect smoke #2056 independently owns protected stdout/stderr capture creation and ARM64 owner/DACL/path/identity authority. Do not duplicate or weaken that work.

Required correction

  • After the existing real renderer discovery proof succeeds, publish exactly one existing READY JSON record to inherited standard output using a bounded exact-byte fd-1 write contract. On Windows, use a synchronous full-progress loop such as writeSync(1, ...) with bounded byte count and failure classification; do not depend indefinitely on a stream callback.
  • Preserve the exact READY schema and validator: timestamp, info level, desktop.renderer.connect_discovery.ready, selected platform/arch, existing authority mechanism, and rendererSchemaValid:true. Do not accept logger-only or file-only readiness.
  • Request app shutdown only after the exact READY bytes are fully published. Prove clean child exit, stdout/stderr drain, and zero owned process tree. Do not extend the 240-second production bound or treat timeout/termination as success.
  • Add a native Windows child/pipe regression that proves one exact READY line reaches the owning Node process and closes cleanly under the ordinary-user/inherited-handle shape. Cover partial writes, zero progress, broken pipe, duplicate record, wrong schema, and a child that remains alive.
  • After failure and owned-tree termination only, read the already-authorized bounded application.smoke-evidence.jsonl as diagnostic input and emit only a fixed allowlisted last-milestone category (for example app-ready, renderer-ready, connect-proof, ready-publication). Never use this file as READY authority and never emit raw paths, values, output, identities, tokens, environment, stacks, or exception text.
  • Preserve main/preload/renderer isolation, actual Connect discovery, exact target architecture, ordinary-user execution, strict artifact_failed + smoke_failed parsing, staged argv handoff, launcher authority, credential/config isolation, cleanup ownership, and existing timeout values.
  • Coordinate with [2050 by GPT-5.6 Sol] Stage packaged Windows ARM64 desktop artifacts for ordinary-user Connect smoke #2056: this issue owns main-process READY publication, child lifecycle completion, and fixed milestone attribution; [2050 by GPT-5.6 Sol] Stage packaged Windows ARM64 desktop artifacts for ordinary-user Connect smoke #2056 owns protected capture creation and capture owner/DACL/path/identity authority.
  • Do not target or merge into main or the top epic. Do not auto-merge the generated PR.

Gates

Require focused lifecycle/parser tests plus real ordinary-user packaged Connect on native win32-x64 and win32-ARM64. Retain Linux/Darwin packaged Connect, Full Suite, Validate Changes, and release-package guards. Report exact native job IDs and the first fixed milestone if either architecture remains non-green.

Blocking #1953, #2035, and final #1950 integration.

Activity

  1. propr-dev commented on Sep 2, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-5.6-sol
    • Branch: 2064/gpt-5.6-sol-publish-packaged-windows--20260902-1528-wdu
    • Base Branch: 1953-epic-desktop-transport-api
    • Worktree: issue-2064-20260902-1528-gpt-5.6-sol-wdu

    🔍 Track Task Execution

  2. added a commit that references this issue on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI-donebug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions