Skip to content

Fix regression: Crash if too many templates#2783

Merged
danirabbit merged 1 commit intomainfrom
jeremypw/templates/fix-crash-with-invalid-action
Apr 27, 2026
Merged

Fix regression: Crash if too many templates#2783
danirabbit merged 1 commit intomainfrom
jeremypw/templates/fix-crash-with-invalid-action

Conversation

@jeremypw
Copy link
Copy Markdown
Contributor

@jeremypw jeremypw commented Apr 27, 2026

After commit 1d6672a Files crashes if there are too many templates. The fix is simple and implemented here.

Marked as critical but should not affect most users who have a templates folder with less than 2048 templates.

@jeremypw jeremypw added the Priority: Critical Causes Files to crash, hang or otherwise become unusable label Apr 27, 2026
@jeremypw jeremypw requested a review from danirabbit April 27, 2026 17:57
Copy link
Copy Markdown
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

Ah good catch!

@danirabbit danirabbit merged commit 6268646 into main Apr 27, 2026
4 checks passed
@danirabbit danirabbit deleted the jeremypw/templates/fix-crash-with-invalid-action branch April 27, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Critical Causes Files to crash, hang or otherwise become unusable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants