Skip to content

fix: always run poetry install to prevent missing pytest from stale cache#27

Merged
LanusseMorais merged 1 commit intomainfrom
fix/ci-always-install-dependencies
Mar 26, 2026
Merged

fix: always run poetry install to prevent missing pytest from stale cache#27
LanusseMorais merged 1 commit intomainfrom
fix/ci-always-install-dependencies

Conversation

@LanusseMorais
Copy link
Contributor

@LanusseMorais LanusseMorais commented Mar 26, 2026

Summary

  • Integration tests failing on PR chore: 🐝 Update SDK - Generate 3.0.1 #26 with Command not found: pytest
  • The Install dependencies step was conditional on cache miss, but the cached .venv was stale (missing pytest)
  • Removed the if: cache-hit != 'true' condition so poetry install always runs
  • When cache is valid, poetry install is a fast no-op (just verifies dependencies)

Test plan


Note

Low Risk
Low risk CI-only change that may slightly increase job time but reduces flakiness from stale cached virtualenvs.

Overview
Integration test CI now always runs poetry install --with dev even when the .venv cache is restored, preventing failures from stale caches missing dev tools like pytest.

Written by Cursor Bugbot for commit dc2574d. This will update automatically on new commits. Configure here.

@LanusseMorais LanusseMorais merged commit d92c9f0 into main Mar 26, 2026
2 of 5 checks passed
@LanusseMorais LanusseMorais deleted the fix/ci-always-install-dependencies branch March 26, 2026 22:35
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