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

feat: Cache the JSON documentation of path dependencies #340

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

LukeMathWalker
Copy link
Owner

We compute the hash of their contents to avoid serving stale data.

It should significantly speed up the execution of our UI tests since each test is currently re-computing the JSON docs for pavex, which comes in as a path dependency. This should save us ~100 unnecessary invocations to rustdoc.

@LukeMathWalker
Copy link
Owner Author

/ok-to-test sha=622f0be

@LukeMathWalker
Copy link
Owner Author

/ok-to-test sha=a7bb5bd

@LukeMathWalker
Copy link
Owner Author

/ok-to-test sha=4ab1e70

@LukeMathWalker
Copy link
Owner Author

/ok-to-test sha=71dc4ab

@LukeMathWalker LukeMathWalker merged commit b31e208 into main Sep 9, 2024
5 checks passed
@LukeMathWalker LukeMathWalker deleted the rustdoc-cache-hits branch September 9, 2024 08:35
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