[pull] master from datacite:master#54
Merged
pull[bot] merged 5 commits intofront-matter:masterfrom Apr 15, 2026
Merged
Conversation
Store captured JSON:API, ORCID sandbox, and ROR API responses used by Cypress flows so tests do not depend on live staging data at runtime. Co-authored-by: Joseph Rhoads <jrhoads@users.noreply.github.com>
Add a Next.js instrumentation hook that wraps global fetch on the Node runtime so server components and RSC data loads use fixture JSON instead of api.stage.datacite.org, ORCID sandbox, and ROR during Cypress runs. Mock logic lives in cypressFetchMock.cjs (CommonJS + fs) to avoid bundling Node built-ins into the instrumentation module. Co-authored-by: Joseph Rhoads <jrhoads@users.noreply.github.com>
- Strip future-dated 2128-05 usage points from doi-10.7272-q6g15xs4 fixture - Regenerate dois-facets-person-filter-datacite from staging (consistent meta + links.self) - Add dois-query-climate-page2 and route climate searches by page[number] - Redact ORCID expanded-search email to a synthetic placeholder - Document fetch mock and add JSDoc for CodeRabbit docstring coverage Co-authored-by: Joseph Rhoads <jrhoads@users.noreply.github.com>
ESLint treats globalThis as undefined in this CommonJS file; use global for fetch binding and assignment. Co-authored-by: Joseph Rhoads <jrhoads@users.noreply.github.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )