zmuxuny opened a new pull request, #6728: URL: https://github.com/apache/rocketmq-dashboard/pull/6728
### Which Issue(s) This PR Fixes Small test-only CI repair; no separate issue. ### Brief Description Keep the intentional null-operator regression fixtures while making their type escape explicit. AuditRecord.operator is declared as string, so two direct null overrides fail TypeScript even though runtime regression tests pass. A documented, local `null as unknown as AuditRecord['operator']` fixture preserves the exact runtime inputs and assertions without broadening the production API type or changing behavior. One test file, +4/-2 lines. No production or workflow changes. This shared trunk error blocks frontend build and Docker jobs for #6381 and #6648: - https://github.com/apache/rocketmq-dashboard/actions/runs/38719805262/job/116371285358 - https://github.com/apache/rocketmq-dashboard/actions/runs/38719613036/job/116370653702 The separate backend duplicate-import failure is already fixed by #6724 and is not changed here. ### How Did You Test This Change? Base: `7d8f19363c1d47bf689a2bb2904f2aa095c7ac8a`. Published head: `15eaed37aca756dc974377e68c0d41494bd4ddbc`. - Unmodified trunk reproduces TS2322 at auditRiskInsights.test.ts:193 and :195. - Final audit model/component suites: 16 tests passed, preserving the null regression. - Full `tsc -b` passed after the final rebase. - Changed-file ESLint and `git diff --check` passed. - Vite bundle and license check passed on the exact published tree (132 components/139 license files). No tests removed or weakened. AI assistance was used for implementation and validation. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
