Skip to content

Script details: "host didn't respond" message is fleetctl copy that tells you to "Go to Fleet" #55120

Closed

Description

@Brajim20

Fleet versions

Web browser and operating system: Chromium (Playwright) on macOS


💥 Actual behavior

When a live script gets no answer from the host, the Script details modal shows the fleetctl message:

Error: Fleet didn't hear back from the host in under 5 minutes (timeout for live scripts). Fleet doesn't know if the script ran because it didn't receive the result. Go to Fleet and check Host details > Activities to see script results.

The modal opens from the host's Activity card, so the user is already in Fleet, on Host details > Activities. "in under 5 minutes" reads backwards, and "live scripts" isn't a term the UI uses.

🛠️ Expected behavior

Strip out “Go to Fleet and check Host details > Activities to see script results.” from the error message when displayed in the UI.

🧑‍💻 Steps to reproduce

These steps:

  • Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
  • Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
  1. Run a script with POST /api/v1/fleet/scripts/run/sync on a host that's online, and have the host stop responding before it runs the script (e.g. stop fleetd right after sending the request).
  2. Wait 6 minutes.
  3. Open the host → Activity → Upcoming → the info icon on "told Fleet to run a script".

🕯️ More info (optional)

The text is RunScriptHostTimeoutErrMsg (server/fleet/errors.go:555), written for fleetctl's 504 handling in #19680. The modal shows the API's message for this state. It did so through 4.59.0, showed a bare "Error:" from 4.60.0 (#23461 passed output instead), and shows this text again after #54296.

Activity

  1. added
    bug
    ~released bug
    #g-auto-patching
    on Oct 8, 2026
  2. cdcme commented on Oct 15, 2026

    @cdcme
    Member

    @Brajim20 could you fill in the expected behavior? We need it before we can move this out of the Inbox. Thanks!

  3. cdcme commented on Oct 15, 2026

    @cdcme
    Member

    @marko-lisica the "host didn't respond" message on script details is fleetctl copy that ends with "Go to Fleet and check Host details > Activities." What should it say in the UI?

  4. moved this from 📨 Inbox to 🦢 Drafting in ❤️‍🩹 #g-auto-patchingon Oct 15, 2026
  5. marko-lisica commented on Oct 16, 2026

    @marko-lisica
    Member

    @cdcme I just added expected behavior.

  6. moved this from 🦢 Drafting to 🥚 Ready in ❤️‍🩹 #g-auto-patchingon Oct 16, 2026
  7. removed their assignment
    on Oct 17, 2026
  8. self-assigned this
    on Oct 20, 2026
  9. moved this from 🥚 Ready to 🐣 In progress in ❤️‍🩹 #g-auto-patchingon Oct 22, 2026
  10. moved this from 🐣 In progress to 🐥 Ready for review in ❤️‍🩹 #g-auto-patchingon Oct 22, 2026
  11. added this to the 4.95.0 milestone on Oct 23, 2026
  12. moved this from 🐥 Ready for review to ✔️Awaiting QA in ❤️‍🩹 #g-auto-patchingon Oct 23, 2026
  13. Brajim20 commented on Oct 23, 2026

    @Brajim20
    MemberAuthor

    QA Pass — 6/6 checks on main (a9578ef) vs 4.94.0-rc (e996d8b). Host-timeout message on both screens that can show it (host Activity → Upcoming, and Actions → Run script → Show run details), API copy left intact for fleetctl, and the other Script details states.

    # Type Case Pre-fix Fixed
    1 Core Host → Activity → Upcoming → info on a live script the host never answered ❌ reproduced ✅ pointer sentence gone, "doesn't know if the script ran" kept
    2 Core Host → Actions → Run script → Show run details for the same state (saved script) ❌ reproduced ✅ same
    3 Regression GET /api/v1/fleet/scripts/results/{id} still returns the full fleetctl text ✅ ✅ unchanged
    4 Regression Script still pending: "Script is running or will run when the host comes online." ✅ ✅ unchanged
    5 Regression Completed script details (exit code + output) from host Past activity ✅ ✅ unchanged
    6 Halo Dashboard activity feed → "ran a script" details ✅ ✅ unchanged
    Image Image
  14. moved this from ✔️Awaiting QA to ✅ Ready for release in ❤️‍🩹 #g-auto-patchingon Oct 23, 2026
  15. fleet-release commented on Nov 17, 2026

    @fleet-release
    Contributor

    Users already stand
    in Fleet viewing the timeout
    no need to repeat

  16. moved this from ✅ Ready for release to Done in ❤️‍🩹 #g-auto-patchingon Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

#g-auto-patchingbug~released bug

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions