Skip to content

chore(ci): remove stale tooling and enforce working repo checks - #465

Draft
jackchuma wants to merge 4 commits into
mainfrom
toshi/contracts-ci-tooling-cleanup-19f1ab87
Draft

jackchuma wants to merge 4 commits into
mainfrom
toshi/contracts-ci-tooling-cleanup-19f1ab87

Conversation

@jackchuma

@jackchuma jackchuma commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

Removes broken OP monorepo leftovers from the justfile, scrubs internal RPC hostnames from the multiproof README, and runs the repo's existing working checks in CI.

Changes

  • justfile: removes targets whose backing scripts or paths don't exist in this repo: reinitializer-check, reinitializer-check-no-build, unused-imports-check, unused-imports-check-no-build, validate-deploy-configs, semgrep-test-validity-check, semgrep, semgrep-test, deploy, toc. just check now runs lint-check, size-check (which builds first, so the no-build checks have artifacts), snapshots-check-no-build, validate-spacers-no-build and go test ./.... It exited 1 on main before this change.
  • .github/workflows/test.yml: adds go test ./..., just size-check, just snapshots-abi-storage-no-build followed by a git status --porcelain --untracked-files=all check on snapshots/abi and snapshots/storageLayout, which fails on changed or newly generated snapshots, and just validate-spacers-no-build. The committed ABI and storage snapshots already match, so no snapshot changes were needed.
  • scripts/multiproof/README.md: replaces the five *.cbhq.net RPC URLs with placeholders (<L2_ARCHIVE_RPC_URL>, <L1_SEPOLIA_RPC_URL>, <ENCLAVE_RPC_URL>, …).

Decisions

  • lint-forge-tests-check is left out of both just check and CI. With full test artifacts (FOUNDRY_PROFILE=ci forge build), scripts/checks/test-validation reports 288 diagnostics. Most are naming-convention drift in Base-authored tests (FeeDisburser, TEEProverRegistry, CBMulticall, BalanceTracker, AggregateVerifier, …). The rest are tests of scripts/ code with no matching src/ file. On source-only artifacts the check passes without checking anything. A follow-up will fix the drift and wire the check in.
  • interfaces-check stays out; fix(checks): reconcile interfaces check and run it in CI #463 aligns scripts/checks/interfaces with interfaces/ and wires it into CI.
  • Overlaps with Fix broken deploy target in justfile #340 (the deploy target) and fix(checks): restore reinitializer checker #412 (restoring the reinitializer checker). This PR deletes those broken targets and is based on main. If fix(checks): restore reinitializer checker #412 lands, it can add its recipe back.
  • No Slither or Semgrep.

Validation

  • just clean && just check: exit 0, clean tree
  • just semver-lock then git diff --exit-code snapshots/semver-lock.json: exit 0
  • CI profile: just size-check, just validate-spacers-no-build, just snapshots-abi-storage-no-build plus snapshot status check, go test ./...: exit 0
  • grep -rnF --exclude-dir=lib --exclude-dir=.git cbhq.net .: no matches

J-Engine-Session: toshi:711c8d7f-760d-428d-a0d8-84c3b281c9c8
J-Engine-Session: toshi:711c8d7f-760d-428d-a0d8-84c3b281c9c8
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
1 if authored by an app that is not allowlisted and lacks verified human attribution 0
Sum 1

… is fixed

J-Engine-Session: toshi:711c8d7f-760d-428d-a0d8-84c3b281c9c8
@jackchuma
jackchuma force-pushed the toshi/contracts-ci-tooling-cleanup-19f1ab87 branch from ef616b7 to 7b41318 Compare December 5, 2026 15:01
J-Engine-Session: toshi:711c8d7f-760d-428d-a0d8-84c3b281c9c8
@jackchuma
jackchuma marked this pull request as draft December 5, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants