Skip to content

ci: unify workflow shape (matches objects)#1

Merged
jaredLunde merged 2 commits into
mainfrom
ci/unify-workflows
May 19, 2026
Merged

ci: unify workflow shape (matches objects)#1
jaredLunde merged 2 commits into
mainfrom
ci/unify-workflows

Conversation

@jaredLunde
Copy link
Copy Markdown
Contributor

Summary

  • Same parallel-job shape that landed in beyondoss/objects#2. Five jobs (`lint`, `generate-check`, `rust-test`, `handoff-test`, `ts-test`) with distinct rust-cache slots.
  • Vendors the `setup-rust` composite action byte-identical from objects.
  • Fixes a real bug in the old `generate-check`: the diff path was `sdk/ts/src/types.ts` (doesn't exist here) — the actual generated output is `sdk/ts/kv/src/types.ts`. That's why generate-check failures were silent under the old shape.
  • Drops `build:rs:release` (release workflow scope).
  • Adds weekly `cargo-deny` (advisories + licenses + bans + sources) that opens GitHub issues on regression. `audit` step removed.

Target: ≤6m cold.

Test plan

  • All 5 jobs run in parallel and pass on the PR
  • Cold wall-clock ≤6m
  • generate-check now correctly diffs against the existing `sdk/ts/kv/src/types.ts`
  • handoff-test passes without timeout bumps in this PR

🤖 Generated with Claude Code

jaredLunde and others added 2 commits May 19, 2026 11:49
Five parallel jobs (lint, generate-check, rust-test, handoff-test,
ts-test) with distinct rust-cache slots. Vendors the same
.github/actions/setup-rust composite that landed in objects#2 — byte
identical, intentionally.

Also fixes generate-check: the diff path was sdk/ts/src/types.ts (a path
that doesn't exist in this repo); the real generated output is
sdk/ts/kv/src/types.ts. That bug is why generate-check failures were
silent under the old shape.

deny.toml + security.yml mirror objects': cargo-deny on a weekly schedule,
opens an issue on regression instead of blocking PRs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ting

Mirrors objects/sdk/ts/scripts/generate-types.mjs: openapi-typescript emits
4-space TS, dprint fmt normalizes to 2-space. Without this, generate:types
output drifts from the committed 2-space file every regenerate.

The new generate-check job in ci.yml surfaced this — the old ci.yml
diffed sdk/ts/src/types.ts (a path that doesn't exist here), so
git diff --exit-code returned 0 and the drift was invisible.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jaredLunde jaredLunde merged commit be90706 into main May 19, 2026
5 checks passed
@jaredLunde jaredLunde deleted the ci/unify-workflows branch May 19, 2026 19:01
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