Skip to content

Fix large LoRA connections, setup timeouts, and traffic accounting - #740

Merged
ShiftHackZ merged 1 commit into
developfrom
fix/large-lora-connection
Nov 14, 2026
Merged

ShiftHackZ merged 1 commit into
developfrom
fix/large-lora-connection

Conversation

@ShiftHackZ

Copy link
Copy Markdown
Owner

Description

Fixes #433.

Slow AUTOMATIC1111 LoRA discovery could exhaust the fixed 30-second connection deadline. LoRAs now load when the picker opens, so a large library no longer blocks connection setup.

  • Apply the configured connection timeout to A1111/Swarm setup and provider metadata requests, including No limit; preserve independent generation limits.
  • Expose application setup/request timeout controls on iOS and update the six localized explanations.
  • Initialize the shared traffic recorder at app startup so requests before opening Settings are counted, including OpenAI-compatible and ChatGPT OAuth traffic.
  • Add regression coverage for 2,500 LoRAs, timeout choices and rollback, independent generation limits, provider traffic, startup recording, and gallery storage accounting.

Screenshots / Video (Optional)

Checklist

  • I have ensured this PR does not contain any breaking changes for existing functionality
  • I have added automated tests that cover the new behavior and removed obsolete tests and code
  • I have added documentation for any new public APIs and update existing documentation for any changes to public APIs

Tested On

  • Android: Emulator
  • Android: Real device
  • iOS: Simulator
  • iOS: Real iPhone device

Validation: 99 focused tests pass; Android full debug assembly and iOS Simulator Kotlin compilation pass. Android device checks cover delayed large LoRA loading, connection setup beyond the former timeout limits, and compatible-provider traffic/gallery usage. Native OAuth login/generation and iOS runtime behavior were not retested.

@ShiftHackZ ShiftHackZ linked an issue Nov 14, 2026 that may be closed by this pull request
@ShiftHackZ
ShiftHackZ merged commit 91d55b9 into develop Nov 14, 2026
1 check passed
@ShiftHackZ
ShiftHackZ deleted the fix/large-lora-connection branch November 14, 2026 20:52
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.

Too many LORAs on host machine breaks connection in A1111

1 participant