teamcity-slack icon indicating copy to clipboard operation
teamcity-slack copied to clipboard

Status displayed incorrectly as "succeeded" instead of "started"

Open NikolayMetchev opened this issue 5 years ago • 17 comments

I have used the plugin to send a slack message when a Build Configuration is started and succeeded. Sometimes the slack message displays the status of the Build Configuration as "succeeded" instead of "started" on the first message and then again when it actually succeeds.

NikolayMetchev avatar Jul 04 '19 16:07 NikolayMetchev

So strange. Could you provide some details? E.g. messages screenshots

alexkvak avatar Jul 05 '19 13:07 alexkvak

succeeded_not_started

NikolayMetchev avatar Jul 05 '19 15:07 NikolayMetchev

slack settings

NikolayMetchev avatar Jul 05 '19 15:07 NikolayMetchev

Do you need more details?

NikolayMetchev avatar Jul 10 '19 18:07 NikolayMetchev

Any chance this could be looked at?

NikolayMetchev avatar Oct 31 '19 07:10 NikolayMetchev

According to your screenshot I guess the build lasts about 5 minutes? Or not?

alexkvak avatar Oct 31 '19 09:10 alexkvak

That particular build yes. We have this configured on other builds as well.

NikolayMetchev avatar Oct 31 '19 09:10 NikolayMetchev

So you become notification that build is succeeded when build is only actually started?

alexkvak avatar Oct 31 '19 10:10 alexkvak

Yes

NikolayMetchev avatar Oct 31 '19 10:10 NikolayMetchev

I notice similar issue, yet my problem was that TC starts build with branch name 'default' and only after a few seconds, a normal name 'master' is displayed, so a trigger for build start didn't event got invoked. Solved by filtering branch '.'

Also noticed exactly this issue, started two builds with the same settings, one said: started, other successful. Builds had same dependency. image

MSupragonas avatar Nov 18 '19 13:11 MSupragonas

So you become notification that build is succeeded when build is only actually started?

We also encounter the same problem sporadically.

shachar-ash avatar Dec 16 '20 07:12 shachar-ash

We're facing it as well -mostly on jobs that run in high frequency.

ofirnn avatar Jan 26 '21 10:01 ofirnn

Hey @alexkvak, hope you are doing well. Any news about this one?

shachar-ash avatar May 11 '21 08:05 shachar-ash

@alexkvak any updates? Happens here as well.

asafsarid avatar Dec 23 '21 14:12 asafsarid

@asafsarid do you have an exactly case to reproduce?

alexkvak avatar Dec 23 '21 14:12 alexkvak

@alexkvak thanks for responding. Actually, we are not sure how to reproduce this since it happens sporadically. As @ofirnn mentioned, seems that it happens mostly on jobs that run in high frequency.

asafsarid avatar Dec 23 '21 15:12 asafsarid

@alexkvak We still experience this.

shachar-ash avatar May 11 '22 12:05 shachar-ash