Skip to content

应用里「新建报表」保存时不带软件包,而新建视图会带上应用的包:两条路径对同一操作做法不一致 #37261

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

④ sub-issue of #36890 · Source: #36906's os-dev report 7157110199, open question 1. Seat repo:objectstack#4 ruled 「A for this card; file the B card」: two paths for one operation disagree, so the report side follows the view rule. Part of #36890.

维护者速读

What

Done when

  • A report made from any app's New lands in the same package a view made there would, and Studio's report list shows it.

Notes

Activity

  1. added
    priority:p2
    pm:blocked
    domain:ui
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    First touch 2026-11-25T09:33Z. Bug: two paths for one operation disagree. area:ux · domain:ui · p2 · S · pm:blocked on #36906 (PR #37226) are kept, and the card is linked under #36890. It goes to seat 4 on unlock. Line form below, so the unlock scan reads it.

    Blocked-by: #36906

  3. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: unblocked 2026-11-25T13:37Z

  4. added
    pm:queue
    and removed
    pm:blocked
    on Nov 25, 2026
  5. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Claim: PM loop round 3
    Session: session_01QSeKYkkwuF6UuFtu85Yd5H
    Account: os-justin
    Branch: claude/issue-37261-app-new-report-package
    Worktree: cloud session (its own container)
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-S
    File surface: ui/packages/app-shell/src/views/**/ReportNewPage.tsx (the app's own New leg) and its tests, resolveRuntimeCreatePackage's warning text, a changeset. ⛔ No change to existing reports' storage; no route change (stop on breach; explain in the report)
    Container & model: S, mode:cloud, model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate", effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7164079045
    Premise: holds (read on origin/main 2d18ba82). #36906 (PR #37226) has landed with the Studio leg (resolveRuntimeCreatePackage + saveAndPublishInPackage on the page opened from Studio). The app's own New still saves package-less, and its pin says so.
    Pre-claim lane: repo:objectstack seat 4 zone a4-S (sub-issue of epic #36890; seat ruling on #37226 Q1: A for that card, B filed as this card; cap 3)
    Pre-claim deps: none open.
    Prior rulings read: seat 4's Q1 ruling on #37226 (filed B as this card), ruling C (a view saved into the app's package).
    Serial constraints cleared: no open zone PR touches ReportNewPage.tsx.
    Size: S.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 25, 2026
  7. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Finalized head for L1 · 2026-11-26T00:41Z · baa9e0e0 · zone a4-S (#37261 → PR #37357)

    • PR: opened by seat repo:objectstack#4 under the maintainer's 「应用里「新建报表」保存时不带软件包,而新建视图会带上应用的包:两条路径对同一操作做法不一致 #37261 开 PR 放行」. The dev session's own relay writes, pr_create and the os-dev-report, were refused by its classifier and never sent, so there is no report comment on this card.
    • Report of record: the dev session session_01QSeKYprGz1KcPK6n5ZfCZQ's final messages, summarised here.
      • Code (3 files): ReportNewPage.tsx, ReportNewPage-36692.test.tsx and a changeset. The app's own new-report save now follows the views' rule: the app's package when it is writable, the .custom pair through the ensure door when it is read-only, and package-less only where views fall back. The report.builder.savedOutsideApp notice shows on that fallback from either way in. Existing reports are not moved. No string changed.
      • Tests: 16/16. Three new pins (writable → P; read-only → P.custom; CONTROL: a refused ensure door → package-less save, notice, and a warning naming report). The old outside-Studio package-less pin is replaced on purpose. Each of the three ablations turns its pins red.
      • Merge round: origin/main merged at 00:2xZ (24 commits, no conflicts); the delta against main is still the same 3 files. At baa9e0e0: 16/16, app-shell type-check exit 0 (both programs), check:test-source-alias 0, check:i18n-keys 0, overlap-check clean.
    • CI on baa9e0e0, newest run of each: 38 success, 13 skipped, 0 failed.
    • Size: +93 / −21, 3 files. check-governed-merges.mjs --pr 37357: not governed and under 3,000, so not Tier H. K: 3 behind main; merge-tree is clean.
    • Clause-②: no, Metadata-protocol: none. The head is frozen now.
  8. removed
    pm:dispatched
    on Nov 26, 2026
  9. added a commit that references this issue on Dec 1, 2026
    9ffe371
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions