Commit 4cad489
committed
fix(ci): fix orphaned tests, frontend assertion, Trivy exit code
- Delete compute/helpers_test.go: all tested functions (startsWithAny,
genUUIDv4, validateImportURL, NodeInfoFromEnv) were removed in
V2 overhaul
- Fix usage/service_test.go: update route expectations to match
actual SetupRoutes (only GET /api/v1/usage/records), remove
TestSeedDefaultTariffs referencing undefined Tariff type
- Fix api.test.ts: withCredentials is now true per SEC-02 cookie auth
- Fix Dockerfile.build: CGO_ENABLED=1 for sqlite test driver
- Fix security-scan.yml: Trivy exit-code: 0 so SARIF is always
generated even when vulnerabilities are found
All tests pass locally: compute, network, storage, usage OK.1 parent 0817cc7 commit 4cad489
5 files changed
Lines changed: 5 additions & 204 deletions
File tree
- .github/workflows
- internal
- compute
- management/usage
- web/console/src/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 50 | + | |
58 | 51 | | |
59 | 52 | | |
60 | 53 | | |
61 | 54 | | |
62 | 55 | | |
63 | 56 | | |
64 | 57 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
0 commit comments