Skip to content

ci: fix publish smoke test path after monorepo restructure - #189

Merged
mikemcdougall merged 1 commit into
trunkfrom
ci/publish-smoke-test-path
Aug 4, 2026
Merged

ci: fix publish smoke test path after monorepo restructure#189
mikemcdougall merged 1 commit into
trunkfrom
ci/publish-smoke-test-path

Conversation

@mikemcdougall

Copy link
Copy Markdown
Contributor

The publish workflow's two "Run SDK tests" steps kept the pre-monorepo ../../tests/ relative path while their working-directory was later set to the workspace root, so pytest resolved two levels above the checkout and failed with "file or directory not found". Because release-please tags are created with GITHUB_TOKEN and cannot trigger this workflow, it had never executed — the first-ever dry-run dispatch (run 30891434754) surfaced the rot.

Fix: run pytest tests/ from the repo root, matching the green invocation in ci.yml.

Validation: dry-run dispatch of this branch — run 30891657918 (package=both, dry_run=true) exercising typecheck, compatibility gate, coverage gate, full test suite, and hatch build end to end.

Part of the #178 publish-path validation (PyPI trusted publishing).

The publish workflow's 'Run SDK tests' steps kept the pre-monorepo
../../tests/ relative path while their working-directory was later set to
the workspace root, so pytest resolved two levels above the checkout and
found nothing. The workflow had never executed (release-please tags use
GITHUB_TOKEN and cannot trigger it), so the rot was invisible until the
first dry-run dispatch (run 30891434754). Align with ci.yml, which runs
'pytest tests/' from the repo root.

Part of the #178 publish-path validation.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@mikemcdougall
mikemcdougall enabled auto-merge (squash) August 4, 2026 08:23
@mikemcdougall
mikemcdougall merged commit 65a5658 into trunk Aug 4, 2026
30 of 31 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.

1 participant