Skip to content

fix(model-install): persist remote access_token for resume after restart#8932

Merged
lstein merged 3 commits into
invoke-ai:mainfrom
DustyShoe:fix(model-install)--persist-remote-access_token-for-resume-after-restart
Mar 2, 2026
Merged

fix(model-install): persist remote access_token for resume after restart#8932
lstein merged 3 commits into
invoke-ai:mainfrom
DustyShoe:fix(model-install)--persist-remote-access_token-for-resume-after-restart

Conversation

@DustyShoe
Copy link
Copy Markdown
Collaborator

@DustyShoe DustyShoe commented Feb 28, 2026

Summary

Persist and restore access_token for paused remote model installs using a minimal marker schema (source + access_token).

Related Issues / Discussions

Fixes: #8928

QA Instructions

  1. Start installing a gated HuggingFace model (or any token-protected URL) with a valid access token.
  2. Wait until download is partially complete, then force-stop the backend.
  3. Restart the backend and click Resume on the paused install job in Model Manager queue.
  4. Verify the job resumes downloading instead of failing with a missing-token error.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • ❗Changes to a redux slice have a corresponding migration
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions Bot added python PRs that change python files services PRs that change app services python-tests PRs that change python tests labels Feb 28, 2026
Copy link
Copy Markdown
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working as advertised.

@lstein lstein enabled auto-merge (squash) March 2, 2026 02:36
@lstein lstein merged commit 6fe7910 into invoke-ai:main Mar 2, 2026
13 checks passed
@DustyShoe DustyShoe deleted the fix(model-install)--persist-remote-access_token-for-resume-after-restart branch May 14, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python PRs that change python files python-tests PRs that change python tests services PRs that change app services

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: model download resume function doesn't pass HuggingFace token

2 participants