The GitHub Actions job "CI" on 
rocketmq-dashboard.git/codex/audit-operator-null-type has failed.
Run started by GitHub user iloveeyjafjalla (triggered by iloveeyjafjalla).

Head commit for run:
857055d59db869a8815acbc9c4844e6ee6191e95 / iloveeyjafjalla <[email protected]>
fix(web): type a missing audit operator as null so the frontend build compiles

`npm run build` is `tsc -b && vite build`, and the audit risk insights test 
merged in #6367 passes
`operator: null` for its "missing operator" case while `AuditRecord.operator` 
is typed as a non-null
string, so the trunk no longer type-checks:

    src/pages/ops/__tests__/auditRiskInsights.test.ts(193,23): error TS2322:
    Type 'null' is not assignable to type 'string | undefined'.

The column is nullable in the schema and every renderer already falls back 
(`issue.operator ?? '-'`,
`record.operator || '-'`, `a.operator ?? ''`), so the type is what went stale, 
not the test.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/38728979207

With regards,
GitHub Actions via GitBox

Reply via email to