Repository navigation
Review suggests the comic comicbox refused for a missing issue (#1053) - #1055
Merged
Merged
Conversation
Uses comicbox's MatchResult.refused and per-kind name keys (comicbox PR 285, unreleased; the pin ~=5.7.1 does not resolve from PyPI yet). - An entry the matcher leaves missing keeps its likeliest refused comic as ReadingListEntry.suggested_comic (migration 0063) and is flagged for review: another volume's issue of its cover year first, then a cover year more than one off; live before pending delete, then lowest pk. Combine, the hand-entry heal and rematch store it; a found comic or a person's pick clears it. - Edit Issues shows "Missing · maybe <comic>" with Use. The suggestion is shown only when the viewer may see that comic: a missing entry is seen by everyone who sees the list. Accept All Best Guesses takes matched guesses only and says why it is off when only suggestions are left. - The overlay assigns a hand edit by a shared key only when the volumes do not conflict: the new volume key is shared by X-Men (1963) v1 #1 and X-Men (1991) v1 #1, as comicbox's entry_keys now documents. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ajslater
force-pushed
the
claude/issue-1053-comicbox-refused
branch
from
November 25, 2026 19:34
813babe to
5ebe577
Compare
ajslater
marked this pull request as ready for review
November 25, 2026 19:34
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.
Part of #1053. It addresses the issue's complaint that an issue the library holds under another volume "isn't flagged for review".
What changed
MatchResult.refused. An entry that stays missing but has refused comics keeps the likeliest one as the newReadingListEntry.suggested_comic(migration 0063) and is flaggedneeds_review. The order is:other-volume(same name, issue and cover year, another volume) beforecover-year, then live comics before pending deletes, then lowest pk.combine._entryused to clearneeds_reviewon any comicless entry. Now it keeps the flag only when there is a suggestion.comicplusneeds_review. Storing a refused comic ascomicwould count it as owned and readable, and it is another volume's issue, which is this bug. So it gets its own field, and the entry stays missing.comicbox[pdf]~=5.7.1and locks it.entry_keys,variant_keysandmatch_comics.matcher.pyandcombinego through comicbox, which guards the new volume key.overlay.pyjoined hand edits by any shared key, so the volume key would have let X-Men (1963) v1 Circleci #1's edit land on X-Men (1991) v1 Circleci #1. The overlay now refuses a shared key whenDiscriminators.conflicts, as comicbox's newentry_keysdocstring says.variant_keyshas no codex caller.Tests
tests/test_reading_list_volumes.py) passes again on the new comicbox.Gates
Rebased onto develop after #1054 was squash-merged. Run on the released comicbox 5.7.1 from PyPI. Its reading-list code differs from the reviewed PR wheel only in docstring examples and CLI output.
make fixpasses.make lintpasses with 0 errors and 0 warnings.make typasses.make test: vitest passes; pytest has 2881 passed, 2 skipped and 10 failed, all intests/test_oidc_login.py. Those 10 fail identically on develop without this PR. They started with develop's dependency update, which moved django-allauth from 65.22.1 to 65.23.0 (AttributeError: 'NoneType' object has no attribute '_on_login_processed'inallauth.socialaccount.helpers.complete_social_login). So expect the Test Python CI job to fail until that is fixed separately.Not built / not verified
suggested_comic. The next rematch rebuilds it.needs_review: falsedoesn't stick, because the next rematch flags it again. The UI doesn't send that for missing rows; Mark missing is the lasting no.🤖 Generated with Claude Code