Skip to content

update CommandTaskTracker to match llbuild's reporting of CustomTasks #4294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Apr 13, 2022

motivation: adjust SwiftPM to llbuild reporting of task progress, which now includes custom tasks

changes: increment finished tasks count based on the commandStatusChanged event instead of the commandFinished event

rdar://84883732

motivation: adjust SwiftPM to llbuild reporting of task progress, which now includes custom tasks

changes: increment finished tasks count based on the commandStatusChanged event instead of the commandFinished event

rdar://84883732
@tomerd
Copy link
Contributor Author

tomerd commented Apr 13, 2022

@swift-ci smoke test

@tomerd
Copy link
Contributor Author

tomerd commented Apr 13, 2022

cc @BenchR267

Copy link
Contributor

@abertelrud abertelrud left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me, though I would not want just my review on this as I'm not that familiar with the llbuild callbacks. This seems like it's predicated on having the .isComplete status be true for both the .succeeded and .skipped results — if so, then this makes sense.

@tomerd
Copy link
Contributor Author

tomerd commented Apr 13, 2022

this was suggested by @BenchR267 based on changes done to llbuild

@tomerd tomerd merged commit 607d558 into swiftlang:main Apr 14, 2022
tomerd added a commit to tomerd/swift-package-manager that referenced this pull request Apr 14, 2022
…swiftlang#4294)

motivation: adjust SwiftPM to llbuild reporting of task progress, which now includes custom tasks

changes: increment finished tasks count based on the commandStatusChanged event instead of the commandFinished event

rdar://84883732
tomerd added a commit that referenced this pull request Apr 15, 2022
…#4294) (#4296)

motivation: adjust SwiftPM to llbuild reporting of task progress, which now includes custom tasks

changes: increment finished tasks count based on the commandStatusChanged event instead of the commandFinished event

rdar://84883732
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.

3 participants