Skip to content

HYBIM 795 | Fix poetry cache invalidation#28

Merged
keith-decker merged 1 commit into
mainfrom
HYBIM-795-prevent-poetry-cache-invalidation
Jun 17, 2026
Merged

HYBIM 795 | Fix poetry cache invalidation#28
keith-decker merged 1 commit into
mainfrom
HYBIM-795-prevent-poetry-cache-invalidation

Conversation

@keith-decker

Copy link
Copy Markdown
Contributor

Summary

Fixes HYBIM-795 by preserving the Poetry cache restored by actions/setup-python in the main CI test workflow.

What changed

  • Added id: setup-python to the matrix Python setup step.
  • Replaced the destructive poetry env remove --all flow with:
    poetry env use "${{ steps.setup-python.outputs.python-path }}"
    
  • Kept the pre-install and post-install Poetry Python version checks to ensure each matrix job still uses the requested Python version.

Validation

  • git -C splunk-ao-python diff --check
  • Confirmed poetry env remove --all is no longer present in .github/workflows/ci-tests.yaml
  • Confirmed Poetry uses steps.setup-python.outputs.python-path
  • Confirmed both interpreter checks remain present before and after dependency installation

Not run

  • GitHub Actions cold-cache / warm-cache validation was not run or inspected locally.

@keith-decker keith-decker merged commit 6db7dd1 into main Jun 17, 2026
16 checks passed
@keith-decker keith-decker deleted the HYBIM-795-prevent-poetry-cache-invalidation branch June 17, 2026 19:45
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants