Skip to content

[HOLD for payment 2023-09-04] [$1000] Fix require cycle from subscribeToReportCommentPushNotifications #24174

Description

@arosiclair

Action Performed:

Run the app on Android

Expected Result:

No warnings about a require cycle

Actual Result:

A warning for a require cycle occurs.

WARN  Require cycle: src/libs/actions/Session/index.js -> src/libs/Notification/PushNotification/subscribeToReportCommentPushNotifications.js -> src/libs/Notification/PushNotification/backgroundRefresh/index.android.js -> src/libs/actions/App.js -> src/libs/actions/Session/index.js

Workaround:

None

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @arosiclair
Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01e26d73a28da0cafc
  • Upwork Job ID: 1687585347865071616
  • Last Price Increase: 2023-08-17
  • Automatic offers:
    • dukenv0307 | Contributor | 26197726

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions