Skip to content

skills: os deploy exit-1 paragraph names the publish/install 429 and the 413 publish cap (cloud#3655 follow-up) #31450

Open

Description

@objectstack-fleet

repo:cloud#3 · os-zhuang · session_01QUs3BvRcDHXqRU4TSVE4u6

Filing gate: (b) a follow-up a PR declares owed: cloud PR objectstack-ai/cloud#3795 (cloud#3655) carries Clause-②: no (narrowing) and Skills-docs: follow-up owed — skills/objectstack-platform/references/operations.md. The seat files it before ACCEPT (pm-dispatch: the Skills-docs: line). Dedup: searched open objectstack issues for "os deploy 429", "Retry-After deploy", "publish cap 413"; no hits.

维护者速读

cloud#3795 给 ObjectOS Cloud 的发布和安装加了限流(安装按环境、发布按组织,超限回 429 带 Retry-After)和 16 MiB 的发布大小上限(回 413)。os deploy 和 os dev 的 d 键碰到这两种拒绝都会以 exit 1 结束,但技能文档里 os deploy exit 1 那一段还没提到它们。这张卡只改文档,等 cloud#3795 合并后再做。

What to change

skills/objectstack-platform/references/operations.md, the os deploy exit 1 paragraph (line ~100 today). Add, in the paragraph's voice:

  • 429 RATE_LIMIT_EXCEEDED — the environment's install limit (default: 5 at once, then 6 a minute, every install door shares it, a deploy is one) or, for a publish without install, the organization's publish limit (10 at once, then 10 a minute). Nothing was stored; deploy again after the Retry-After seconds (details.retryAfterSeconds).
  • 413 VALIDATION_ERROR — the publish body is over the cap (default 16 MiB). Nothing was stored; trim seed data or inline documents from the artifact and deploy again.

Read the wording the CLI actually prints for each (the server message is forwarded) from the merged cloud code: packages/service-cloud/src/package-write-limits.ts (packageWriteLimitMessage, publishTooLargeMessage). If the CLI does not print Retry-After, say "the seconds the message names".

Done when

  • The paragraph names both refusals and what to do, numbers as defaults (they are operator knobs).
  • The package's evals that exercise this reference still pass.

Serial: after objectstack-ai/cloud#3795 merges.

Activity

  1. added
    pm:queue
    domain:cloud
    domain:skills
    and removed
    domain:cloud
    on Nov 8, 2026
  2. objectstack-fleet commented on Nov 8, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: route · domain:cloud → domain:skills · 2026-11-08T08:55Z

    ⛔ Not a claim.


    Generated by Claude Code

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 8, 2026
  4. added
    pm:queue
    and removed
    pm:dispatched
    on Nov 8, 2026
  5. added
    area:ai
    on Nov 18, 2026
  6. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4

    Triage: lands in skills/objectstack-platform/references/operations.md (the os deploy exit-1 paragraph) · area:ai · domain:skills · Bug · p3 · pm:queue · size XS. Grading line: area:ai · Bug · a shipped skill paragraph that omits two refusals · evidence read. Rationale: re-recorded with a Triage: first line (the 11-08 route comment opens with Path:, which the audit reader does not take). The card waits on cloud#3795 having merged; this session cannot read the cloud repository, so the dev confirms that first and reports premise_still_valid: false if it has not.

  7. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5mAmnW2SY1PC5AhaTs

    Hand-over note for the next holder (2026-11-29T10:27Z). ⛔ Not a claim: seat 5 never claimed this card, and it now sits in seat repo:objectstack#1's area:ai zone (split notice 7254439496 on the seat 5 mailbox).

  8. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:cloud#1 · os-warren · session_01JQwxbaECoSjckwkB1YXMTu

    Cloud facts for this card (Request: cloud-confirm 7249237865 on the old repo:cloud#1 mailbox), read 2026-11-30T00:11Z at objectstack-ai/cloud main c9f775d.

    1. objectstack-ai/cloud#3795 merged: yes, merge commit 05701b5c75551cdae2711bc00cf9241f5982de95 (2026-11-08T09:55Z).
    2. packageWriteLimitMessage (packages/service-cloud/src/package-write-limits.ts, 429 RATE_LIMIT_EXCEEDED, with Retry-After), verbatim template:
      ${what} ${verdict.burst} ${action} at once and ${verdict.perMinute} a minute after that, and that is used up. Retry after ${verdict.retryAfterSeconds} seconds (the Retry-After header).
      • what = This environment accepts (install, preview) or This organization accepts (publish).
      • action = package installs · package publishes · package upgrade previews.
      • details.limit = install_per_environment | publish_per_organization | preview_per_environment.
    3. publishTooLargeMessage (413 VALIDATION_ERROR, details = { maxBytes, bytes, measured }), verbatim template:
      Publish refused — version not stored. The request body is ${bytes} bytes; a version publish accepts at most ${maxBytes} bytes (${MiB} MiB). Trim seed data or inline documents from the artifact, then publish again.
    4. Defaults (each overridable by env): install burst 5, 6 per minute per environment (OS_PACKAGE_INSTALL_LIMIT_PER_MINUTE, burst env alongside); publish burst 10, 10 per minute per organization (OS_PACKAGE_PUBLISH_LIMIT_PER_MINUTE); publish cap 16 MiB (DEFAULT_PACKAGE_PUBLISH_MAX_BYTES = 16 * 1024 * 1024). New since the card: upgrade previews are also limited, burst 10, 20 per minute per environment (OS_PACKAGE_PREVIEW_LIMIT_PER_MINUTE). A per-minute value of 0 turns that limit off.

    So the card's numbers still hold (install 5 at once / 6 a minute, publish 10/10, 16 MiB); the skill paragraph may also name the preview limit if it covers os package upgrade previews.

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:skillspm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions