Update Task Start/Stop block messages for TeamCityEngine#101
Update Task Start/Stop block messages for TeamCityEngine#101nils-a merged 1 commit intocake-contrib:developfrom
Conversation
|
@BlythMeister I've tested it, and something stuck out to me: Is it intentional, that the output of every task is now printed out "twice"? |
|
Not sure, I'll investigate |
|
@nils-a can you share the full teamcity log and the cake script you used to test? It looks like every task itself is being run twice. log appears twice, and that's a standard CAKE thing rather than TeamCity engine. |
|
the I would be interested in a comparison of the log before this PR change and with it. - i'm wondering if this issue was introduced with cake upgrade rather than my change. because i didn't actually change (apart from rename) the function logging around tasks. |
|
sure, I used https://github.com/nils-a-demos/test-buildsystems-pr101 to test, and the full log is: |
|
How weird, the raw log doesn't have duplicate lines? |
|
It's an older version: 2021.1.1 (build 92714) And, now, I'm confused, too. 🤣 Cake 1.3 with Cake.BuildSystems.Module 3.1.0 and Cake 2 (preview) with Cake.BuildSystems.Module 4.0.0 (preview)
|
|
So my hunch is the environment / teamcity UI is causing the double logging - hence why the raw log doesn't have duplicates. As to why you got no teardown at all, looking at the code, not sure how my changes "fix" that 🤣 I'm going to bump my cake frosting to use the previews. Not sure how I can test that though with hour our releases work 🤣 |
|
Ohh yeah, i always use that experimental ui! That probably explains it :) But, i don't think this change makes the logging worse? - just has the same issue. |
|
Agreed. Seems classic UI was "broken" before. |


Using the new events, send TeamCity progress and block messages for setup start/end
Fixes: #49