Skip to content

Conversation

monofunc
Copy link
Contributor

@monofunc monofunc commented Aug 20, 2025

What this PR does / why we need it:

  • Allow users to set a different Service URL for non-custom setups or testing purposes
  • Add functional tests for the AWS SQS health check

Which issue(s) this PR fixes: #2179

Please reference the issue this PR will close: #2179

Special notes for your reviewer:

Does this PR introduce a user-facing change?: extends SqsOptions

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Unit tests passing
  • End-to-end tests passing
  • Extended the documentation
  • Provided sample for the feature

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 77.77778% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.60%. Comparing base (72d9abf) to head (8edf8bf).
⚠️ Report is 40 commits behind head on master.

Files with missing lines Patch % Lines
src/HealthChecks.Aws.Sqs/SqsHealthCheck.cs 75.00% 3 Missing and 1 partial ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2425      +/-   ##
==========================================
+ Coverage   66.88%   67.60%   +0.71%     
==========================================
  Files         268      256      -12     
  Lines        8730     8501     -229     
  Branches      631      606      -25     
==========================================
- Hits         5839     5747      -92     
+ Misses       2723     2588     -135     
+ Partials      168      166       -2     
Flag Coverage Δ
ApplicationStatus 28.67% <ø> (ø)
ArangoDb 28.30% <ø> (ø)
Aws.S3 15.52% <ø> (ø)
Aws.SecretsManager 15.82% <ø> (ø)
Aws.Sns 15.97% <ø> (ø)
Aws.Sqs 31.16% <77.77%> (+14.50%) ⬆️
Aws.SystemsManager 15.82% <ø> (ø)
Azure.IoTHub 34.75% <ø> (+20.92%) ⬆️
AzureApplicationInsights 16.56% <ø> (ø)
AzureBlobStorage ?
AzureDigitalTwin 37.15% <ø> (ø)
AzureEventHubs ?
AzureFileStorage ?
AzureKeyVault 30.48% <ø> (ø)
AzureQueueStorage ?
AzureSearch 17.60% <ø> (ø)
AzureServiceBus 72.48% <ø> (ø)
AzureTableStorage ?
ClickHouse 21.96% <ø> (?)
Consul 24.32% <ø> (ø)
CosmosDb 29.45% <ø> (ø)
Dapr 14.50% <ø> (ø)
DocumentDb ?
DynamoDb 13.29% <ø> (ø)
Elasticsearch 47.66% <ø> (ø)
EventStore 65.14% <ø> (ø)
EventStore.gRPC 25.51% <ø> (ø)
Gcp.CloudFirestore 13.33% <ø> (ø)
Gremlin 25.00% <ø> (ø)
Hangfire 12.10% <ø> (ø)
IbmMQ 30.76% <ø> (ø)
InfluxDB 15.54% <ø> (ø)
Kafka 23.52% <ø> (ø)
Kubernetes 41.54% <ø> (ø)
Milvus 16.78% <ø> (ø)
MongoDb 36.25% <ø> (+3.40%) ⬆️
MySql 33.33% <ø> (ø)
Nats 16.40% <ø> (-56.37%) ⬇️
Npgsql 44.22% <ø> (ø)
OpenIdConnectServer 42.48% <ø> (ø)
Oracle 63.92% <ø> (ø)
Prometheus.Metrics 29.80% <ø> (ø)
Publisher.ApplicationInsights 15.27% <ø> (ø)
Publisher.CloudWatch 20.33% <ø> (ø)
Publisher.Datadog 17.19% <ø> (ø)
Publisher.Prometheus 18.75% <ø> (ø)
Publisher.Seq 40.74% <ø> (ø)
Qdrant 18.25% <ø> (ø)
RabbitMQ 58.21% <ø> (+7.57%) ⬆️
RavenDb 73.42% <ø> (ø)
Redis 68.47% <ø> (ø)
SendGrid 17.21% <ø> (ø)
SignalR 25.97% <ø> (ø)
SqlServer 30.43% <ø> (ø)
Sqlite 28.20% <ø> (+2.32%) ⬆️
SurrealDb 19.08% <ø> (?)
System 43.58% <ø> (ø)
UI 65.88% <ø> (+0.01%) ⬆️
Uris 62.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

How to healthcheck amazon SQS using LocalStack?

2 participants