Skip to content

refactor(build): simplify logging output and add project timing metrics - #1799

Merged
morgan-nolan-ibm merged 2 commits into
developfrom
refactor/build-logging-and-timing
Oct 16, 2026
Merged

morgan-nolan-ibm merged 2 commits into
developfrom
refactor/build-logging-and-timing

Conversation

@morgan-nolan-ibm

Copy link
Copy Markdown
Collaborator

Description

This PR improves the build tooling output and updates the project changelog:

  1. Build Logging & Timing Improvements (build_tools/build.py):

    • Demoted verbose build execution, directory preparation, and file-copying logs from INFO to DEBUG to reduce noise during local and CI builds.
    • Added [current/total] progress counters and elapsed execution time tracking per built project/module (e.g. [1/80] Built stix_shifter (0.8s)).
    • Removed decorative print separators (~~~~~) in favor of structured logger output.
    • Standardized logger parameter formatting to prevent premature f-string interpolation.
  2. Changelog Updates (CHANGELOG.md):

    • Added release notes for versions 8.1.1, 8.1.2, and upcoming 8.1.3.

Validation

  • Executed python3 -m build_tools.run_build across modules to verify:
    • Clean INFO-level output displaying [X/N] Built <module> (<elapsed>s) without clutter.
    • Proper module packaging into dist/ wheels.
    • Verified DEBUG level still captures granular file-copying and command execution logs when --debug is enabled.
  • Checked CHANGELOG.md formatting and Markdown rendering against historical release entries.

@codecov

codecov Bot commented Oct 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.47%. Comparing base (e0e4c31) to head (6b03887).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1799   +/-   ##
========================================
  Coverage    87.47%   87.47%           
========================================
  Files          654      654           
  Lines        56893    56893           
========================================
  Hits         49766    49766           
  Misses        7127     7127           

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

@morgan-nolan-ibm
morgan-nolan-ibm merged commit 5608875 into develop Oct 16, 2026
12 checks passed
@morgan-nolan-ibm
morgan-nolan-ibm deleted the refactor/build-logging-and-timing branch October 16, 2026 11:55
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