Skip to content

Investigate PENDING-PAID root cause #31337

Closed

Description

@severinbeauvais

Bootstrap and maintenance filings seem to be in PENDING status longer than previously -- users are seeing their submitted filing in the To Do list as PENDING far more frequently than before, especially in Test environment.

This ticket is to investigate the root cause for this increased time in pending and come up with ideas to improve this situation.

Activity

  1. added
    Entities Team
    on Nov 18, 2025
  2. severinbeauvais commented on Nov 18, 2025

    @severinbeauvais
    CollaboratorAuthor

    FYI for now.
    Olga will let you know the priority of this ticket.

  3. severinbeauvais commented on Nov 20, 2025

    @severinbeauvais
    CollaboratorAuthor

    After a lengthy chat in Team with @seeker25 , @Mihai-QuickSilverDev and @vysakh-menon-aot , the following was theorized:

    • a queue message was being received before an HTTP call was responded to
    • this leads to an initial "filing not found"
    • the retry period was fairly long (eg, 13 seconds)
    • this leads to the filing's "payment completed but still pending" status lasting longer than ideal, and users being likely to see their filing still in the To Do list

    Per Travis:

    Http request -> fire invoice paid queue message (potentially being received before there is a row which is why the queue message fails in try #1) -> http response

    Travis suggests the following possible fixes:

    1. updating the Retry Policy minimum backoff (eg, to 2 seconds)
    2. updating business-pay to retry in a loop (related to 1 but loops are not a great idea here)
    3. pay-api changes

    For now, the Minimum Backoff Duration for Dev/Test/Prod has been lowered to 4 seconds.

    This value might need to be updated for Names, too. cc @davemck513

    FYI, @bolyachevets

  4. seeker25 commented on Nov 20, 2025

    @seeker25
    Contributor
    1. Is the solution going forward for now and already implemented on DEV/TEST/PROD and updated for Names queue as well
    2. I don't suggest implementing the retry - the alternative should be the row should exist before processing and not rely on pay-api response but would require entities time to fix (Argus and Vysakh are aware)
    3. Not viable this wont do anything because of TCP delay
  5. severinbeauvais commented on Nov 20, 2025

    @severinbeauvais
    CollaboratorAuthor

    Thanks, Travis!

  6. changed the title [-]Investigate PENDING root cause[/-] [+]Investigate PENDING-PAID root cause[/+] on Nov 20, 2025
  7. severinbeauvais commented on Nov 20, 2025

    @severinbeauvais
    CollaboratorAuthor

    @Mihai-QuickSilverDev , please add a comment based on your testing. If this is adequately resolved for now then we can close this ticket. Thanks!

  8. mstanton1 commented on Jul 13, 2026

    @mstanton1
    Collaborator

    @Mihai-QuickSilverDev it seems that this was adequately resolved. Do you recall if this can be closed?

  9. Mihai-QuickSilverDev commented on Jul 14, 2026

    @Mihai-QuickSilverDev
    Collaborator
    • Fix implemented by Travis was satisfactory, and took away about 90% off the brunt of this issue.
    • This ticket can be safely crossed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities TeamPriority3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions