Skip to content

Remove Onyx.connect() for the key: ONYXKEYS.ONYX_UPDATES_LAST_UPDATE_ID_APPLIED_TO_CLIENT in src/libs/actions/Session/index.ts #67789

Closed

Description

@danieldoglas

This is part of deprecating Onyx.connect. Parent Issue

Details

  • Module: src/libs/actions/Session/index.ts
  • Onyx Key: ONYXKEYS.ONYX_UPDATES_LAST_UPDATE_ID_APPLIED_TO_CLIENT
  • Reference: Line 522: ONYXKEYS.ONYX_UPDATES_LAST_UPDATE_ID_APPLIED_TO_CLIENT

Be sure to refactor methods using test driven development:

  1. Create a unit test for methods before refactoring
  2. Refactor the methods
  3. Ensure the unit test still runs after refactoring
  4. Reinforce the unit testing with a functional test and a QA test
  5. Once you are done, decrease the number of allowable ESLint warnings here to equal the number of Onyx.connect references remaining in the code

Activity

  1. self-assigned this
    on Aug 4, 2025
  2. added
    ImprovementItem broken or needs improvement.
    BugSomething is broken. Auto assigns a BugZero manager.
    on Aug 4, 2025
  3. danieldoglas commented on Aug 4, 2025

    @danieldoglas
    ContributorAuthor

    Warning

    DO NOT POST PROPOSALS ON THIS ISSUE!!

    Bug-Zero Instructions

    • This issue is CLOSED for proposals
    • It is a special issue and part of a bigger project
    • A contributor will be manually assigned to work on this issue and they do not need to submit a proposal
    • The bug-zero person only needs to take care of payments to the contributor for the PR and the C+ for reviews
    • There do not need to be any regression tests added or updated since this is only refactoring and shouldn't change any existing functionality
  4. melvin-bot commented on Aug 4, 2025

    @melvin-bot

    Triggered auto assignment to @kadiealexander (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  5. kadiealexander commented on Sep 9, 2025

    @kadiealexander
    Contributor
  6. DylanDylann commented on Sep 9, 2025

    @DylanDylann
    Contributor

    will be worked on soon

  7. danieldoglas commented on Oct 13, 2025

    @danieldoglas
    ContributorAuthor

    not overdue

  8. kadiealexander commented on Nov 18, 2025

    @kadiealexander
    Contributor

    Not overdue.

  9. DylanDylann commented on Dec 4, 2025

    @DylanDylann
    Contributor

    @kadiealexander @danieldoglas This is invalid now, please close this issue

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringImprovementItem broken or needs improvement.MonthlyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions