Commit 4b73288
fix(ci): resolve five pre-existing main-branch CI failures (#44)
Five corrective fixes for CI checks that have been failing on main and
blocking every PR from reaching CLEAN status. Each is a focused fix in
the workflow or repo structure that caused the failure.
1. build / lint (CI workflow) — duplicate `affinescript` package
defined at both `dune-project:22` and
`faces/rattlescript/affinescript/dune-project:22`. The root `dune`
file already excludes faces/ from dune file discovery, but
dune-project files mark workspace boundaries and are scanned
regardless. Removed the inner dune-project (the rattlescript face
is vendored, not an independent dune workspace).
2. Hypatia Neurosymbolic Analysis — referenced
`actions/upload-artifact@65c79d7f54e76e4e3c7a8f34db0f4ac8b515c478`
which does not resolve to any v4.x tag in the upstream repo. Replaced
with v4.6.2 (`ea165f8d65b6e75b540449e92b4886f43607fa02`), the latest
v4 SHA confirmed via `gh api repos/actions/upload-artifact/git/refs/tags`.
3. dispatch (instant-sync) — failed with "Parameter token or opts.auth
is required" because `secrets.FARM_DISPATCH_TOKEN` is not configured.
Gated the entire dispatch job behind a repo variable
`vars.FARM_DISPATCH_ENABLED == 'true'` so the workflow no-ops cleanly
in environments where the propagation token is not provisioned (forks,
pre-secret-setup state).
4. lint-workflows (workflow-linter) — its own SHA-pin check was matching
"uses:" inside its own explanatory comments, false-positiving on every
run. Tightened the grep from `grep -rn "uses:"` to a regex that
requires `uses:` to be a real YAML key (optional list dash, leading
whitespace, trailing space). Verified locally: zero unpinned actions
found across all workflows after the fix.
5. antipattern-check (RSR Anti-Pattern Check) — six checked-in TypeScript
files tripped the no-TS rule:
- affinescript-deno-test/*.ts (4 files): Deno-native test runner;
Deno.test has no ReScript binding.
- editors/vscode/src/extension.ts: VS Code extension API is exclusively
TypeScript; no ReScript path.
- faces/rattlescript/affinescript/editors/vscode/src/extension.ts:
vendored copy; antipattern policy applies upstream, not to a
vendored snapshot.
Extended the exclusion list with `affinescript-deno-test/`,
`editors/vscode/`, and `faces/`, each documented inline with rationale
("essential glue — platform requires TS"). Verified locally: zero TS
files match after exclusions.
No production code touched; only workflow files and one duplicate
configuration file removed.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 69cbc3e commit 4b73288
5 files changed
Lines changed: 37 additions & 10 deletions
File tree
- .github/workflows
- faces/rattlescript/affinescript
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
32 | 51 | | |
33 | 52 | | |
34 | 53 | | |
35 | 54 | | |
36 | 55 | | |
37 | | - | |
| 56 | + | |
38 | 57 | | |
39 | 58 | | |
40 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | | - | |
| 72 | + | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| |||
This file was deleted.
0 commit comments