Repository navigation
Release: TurnstileKeysCheck health check - #141
Merged
Merged
Conversation
Verifies the Turnstile keys hourly so a broken form is caught before visitors run into it. Sends a dummy token to siteverify: a valid secret answers invalid-input-response, a wrong one invalid-input-secret. Fails when the secret is rejected, when a secret is set without a site key (the widget cannot render, every submit is rejected), when Cloudflare is unreachable (the form rule rejects then too) and when production runs on test keys. Warns when a site key has no secret (forms unprotected). Reports ok when Turnstile is not configured. Same check as codebar-ag/laravel-start#139, registered after PostmarkTokenCheck. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Schedule check read its heartbeat from the default cache store, which Cache::flush(), cache:clear and optimize:clear (deploy command) wipe; on Redis that empties the whole Redis database, on the database driver the whole cache table. Oh Dear then reports "The schedule did not run yet" until the next hourly beat. The heartbeat now lives in a dedicated "health" store backed by the health_cache table, which nothing flushes. Same fix as codebar-ag/web.thejungledog b04f83e8. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Level 10 analyses tests/: use the typed runArtisan() wrapper instead of $this->artisan() and narrow the registered check before calling run(). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TurnstileKeysCheck(same as codebar-ag/laravel-start#139), registered afterPostmarkTokenCheck.invalid-input-response, wrong secret →invalid-input-secret.Test plan
TurnstileKeysCheckTest+ provider tests locally, Larastan, Pintinvalid-input-response)🤖 Generated with Claude Code