Preserve Last CI Job Status in Nx Cache to Aid Failures Without Cache #33647
patels30
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, when a CI task runs in gihtub without cache and fails, that failure is genuine and expected. However, on the next run, Nx stores the result in the cache, even if the previous run failed. This means subsequent executions may incorrectly show a cached success instead of reflecting the earlier failure, leading to misleading feedback and masking real issues. To mitigate this, can we add an optional setting to Nx’s remote cache to persist and expose last CI job status metadata for every target key. When a task runs without cache (miss or disabled)?
Beta Was this translation helpful? Give feedback.
All reactions