Skip to content

Feat/audit#12

Merged
breim merged 4 commits into
mainfrom
feat/Audit
May 27, 2026
Merged

Feat/audit#12
breim merged 4 commits into
mainfrom
feat/Audit

Conversation

@breim

@breim breim commented May 26, 2026

Copy link
Copy Markdown
Member

No description provided.

breim added 4 commits May 26, 2026 02:39
Bump @opentelemetry/*, @temporalio/*, drizzle-orm/kit, and turbo to current
versions; pin vulnerable transitive deps (protobufjs, axios, ws, etc.) via
root overrides. Require MPP_SECRET_KEY at startup instead of falling back to
a hardcoded dev key.
Surfaced by knip and confirmed by hand: drop unused exports, the
`findByWallet` repository helper, the `cctpToStellarAmount` shim, and
the `@temporalio/testing` devDep that no test references. Trim direct
dep declarations in worker/relay that were only reached transitively
through `@402md/shared` so each package.json reflects real usage. Add
a `knip.json` declaring Temporal-loaded workflows, the scripts/
utilities, and skill examples as entry points so future runs do not
re-flag the same false positives.
The worker shipped vitest --passWithNoTests, leaving settlement
workflows (the riskiest code) at zero coverage. The root-level
test/e2e/same-chain-base.test.ts contained only it.skip placeholders
not wired to any runner. EVM adapter helpers that gate EIP-3009
signature decomposition and CCTP messageHash identity were untested.

Adds 23 tests across workflows (happy path with sellerAmount
arithmetic, mint-failure compensation, transient retry, workflow
idempotency) and EVM adapter helpers (splitSignature, padAddress,
stellarAddressToBytes32, buildCctpForwarderHookData,
extractMessageHash). Drops --passWithNoTests so an empty worker
suite now reds the build. Removes the orphan e2e file.
Test file imports WorkflowExecutionAlreadyStartedError from
@temporalio/client, which was only resolved transitively via
@temporalio/testing — breaking tsc in CI.
@breim breim merged commit f222b7f into main May 27, 2026
3 checks passed
@breim breim deleted the feat/Audit branch May 27, 2026 21:29
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.

1 participant