Skip to content

Remove duplicate BibTeX entry - #1088

Merged
ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:agent/remove-duplicate-bibtex-entry
Jul 23, 2026
Merged

ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:agent/remove-duplicate-bibtex-entry

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Ignore this PR until reviewed by @ChrisRackauckas.

Summary

  • Remove the second, byte-identical yuan2015recent entry from docs/src/refs.bib.
  • Preserve the original entry and restore the file's final newline.

Root cause

The duplicate had been latent in the source since commit 2a6f1a98ec8f2b87dd0ebd9de250e93116373d94 (2024-01-11). A source-history git bisect identified that commit as the first revision containing two yuan2015recent entries.

The current failure became visible when BibParser 0.2.4 started rejecting duplicate keys. A dependency git bisect between BibParser v0.2.3 and v0.2.4 identified 7b43ff08301b84944c43cd931bdd1aa78cffcb58 (Add error for duplicate keys) as the first strict revision. The last successful documentation run used BibParser 0.2.3; current master and PR documentation runs use 0.2.4 and fail with Duplicate BibTeX entry key detected: 'yuan2015recent'.

Validation

  • Reproduced the duplicate-key error on unchanged upstream master with Julia 1.12.6 and the reusable documentation workflow's exact instantiate/build commands.
  • Strict CitationBibliography(joinpath(pwd(), "docs", "src", "refs.bib")) construction passes after this change with DocumenterCitations 1.4.1 / BibParser 0.2.4.
  • Two full local documentation attempts advanced through BibTeX parsing, citation collection/expansion, bibliography expansion, and document checks. Both later exited during external link checking because changing, pre-existing GitHub URLs returned HTTP 429. No link check was disabled, ignored, or weakened; these runs do not establish that the complete documentation job passes locally.
  • git diff --check passes.
  • Runic 1.7.0 --check passes for all tracked Julia files.

The existing strict documentation build is the regression coverage for duplicate bibliography keys.

Co-Authored-By: Chris Rackauckas <[email protected]>
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Audit/validation record for commit 57ea0d74355e738a3f3fbd9d5c16eaa5cf83668b:

  1. Exact unchanged-master docs command reproduced Duplicate BibTeX entry key detected: 'yuan2015recent' (exit 1):
    JULIA_DEPOT_PATH="$PWD/.local/depot" julialauncher +1.12.6 --color=yes --project=docs/ --code-coverage=user docs/make.jl
  2. Source git bisect: first duplicate at 2a6f1a98ec8f2b87dd0ebd9de250e93116373d94.
  3. BibParser git bisect (v0.2.3 good, v0.2.4 bad): first strict duplicate-key error at 7b43ff08301b84944c43cd931bdd1aa78cffcb58.
  4. After removing the later byte-identical entry, strict construction exited 0 and printed citation_bibliography_ok=true type=CitationBibliography:
    JULIA_DEPOT_PATH="$PWD/.local/depot" julialauncher +1.12.6 --project=docs/ -e 'using DocumenterCitations; bib = CitationBibliography(joinpath(pwd(), "docs", "src", "refs.bib")); println("citation_bibliography_ok=true type=", typeof(bib))'
  5. Two full docs retries cleared all bibliography/citation/document stages, then exited 1 only at external link checking when different unchanged GitHub URLs returned HTTP 429. No suppression or configuration change was made; the full local docs job is therefore not claimed to pass.
  6. git diff --check exited 0.
  7. Runic 1.7.0 over every tracked Julia file exited 0:
    git ls-files -z -- '*.jl' | JULIA_DEPOT_PATH="$PWD/.local/depot" xargs -0 julialauncher +1.12.6 --project=.local/runic -m Runic --check

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Final validation update: the token-authenticated Documentation / Build and Deploy Documentation job completed successfully, including a successful Build and Deploy Documentation step. The separate local HTTP 429 audit confirmed transient unauthenticated GitHub throttling: both links are valid, a minimal strict Documenter link check passes, and an identical immediate retry changed 429 to 200. No link-check suppression or source change was made. All 11 PR checks are now successful, and the local worktree is clean.

@ChrisRackauckas
ChrisRackauckas merged commit 9fd9a55 into SciML:master Jul 23, 2026
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.

2 participants