Skip to content

Fix Server::batch_sync call for the current shared crate - #3

Merged
heyitslumi merged 1 commit into
Caloptreyx:mainfrom
HappyGamblingAddict:fix/batch-sync-state
Oct 19, 2026
Merged

heyitslumi merged 1 commit into
Caloptreyx:mainfrom
HappyGamblingAddict:fix/batch-sync-state

Conversation

@HappyGamblingAddict

@HappyGamblingAddict HappyGamblingAddict commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Server::batch_sync now takes &State (&Arc<AppState>) instead of &Arc<Database>, so the call in src/routes/server/install.rs no longer compiles on panel 1.2.6.

GetState derefs to Arc<AppState>, the same coercion already used for update and install_with_options in this file.

#1


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Server::batch_sync now takes &State (&Arc<AppState>) instead of
&Arc<Database>, so the call in src/routes/server/install.rs no longer
compiles on panel 1.2.6.
@heyitslumi
heyitslumi merged commit 5c2272d into Caloptreyx:main Oct 19, 2026
Xylo01 added a commit that referenced this pull request Oct 20, 2026
The batch_sync fix (#3) only compiles on panel 1.2.6, so Metadata.toml and the README now say so.
urllib ends a read without an error when the connection drops early, and a short mcjars zip was
only noted and then unpacked; the received length is now checked against Content-Length and a
short file is retried.
@Xylo01 Xylo01 mentioned this pull request Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants