Skip to content

Bulk GitHub/Trello actions wait up to 5 minutes (#87) - #88

Merged
Oceandek merged 1 commit into
mainfrom
fix/bulk-action-timeout
Oct 22, 2026
Merged

Oceandek merged 1 commit into
mainfrom
fix/bulk-action-timeout

Conversation

@Oceandek

Copy link
Copy Markdown
Collaborator

Closes #87.

Problem

In the team's dummy test, "Create Trello boards for all Projects" showed The server cannot be reached. Try again later.

Cause

The frontend's API client waited at most 5 s for every backend call. Per Project the backend makes several Trello calls (Workspace, board, 5 lists, an invite per person), so with several Projects it needs longer. The frontend gave up while the backend kept working, so the boards were usually created anyway. A second click is safe: Projects that already have a board are skipped, and each Project is locked while its board is made.

Fix

  • api.py: TIMEOUT = 5 stays the default; BULK_TIMEOUT = 300 for create_repos, check_all_members, create_trello_boards and check_all_trello_members.
  • repos.while_working(): a spinning notification ("Creating Trello boards…") while one of those runs, so a long wait doesn't look stuck.
  • docs/CHANGELOG.md: a row for this fix.

Tests

New tests/test_api_timeouts.py: the four bulk actions use the long wait, other calls keep 5 s. The full frontend suite passes locally (92 passed).

🤖 Generated with Claude Code

The frontend waited 5 seconds for every backend call, so "Create Trello
boards for all Projects" with several Projects showed "The server cannot be
reached" while the backend kept working. The four actions for all Projects
now wait up to 5 minutes and show a spinning notification meanwhile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Oceandek
Oceandek merged commit 5f0d804 into main Oct 22, 2026
2 checks passed
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.

Bulk GitHub/Trello actions time out after 5 seconds

1 participant