Skip to content
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
658c244
chore(docs): consolidate roadmaps and define Sprint 10 scope
Apr 13, 2026
a65e79f
feat(sprint-10): implement ratings module and infrastructure quality …
Apr 13, 2026
da2e680
fix(ratings): address review findings, improve coverage and fix CI ga…
Apr 13, 2026
fe8db4d
ci: provide dummy storage connection string for openapi check
Apr 13, 2026
fab0238
ci: provide dummy azure configuration for openapi check
Apr 13, 2026
ae0f209
fix(ratings): implement endpoint improvements, performance optimizati…
Apr 13, 2026
b6f376a
feat(sprint-10): finalize ratings module, e2e tests and robust ci pip…
Apr 13, 2026
227c4e7
ci: make openapi base spec detection more resilient
Apr 13, 2026
a38b3f3
feat(sprint-10): fix e2e test infrastructure and stabilize ratings mo…
Apr 13, 2026
9111068
feat(sprint-10): apply review fixes and stabilize e2e infrastructure
Apr 13, 2026
de34193
chore: update packages.lock.json to fix NU1004 CI errors
Apr 13, 2026
752d016
feat: add ReadLogApp utility project and initial Ratings module migra…
Apr 13, 2026
d8327c2
feat: add backend CI workflow for automated testing and coverage repo…
Apr 13, 2026
6dac79b
feat: add GetServicesByCategoryEndpoint to retrieve services by categ…
Apr 13, 2026
d8931ad
feat: implement global exception handler, add rating DTOs, and expand…
Apr 13, 2026
68f53ad
fix(sprint-10): restore service-catalogs contract and fix ratings uni…
Apr 13, 2026
7fb22c9
feat(sprint-10): relax openapi gating and restore service-catalogs fe…
Apr 13, 2026
8950e21
feat(sprint-10): apply final review fixes and improve domain logic
Apr 13, 2026
6684638
fix(sprint-10): fix ci workflow and ratings e2e test logic
Apr 13, 2026
c10101a
fix(ci): resolve compilation error and documentation warnings
Apr 13, 2026
bcd8f72
fix(e2e): resolve missing communications schema and improve database …
Apr 14, 2026
540fbab
feat(sprint-10): complete all review fixes, refactor e2e infra and en…
Apr 14, 2026
cb8c165
fix: resolve e2e build errors and address implementation review findings
Apr 14, 2026
aac8157
refactor: implement review status polling and address code quality fi…
Apr 14, 2026
f928b17
test: increase coverage for Ratings and Communications modules
Apr 14, 2026
a5d7410
fix: resolve accessibility error in CommunicationsOutboxWorkerTests
Apr 14, 2026
eb88910
test: refine communications and ratings tests based on review
Apr 14, 2026
1d30a06
docs: complete 100% bruno collection coverage for sprint 10
Apr 14, 2026
e509781
docs: marking sprint 10 tasks as completed
Apr 14, 2026
02b0460
fix(communications): resolve code review feedback for outbox worker a…
Apr 14, 2026
4f01acb
fix(communications): address final code review comments for outbox wo…
Apr 14, 2026
a3378f1
fix(communications): improve outbox worker cancellation and test veri…
Apr 14, 2026
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
81 changes: 80 additions & 1 deletion .github/workflows/ci-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ jobs:
"src/Modules/ServiceCatalogs/Tests/MeAjudaAi.Modules.ServiceCatalogs.Tests.csproj"
"src/Modules/Locations/Tests/MeAjudaAi.Modules.Locations.Tests.csproj"
"src/Modules/Communications/Tests/MeAjudaAi.Modules.Communications.Tests.csproj"
"src/Modules/Ratings/Tests/MeAjudaAi.Modules.Ratings.Tests.csproj"
"src/Modules/SearchProviders/Tests/MeAjudaAi.Modules.SearchProviders.Tests.csproj"
"tests/MeAjudaAi.Shared.Tests/MeAjudaAi.Shared.Tests.csproj"
"tests/MeAjudaAi.ApiService.Tests/MeAjudaAi.ApiService.Tests.csproj"
Expand Down Expand Up @@ -283,14 +284,92 @@ jobs:
thresholds: "90 80" # line branch
fail_below_min: true

- name: Add Coverage PR Comment
- name: Generate Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v3
if: always() && github.event_name == 'pull_request'
with:
recreate: true
header: coverage-report
path: code-coverage-results.md

