Skip to content

Feature/deploy tier messaging#97

Merged
s205109 merged 3 commits intomainfrom
feature/deploy-tier-messaging
Apr 28, 2026
Merged

Feature/deploy tier messaging#97
s205109 merged 3 commits intomainfrom
feature/deploy-tier-messaging

Conversation

@s205109
Copy link
Copy Markdown
Owner

@s205109 s205109 commented Apr 28, 2026

Summary

Brief description of changes.

Checklist

  • Tests pass (dotnet test)
  • Build succeeds (dotnet build)
  • No new warnings introduced
  • Breaking changes documented (if any)

s205109 and others added 3 commits April 28, 2026 10:26
New helper scripts for quickly launching API health and UI in default browser:
- open-test-in-browser.ps1 — opens TEST env
- open-prod-in-browser.ps1 — opens PROD env
- _open-env.ps1 — shared helper with error handling

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tarts

Health page now retries up to 10 times with exponential backoff (2s → 4s → ... → 20s) when API is unreachable. Shows "Unable to reach the API — retrying (N of 10)" with cold-start explanation. Works in all environments (local dev, test, prod).

Changes:
- Increase health client timeout to 35s (accommodate cold-starting servers)
- Configure resilience handler: 30s attempt timeout, 60s circuit breaker sampling
- Component-level retry loop with exponential delay capping at 20s
- Neutral messaging works for both deployed and local-dev scenarios

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Display estimated deployment duration based on selected tier:
- Basic: 3-5 minutes
- Free: 5-15 minutes (with note that Free is slower due to resource constraints)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Test Results

2 tests   2 ✅  6s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit 904a2a8.

@github-actions
Copy link
Copy Markdown

Summary

Summary
Generated on: 04/28/2026 - 09:08:15
Coverage date: 04/28/2026 - 09:06:39 - 04/28/2026 - 09:08:09
Parser: MultiReport (10x Cobertura)
Assemblies: 6
Classes: 66
Files: 56
Line coverage: 74.4% (477 of 641)
Covered lines: 477
Uncovered lines: 164
Coverable lines: 641
Total lines: 2254
Branch coverage: 48.2% (69 of 143)
Covered branches: 69
Total branches: 143
Method coverage: Feature is only available for sponsors
Tag: 123_25044014551

Coverage

