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

Preserve partial doc results on failure #69

Merged
merged 5 commits into from
Nov 20, 2024
Merged

Conversation

schneems
Copy link
Member

Previously when a command failed you got to keep the directory it generated, but any of the docs were lost. This change introduces a way to store partial results and retrieve them on failure. It's tested and seems to work. So that's nice.

Previously if a command failed you lose the resulting doc, including everything up to that point which might be salvalgable. With this change a partial result is written to disk on failure.
@schneems schneems force-pushed the schneems/partial-render-too branch from 66456f4 to 1c483a6 Compare November 20, 2024 22:44
@schneems schneems merged commit b9493a6 into main Nov 20, 2024
13 checks passed
schneems added a commit that referenced this pull request Nov 20, 2024
The prior PR #69 mistakenly only preserved the last command to be executed instead of the document up to that point. This commit fixes the tests by introducing partial result storage and retrieval to the class that builds and calls the individual CodeSections
schneems added a commit that referenced this pull request Nov 20, 2024
The prior PR #69 mistakenly only preserved the last command to be executed instead of the document up to that point. This commit fixes the tests by introducing partial result storage and retrieval to the class that builds and calls the individual CodeSections
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.

1 participant