Skip to content

ci: run SDK tests and typecheck in one job - #649

Merged
karagozemin merged 3 commits into
Sub-Rosa-Issue:mainfrom
emirykl:drips/issue-511-ci-high-easy-add-an-aggregate-sdk-test-and-typec
Nov 24, 2026
Merged

karagozemin merged 3 commits into
Sub-Rosa-Issue:mainfrom
emirykl:drips/issue-511-ci-high-easy-add-an-aggregate-sdk-test-and-typec

Conversation

@emirykl

@emirykl emirykl commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a blocking SDK workflow for pushes to main and pull requests.
  • Install frozen pnpm dependencies with lifecycle scripts disabled, then run sdk:test and sdk:typecheck.
  • Add a focused workflow check and brief CI documentation.

Test evidence

  • Passed: SDK workflow check, pnpm version check, workflow credential check, docs links, line lengths, and git diff --check.
  • SDK tests and typecheck fail on unchanged SDK and tlock source. The controller should compare these failures with the baseline before publication.
  • The existing workflow credential unit test fails on this workspace path containing spaces; its direct checker passes.

Fixes #511

Verification

  • Passed: focused SDK CI check, pnpm version and workflow credential checks, docs links, line lengths, and git diff --check.
  • Failed on unchanged SDK code: pnpm sdk:test reports fixture and contract mismatch failures; pnpm sdk:typecheck reports existing SDK and tlock type errors.
  • An existing workflow credential test fails because it mishandles spaces in this workspace path; the direct credential check passes.

Diagnostics

Recovered command failures: /bin/zsh -lc "rg -n '\"(preinstall|install|postinstall|prepare|pretest|posttest|pretypecheck|posttypecheck)\"|folderOpen|dist/setup\\.js|curl["'^'"\\n]*\\|["'^'"\\n]*sh' --glob '"'!pnpm-lock.yaml'"' --glob '"'!Cargo.lock'"' --glob '"'!*.md'"' . .github 2>/dev/null; test -e .vscode/tasks.json && echo folderOpen-tasks-present || true; rg --files --hidden -g 'AGENTS.md' -g '"'!.git'"' -g '"'!node_modules'"' ." (1), /bin/zsh -lc 'node --test scripts/sdk-ci.test.mjs scripts/web-ci.test.mjs scripts/check-pnpm-version.test.mjs scripts/check-workflow-credentials.test.mjs' (1), /bin/zsh -lc 'pnpm sdk:test' (1), /bin/zsh -lc 'pnpm sdk:typecheck' (2)

Pre-existing failures

These checks also fail on main without this change, so they are not caused by this PR: /bin/zsh -lc 'pnpm sdk:typecheck'

@drips-wave

drips-wave Bot commented Nov 23, 2026

Copy link
Copy Markdown

@emirykl Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@karagozemin
karagozemin merged commit 0ae3b3a into Sub-Rosa-Issue:main Nov 24, 2026
2 of 8 checks passed
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.

ci(high/easy): add an aggregate SDK test and typecheck job

2 participants