Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[turborepo] Document behavior for how a failing task interacts with the cache #5780

Closed
closesimple-wl opened this issue Aug 22, 2023 · 2 comments
Labels
area: docs Improvements or additions to documentation owned-by: turborepo

Comments

@closesimple-wl
Copy link

What version of Turborepo are you using?

1.10.12

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Mac

Describe the Bug

The documentation needs to spell out how a failing task is not cached. Not to mention, there's no API to force caching a failed result.

This might be implied, but it's definitely not clear nor explicit, and we shouldn't have to do mental gymnastics to figure out the reasoning behind the software's behavior.

Expected Behavior

A clear explanation in the docs. Only a few sentences is needed, really.

To Reproduce

Run a task whose scripts definition is exit 1.

Reproduction Repo

No response

@closesimple-wl closesimple-wl added kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo labels Aug 22, 2023
@closesimple-wl closesimple-wl changed the title [turborepo] [turborepo] Document behavior for how a failing task interacts with the cache Aug 22, 2023
@chris-olszewski chris-olszewski added area: docs Improvements or additions to documentation and removed kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage labels Aug 23, 2023
@tknickman
Copy link
Member

Closed via #5782

@closesimple-wl
Copy link
Author

That's better, but it still doesn't explain the reasoning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Improvements or additions to documentation owned-by: turborepo
Projects
None yet
Development

No branches or pull requests

3 participants