Skip to content

PB 503 retry, IPv6 validation, download concurrency, little performance improvements#534

Merged
MickLesk merged 4 commits intomainfrom
fix/527-524-523-bugfixes
Mar 31, 2026
Merged

PB 503 retry, IPv6 validation, download concurrency, little performance improvements#534
MickLesk merged 4 commits intomainfrom
fix/527-524-523-bugfixes

Conversation

@MickLesk
Copy link
Copy Markdown
Member

✍️ Description

🔗 Related PR / Issue

Fixes: #

✅ Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

Screenshot for frontend Change


🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.

@MickLesk MickLesk requested a review from a team as a code owner March 31, 2026 19:27
- Add withPbRetry() with exponential backoff for PocketBase queries
  that return 503/429 under concurrent tRPC request load (#527)
- Accept IPv6 addresses in gateway and DNS resolver fields (#524)
- Batch loadMultipleScripts in groups of 5 with Promise.allSettled
  and inter-batch delay to avoid GitHub rate limits (#523)

Closes #527, Closes #524, Closes #523
@MickLesk MickLesk changed the title PB 503 retry, IPv6 validation, download concurrency PB 503 retry, IPv6 validation, download concurrency, little performance improvements Mar 31, 2026
@MickLesk MickLesk force-pushed the fix/527-524-523-bugfixes branch from eb0efd1 to 370a785 Compare March 31, 2026 19:30
…Link

- staleTime 30s → 5min: script metadata rarely changes, avoids
  constant re-fetches on every navigation
- refetchOnWindowFocus: false: prevents all queries from re-firing
  when switching tabs or clicking back into the window
- httpBatchLink instead of httpBatchStreamLink: responses arrive as
  single JSON payload instead of streamed chunks, reducing overhead
  for the typical small tRPC payloads
@MickLesk MickLesk force-pushed the fix/527-524-523-bugfixes branch from 370a785 to bf9a34e Compare March 31, 2026 19:32
@MickLesk MickLesk merged commit e19f946 into main Mar 31, 2026
4 checks passed
@MickLesk MickLesk deleted the fix/527-524-523-bugfixes branch April 1, 2026 11:14
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.

1 participant