hashFiles('src/ansys/fluent/core/codegen/**') output is different before and after running first codegen
- Dominant language
- Python
- Stars
- 497
- Forks
- 77
- Avg merge
- 22h 37m
- Merged PRs (30d)
- 45
Description
https://github.com/ansys/pyfluent/actions/runs/15617780212/job/43995153954
Cache key before running first codegen - API-Code-v3-0.33.dev0-v23.1.0-24e59e9faa402431d31660ba3138249e6af5c06ecb2f54ecabfa89c62bff53c9
Cache key after running first codegen - API-Code-v3-0.33.dev0-v23.2.0-c1e68cda3bc7483d9b193b2757833db661d0d01ded7befab0860037385d13b86
This creates duplicate cache for 25.2 (during build and doc steps).
Issue is probably due to \_\_pycache__ folders?
Contributor guide
Research direction
Start with the linked GitHub Actions run and compare hashFiles('src/ansys/fluent/core/codegen/**') before and after the first codegen step. Inspect the generated path, including the suspected __pycache__ folders, and use the merged pull request as context. Done means the cache key remains consistent and the duplicate 25.2 cache is eliminated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, python
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100