Skip to content

fix(ado): sanitize Azure Pipelines log output - #22

Merged
jpolvora merged 1 commit into
mainfrom
fix/ado-pipeline-log-output
Jul 13, 2026
Merged

fix(ado): sanitize Azure Pipelines log output#22
jpolvora merged 1 commit into
mainfrom
fix/ado-pipeline-log-output

Conversation

@jpolvora

Copy link
Copy Markdown
Owner

Summary

  • Emite thinking/assistant linha a linha com ##[group] no Azure Pipelines (elimina linhas órfãs do stdout.write).
  • Desliga ANSI do prompt no ADO por padrão (CURSOR_REVIEWER_PROMPT_COLOR=true para opt-in).
  • Usa BUILD_REPOSITORY_NAME / GITHUB_REPOSITORY no projectName (evita título s Cursor Reviewer no checkout ADO).

Test plan

  • npm test (162 pass)
  • Reexecução da pipeline ADO de code review e conferir log do step Run Cursor Reviewer Agent (grupos colapsáveis, sem escapes ANSI, nome do repo correto)

Made with Cursor

…po name)

Azure Pipelines was showing orphan thinking/assistant lines from raw
stdout.write, literal ANSI escapes in the prompt dump, and title "s"
from the checkout folder. Emit line-prefixed grouped stream logs in CI,
disable prompt ANSI unless CURSOR_REVIEWER_PROMPT_COLOR=true, and prefer
BUILD_REPOSITORY_NAME / GITHUB_REPOSITORY for projectName.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jpolvora
jpolvora merged commit 9dcabfa into main Jul 13, 2026
1 check passed
@jpolvora
jpolvora deleted the fix/ado-pipeline-log-output branch July 13, 2026 19:04
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