Repository navigation
fix(models): recover from undecodable revision markers - #2635
rudycelekli wants to merge 2 commits into
Conversation
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
|
All contributors on this pull request have signed the VoiceStudio CLA. Thank you! |
|
[Medium risk] Handles corrupted model revision markers gracefully. The reviewed change appears safe to merge. SummaryThe PR lets model-revision lookup continue past undecodable local markers and adds focused regression coverage and troubleshooting guidance. Reviews (1) · Last reviewed commit: "docs: link revision-decode regression re..." |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (4)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthrough
ChangesRevision Marker Repair
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix · Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to Undecodable revision markers no longer block repair from using a valid legacy reference or the curated pin. No concrete merge-blocking risk is evident; normal project checks remain. 🚥 Pre-merge checks | ✅ 8 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (8 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 2 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
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. Comment |
|
recheck |
|
Thanks for the report and the work on this, @rudycelekli. The problem in #2634 is fixed on |
Summary
An undecodable local revision marker raises before the existing validated legacy-reference or curated-pin fallback can run.
Changes
Type
Testing
Hosted CI audit at 2026-10-06T12:35:20.584679+00:00: no failing latest checks; required CLA passes. All latest reported checks completed successfully. No upstream merge performed.
Native temporary marker/reference files cover invalid bytes and BOM bytes, both with and without a valid legacy reference. The model-dependent NLLB route test was deselected.
Regression against unchanged main production source: 6 failed, 5 passed, 1 deselected. After the fix: 11 passed, 1 deselected; 24 with changelog gate.
Python 3.13 with
HF_HUB_OFFLINE=1and an empty Hugging Face cache. No model download or inference calls.Diff check and Python compilation pass.
Full backend/Electron suites were not run locally; focused tests alone do not establish hosted security or platform gates. Hosted results are reported separately below.
Checklist
smoke-matrixCI — not run locallyCloses #2634
installed_revisionnow skips marker files that raise ASCII decoding errors, so a valid legacy reference or curated revision pin can still support model repair. Regression tests cover invalid and BOM bytes, with and without a valid legacy reference. Full backend, Electron, hosted security, and platform validation remains unverified.