fix(cli)/chore(ai): predb tag extension, UNIT3D retry loop, TOS unattended messages, ai stuff #249
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
python
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
djangonux/Upload-Assistant!249
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/bd-issues"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
is_scene.py: strip file extension from predb scene_name and group before
storing in meta. predb stores releases including the container extension
(e.g. BYNDR.mkv), which leaked into meta["tag"] and from there into the
C411 release name, causing "Le nom de release ne doit pas contenir
d'extension de fichier" validation errors. (closes Upload-Assistant-a3n)
UNIT3D.py: add return False after HTTP 401/404/422 in the upload retry
loop. These status codes indicate terminal data-validation errors that
cannot succeed on retry; without the early return the loop continued to
the next attempt, wasting a request and producing confusing output.
(closes Upload-Assistant-8ix, Upload-Assistant-1gf, Upload-Assistant-p15)
TOS.py: guard bitrate-error console.print calls with
not meta.get("unattended"). The error messages were printed unconditionally
before the unattended check, so they appeared even in fully automated runs.
(closes Upload-Assistant-lez)
AI stuff
Summary by CodeRabbit
Documentation
Bug Fixes
Chores
.gitignorewith additional directory exclusion📝 Walkthrough
Walkthrough
Three independent bug fixes:
predb_checknow strips media file extensions from the release attribute and group text before storing scene name and tag metadata; TOS suppresses bitrate-low console messages for unattended uploads; UNIT3D adds an earlyreturn Falseafter HTTP error status handling. Additionally, new agent guidance documentation and a.gitignoreentry are added.Changes
Source Code Bug Fixes
src/is_scene.pypredb_checksplitsrelease_attrinto root and extension, storing the root inmeta["scene_name"]when the extension matches common video/NFO types. The same stripping is applied to the parsed group text before constructingmeta["tag"].src/trackers/TOS.py,src/trackers/UNIT3D.pyconsole.printcalls in anot meta.get("unattended", False)guard; bitrate error flagging is unchanged. UNIT3D addsreturn Falseimmediately after setting the tracker status message for HTTP 401/404/422 responses.Agent Guidance Documentation
CLAUDE.md,docs/agents/domain.md,docs/agents/issue-tracker.md,docs/agents/triage-labels.md,.gitignoreCLAUDE.mdgains an Agent skills section specifying thebd/Beads workflow, triage labels, and domain-doc layout. Three newdocs/agents/pages document domain-doc consumption rules,bdCLI commands and workflow, and the five canonical triage label mappings..gitignoreaddsgraphify-out/.Estimated code review effort
🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
TOS.get_additional_checksaround the same bitrate validation block, specifically how bitrate failures and unattended upload messaging are handled.🚥 Pre-merge checks | ✅ 3 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches
🧪 Generate unit tests (beta)
fix/bd-issuesThanks 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
Comment
@coderabbitai helpto get the list of available commands and usage tips.🤖 Prompt for all review comments with AI agents
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID:
4155d154-cca9-48c8-ace3-82d53ae6b921📥 Commits
Reviewing files that changed from the base of the PR and between
a70bc314cdandffa72fd251.📒 Files selected for processing (8)
.gitignoreCLAUDE.mddocs/agents/domain.mddocs/agents/issue-tracker.mddocs/agents/triage-labels.mdsrc/is_scene.pysrc/trackers/TOS.pysrc/trackers/UNIT3D.py