Skip to content

chore: restore the debug build tag in CI - #103

Merged
rustatian merged 1 commit into
masterfrom
ci/restore-debug-tag
Aug 17, 2026
Merged

rustatian merged 1 commit into
masterfrom
ci/restore-debug-tag

Conversation

@rustatian

Copy link
Copy Markdown
Member

-tags=debug was dropped from the test commands here. It is not inert.

roadrunner-server/errors splits on the tag — debug_cap.go is //go:build !debug and makes populateStack/printStack no-ops, while debug_stack.go captures the caller chain, coalesces frames shared between wrapped errors, and prints file:line: func for each. Without the tag a CI failure shows a bare error string instead of the call chain that makes it readable.

Restores the tag on both test steps. Verified go test -tags=debug ./... passes locally.

roadrunner-server/errors gates stack capture on the debug tag:
debug_cap.go is !debug and stubs populateStack/printStack out, while
debug_stack.go captures the caller chain and prints file:line per frame.
Without the tag a CI failure shows a bare error string instead of the
call chain.
Copilot AI lite review requested due to automatic review settings August 17, 2026 15:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.82%. Comparing base (2bfcdb3) to head (d760e0a).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #103   +/-   ##
=======================================
  Coverage   97.82%   97.82%           
=======================================
  Files           3        3           
  Lines         184      184           
=======================================
  Hits          180      180           
  Misses          3        3           
  Partials        1        1           

☔ 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.

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