Repository navigation
Report the repository and revision on Hub lookup errors - #603
Conversation
When Hugging Face returns HTTP 404 during core acquisition, the diagnostic omits the repository and revision. Orbit supplies the agent name, leaving the operator without the attempted model reference. Add the attempted repository and revision to a final HTTP 404 in primary core resolution and retain the Hub error as its cause. Apply the context after the resolver completes its retry and alias decisions. Operators can identify which reference failed while retaining the original HTTP status. The strengthened HTTP fixture test failed before the fix and passed after it on Linux ARM64. The signed-core alias test passed. The full Flare release suite passed with 242 tests and four ignored, using a temporary checkout with the stale Flare lockfile aligned to the Helios deepseek-recipe pin. The Orbit CLI workflow was not run. Design-Signed-Off-By: Codex (GPT-6); design-review=2e5b Signed-off-by: Mawen Salignat-Moandal <mwnslgt@gmail.com>
|
A case file has been opened for 603. Future reviews will auto-run 90 minutes after code updates are pushed.
|
Autobot ReviewFull Review · Value Proposition · Case File Recommendation: Ready To MergePR #603 is a small, correct, low-risk diagnostic fix that adds the attempted
Walkthrough
Merge Risk: Low · up to
|
Autobot ReviewFull Review · Value Proposition · Case File Recommendation: Changes RequestedPlaces error context at the right call site (
Walkthrough
Merge Risk: Low · up to
|
Why
When a Hugging Face revision lookup fails with HTTP 404 during core acquisition, Flare reports the status without the repository or revision. Orbit adds the agent name, but the operator still has to find which reference the agent attempted to resolve. This is the diagnostic gap reported in #489.
What changed
In
flare/src/hub.rs, add the attemptedrepository@revisionto the final HTTP 404 returned by primary core resolution. Attach the original Hub error as the cause. The resolver completes its existing retry and-tp1fallback decisions before the diagnostic adds context.Benefit
An operator can identify the reference involved in the failure from the error message. The message retains HTTP 404 without assigning a cause to that status.
Evidence
On Linux ARM64, the strengthened HTTP fixture test failed on the baseline because the 404 lacked
owner/model@revision. After the change, both resolution failure tests passed, as did the eight tests selected by--lib revision, including signed core installation and refresh via the-tp1alias.The full Flare crate suite passed in release mode on Linux ARM64 (242 passed, 4 ignored).
git diff --cached --checkpassed.The tests used a temporary checkout with the Flare lockfile aligned to the
deepseek-reciperevision already pinned by Helios. The repository lockfile is outside this change. The complete Orbit CLI workflow was not run.