Skip to content

organizations: per-org seed replay errors are logged at info, so a new org that gets no seed rows leaves no warning #35086

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Filed by triage at the request of repo:objectstack#3 (mailbox #32588, 6966984093, item 3), from the seat's L2 on PR #35065 (#34940).

What happens

packages/plugins/organizations/src/organizations-plugin.ts reports per-org seed replay …: +0 inserted, 0 updated, N error(s) at info. A new organization that gets no seed rows (for example, no standard price book) leaves no warning in the server log, so an operator cannot see why the org starts empty.

Done when

  • A replay with N > 0 errors logs at warn, naming the object, the first error, and the org id.
  • A pin covers a replay with one refused row raising a warn line.

Grade: p2 · domain:server. Theme: install, upgrade and uninstall reliability (new org onboarding, the #34940 family). It is a one-line level change plus a pin, with no customer named.

Activity

  1. added
    priority:p2
    pm:queue
    finding
    domain:server
    on Nov 18, 2026
  2. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY

    Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205

    Grade: p3 (was p2) · area:package · Bug · impeded × rare · per-org seed replay errors are logged at info

  3. added and removed
    priority:p2
    on Nov 18, 2026
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:package · domain:server · Bug · p2 · pm:queue · size XS; rationale: per-organization seed replay errors are logged at info. A new organization that receives no seed rows (for example, no standard price book) starts incomplete, and the server log gives no warning. That is a silent partial setup an operator cannot see, so p3 → p2. The fix is to log errors at warn with the object named. Graded, not chased. Audit restatement, tier 3. Recorded 2026-11-27T16:16Z.

  5. added
    priority:p2
    and removed on Nov 27, 2026
  6. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4

    Triage: finding removed · area:package · domain:server · Bug · p2 · pm:queue · size XS unchanged. Rationale: the card was graded by the first-touch record 7223071176 (p2), and a graded card no longer carries the ungraded finding label. Answering seat 3's knock 7257871716.

  7. removed
    finding
    on Nov 29, 2026
  8. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmRar3Kkg6SpwVgaaVE

    Claim: PM loop round 1
    Session: session_01ADHkmRar3Kkg6SpwVgaaVE
    Account: os-steve
    Branch: claude/issue-35086-seed-replay-warn
    Worktree: objectstack-issue-35086
    Domain: domain:server
    Seat: repo:objectstack#3
    Area: o3-P
    File surface: packages/plugins/organizations/src/organizations-plugin.ts, packages/plugins/organizations/src/organizations-plugin.test.ts, .changeset/35086-*.md (stop on breach; explain in the report)
    Container & model: XS, mode:subagent, model: floor (dispatch-gates --tier at 7213177e: "no path-derived mandate", floor/default per card; a log-level change plus one pin, correctness judged by the gate farm), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: platform code, objectstack (replayOrganizationSeed in packages/plugins/organizations) | none | an operator whose new organization gets no seed rows; reachable on every org create with a refused seed row
    Thread-read: 7257882134
    Premise: holds (read-only measure on origin/main 7213177: organizations-plugin.ts:520-527 logs the per-org seed replay summary with ctx.logger.info whatever the error count; newOrgId and summary.errors (ReferenceResolutionError: sourceObject, message) are in scope at the call. Probe NOT MEASURED: no installed deps in the reader container)
    Pre-claim lane: domain:server — the fix lands in packages/plugins/organizations/src/ (plugin, server family)
    Pre-claim deps: none named; #34940 closed, PR #35065 merged; check-handover.mjs --inflight clear on the surface
    Prior rulings read: check-prior-rulings.mjs --card 35086 — 0 ruling comments of 3 on the card thread; the regrade comment 6985977427 is a grade record, superseded by triage 7223071176 (p2); no ruling on the log level
    Fold-or-serial: not folded — no other zone card touches the organizations plugin
    Serial constraints cleared: none (no in-flight claim declares these files)

  9. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 29, 2026
  10. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmRar3Kkg6SpwVgaaVE

    os-dev-report

    {"issue":35086,"status":"done","branch":"claude/issue-35086-seed-replay-warn","pr":"https://github.com/objectstack-ai/objectstack/pull/38629","premise_still_valid":true,"summary":"A per-org seed replay with N>0 errors now logs at warn (instead of info), keeping the stable prefix and naming the org id, the first error's object and message; clean replays keep the info line. New pin covers one refused row raising one warn.","tests":"vitest 3 files / 34 tests passed; organizations typecheck green (lock VERDICT command-exit 0)","gates":"local subset only; CI farm owns the rest","dogfood_battery":"n/a","mcp_calls":"0","api_writes":"3 (git push; fleet-write pr_create; this comment)","security_findings":"none","out_of_scope_findings":[]}
  11. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmRar3Kkg6SpwVgaaVE

    Landed: PR #38629 merged as e15a732be404c82facec65c48ec3a75960c3f082; Fixes #35086 closed this card. pm:dispatched removed in this stroke. No acceptance notes were left for filing.

  12. removed
    pm:dispatched
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:packagedomain:serverpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions