Skip to content

[OS-14] A free copy found for a paper with no link is kept - #1517

Merged
sickerine merged 1 commit into
devfrom
fix/paper-pdf-no-link
Nov 24, 2026
Merged

sickerine merged 1 commit into
devfrom
fix/paper-pdf-no-link

Conversation

@sickerine

Copy link
Copy Markdown
Collaborator

Part of #1515

After #1516 the search for a free copy often finds one by DOI alone. paperPdf keeps a found copy under the paper's own link, and a paper with no link had no key, so the assistant, which is sent the stored copy, got "This paper's PDF couldn't be kept to send". Seen on shared dev with W103333418.

The copy is now kept under the address it was found at.

Checks

  • npx tsc --noEmit passes.
  • convex/research/paperPdf.test.ts, 21 tests. The new one fails without the fix.

…ress it came from

The assistant is sent the stored copy, so a copy found by DOI for a paper the index gives no PDF link was refused as one that couldn't be kept. Seen on shared dev with W103333418 after the downloader swap.

Part of #1515
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 47d93dbe-4f46-4470-8a8d-50f49db6fb5c
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T00:33:13.180286Z 572a3ce PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sickerine
sickerine merged commit 9922580 into dev Nov 24, 2026
7 checks passed
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