Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
b362a69
fix: replace Dictionary with ConcurrentDictionary in PermissionMetricโ€ฆ
Dec 2, 2025
02a1e85
test: add DbContext transaction tests with PostgreSQL
Dec 2, 2025
7d40005
test: add ExternalServicesHealthCheck tests with 9 passing tests
Dec 2, 2025
ccd2634
refactor: remove reflection from health check tests
Dec 2, 2025
24a70bc
test: add HelpProcessingHealthCheck and DatabasePerformanceHealthChecโ€ฆ
Dec 2, 2025
246b3bc
chore(coverage): exclude compiler-generated code from coverage analysis
Dec 2, 2025
8321da3
fix: resource leaks, username validation, coverage thresholds, formatโ€ฆ
Dec 2, 2025
db967df
fix: suppress CA2000 in test mocks, improve test documentation
Dec 2, 2025
259203e
chore: trigger CI/CD pipeline
Dec 2, 2025
0a33ce2
fix: YAML syntax error in pr-validation workflow line 331
Dec 2, 2025
bace8a1
fix: improve monitor script robustness and test documentation
Dec 2, 2025
8796841
fix: YAML parser error with XML heredoc - use echo instead
Dec 2, 2025
9def44b
test: add Quick Win tests for Options and NoOpClaimsTransformation
Dec 2, 2025
ce6e546
test: add Quick Win 3 - Swagger filter tests
Dec 2, 2025
1b96896
test: add Sprint 2 Task 2.1 - Environment & Configuration tests
Dec 2, 2025
0f7faaf
test: add Sprint 2 Task 2.2 - StaticFilesMiddleware logic tests
Dec 2, 2025
071538c
test: add Sprint 3 Task 3.1 - SecurityExtensions null validation tests
Dec 2, 2025
131fd3f
refactor: apply code review fixes
Dec 2, 2025
f355f47
refactor: apply additional code review suggestions
Dec 2, 2025
9805f08
refactor: apply code review fixes for test naming and timing
Dec 3, 2025
94bb661
feat: add coverage.runsettings for accurate local coverage testing
Dec 3, 2025
b10bed8
refactor: apply code review fixes
Dec 3, 2025
8b2b5d0
fix: resolve build errors and YAML validation issues
Dec 3, 2025
982769c
test: remove problematic SecurityExtensions tests
Dec 3, 2025
b0cff97
test: add Email value object tests
Dec 3, 2025
e02226e
test: add Documents module unit tests
Dec 3, 2025
3c5e47a
test: add Providers module value object tests
Dec 3, 2025
40440fc
refactor: improve test assertions and YAML readability
Dec 3, 2025
8c3fec8
test: add value object and enum tests for multiple modules
Dec 3, 2025
52ca390
test: add domain event tests for Users and Providers modules
Dec 3, 2025
b58c595
fix: correct coverage filters in pr-validation workflow
Dec 3, 2025
c68281e
test: apply code review improvements
Dec 3, 2025
aec6f5e
test: apply additional code review improvements
Dec 3, 2025
1ee6e59
fix: add missing CORS configuration to security tests
Dec 3, 2025
44ebc71
ci: block EF Core 10.0.0 stable updates until Npgsql compatibility
Dec 3, 2025
720dd22
docs: add EF Core 10 migration status and PR #41 rejection explanation
Dec 3, 2025
060fefd
docs: remove pr-41-rejection-comment.md
Dec 3, 2025
b642b10
feat: configure automated Npgsql 10.0.0 stable monitoring
Dec 3, 2025
07f50c9
refactor: apply code review suggestions to test files
Dec 3, 2025
1de1a68
docs: apply code review improvements to Npgsql monitoring documentation
Dec 3, 2025
89b801e
ci: fix coverage collection - exclude Integration and E2E tests
Dec 3, 2025
bd35d4a
ci: separate test steps for better visibility in GitHub Actions UI
Dec 3, 2025
65eef31
test: remove duplicate integration tests (Phase 1 - Quick Wins)
Dec 4, 2025
3e2447e
test: remove low-value smoke tests and DbContext duplicates (Phase 2)
Dec 4, 2025
063020e
test: Phase 3 - Remove E2E test duplicates and low-value tests
Dec 4, 2025
bcb893a
test: Phase 4 - Remove Integration test duplicates and trivial tests
Dec 4, 2025
ca06b24
refactor(tests): Phase 5 - Remove remaining duplicate tests and Impleโ€ฆ
Dec 4, 2025
8c8d0e3
refactor(tests): apply code review improvements and fix test quality โ€ฆ
Dec 4, 2025
193981b
fix(ci): improve test separation visibility and fix coverage calculation
Dec 4, 2025
8787374
test: remove 11 tests with Skip attribute
Dec 4, 2025
aa7bdcc
test: remove all remaining Skip tests - no value in keeping disabled โ€ฆ
Dec 4, 2025
3b1a9f3
fix(ci): resolve YAML validation errors and warnings
Dec 4, 2025
df8c627
feat(users): implement optimistic concurrency control using PostgreSQโ€ฆ
Dec 4, 2025
711b43f
fix(tests): address code review feedback - improve test precision andโ€ฆ
Dec 4, 2025
bb893a2
fix(ci): remove Hangfire compatibility test step - tests no longer exist
Dec 4, 2025
6075234
fix(ci): use explicit coverage paths in PR Validation workflow
Dec 4, 2025
f854c4f
fix(ci): add visual test separation headers to PR Validation workflow
Dec 4, 2025
4facc65
fix: address final code review feedback
Dec 4, 2025
33cbe39
fix: improve PR validation coverage accuracy with aggregated reports
Dec 4, 2025
4dbdc34
fix: add dotnet tools to PATH for reportgenerator command
Dec 4, 2025
12db241
fix: correct ReportGenerator classfilters syntax with - prefix
Dec 4, 2025
a830f9c
fix: skip Integration/E2E tests in PR validation (require database)
Dec 4, 2025
b7e13be
fix: use comma-separated file globs for CodeCoverageSummary action
Dec 4, 2025
c07ef10
fix: restore Integration/E2E tests and fix SearchProviders connectionโ€ฆ
Dec 4, 2025
fc088e7
refactor: apply code review feedback for SearchProviders and coverageโ€ฆ
Dec 4, 2025
b622a38
fix: use Cobertura output for ReportGenerator (OpenCover requires Pro)
Dec 4, 2025
334d745
fix: accept both 401 and 403 in DocumentsApiTests mismatched providerโ€ฆ
Dec 4, 2025
791239d
fix: aggregate coverage after all tests to include Integration/E2E
Dec 4, 2025
868ce97
fix: apply code review feedback - compilation error and XML docs
Dec 4, 2025
7006a38
fix: honor INTEGRATION_TESTS environment variable and remove duplicatโ€ฆ
Dec 4, 2025
6845962
fix: correct assembly filters in ReportGenerator to match actual asseโ€ฆ
Dec 4, 2025
31dbd5f
fix: apply code review feedback - ExcludeByFile for Integration/E2E tโ€ฆ
Dec 4, 2025
d3dbfce
fix: exclude .Tests assemblies from coverage and truncate percentage
Dec 4, 2025
4c08ada
fix: correct step ID references and extract reusable runsettings geneโ€ฆ
Dec 4, 2025
ff0d4dd
test: add unit tests for Locations External API clients
Dec 4, 2025
60d3566
feat(tests): add unit tests for Locations External API clients
Dec 4, 2025
498a3d4
feat(tests): add unit tests for PagedSearchResultDto
Dec 4, 2025
7afc816
feat(tests): add comprehensive unit tests for UserRoles
Dec 4, 2025
c0f8efa
feat(tests): add unit tests for Providers Value Objects
Dec 4, 2025
2ab1c22
feat(tests): add unit tests for ServiceCatalogs Domain Events
Dec 4, 2025
f7051fa
fix(ci): exclude Migrations, Database, and Contracts from coverage
Dec 4, 2025
b62f012
feat(tests): add unit tests for Users Event Handlers
Dec 4, 2025
0e460b7
feat(tests): add unit tests for ServiceCatalogsModuleApi
Dec 4, 2025
e08321f
fix(ci): escape heredoc variables in pr-validation workflow
Dec 4, 2025
88c613b
fix: address CodeRabbit review findings
Dec 4, 2025
5d6e0fa
fix(ci): replace heredoc with echo blocks in all workflow steps
Dec 4, 2025
bb7c748
refactor: apply code review feedback
Dec 4, 2025
68d53a1
refactor(ci): extract runsettings generation to shared script
Dec 4, 2025
fe626a4
fix(ci): use sed instead of bash string substitution in escape_xml
Dec 4, 2025
d635d8c
docs(ci-cd): add comprehensive workflows documentation
Dec 4, 2025
58243ec
docs(roadmap): add MkDocs Material decision for Sprint 2
Dec 4, 2025
48d58cc
docs(roadmap): add documentation curation process for MkDocs migration
Dec 4, 2025
fc9e36b
feat(tests): add SearchProvidersModuleApi tests
Dec 4, 2025
f3c579c
feat(tests): add 35 Shared authorization tests (PermissionExtensions โ€ฆ
Dec 4, 2025
00da0f1
feat(tests): add 26 Shared UserId value object tests
Dec 4, 2025
372b71b
refactor(tests): improve test assertions per code review
Dec 4, 2025
7026c5d
feat(tests): add Batch 2B/2C infrastructure tests (44 new tests total)
Dec 4, 2025
1341e24
feat(tests): add 38 exception tests (NotFoundException, ForbiddenAcceโ€ฆ
Dec 4, 2025
f741e46
feat(tests): add 21 EndpointExtensions tests + document HandlePaged bug
Dec 5, 2025
fe8b73c
refactor(tests): apply code review improvements
Dec 5, 2025
bd08399
fix(tests): correct ESubscriptionTier enum reference
Dec 5, 2025
a2d1fe2
fix(shared): correct PagedResponse constructor parameter order
Dec 5, 2025
b09a8f8
refactor(tests): apply code review improvements
Dec 5, 2025
23de3a6
test(users): add UsersPermissions policy tests
Dec 5, 2025
e53c529
test(documents): add 14 infrastructure integration tests
Dec 5, 2025
02ca672
test(shared): add 17 infrastructure integration tests
Dec 5, 2025
5cf9f21
refactor: apply code review improvements
Dec 5, 2025
4f08a8c
test: add 57 integration tests across Users, SearchProviders, and Serโ€ฆ
Dec 5, 2025
ea12b72
fix: properly exclude Migrations from coverage and fix failing integrโ€ฆ
Dec 5, 2025
af9f151
test: fix remaining ServiceCatalogs integration test failures
Dec 5, 2025
88e1640
refactor: apply code review improvements
Dec 5, 2025
b31fbf8
test: add missing IsSuccess check in ServiceCatalogs workflow test
Dec 5, 2025
d77c858
fix: correct Migrations exclusion pattern in coverage
Dec 5, 2025
e620371
refactor: rename cancellation test to reflect actual behavior
Dec 5, 2025
2fabb4b
fix: add INCLUDE_FILTER parameter to E2E tests coverage generation
Dec 5, 2025
8ff4311
fix: use broader pattern to exclude Migrations from coverage
Dec 5, 2025
b7789c5
refactor: use awk-only coverage extraction (remove bc dependency)
Dec 5, 2025
c6343e1
fix: use .runsettings in ReportGenerator to exclude Migrations
Dec 5, 2025
432ec75
test: add Shared.Messaging and BusinessMetrics tests (63 passing tests)
Dec 5, 2025
f3b1ece
test: add event handler and messaging tests (partial)
Dec 5, 2025
0dd7817
test: add event handler and GlobalExceptionHandler tests
Dec 5, 2025
9998270
test: add PostgreSqlExceptionProcessor tests (12 tests)
Dec 5, 2025
c85c8fe
test: add Shared.Logging and API Extensions tests
Dec 5, 2025
068a769
refactor: improve test quality and maintainability
Dec 5, 2025
2be24a5
refactor: implement code review improvements and fix .NET 10 compatibโ€ฆ
Dec 5, 2025
8dc5ae6
refactor: strengthen test assertions and align coverage thresholds
Dec 5, 2025
f4501f5
test: add RabbitMqMessageBus unit tests and fix parse-coverage script
Dec 5, 2025
60dbaaa
style: Fix code formatting issues from dotnet format
Dec 5, 2025
c29c835
docs: Add XML documentation and improve test quality
Dec 5, 2025
c36c4ab
fix: Resolve compilation errors and documentation issues
Dec 5, 2025
e0e97aa
docs: Add XML documentation and use UUID v7 for test IDs
Dec 6, 2025
2246171
test: Improve test code quality with nameof() and UuidGenerator
Dec 6, 2025
621b77c
refactor: Use collection expression instead of Array.Empty
Dec 6, 2025
4f68dbf
docs: Improve XML documentation and test assertions
Dec 6, 2025
917f1c7
ci: Optimize artifact uploads to prevent timeouts
Dec 6, 2025
85bab36
feat: Measure actual response time in ExternalServicesHealthCheck
Dec 6, 2025
87c481f
refactor: optimize coverage filters to exclude infrastructure classes
Dec 8, 2025
416a016
wip: add initial tests for Provider event handlers (needs signature fโ€ฆ
Dec 8, 2025
7fb64b4
fix: correct event handler test signatures and improve coverage tooling
Dec 8, 2025
16be208
fix: remove non-existent workflow outputs and add logger verificationโ€ฆ
Dec 8, 2025
58f6dcb
feat: update threshold to 90%, improve test quality and add ApiVersioโ€ฆ
Dec 8, 2025
99d1917
refactor: move warning suppressions from pragmas to .editorconfig
Dec 8, 2025
405233f
fix: correct workflow script sourcing, ReportGenerator filters, and Oโ€ฆ
Dec 8, 2025
13d6c8c
fix: correct OpenApi namespace usage in ApiVersionOperationFilterTests
Dec 8, 2025
6803256
refactor: consolidate CA2000 suppression and optimize workflow scriptโ€ฆ
Dec 8, 2025
81834c0
test: add GetProviderByDocumentQueryHandler tests (9 comprehensive teโ€ฆ
Dec 8, 2025
5eea138
test: add Documents module integration tests (16 tests, 10 passing)
Dec 8, 2025
0d29171
fix: use admin auth for Documents upload tests
Dec 8, 2025
435aa2d
test: add comprehensive DocumentExtensions tests (25 tests)
Dec 8, 2025
9e5f2fc
refactor: apply code review improvements to tests
Dec 8, 2025
50cd4f6
refactor: remove redundant E2E tests and add unit tests for Documentsโ€ฆ
Dec 9, 2025
5928efe
fix: apply code review improvements to Documents tests
Dec 9, 2025
1b13b3e
refactor: apply DRY improvements to Documents tests
Dec 9, 2025
ff1d73e
fix: update enum converter test for InMemory compatibility
Dec 9, 2025
33ba954
fix: ensure pipeline fails immediately when tests fail
Dec 9, 2025
3ff5401
fix: call Times.Once() instead of passing method group
Dec 9, 2025
fedfc53
fix: resolve all compiler warnings and code review feedback
Dec 9, 2025
1156ff7
fix: resolve all compilation errors and code review feedback
Dec 9, 2025
ce51565
refactor: apply comprehensive code review improvements
Dec 9, 2025
2040475
feat: Add 27 error handling tests for DocumentsModuleApi
Dec 9, 2025
068ab3b
feat: Add 27 error handling tests to DocumentsModuleApiTests
Dec 9, 2025
3ff855f
chore: reorganize coverage scripts for better discoverability
Dec 9, 2025
2795fe4
test: add unit tests for RateLimitingMiddleware and module extensions
Dec 9, 2025
2022a3f
refactor: reorganize test structure and remove redundant tests
Dec 9, 2025
01f6c7c
fix: remove deprecated Aspire workload installation from CI/CD
Dec 9, 2025
5a5d0aa
test: expand AzureDocumentIntelligenceService tests and fix issues
Dec 9, 2025
304b697
fix: correct namespaces, cross-platform script, and CEP validation tests
Dec 9, 2025
e0e079a
test: add comprehensive extension tests for Documents and SearchProviโ€ฆ
Dec 9, 2025
2edc662
refactor: improve test quality and code cleanliness
Dec 9, 2025
e9c1179
test: improve test assertions and diagnostics
Dec 9, 2025
9cf0de9
test: replace NSubstitute with Moq in SecurityExtensionsTests
Dec 9, 2025
93a60cb
test: add comprehensive tests for RequestLoggingMiddleware (100% lineโ€ฆ
Dec 9, 2025
a23d809
test: add comprehensive tests for DocumentVerificationJob (15 tests)
Dec 9, 2025
f3b7f39
test: add tests for CepLookupService caching behavior (4 tests)
Dec 9, 2025
c7be80f
test: add tests for GeocodingService caching behavior (6 tests)
Dec 9, 2025
9b9381f
chore: suppress CA2000 warnings in test projects via local .editorconโ€ฆ
Dec 9, 2025
439b575
refactor: improve test quality and coverage configuration
Dec 9, 2025
ca7f9e2
test: enhance ModuleApi tests to achieve 100% DTO coverage
Dec 9, 2025
2c7d7ea
Merge branch 'master' into improve-tests-coverage-2
Dec 9, 2025
c3f095d
chore: suppress CS8604 warnings in test projects
Dec 9, 2025
617b595
merge: sync with master after Aspire investigation resolution
Dec 10, 2025
a9b11cd
fix: address CodeRabbit review feedback
Dec 10, 2025
60b1d12
fix: upgrade to stable packages and address CodeRabbit feedback
Dec 10, 2025
1a2c8be
fix: regenerate lockfiles for linux-x64 and update Hangfire compatibiโ€ฆ
Dec 10, 2025
0bb71cd
fix: exclude Program.cs and DbContextFactory from coverage metrics
Dec 10, 2025
383822d
feat: add DTO unit tests to strengthen coverage above 90%
Dec 10, 2025
2f75bfb
fix: enforce locked-mode restore and correct documentation references
Dec 10, 2025
6267baf
fix: Corrigir UsersModuleApiTests e regenerar AppHost lockfile
Dec 10, 2025
401ff61
fix: Corrigir issues do CodeRabbit e regenerar lockfiles
Dec 10, 2025
bc0b475
fix: correct Hangfire.PostgreSql version and cleanup duplicate test fโ€ฆ
Dec 10, 2025
86c6652
fix: remove RuntimeIdentifier from AppHost to support cross-platform โ€ฆ
Dec 10, 2025
4687250
feat: upgrade to EF Core 10.0.1 GA and Npgsql 10.0.0 GA
Dec 10, 2025
9983988
feat: add Linux lockfile regeneration workflow and GetUserByUsernameAโ€ฆ
Dec 10, 2025
5819936
docs: update Hangfire.PostgreSql version references and add EFCore.Naโ€ฆ
Dec 10, 2025
5f95c29
fix: remove Aspire lockfiles to resolve NU1004 errors in CI
Dec 10, 2025
08f2c6a
refactor: address CodeRabbit feedback and improve code quality
Dec 10, 2025
e73ccd5
fix: remove invalid tests for non-existent GetUserByUsernameAsync method
Dec 10, 2025
330fd0b
refactor: address CodeRabbit feedback and improve code quality
Dec 10, 2025
f139480
refactor: address CodeRabbit final review feedback (partial)
Dec 10, 2025
42b4317
fix: correct failing tests and apply code formatting
Dec 10, 2025
3ed51dd
fix: resolve CS8625 warning - use default(HealthCheckService) insteadโ€ฆ
Dec 10, 2025
5f8f7bb
refactor: improve IsAvailableAsync test coverage and fix markdown linโ€ฆ
Dec 10, 2025
e39be3c
fix: disable RestoreLockedMode for AppHost and dependent test projects
Dec 10, 2025
aa337eb
fix: remove --locked-mode from CI workflows and cleanup test code
Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
142 changes: 142 additions & 0 deletions .github/ISSUE_TEMPLATE/efcore-naming-conventions-stable-monitoring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
---
name: ๐Ÿ”” Monitor EFCore.NamingConventions Stable Release
about: Track EFCore.NamingConventions 10.x stable release
title: "[MONITOR] EFCore.NamingConventions 10.x - Awaiting stable release"
labels: dependencies, monitoring, ef-core
assignees: ''
---

# [MONITOR] EFCore.NamingConventions 10.x - Aguardando release estรกvel

## ๐Ÿ“ฆ Status Atual

**Pacote**: `EFCore.NamingConventions`
**Versรฃo atual**: `10.0.0-rc.2` (pre-release)
**Versรฃo estรกvel mais recente**: `9.0.0` (para EF Core 9.x)
**Versรฃo esperada**: `10.0.0` (stable)
**Status**: โณ **AGUARDANDO RELEASE STABLE**

## ๐Ÿ”— Links de Monitoramento

- **NuGet**: [EFCore.NamingConventions no NuGet](https://www.nuget.org/packages/EFCore.NamingConventions)
- **GitHub**: [efcore/EFCore.NamingConventions](https://github.com/efcore/EFCore.NamingConventions)
- **Releases**: [Histรณrico de releases](https://github.com/efcore/EFCore.NamingConventions/releases)

## โš ๏ธ Situaรงรฃo Atual

### Por Que Estamos Usando RC?

Atualmente usamos **EF Core 10.0.1 (stable)** com **EFCore.NamingConventions 10.0.0-rc.2 (pre-release)**:

```xml
<!-- Directory.Packages.props -->
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="10.0.1" />
<PackageVersion Include="EFCore.NamingConventions" Version="10.0.0-rc.2" />
```

### Riscos

1. **Version Skew**: Biblioteca RC rodando com EF Core stable pode ter comportamento inesperado
2. **Type Load Issues**: Possรญveis `TypeLoadException` ou `MissingMethodException` devido a mudanรงas internas do EF Core
3. **Unsupported**: Misturar RC + stable nรฃo รฉ oficialmente suportado

### Por Que Nรฃo Downgrade para 9.0.0?

A versรฃo stable `9.0.0` รฉ compatรญvel apenas com EF Core 9.x, nรฃo com EF Core 10.x:

```xml
<!-- EFCore.NamingConventions 9.0.0 dependencies -->
<dependency id="Microsoft.EntityFrameworkCore" version="[9.0.0, 10.0.0)" />
```

## โœ… Critรฉrios para Resolver

### Quando Fechar Esta Issue

- [ ] **EFCore.NamingConventions 10.0.0 stable** lanรงado no NuGet
- [ ] Dependabot cria PR automรกtico para atualizaรงรฃo
- [ ] Atualizar `Directory.Packages.props`:
```xml
<PackageVersion Include="EFCore.NamingConventions" Version="10.0.0" />
```
- [ ] Regenerar lockfiles: `dotnet restore --force-evaluate`
- [ ] Build e testes passando
- [ ] Atualizar documentaรงรฃo para remover avisos sobre versรฃo RC

## ๐Ÿ“‹ Monitoramento Automatizado

### Configuraรงรฃo Dependabot

Dependabot estรก configurado para monitorar automaticamente:

```yaml
# .github/dependabot.yml
- package-ecosystem: "nuget"
directory: "/"
schedule:
interval: "daily"
# EFCore.NamingConventions NรƒO estรก bloqueado - Dependabot criarรก PR automaticamente
```

### Como Verificar Manualmente

```bash
# Check latest version on NuGet
dotnet list package --outdated --include-prerelease | grep EFCore.NamingConventions

# Or use NuGet CLI
nuget list EFCore.NamingConventions -PreRelease
```

## ๐Ÿงช Status de Testes

### Testes Atuais (RC)

- โœ… Testes unitรกrios passando
- โœ… Testes de integraรงรฃo passando
- โœ… Migrations funcionando
- โš ๏ธ **Sem testes especรญficos** para validar compatibilidade RC + stable

### Quando Stable for Lanรงado

1. Atualizar pacote via Dependabot PR
2. Executar suite completa de testes
3. Validar migrations existentes
4. Testar em staging antes de production

## ๐Ÿ“ Notas Adicionais

### Alternativas Consideradas

1. **Opรงรฃo 1**: Continuar com RC (atual)
- โœ… Permite usar EF Core 10.x
- โŒ Risco de incompatibilidade
- โœ… Testes passando atรฉ agora

2. **Opรงรฃo 2**: Downgrade para EF Core 9.x
- โœ… Usa versรฃo stable (9.0.0)
- โŒ Perde recursos do .NET 10
- โŒ Adia migraรงรฃo

3. **Opรงรฃo 3**: Remover EFCore.NamingConventions
- โŒ Perde snake_case naming conventions
- โŒ Requer refatoraรงรฃo de todas migrations
- โŒ Nรฃo recomendado

**Decisรฃo**: Manter RC atรฉ stable release (Opรงรฃo 1)

### Histรณrico de Releases

- **9.0.0** (Nov 2024): Stable para EF Core 9.x
- **10.0.0-rc.2** (Set 2024): RC para EF Core 10.x RC
- **10.0.0** (TBD): Aguardando...

### Related Issues

- #42: Npgsql 10.x stable monitoring (CLOSED - jรก lanรงado)
- See: `.github/ISSUE_TEMPLATE/npgsql-10-stable-monitoring.md`

---

**รšltima verificaรงรฃo**: YYYY-MM-DD (atualizar ao revisar)
**Prรณxima verificaรงรฃo**: Automรกtica via Dependabot (diรกria)
8 changes: 4 additions & 4 deletions .github/workflows/aspire-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Restore dependencies
run: dotnet restore MeAjudaAi.sln --force-evaluate --locked-mode
run: dotnet restore MeAjudaAi.sln --force-evaluate

- name: Build solution
run: dotnet build MeAjudaAi.sln --no-restore --configuration Release --verbosity minimal
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Restore dependencies
run: dotnet restore MeAjudaAi.sln --force-evaluate --locked-mode
run: dotnet restore MeAjudaAi.sln --force-evaluate

- name: Validate Aspire AppHost
run: |
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Restore dependencies
run: dotnet restore MeAjudaAi.sln --force-evaluate --locked-mode
run: dotnet restore MeAjudaAi.sln --force-evaluate

- name: Check code formatting
run: |
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Restore dependencies
run: dotnet restore MeAjudaAi.sln --force-evaluate --locked-mode
run: dotnet restore MeAjudaAi.sln --force-evaluate

- name: Validate ${{ matrix.service.name }} builds for containerization
run: |
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: ๐Ÿ”ง Restore dependencies
run: dotnet restore MeAjudaAi.sln --force-evaluate --locked-mode
run: dotnet restore MeAjudaAi.sln --force-evaluate

- name: Build solution
run: dotnet build MeAjudaAi.sln --configuration Release --no-restore
Expand Down Expand Up @@ -174,15 +174,7 @@ jobs:
- name: Generate Code Coverage Report
run: |
reportgenerator \
-reports:"TestResults/Shared/**/coverage.cobertura.xml;\
TestResults/Architecture/**/coverage.cobertura.xml;\
TestResults/ApiService/**/coverage.cobertura.xml;\
TestResults/Users/**/coverage.cobertura.xml;\
TestResults/Documents/**/coverage.cobertura.xml;\
TestResults/Providers/**/coverage.cobertura.xml;\
TestResults/ServiceCatalogs/**/coverage.cobertura.xml;\
TestResults/Locations/**/coverage.cobertura.xml;\
TestResults/SearchProviders/**/coverage.cobertura.xml" \
-reports:"TestResults/Shared/**/coverage.cobertura.xml;TestResults/Architecture/**/coverage.cobertura.xml;TestResults/ApiService/**/coverage.cobertura.xml;TestResults/Users/**/coverage.cobertura.xml;TestResults/Documents/**/coverage.cobertura.xml;TestResults/Providers/**/coverage.cobertura.xml;TestResults/ServiceCatalogs/**/coverage.cobertura.xml;TestResults/Locations/**/coverage.cobertura.xml;TestResults/SearchProviders/**/coverage.cobertura.xml" \
-targetdir:"TestResults/Coverage" \
-reporttypes:"Html;Cobertura;JsonSummary" \
-assemblyfilters:"-*.Tests*;-*Test*;-*.Migrations.*;-*.Database;-*.Contracts" \
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
sudo apt-get install -y postgresql-client

- name: ๐Ÿ”ง Restore dependencies
run: dotnet restore MeAjudaAi.sln --force-evaluate
run: dotnet restore MeAjudaAi.sln

- name: Build solution
run: dotnet build MeAjudaAi.sln --configuration Release --no-restore
Expand Down Expand Up @@ -170,8 +170,8 @@
# โš ๏ธ TEST CREDENTIALS ONLY - These are the standard Azurite local emulator credentials
# These are intentionally public and documented at:
# https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azurite#well-known-storage-account-and-key
AZURE_STORAGE_CONNECTION_STRING: "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://localhost:10000/devstoreaccount1;"

Check warning on line 173 in .github/workflows/pr-validation.yml

View workflow job for this annotation

GitHub Actions / YAML Syntax Check

173:121 [line-length] line too long (257 > 120 characters)
AzureStorage__ConnectionString: "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://localhost:10000/devstoreaccount1;"

Check warning on line 174 in .github/workflows/pr-validation.yml

View workflow job for this annotation

GitHub Actions / YAML Syntax Check

174:121 [line-length] line too long (256 > 120 characters)
# Map connection strings to .NET configuration using double underscore
ConnectionStrings__DefaultConnection: ${{ steps.db.outputs.connection-string }}
ConnectionStrings__Users: ${{ steps.db.outputs.connection-string }}
Expand Down Expand Up @@ -298,11 +298,13 @@
# - Migrations: [*]*Migrations* (any class/namespace containing "Migrations")
# - Database: [*]*.Database (database-related generated code)
# - Contracts: [*]*.Contracts (DTOs, no logic to test)
# - DbContextFactory: [*]*DbContextFactory* (EF Core design-time factories)
# - Program: [*]*.Program (application entry points)
# - OpenApi generated: [*Microsoft.AspNetCore.OpenApi.Generated*]*
# - Compiler services: [*System.Runtime.CompilerServices*]*
# - Regex generator: [*System.Text.RegularExpressions.Generated*]*
EXCLUDE_FILTER="[*.Tests*]*,[*Test*]*,[testhost]*,[*]*Migrations*,[*]*.Database,[*]*.Contracts,[*Microsoft.AspNetCore.OpenApi.Generated*]*,[*System.Runtime.CompilerServices*]*,[*System.Text.RegularExpressions.Generated*]*"
EXCLUDE_BY_FILE="**/*OpenApi*.generated.cs,**/System.Runtime.CompilerServices*.cs,**/*RegexGenerator.g.cs,**/Migrations/*.cs,**/Migrations/**/*.cs,**/Database/*.cs"
EXCLUDE_FILTER="[*.Tests*]*,[*Test*]*,[testhost]*,[*]*Migrations*,[*]*.Database,[*]*.Contracts,[*]*DbContextFactory*,[*]*.Program,[*Microsoft.AspNetCore.OpenApi.Generated*]*,[*System.Runtime.CompilerServices*]*,[*System.Text.RegularExpressions.Generated*]*"
EXCLUDE_BY_FILE="**/*OpenApi*.generated.cs,**/System.Runtime.CompilerServices*.cs,**/*RegexGenerator.g.cs,**/Migrations/*.cs,**/Migrations/**/*.cs,**/Database/*.cs,**/*DbContextFactory.cs,**/Program.cs"

echo " Include: $INCLUDE_FILTER"
echo " Exclude: $EXCLUDE_FILTER"
Expand Down Expand Up @@ -375,7 +377,7 @@
find ./coverage -type f \( -name "*.opencover.xml" -o -name "*.cobertura.xml" \) | wc -l
echo ""
echo "Coverage files by module:"
find ./coverage -type f \( -name "*.opencover.xml" -o -name "*.cobertura.xml" \) -printf "%f\n" | sort | head -20

Check warning on line 380 in .github/workflows/pr-validation.yml

View workflow job for this annotation

GitHub Actions / YAML Syntax Check

380:121 [line-length] line too long (123 > 120 characters)
echo ""

echo "๐Ÿ” DEBUG: Verifying coverage files for CodeCoverageSummary..."
Expand Down Expand Up @@ -584,8 +586,8 @@
# ReportGenerator filter syntax: semicolon-separated, +/- prefix, no brackets
# Include main assemblies (use wildcards for all module components)
INCLUDE_FILTER="+MeAjudaAi.Modules.Users.*;+MeAjudaAi.Modules.Providers.*;+MeAjudaAi.Modules.Documents.*;+MeAjudaAi.Modules.ServiceCatalogs.*;+MeAjudaAi.Modules.Locations.*;+MeAjudaAi.Modules.SearchProviders.*;+MeAjudaAi.Shared*;+MeAjudaAi.ApiService*"
# CRITICAL: Exclude .Tests assemblies, Migrations, infrastructure classes
EXCLUDE_FILTER="-*.Tests;-*.Tests.*;-*Test*;-testhost;-xunit*;-*.Migrations.*;-*.Contracts;-*.Database;-*.Keycloak.*;-*.Monitoring.*;-*NoOp*;-*RabbitMq*;-*ServiceBus*;-*Hangfire*;-*.Jobs.*;-*Options;-*BaseDesignTimeDbContextFactory*;-*SchemaPermissionsManager;-*SimpleHostEnvironment;-*CacheWarmupService;-*GeoPointConverter;-*ModuleNames;-*ModuleApiInfo;-*MessagingExtensions;-*ICacheableQuery"
# CRITICAL: Exclude .Tests assemblies, Migrations, infrastructure classes, Program.cs, DbContextFactory
EXCLUDE_FILTER="-*.Tests;-*.Tests.*;-*Test*;-testhost;-xunit*;-*.Migrations.*;-*.Contracts;-*.Database;-*DbContextFactory;-*.Program;-*.Keycloak.*;-*.Monitoring.*;-*NoOp*;-*RabbitMq*;-*ServiceBus*;-*Hangfire*;-*.Jobs.*;-*Options;-*BaseDesignTimeDbContextFactory*;-*SchemaPermissionsManager;-*SimpleHostEnvironment;-*CacheWarmupService;-*GeoPointConverter;-*ModuleNames;-*ModuleApiInfo;-*MessagingExtensions;-*ICacheableQuery"

reportgenerator \
-reports:"coverage/users/*.opencover.xml;coverage/providers/*.opencover.xml;coverage/documents/*.opencover.xml;coverage/servicecatalogs/*.opencover.xml;coverage/locations/*.opencover.xml;coverage/searchproviders/*.opencover.xml;coverage/shared/*.opencover.xml;coverage/apiservice/*.opencover.xml;coverage/integration/**/*.xml;coverage/e2e/**/*.xml" \
Expand Down Expand Up @@ -927,7 +929,7 @@
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Restore dependencies
run: dotnet restore MeAjudaAi.sln --force-evaluate
run: dotnet restore MeAjudaAi.sln

- name: Run Security Audit
run: dotnet list package --vulnerable --include-transitive
Expand Down
Loading
Loading