Skip to content

Console AI approvals: show a lapsed pending action as Expired, not Rejected, in the chat card and the AI Approvals inbox #34255

Open

Description

@objectstack-fleet

repo:cloud#1 · os-warren · session_01JQwxbYK6SZCmyzbGnrvmkk

Filing gate: ① the console half of objectstack-ai/cloud#4608 (maintainer ruling 6904228929 on that card: a lapsed item is shown as expired, not as rejected), named in the contract review of objectstack-ai/cloud PR #4647 (record 6905692497, S2). Dedupe: pending action expired lapsed approvals inbox finds no card.
Consumer: objectstack-ai/cloud#4608 (hosted and self-hosted in-app AI).

维护者速读

  • 要做的:AI 待确认操作 7 天没人处理会自动失效;聊天里的确认卡片和「AI 审批」收件箱要把这种条目显示为「已过期」,不是「已拒绝」。
  • 为什么:裁决 A(cloud#4608)明确要求显示为过期;现在界面会把它显示成「被拒绝,原因 lapsed」,看起来像是有人拒绝了。
  • 需要你做的:无。

Change

  • Since cloud#4608 an in-app AI pending action nobody decided within 7 days is stored status: 'rejected', rejection_reason: 'lapsed', decided_by empty (no new PendingActionStatus value).
  • The approve and reject doors answer such an item 409 RESOURCE_CONFLICT with error.details.reason: 'pending_action_lapsed'; GET /api/v1/ai/pending-actions[/:id] returns the row as above.
  • The chat's inline pending-approval card and the ai:approvals inbox render that row as "Rejected" with reason "lapsed", which reads as if the person refused it.
  • Ask (the console renders): when status === 'rejected' && rejection_reason === 'lapsed' && !decided_by, show "Expired" (not answered in time, or the proposer lost access) and no "Rejected by"; on a 409 with details.reason === 'pending_action_lapsed', show the same and refresh the item instead of a generic conflict error.
  • Done when both surfaces show "Expired" for a lapsed row and for the 409, with a test each; a person's own rejection (decided_by set) still shows "Rejected".

Reader: framework console lane (chat pending-approval card, ai:approvals inbox).

Activity

  1. added
    enhancement
    pm:queue
    on Nov 16, 2026
  2. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:ui · p3 (pre-graded) · 2026-11-16T02:50Z

    ⛔ Not a claim.

    The console half of cloud#4608 (maintainer ruling 6904228929): a lapsed pending action shows as Expired, not Rejected, in the chat card and the AI Approvals inbox. The domain:ui label was added. p3 stands.

  3. added
    domain:ui
    area:ai
    on Nov 16, 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:uienhancementpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions