Skip to content

Investigate workflow job failing on main: test / test (job 8) #85841

Closed

Description

@github-actions

🚨 Failure Summary 🚨:

⚠️ Action Required ⚠️:

🛠️ A recent merge appears to have caused a failure in the job named test / test (job 8).
🔍 This issue has been automatically created and labeled with Workflow Failure for investigation.

👀 Please look into the following:

  1. Why the PR caused the job to fail?
  2. Address any underlying issues.

🐛 We appreciate your help in squashing this bug!

Activity

  1. Julesssss commented on Mar 19, 2026

    @Julesssss
    Contributor

    @MelvinBot investigate and close this issue if it is not related to our change

  2. MelvinBot commented on Mar 19, 2026

    @MelvinBot
    Contributor

    🔍 Investigation Result

    The test failure is NOT related to PR #85574 (the odometer image fix).

    Evidence

    PR #85574 changed only these files:

    • src/CONST/index.ts
    • src/libs/fileDownload/FileUtils.ts
    • src/libs/stitchOdometerImages/index.native.ts
    • src/pages/iou/request/step/IOURequestStepDistanceOdometer.tsx
    • src/pages/iou/request/step/IOURequestStepOdometerImage/index.native.tsx

    These are all related to odometer image encoding (Base64/JPEG MIME type fix). None of them touch or affect the canEditFieldOfMoneyRequest logic.

    The failing tests are:

    1. canEditFieldOfMoneyRequest › move expense › type is expense › should return true for submitter of a distance request for amount and currency fields
    2. canEditFieldOfMoneyRequest › move expense › type is expense › should return true for submitter when there are multiple outstanding reports

    These test money request field editing permissions — a completely separate code path from image encoding.

    Likely cause: PR #84673 ("Remove ONYXKEYS.COLLECTION.REPORT_VIOLATIONS") which modified ReportUtils.ts and CONST/index.ts and was the last PR to affect canEditFieldOfMoneyRequestTest.ts. That PR's removal of report violation logic likely affected the conditions checked by canEditFieldOfMoneyRequest.

    Closing this issue as the failure is unrelated to the triggering PR.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions