You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tightens the checks VerifyPayload runs before trusting an SNS message's signature.
Signed fields other than Message may not contain a newline. The string-to-sign is newline-delimited, so a newline lets a signed string parse as different field values.
SigningCertURL hosts must have a region label (sns.<region>.amazonaws.com[.cn]). A looser pattern matches non-SNS amazonaws.com hosts.
SigningCertURL must be a .pem path with no query. pem.Decode finds a PEM block anywhere in a response body.
Type of change
Bug fix (non-breaking change which fixes an issue)
🤖 AI Disclosure
I acknowledge that an LLM was used in the creation of this Pull Request, in accordance with Hatchet's AI_POLICY.md.
Details: Claude (Opus and Fable) investigated the issue and wrote the fix and test; reviewed by me.
Runner CPU during the failed load (optimistic true, race false) run
Busy is 100 minus idle across all CPUs: near 100 means the runner was saturated. Steal is CPU the host took away from the runner: above a few percent means it was oversubscribed. Either way the latency gate measured the runner, not the scheduler.
# host: Linux 6.14.0-1017-azure x86_64
# cpus: 8
# interval: 2s
# busy% is 100 minus idle; process cpu% is that command's share of all CPUs in the interval
samples: 302
malformed samples: 0
busy%: mean 26.6, max 99.8, samples over 90% busy: 11 (4% of the run)
steal%: mean 6.1, max 33.0, samples over 5% steal: 122 (40% of the run)
iowait%: mean 0.5
load1: max 12.5
top processes by mean share of all CPUs:
postgres 8.7%
hatchet-loadtes 4.2%
docker-proxy 2.5%
beam.smp 1.0%
compile 0.3%
go 0.2%
dockerd 0.1%
client.test 0.1%
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
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.
Description
Tightens the checks
VerifyPayloadruns before trusting an SNS message's signature.Messagemay not contain a newline. The string-to-sign is newline-delimited, so a newline lets a signed string parse as different field values.SigningCertURLhosts must have a region label (sns.<region>.amazonaws.com[.cn]). A looser pattern matches non-SNSamazonaws.comhosts.SigningCertURLmust be a.pempath with no query.pem.Decodefinds a PEM block anywhere in a response body.Type of change
🤖 AI Disclosure
I acknowledge that an LLM was used in the creation of this Pull Request, in accordance with Hatchet's AI_POLICY.md.
Details: Claude (Opus and Fable) investigated the issue and wrote the fix and test; reviewed by me.