GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mcpx: TestScriptViewCommandTimeoutKillsSpawnedWorkers fails in Fleet executor containers · Issue #13713 · developing-today/code

mcpx: TestScriptViewCommandTimeoutKillsSpawnedWorkers fails in Fleet executor containers #13713

New issue
Copy link
New issue
Copy link
Done
#13842
#13834
Done
mcpx: TestScriptViewCommandTimeoutKillsSpawnedWorkers fails in Fleet executor containers#13713
#13842
#13834
Copy link
Labels
bugSomething isn't workingstatus:done

Description

@dezren39
dezren39
opened on Nov 23, 2026
Issue body actions

Summary

pkgs/mcpx/internal/daemon test TestScriptViewCommandTimeoutKillsSpawnedWorkers fails deterministically inside the Fleet executor container, while it passes on local runs and on GitHub-hosted runners.

Evidence

  • Fleet run (fleet-forks, package suite, go test ./internal/api ./internal/daemon -count=1): https://github.com/developing-today-forks/fleet/actions/runs/45251450436
    • scriptview_test.go:1142: worker 1637 survived the call's timeout: the process group was not terminated
  • Fleet run (fleet-personal, single test, -run TestScriptViewCommandTimeoutKillsSpawnedWorkers): https://github.com/dezren39/fleet/actions/runs/45258438959
    • worker 609 survived the call's timeout: the process group was not terminated
  • Local: the same test passes alone (0.5s).
  • The test and scriptview.go are unchanged between origin/main and PR mcpx: pin decision audit vs retained feedback boundary (#13577) #13660, so the failure is not caused by that PR.

Likely cause (unverified)

The test checks syscall.Kill(pid, 0) for the spawned sleep. In a container whose PID 1 does not reap orphans, a killed orphan can remain a zombie, and kill(pid, 0) still succeeds on a zombie. Confirm by checking for zombie state (/proc/<pid>/stat) inside the executor, then either make the test treat zombies as gone, or run the container with an init.

Acceptance

  • TestScriptViewCommandTimeoutKillsSpawnedWorkers passes in the Fleet executor container.
  • Process-group termination behaviour in scriptview.go is unchanged.

Found while completing #13577 (PR #13660).

Refs #13660

Activity

  1. dezren39
    added
    bugSomething isn't working
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    developing-todayBot
    on Nov 23, 2026 – with developing.today
    Contributor
    More actions

    CODE-5028

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Refs #13660 — the PR that completes #13577 is awaiting merge; this issue tracks the separate pre-existing Fleet-container failure found while verifying it.

  4. dezren39
    added a commit that references this issue on Nov 23, 2026

    test(mcpx): treat zombies as gone when a script timeout kills its gro…

    4350044
  5. developing-today
    added
    status:in-review
    on Nov 23, 2026
  6. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Progress — xaltha, 2026-11-23 ~17:20 CST. PR #13842 opened (branch xaltha/13713-mcpx-scriptview-timeout, commit 4350044df).

    Slice: the test treated a zombie as alive. TestScriptViewCommandTimeoutKillsSpawnedWorkers polled syscall.Kill(pid, 0); in a container whose PID 1 does not reap orphans the killed worker stays a zombie and signal 0 keeps succeeding. The test now polls a processExited helper (/proc/<pid>/stat state Z on linux, P_stat == SZOMB on darwin), mirroring internal/e2e's exited. The helper has its own oracle test (alive / killed-unreaped / reaped). scriptview.go is untouched — the process-group termination behaviour is unchanged, satisfying the second acceptance criterion by diff.

    Evidence (remote dispatch, fleet-command.yml fallback — fleet queue dispatch is blocked by TLS defect #13185):

    • Failing-first probe (naive signal-0 impl): both tests FAIL, https://github.com/developing-today/fleet/actions/runs/45283298540 — including the exact symptom, worker 8706 survived the call's timeout, reproduced on the dispatch runner.
    • This branch: both tests PASS with -race -count=1 -v, plus scripts/darwin-compile-check.sh, https://github.com/developing-today/fleet/actions/runs/45284483508.

    Caveat: the pass was observed on the GitHub-hosted dispatch runner (which reproduced the failure), not in a Fleet executor container itself — the executor-container pass is inferred from the zombie mechanism the oracle test pins. If the executor run still fails, the next slice is to look at the executor's PID 1 / init rather than the test.

    Next slice after this PR: none for this issue if the executor run goes green — both acceptance criteria are then met and the issue can close with the executor run as evidence.

  7. dezren39
    closed this as completedin #13834on Nov 23, 2026
  8. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
  9. dezren39
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #13842 from developing-today/xaltha/13713-mcpx-scr…

    521a299
  10. developing-today
    added
    status:in-review
    and removed
    status:done
    on Nov 24, 2026
  11. developing-today
    reopened this on Nov 24, 2026
  12. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Harvest close-out (conductor 01:00 CST cycle): fix PR #13834 MERGED (86bf0df, on origin/main), Fleet executor verification run 45283944829 on main concluded success. Acceptance met. Closing.

  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Closed as implemented.

  14. dezren39
    closed this as completedon Nov 24, 2026
  15. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 24, 2026
  16. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Picked up by conductor — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while conductor posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  17. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 24, 2026
  18. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Completed by conductor (outcome: done). Fix PR #13834 merged (86bf0df on main); follow-up PR #13842 merged; Fleet executor verification run 45283944829 success; issue closed as implemented.

    Disposition: verdict merged_verified, checked_at 2026-11-24T07:06:15Z -- the record below passed the broker's offline disposition gate at completion time.

    {
      "checked_at": "2026-11-24T07:06:15Z",
      "source": "fleet gh readback",
      "issue": {
        "number": 13713,
        "state": "closed",
        "state_reason": "completed",
        "closed_at": "2026-11-24T07:05:24Z",
        "closed_by": "dezren39"
      },
      "pulls": [
        {
          "number": 13842,
          "state": "merged",
          "is_draft": false,
          "merged_at": "2026-11-24T06:14:13Z"
        },
        {
          "number": 13834,
          "state": "merged",
          "is_draft": false,
          "merged_at": "2026-11-23T23:15:49Z"
        }
      ],
      "verdict": "merged_verified",
      "follow_up": null
    }
    
  19. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 24, 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

    bugSomething isn't workingstatus:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.