Conversation
…ributors.json regeneration (speeds up npm run dev)
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a caching option to the Astro contributor-mapping integration so contributors.json can be reused for some time instead of being regenerated on every run, reducing npm run dev startup cost.
Changes:
- Add
maxAgeDaysoption toContributorMappingOptions(defaulting to 10 days). - Short-circuit contributor generation when the existing
contributors.jsonis newer thanmaxAgeDays. - Wire the new option through the integration into
generateContributors().
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/DuendeSoftware/docs.duendesoftware.com/sessions/3a7ab808-6d3b-4b37-bd3b-df8f2a15c7a6 Co-authored-by: maartenba <485230+maartenba@users.noreply.github.com>
maartenba
commented
Apr 28, 2026
Agent-Logs-Url: https://github.com/DuendeSoftware/docs.duendesoftware.com/sessions/f321fe8e-8305-4101-9651-3af6d064ed4c Co-authored-by: maartenba <485230+maartenba@users.noreply.github.com>
wcabus
approved these changes
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.