openapi-breaking-change-check:
name: OpenAPI Breaking Change Check
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
Comment thread
frigini marked this conversation as resolved.
steps:
- name: Checkout PR Branch
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: "10.0.x"

- name: Build API
env:
ASPNETCORE_ENVIRONMENT: Testing
run: |
dotnet build src/Bootstrapper/MeAjudaAi.ApiService/MeAjudaAi.ApiService.csproj \
-c Release \
-p:GenerateDocumentationFile=true

- name: Install Swashbuckle CLI
run: dotnet tool install -g Swashbuckle.AspNetCore.Cli --version 10.1.5

- name: Generate Current OpenAPI Spec
env:
ASPNETCORE_ENVIRONMENT: Testing
run: |
mkdir -p api-current
swagger tofile \
--output api-current/api-spec.json \
src/Bootstrapper/MeAjudaAi.ApiService/bin/Release/net10.0/MeAjudaAi.ApiService.dll \
v1

- name: Checkout Base Branch Spec
env:
BASE_REF: ${{ github.base_ref }}
run: |
# Usa variáveis de ambiente para evitar interpolação direta no shell
if git show origin/$BASE_REF:api/api-spec.json > api-base.json 2>/dev/null; then
echo "✅ Base spec found in origin/$BASE_REF"
else
echo "⚠️ Base spec not found in origin/$BASE_REF. Generating from source using worktree..."

# Cria um worktree para a branch base em diretório irmão
git worktree add ../base-branch origin/$BASE_REF

# Gera o spec a partir do build da base
cd ../base-branch
export ASPNETCORE_ENVIRONMENT=Testing
dotnet build src/Bootstrapper/MeAjudaAi.ApiService/MeAjudaAi.ApiService.csproj \
-c Release \
-p:GenerateDocumentationFile=true

swagger tofile \
--output $GITHUB_WORKSPACE/api-base.json \
src/Bootstrapper/MeAjudaAi.ApiService/bin/Release/net10.0/MeAjudaAi.ApiService.dll \
v1

cd $GITHUB_WORKSPACE
git worktree remove ../base-branch --force
fi
Comment thread
frigini marked this conversation as resolved.
Outdated

# Validação final: falha se não houver spec base (remove o fallback silencioso de {})
if [ ! -f api-base.json ]; then
echo "❌ CRITICAL: api-base.json could not be retrieved or generated for $BASE_REF."
exit 1
fi
Comment thread
coderabbitai[bot] marked this conversation as resolved.

Comment thread
frigini marked this conversation as resolved.
- name: Check for Breaking Changes
uses: oasdiff/oasdiff-action/breaking@v0.0.39
with:
base: 'api-base.json'
revision: 'api-current/api-spec.json'
fail-on: 'ERR'
Comment thread
frigini marked this conversation as resolved.

security-scan:
name: Security Scan
runs-on: ubuntu-latest
Expand Down
16 changes: 16 additions & 0 deletions MeAjudaAi.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,22 @@
<Folder Name="/src/Modules/Providers/Tests/">
<Project Path="src/Modules/Providers/Tests/MeAjudaAi.Modules.Providers.Tests.csproj" />
</Folder>
<Folder Name="/src/Modules/Ratings/" />
<Folder Name="/src/Modules/Ratings/API/">
<Project Path="src/Modules/Ratings/API/MeAjudaAi.Modules.Ratings.API.csproj" />
</Folder>
<Folder Name="/src/Modules/Ratings/Application/">
<Project Path="src/Modules/Ratings/Application/MeAjudaAi.Modules.Ratings.Application.csproj" />
</Folder>
<Folder Name="/src/Modules/Ratings/Domain/">
<Project Path="src/Modules/Ratings/Domain/MeAjudaAi.Modules.Ratings.Domain.csproj" />
</Folder>
<Folder Name="/src/Modules/Ratings/Infrastructure/">
<Project Path="src/Modules/Ratings/Infrastructure/MeAjudaAi.Modules.Ratings.Infrastructure.csproj" />
</Folder>
<Folder Name="/src/Modules/Ratings/Tests/">
<Project Path="src/Modules/Ratings/Tests/MeAjudaAi.Modules.Ratings.Tests.csproj" />
</Folder>
<Folder Name="/src/Modules/SearchProviders/" />
<Folder Name="/src/Modules/SearchProviders/API/">
<Project Path="src/Modules/SearchProviders/API/MeAjudaAi.Modules.SearchProviders.API.csproj" />
Expand Down
Loading
Loading