Skip to content

Update SwiftBuild progress reporting#9519

Merged
bripeticca merged 22 commits intoswiftlang:mainfrom
bripeticca:swb/progress
Jan 27, 2026
Merged

Update SwiftBuild progress reporting#9519
bripeticca merged 22 commits intoswiftlang:mainfrom
bripeticca:swb/progress

Conversation

@bripeticca
Copy link
Contributor

@bripeticca bripeticca commented Dec 16, 2025

Addresses:

  • Comments under Capture code snippet from diagnostic compiler output #9362 related to testing
  • Removes the stepping fraction from being printed when dealing with events that report a negative percentage; the idea here is that if the progress is in the negative, this seems to be a pre-build step where there is no real benefit to reporting the "percentage complete" here.
  • Omit messages that do not contain useful information (i.e. messages that are of the format "14 / 27" without any identifying text, etc.)
  • Emit planning operation start + complete in a similar fashion to the native build system
  • Emit instances of a target being already up to date and not requiring a build.

@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca bripeticca changed the title [WIP] Update SwiftBuild progress reporting Update SwiftBuild progress reporting Jan 12, 2026
@bripeticca bripeticca marked this pull request as ready for review January 12, 2026 22:54
@bripeticca
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor Author

@swift-ci please test windows

Before, we were emitting a task started event on both
stdout and stderr ONLY if the logLevel was verbose.

Do the same here to avoid test failures; to revisit
new mechanism for avoiding duplicate messages.
@bripeticca
Copy link
Contributor Author

@swift-ci please test

@rconnell9
Copy link
Contributor

@swift-ci please test

@rconnell9
Copy link
Contributor

@swift-ci test macOS self hosted

@rconnell9
Copy link
Contributor

@swift-ci test macOS

@rconnell9
Copy link
Contributor

@swift-ci test macOS self hosted

@rconnell9
Copy link
Contributor

@swift-ci test

@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor Author

@swift-ci please test windows

@bripeticca
Copy link
Contributor Author

@swift-ci test self hosted linux

@bripeticca
Copy link
Contributor Author

@swift-ci please test linux

@bripeticca
Copy link
Contributor Author

@swift-ci test macOS

@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor Author

@swift-ci test windows

@bripeticca
Copy link
Contributor Author

@swift-ci test

@bripeticca
Copy link
Contributor Author

@swift-ci test windows

@bripeticca bripeticca enabled auto-merge (squash) January 24, 2026 03:44
@bripeticca
Copy link
Contributor Author

@swift-ci test macOS

@bripeticca
Copy link
Contributor Author

@swift-ci test windows

@bripeticca
Copy link
Contributor Author

@swift-ci test self hosted macOS

@bripeticca
Copy link
Contributor Author

@swift-ci test macOS

@bripeticca
Copy link
Contributor Author

@swift-ci test windows

2 similar comments
@bripeticca
Copy link
Contributor Author

@swift-ci test windows

@bripeticca
Copy link
Contributor Author

@swift-ci test windows

@bripeticca bripeticca merged commit 7513d4a into swiftlang:main Jan 27, 2026
42 checks passed
bripeticca added a commit to bripeticca/swift-package-manager that referenced this pull request Jan 27, 2026
Addresses:
* Comments under swiftlang#9362 related to testing
* Removes the stepping fraction from being printed when dealing with
events that report a negative percentage; the idea here is that if the
progress is in the negative, this seems to be a pre-build step where
there is no real benefit to reporting the "percentage complete" here.
* Omit messages that do not contain useful information (i.e. messages
that are of the format "14 / 27" without any identifying text, etc.)
* Emit planning operation start + complete in a similar fashion to the
native build system
* Emit instances of a target being already up to date and not requiring
a build.
bripeticca added a commit that referenced this pull request Jan 27, 2026
…s; 6.3 release notes (#9652)

A few cherry-picks:

- 7513d4a (#9519)
- 5ebf5ed (#9648)
- 8d2fd50 (#9554) cc @heckj

---------

Co-authored-by: Joseph Heck <j_heck@apple.com>
Co-authored-by: Franz Busch <privat@franz-busch.de>
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.

4 participants