Skip to content

[Archeo] Erros em operações de setup devem ser explicitamente verificados e reportados - #3088

Draft
GabrielMella wants to merge 1 commit into
labstack:masterfrom
GabrielMella:archeo-fix/error_handling-5666d48ba06f
Draft

[Archeo] Erros em operações de setup devem ser explicitamente verificados e reportados#3088
GabrielMella wants to merge 1 commit into
labstack:masterfrom
GabrielMella:archeo-fix/error_handling-5666d48ba06f

Conversation

@GabrielMella

Copy link
Copy Markdown

Correção autônoma para a issue #10803.

Linha 98 descarta erros com _, _ = router.Add(...) sem verificação ou logging. Embora seja um teste, erros silenciosos podem mascarar problemas de setup que afetam a validade do teste.

@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.73%. Comparing base (dcb05f0) to head (20cf2e0).
⚠️ Report is 13 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3088      +/-   ##
==========================================
+ Coverage   93.34%   95.73%   +2.38%     
==========================================
  Files          43       44       +1     
  Lines        4735     4033     -702     
==========================================
- Hits         4420     3861     -559     
+ Misses        192      172      -20     
+ Partials      123        0     -123     

☔ View full report in Codecov by Harness.
📢 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.

@aldas

aldas commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

We are ignoring errors in tests setup in many places. Is there a specific reason we do these checks only in this test?

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.

2 participants