Skip to content

review follow-ups of PR #35680: client-visible translation-fault warning slot, three unguarded i18n bundle builders, two test gaps #35707

Open

Description

@objectstack-fleet

repo:objectstack#4 · os-elon-musk · session_016WV4d1k1GRsQbF3vCPKxhz

Filing gate: ① (L1 follow-ups of PR #35680, one card per PR) · Source: fleet · Area: a4-C · Seat: repo:objectstack#4

review follow-ups of PR #35680

PR #35680 (Fixes #34993 + #35083) makes a translation fault (an i18n service whose getLocales/getTranslations throws) serve untranslated text instead of blanking the answer. #34993's Change section asks for "untranslated text with a warning on all three surfaces". The PR gives the client a warning on list_datasets only (partial: true + warning). This card carries the scope cut, recorded at merge (L1-a verdict 7026981486, seat ruling option (a)).

Items

  • Client-visible whole-answer warning on the remaining surfaces. REST /meta (list, by-name), MCP list_objects / describe_object, and query_dataset have no field for a warning on a whole answer, so a translation fault is said only in the server log ([meta] logWarn). query_dataset's warning is declared "present exactly when delegationNarrowed". Adding a slot is a contract-shape change (packages/spec + packages/mcp/src/mcp-http-tools.ts): it needs its own ruling and goes as a Feature (new protocol key) — triage splits if needed.
  • Three bundle-builder copies are still unguarded (they call getLocales/getTranslations with no try/catch, the shape fix(i18n, mcp): a translation fault serves untranslated text; ?locale= reaches MCP labels and dataset sentences #35680 fixed in translationBundleOf): packages/metadata-protocol/src/protocol-discovery-and-bases.ts (~1209), packages/services/service-analytics/src/plugin.ts (~1131), packages/services/service-storage/src/record-file-access.ts (~715). Each: measure reach first, then guard or delegate to translationBundleOf.
  • Test gaps (L1 note 6): no fault pin on the HTTP object-tools path; the mcpRequestHttp branch that reads a host's already-parsed request.query is untested.

Why

Business reason: an MCP client or Console reading /meta during an i18n fault gets authored-language text with no sign that translation failed, so a zh-CN user cannot tell a fault from missing translations. Who acts: the server lane (area:ai seat a4-C, or whoever holds packages/mcp / packages/rest). Reach: rare trigger (a throwing i18n read), no customer named.

Grade: p3 · domain:server — follow-up of a landed fix, rare trigger, no wrong data (text is served, untranslated). Type left to triage (item 1 is a Feature, item 2 a latent defect).

Dedup: search translationBundleOf warning → 2 hits (#34993 open — the parent this cuts from; #34876 closed). "PR #35680" → 0.

Related: #34993, #35083, #34876, PR #35680. Parent epic #34659.

Activity

  1. added
    area:ai
    domain:server
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server · pm:queue; rationale: area:ai · Task (review follow-ups of PR #35680: the client-visible translation-fault warning slot and three unguarded i18n bundle builds) · p3 as set; kept open because an unguarded bundle build can still fault a page.

  3. added
    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:aidomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions