Skip to content

[Due for payment 2026-10-14] [Release 5] [App] Replace Delete with Archive behind the archivePolicies beta #97123

Open

Description

@rlinoz

Behind the archivePolicies beta:

  • Replace the Delete menu item with Archive at the WorkspaceRowThreeDotsMenu and WorkspaceOverviewPage entry points (archive icon, workspace.common.archive label).
  • Point Archive at a flow modeled on DeleteWorkspaceFlow that calls a new archivePolicy action invoking the ArchivePolicy command.
  • Keep the card confirmation copy and reuse the existing pre-checks (Invoicify block, outstanding-balance guard, bill calculation, pay-and-downgrade).

Design doc: https://docs.google.com/document/d/1M4-F4gR2GPfjlr3EoKu-8byVBwoYMPexwl6ttYZkb8U/edit
Tracking issue: https://github.com/Expensify/Expensify/issues/646296

Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. truph01 commented on Aug 7, 2026

    @truph01
    Contributor

    @rlinoz I'm working on PR #98029, which uses ArchivePolicy API.

    When will ArchivePolicy be available so I can test the full archived policy flow?

  2. truph01 commented on Aug 11, 2026

    @truph01
    Contributor

    @rlinoz Could you check my comment above?

  3. rlinoz commented on Aug 11, 2026

    @rlinoz
    ContributorAuthor

    Sorry for the delay, I will try to get to the archive command next week. There are some ongoing discussions about it.

  4. truph01 commented on Aug 17, 2026

    @truph01
    Contributor

    @rlinoz Do you have any updates on it?

  5. rlinoz commented on Aug 19, 2026

    @rlinoz
    ContributorAuthor

    Not yet, we sorted things out, I need to update the doc and get someone writing the backend.

  6. rlinoz commented on Aug 25, 2026

    @rlinoz
    ContributorAuthor

    We started movin towards having the command btw, still will take some time though.

  7. rlinoz commented on Sep 15, 2026

    @rlinoz
    ContributorAuthor

    FYI ArchivePolicy should get deployed today to staging

  8. added and removed on Sep 15, 2026
  9. 23 remaining items

  10. daledah commented on Oct 12, 2026

    @daledah
    Contributor

    BugZero Checklist:

    • [Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

      Link to the comment on the PR: N/A

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

      Link to discussion:

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue: https://github.com/Expensify/Expensify/issues/692727

    Regression Test Proposal

    Precondition:

    Test:

    1. Open "workspaces" tab
    2. Click on three dot button in any workspace where user is owner
    3. Verify the "Archive workspace" option is shown
    4. Click on "Archive workspace" option > Click "CTA button" > Verify the workspace is archived successfully

    Do we agree 👍 or 👎

    Zapier Logs Run ID: 00040eee-818e-a894-cfef-2844e700a1d4
  11. melvin-bot commented on Oct 13, 2026

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  12. melvin-bot commented on Oct 13, 2026

    @melvin-bot

    Payment Summary

    Resolving PRs:

    BugZero Checklist (@mallenexpensify)

    • I have confirmed assignees, roles, and Upwork contracts look correct
    • I have paid out Upwork contracts / manual NewDot requests
    • [BugZero Assignee] I have created a GH issue for creating/updating the regression test once above steps have been agreed upon
  13. melvin-bot commented on Oct 16, 2026

    @melvin-bot

    @mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  14. mallenexpensify commented on Oct 16, 2026

    @mallenexpensify
    Contributor

    Deploy Blocker #103290 was identified to be related to the PR #98029 that attempted to fix this issue.

    @daledah this issue and/or PR mention a deploy blocker or a regression. Before the payment date, post one of the three options in step 20 of the C+ doc: it was a regression, it was not, or you did not review the offending PR. If you don't post, the default is to reduce payment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions