Browse Source

fix(ci): Increase codecov `comment.after_n_builds` value (#53488)

Katie Byers 1 year ago
parent
commit
d8a24af715
1 changed files with 5 additions and 3 deletions
  1. 5 3
      codecov.yml

+ 5 - 3
codecov.yml

@@ -51,20 +51,22 @@ flags:
     - "static/app/"
     carryforward: true
     # FE uploads 4 coverage reports. This property ensures codecov waits
-    #  for all reports to be uploaded before creating a GitHub status check.
+    # for all reports to be uploaded before creating a GitHub status check.
+    # NOTE: If you change this, make sure to change `comment.after_n_builds` below as well.
     after_n_builds: 4
   backend:
     paths:
     - "src/sentry/**/*.py"
     carryforward: true
-    # Do not send any status checks until N coverage reports are uploaded
+    # Do not send any status checks until n coverage reports are uploaded.
+    # NOTE: If you change this, make sure to change `comment.after_n_builds` below as well.
     after_n_builds: 18
 
 # Read more here: https://docs.codecov.com/docs/pull-request-comments
 comment:
   # This is the addition of carry forward builds and fresh builds, thus, it's the addition
   # of the FE and BE builds
-  after_n_builds: 20
+  after_n_builds: 22
   layout: "diff, files"
   # Update, if comment exists. Otherwise post new.
   behavior: default