You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2026/10/15 12:01:36 UTC

[GH] (rocketmq-dashboard/codex/audit-operator-null-type): Workflow run "CI" failed!

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 <33...@qq.com>
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