Yunchi Luo
04/11/2023, 9:47 PMATLANTIS_HIDE_PREV_PLAN_COMMENTS=true
environment variable set. Pasted some debug logs that said the atlantis.github.hide_prev_plan_comments.execution_success
counter got ticked up. But the previous comment isn’t being hidden. Any idea what might the problem be?v0.23.3
PePe Amengual
04/11/2023, 9:55 PMYunchi Luo
04/11/2023, 9:56 PMPePe Amengual
04/11/2023, 9:57 PMTyler Allen
04/11/2023, 10:25 PM!strings.Contains(firstLine, strings.ToLower(command))
comment.User != nil && !strings.EqualFold(comment.User.GetLogin(), g.user)
len(body) == 0
Seems like the only one that might be doing it is the second one, where the user configured on atlantis side doesn't match the commented usernamePePe Amengual
04/11/2023, 10:29 PMYunchi Luo
04/11/2023, 11:07 PMbot
.PePe Amengual
04/11/2023, 11:10 PMYunchi Luo
04/11/2023, 11:11 PMPePe Amengual
04/11/2023, 11:13 PMYunchi Luo
04/11/2023, 11:13 PM{"name":"atlantis.github.hide_prev_plan_comments.execution_success","value":1,
PePe Amengual
04/11/2023, 11:14 PMYunchi Luo
04/11/2023, 11:15 PM{"level":"debug",
^ i have that in the logs, left the defaultsATLANTIS_LOG_LEVEL=debug
PePe Amengual
04/11/2023, 11:43 PMYunchi Luo
04/11/2023, 11:54 PMPePe Amengual
04/12/2023, 12:33 AMEd
04/12/2023, 8:45 AMYunchi Luo
04/12/2023, 3:41 PMPePe Amengual
04/12/2023, 4:06 PM