nuxt-modules / nuxt-modules/turnstile

Feature Request: Automatic Retry on Failure

Open
#508 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
297
Forks
26
Avg merge
2h 43m
Merged PRs (30d)
11

Description

🆒 Your use case
Problem

When Turnstile fails due to network issues or timeouts, users get stuck without any retry mechanism.

Use Case

Improve UX for users with unstable networks or when Cloudflare has temporary issues.

🆕 The solution you'd like
Proposed Solution

Add retry configuration:

// nuxt.config.ts
turnstile: {
  siteKey: 'xxx',
  retries: {
    enabled: true,
    maxAttempts: 3,
    backoff: 'exponential' // or 'linear'
  }
}
🔍 Alternatives you've considered

No response

ℹ️ Additional info

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the proposed configuration in nuxt.config.ts and trace where the Nuxt Turnstile module handles failures, timeouts, and configuration options. Done means the issue's enabled, maxAttempts, and exponential or linear backoff settings are supported for retrying failed Turnstile requests, with behavior verified by the project's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.