Skip to content

Conversation

@anaalves-asaas
Copy link
Contributor

Impacto

Reabilitado o bloqueio de merge no codenarc-docker após período de monitoramento e validação.

Antes: Exit estava desabilitado temporariamente (# exit 1) apenas logando que "DEVERIA bloquear merge"
Agora: Exit reabilitado (exit 1) efetivamente bloqueando merge quando há P1s em linhas alteradas

Cenários testados

Funcionalidade já validada no PR anterior com 5 cenários de teste. Esta mudança apenas:

✅ Reabilita o exit 1 que estava comentado

✅ Mantém toda lógica de detecção inteligente inalterada

✅ Preserva comentários do reviewdog funcionando normalmente

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR re-enables merge blocking for code violations after a monitoring period. The change removes the temporary bypass that was logging violations without blocking, and now actively blocks merges when P1 violations are detected in modified lines.

Key Changes:

  • Re-enables the exit 1 command that enforces merge blocking for P1 violations in changed code
  • Updates user-facing messages to reflect the active blocking state
  • Removes temporary monitoring notices

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

🏷️ [bumpr]
Next version:2.7.0
Changes:2.6.0...asaasdev:reabilita-bloqueio-merge

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. SC2086

$includes_arg \

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. SC2086

${INPUT_REVIEWDOG_FLAGS} || true

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shellcheck (suggestion)] reported by reviewdog 🐶

$includes_arg \

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shellcheck (suggestion)] reported by reviewdog 🐶

${INPUT_REVIEWDOG_FLAGS} || true

@joasgarcia joasgarcia merged commit 0da6997 into main Jan 9, 2026
19 checks passed
@joasgarcia joasgarcia deleted the reabilita-bloqueio-merge branch January 9, 2026 13:02
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

🚀 [bumpr] Bumped!
New version:2.7.0
Changes:2.6.0...2.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants