Skip to content

Investigate workflow job failing on main: typecheck / typecheck #77106

Description

@github-actions

🚨 Failure Summary 🚨:

  • 📋 Job Name: typecheck / typecheck
  • 🔧 Failure in Workflow: Process new code merged to main
  • 🔗 Triggered by PR: PR Link
  • 👤 PR Author: @DylanDylann
  • 🤝 Merged by: @luacmartins
  • 🐛 Error Message:
    failure: Argument of type '{ chatReportID: string; policyID: string; policyName: string; type: "expense"; total: number; avatarUrl?: string; created?: string; chatType?: ValueOf; hasOutstandingChildRequest?: boolean; ... 51 more ...; pendingFields?: Partial<...> | undefined; }' is not assignable to parameter of type 'string | OnyxInputOrEntry<{ avatarUrl?: string | undefined; created?: string | undefined; chatType?: ValueOf<{ readonly POLICY_ANNOUNCE: "policyAnnounce"; readonly POLICY_ADMINS: "policyAdmins"; ... 7 more ...; readonly SYSTEM: "system"; }> | undefined; ... 55 more ...; nextStep?: ReportNextStep | undefined; } & Off...'.
    failure: 'iouReport' is possibly 'undefined'.
    failure: 'iouReport' is possibly 'undefined'.
    failure: Argument of type '{ onyxMethod: "merge"; key: report_${string}; value: OnyxEntry<{ avatarUrl?: string; created?: string; chatType?: ValueOf; hasOutstandingChildRequest?: boolean; hasOutstandingChildTask?: boolean; ... 53 more ...; nextStep?: ReportNextStep; } & OfflineFeedback<...>>; }' is not assignable to parameter of type 'OnyxUpdate'.
    failure: 'iouReport' is possibly 'undefined'.
    failure: 'iouReport' is possibly 'undefined'.
    failure: 'iouReport' is possibly 'undefined'.
    failure: 'iouReport' is possibly 'undefined'.
    failure: 'iouReport' is possibly 'undefined'.
    failure: 'iouReport' is possibly 'undefined'.

⚠️ Action Required ⚠️:

🛠️ A recent merge appears to have caused a failure in the job named typecheck / typecheck.
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!

Metadata

Metadata

Assignees

Type

No type

Fields

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