AHKFlowApp.API - 61.4%
Name Line Branch
AHKFlowApp.API 61.4% 51%
AHKFlowApp.API.Auth.HttpContextCurrentUser 100% 46.1%
AHKFlowApp.API.Auth.TestAuthenticationHandler 100%
AHKFlowApp.API.Controllers.DevController 100%
AHKFlowApp.API.Controllers.HealthController 100%
AHKFlowApp.API.Controllers.HotstringsController 100%
AHKFlowApp.API.Controllers.VersionController 100%
AHKFlowApp.API.Controllers.WhoAmIController 100%
AHKFlowApp.API.DevDockerSqlServer 0% 0%
AHKFlowApp.API.Extensions.ApiExtensions 100%
AHKFlowApp.API.Extensions.ProblemDetailsResultExtensions 100% 100%
AHKFlowApp.API.Middleware.GlobalExceptionMiddleware 100%
AHKFlowApp.API.Models.HealthResponse 100%
AHKFlowApp.API.OpenApi.Examples.CreateHotstringDtoExample 0%
AHKFlowApp.API.OpenApi.Examples.HotstringDtoExample 0%
AHKFlowApp.API.OpenApi.Examples.PagedHotstringsExample 0%
AHKFlowApp.API.OpenApi.Examples.UpdateHotstringDtoExample 0%
AHKFlowApp.Application - 98.1%
Name Line Branch
AHKFlowApp.Application 98.1% 47%
AHKFlowApp.Application.Behaviors.ValidationBehavior`2 100%
AHKFlowApp.Application.Commands.Dev.SeedHotstringsCommandHandler 100%
AHKFlowApp.Application.Commands.Hotstrings.CreateHotstringCommandHandler 66.6% 0%
AHKFlowApp.Application.Commands.Hotstrings.CreateHotstringCommandValidator 100%
AHKFlowApp.Application.Commands.Hotstrings.DeleteHotstringCommandHandler 100%
AHKFlowApp.Application.Commands.Hotstrings.UpdateHotstringCommandHandler 100% 58.3%
AHKFlowApp.Application.Commands.Hotstrings.UpdateHotstringCommandValidator 100%
AHKFlowApp.Application.DependencyInjection 100%
AHKFlowApp.Application.DTOs.CreateHotstringDto 100%
AHKFlowApp.Application.DTOs.HotstringDto 100%
AHKFlowApp.Application.DTOs.PagedList`1 100% 50%
AHKFlowApp.Application.DTOs.UpdateHotstringDto 100%
AHKFlowApp.Application.Mapping.HotstringMappings 100%
AHKFlowApp.Application.Queries.Hotstrings.GetHotstringQueryHandler 100%
AHKFlowApp.Application.Queries.Hotstrings.ListHotstringsQuery 100%
AHKFlowApp.Application.Queries.Hotstrings.ListHotstringsQueryHandler 100%
AHKFlowApp.Application.Queries.Hotstrings.ListHotstringsQueryValidator 100%
AHKFlowApp.Application.Validation.HotstringRules 100% 100%
AHKFlowApp.Domain - 100%
Name Line Branch
AHKFlowApp.Domain 100% ****
AHKFlowApp.Domain.Entities.Hotstring 100%
AHKFlowApp.Infrastructure - 100%
Name Line Branch
AHKFlowApp.Infrastructure 100% 50%
AHKFlowApp.Infrastructure.DependencyInjection 100%
AHKFlowApp.Infrastructure.Persistence.AppDbContext 100%
AHKFlowApp.Infrastructure.Persistence.Configurations.HotstringConfiguration 100%
AHKFlowApp.Infrastructure.Persistence.Configurations.TestMessageConfigurati
on
100%
AHKFlowApp.Infrastructure.Services.VersionService 100% 50%
AHKFlowApp.TestUtilities - 57.5%
Name Line Branch
AHKFlowApp.TestUtilities 57.5% 100%
AHKFlowApp.TestUtilities.Auth.TestAuthHandler 100% 100%
AHKFlowApp.TestUtilities.Auth.TestUserBuilder 77.7%
AHKFlowApp.TestUtilities.Builders.HealthResponseBuilder 0%
AHKFlowApp.TestUtilities.Builders.HotstringBuilder 0%
AHKFlowApp.TestUtilities.Fixtures.CustomWebApplicationFactory 100% 100%
AHKFlowApp.TestUtilities.Fixtures.SqlContainerFixture 100%
AutoGeneratedProgram 0%
AHKFlowApp.UI.Blazor - 76%
Name Line Branch
AHKFlowApp.UI.Blazor 76% 36.9%
AHKFlowApp.UI.Blazor.Auth.ApiAuthorizationMessageHandler 0%
AHKFlowApp.UI.Blazor.Auth.TestAuthenticationProvider 0%
AHKFlowApp.UI.Blazor.DTOs.ApiProblemDetails 100%
AHKFlowApp.UI.Blazor.DTOs.CreateHotstringDto 100%
AHKFlowApp.UI.Blazor.DTOs.HealthResponse 100%
AHKFlowApp.UI.Blazor.DTOs.HotstringDto 100%
AHKFlowApp.UI.Blazor.DTOs.PagedList`1 100%
AHKFlowApp.UI.Blazor.DTOs.UpdateHotstringDto 100%
AHKFlowApp.UI.Blazor.Layout.MainLayout 0%
AHKFlowApp.UI.Blazor.Pages.Health 100% 100%
AHKFlowApp.UI.Blazor.Pages.Hotstrings 90.9%
AHKFlowApp.UI.Blazor.Services.AhkFlowAppApiHttpClient 100%
AHKFlowApp.UI.Blazor.Services.ApiErrorMessageFactory 58.3% 26.6%
AHKFlowApp.UI.Blazor.Services.ApiResult 50%
AHKFlowApp.UI.Blazor.Services.ApiResult`1 100%
AHKFlowApp.UI.Blazor.Services.HotstringsApiClient 60% 41.6%
AHKFlowApp.UI.Blazor.Shared.LoginDisplay 0%
AHKFlowApp.UI.Blazor.Shared.RedirectToLogin 0%
AHKFlowApp.UI.Blazor.Validation.HotstringEditModel 100%

Per-assembly thresholds: Domain line≥85% br≥70% · Application line≥85% br≥45% · Infrastructure line≥70% br≥50% · API line≥57% br≥50% · UI.Blazor line≥65% br≥28%

@s205109 s205109 merged commit bcb49c7 into main Apr 28, 2026
3 checks passed
@s205109 s205109 deleted the feature/deploy-tier-messaging branch April 28, 2026 09:09
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.

1 participant