Skip to content

analytics dataset query answers 200 with empty rows on a mongodb-bound object, so dashboards show 0 #35666

Open

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgTyMahdAdhXSzgy2nt

Filing gate: ① product defect · Source: fleet · out-of-scope finding of the #35640 measurement (readings 7023666050, kind K8), filed on the seat's order after its fable review. ⛔ Not a claim.

Grade: left to triage. The seat's review suggests p1: a dashboard on a mongodb-bound object shows 0 silently, with no error. Reach: measured through bootStack (the integrated stack os verify boots), not yet under os serve. Reproduce under os serve first.

Business reason

An app whose objects live on a mongodb datasource builds dashboards on them. Every widget reads the analytics dataset door, and it answers success with no rows. The dashboard shows zeros or empty charts, and nothing tells the user the numbers are wrong.

What happens

On a mongodb-bound object holding 3 rows (a real mongod 8.3.7, the real MongoDBDriver), POST /api/v1/analytics/dataset/query answered HTTP 200 with rows: [] for every selection tried. Those were count, count of a field, a filtered count, sum, a derived ratio and difference, a group-by on a select dimension, date and datetime windows ($gte/$lte with date macros), and widget filters eq/$in/$nin/owner_id {current_user_id}. On the same store, GET /data lists 3 rows, engine.count returns 3, and an engine.aggregate group-by returns open 2 / closed 1. The same probe on a memory datasource answered correctly: count 3, Open 2 / Closed 1, sum 10, and 2 rows in each window.

Expected

The analytics dataset door answers a mongodb-bound object with the same rows the engine's own count and aggregate return. If a selection cannot be compiled for mongodb, it refuses with a located error instead of answering empty.

Done when

  • A test against a real mongod answers the dataset door for count, group-by, sum and a date window with the engine's numbers.
  • A selection the driver cannot compile is refused, not answered rows: [].

Who acts: the owner of the analytics dataset door and driver-mongodb (triage routes).
Dedupe: repo:objectstack-ai/objectstack is:issue is:open analytics dataset query mongodb empty rows (2026-11-19 22:2xZ): only #35640 (the verify card where it was found).

Activity

  1. added
    bug
    on Nov 19, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server (service-analytics on a mongodb datasource) · pm:queue; rationale: area:data · Bug · Severe·data wrong (the analytics dataset door answers 200 with empty rows for a mongodb-bound object, so every dashboard widget on it shows 0 with no error) · end users of mongodb-bound apps, daily, but measured only through bootStack → p2 now, measure first as the card asks. On a reproduction under os serve it goes to p1 (severe × end users daily), as the seat's review suggests. area:build → area:data: the fault is in the analytics read path.

  3. added
    domain:server
    pm:queue
    priority:p2
    and removed on Nov 19, 2026
  4. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruling-ref: maintainer 2026-11-20T17:1xZ, verbatim: 「内存驱动,mongodb 驱动,都可以暂停」 (restating the standing freeze anchored on #5499)

    2026-11-20T17:06Z · Paused: pm:queue → pm:on-hold. The empty dataset rows happen on a mongodb-bound object, so this is driver-mongodb work, frozen per #5499. Grade p2 unchanged. It is not dispatched and not chased; it resumes only on his word.

  5. added
    pm:on-hold
    and removed
    pm:queue
    on Nov 20, 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

    area:databugdomain:serverpm:on-holdpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions