fix(ci): fix pipeline #366 — web @mosaic/ui build, Dockerfile find bug, event handler types
All checks were successful
ci/woodpecker/push/orchestrator Pipeline was successful
ci/woodpecker/push/web Pipeline was successful

Three root causes resolved:

1. .woodpecker/web.yml: build-shared step was missing @mosaic/ui build,
   causing 10 test suite failures + 20 typecheck errors (TS2307)

2. apps/orchestrator/Dockerfile: find -o without parentheses only deleted
   last pattern's matches, leaving spec files with test fixture secrets
   that triggered 5 Trivy false positives (3 CRITICAL, 2 HIGH)

3. 9 web files had untyped event handler parameters (e) causing 49 lint
   errors and 19 typecheck errors — added React.ChangeEvent<T> types

Verification: lint 0 errors, typecheck 0 errors, tests 73/73 suites pass

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jason Woltje
2026-02-12 17:50:41 -06:00
parent 3b12adf8f7
commit e8a9a3087a
12 changed files with 37 additions and 23 deletions

View File

@@ -180,7 +180,7 @@ export default function CredentialAuditPage(): React.ReactElement {
<Input
type="date"
value={filters.startDate ?? ""}
onChange={(e) => {
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
handleFilterChange("startDate", e.target.value);
}}
/>
@@ -192,7 +192,7 @@ export default function CredentialAuditPage(): React.ReactElement {
<Input
type="date"
value={filters.endDate ?? ""}
onChange={(e) => {
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
handleFilterChange("endDate", e.target.value);
}}
/>

View File

@@ -125,7 +125,7 @@ function TeamsPageContent(): ReactElement {
<Input
label="Team Name"
value={newTeamName}
onChange={(e) => {
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
setNewTeamName(e.target.value);
}}
placeholder="Enter team name"
@@ -136,7 +136,7 @@ function TeamsPageContent(): ReactElement {
<Input
label="Description (optional)"
value={newTeamDescription}
onChange={(e) => {
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
setNewTeamDescription(e.target.value);
}}
placeholder="Enter team description"