Skip to content

Reports: a host returning more than 1,000 rows stores nothing and the report isn't marked clipped #58658

Open

Description

@xpkoala

Fleet versions

  • Discovered: rc-minor-fleet-v4.95.0 (f231ce6)

Web browser and operating system: Chromium (Playwright) on macOS; also seen via the API


💥 Actual behavior

When one host returns more than 1,000 rows for a scheduled report, Fleet saves none of that host's results and the report isn't marked as clipped. The report page says "Nothing to report yet. This report has returned no data so far", and GET /api/v1/fleet/reports/:id/report returns "count": 0, "report_clipped": false, even though the host ran the report and sent its results. An admin can't tell the report ran.

Most likely to come up with wide inventory reports, e.g. a scheduled SELECT … FROM amcache_application_files (fleetd 1.64), which returned 1,544 rows on a lightly used Windows 11 VM.

🛠️ Expected behavior

The report shows that this host's results weren't saved, as it does for a report that's over the report cap: the "Report clipped" banner and report_clipped: true. (Whether to keep the first 1,000 rows or none is a product call.)

🧑‍💻 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. Create two reports with Store data on (interval 2 min), targeting a fleet with one online host:
    • WITH RECURSIVE n(x) AS (SELECT 1 UNION ALL SELECT x+1 FROM n WHERE x < 1000) SELECT x FROM n;
    • the same with x < 1001
  2. Wait for both to run, then open each report.
  3. The 1,000-row report shows "1,000 results". The 1,001-row report shows "Nothing to report yet" and no clipped banner.

🕯️ More info (optional)

Activity

  1. added
    bugSomething isn't working as documented
    ~released bugThis bug was found in a stable release.
    on Nov 13, 2026
  2. self-assigned this
    on Nov 13, 2026
  3. moved this from 📨 Inbox to 🐥 Ready for review in 🪄 #g-orchestrationon Nov 13, 2026
  4. lucasmrod commented on Nov 13, 2026

    @lucasmrod
    Member

    This is undocumented but expected behavior. Thus I've opened #58668.

  5. added this to the 5.0.0 milestone on Nov 13, 2026
  6. added a commit that references this issue on Nov 13, 2026
    37e2837
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

#g-orchestrationOrchestration product groupbugSomething isn't working as documented~released bugThis bug was found in a stable release.

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions