1. 15 Dec, 2020 1 commit
  2. 07 Dec, 2020 2 commits
  3. 06 Dec, 2020 1 commit
    • Grzegorz Bizon's avatar
      Check if build trace is corrupted by comparing size · 7e06c823
      Grzegorz Bizon authored
      This commit adds support for incrementing a Prometheus counter in case
      of detecting a malformed / corrupted build log. We store a bytesize of a
      build log in the ci_build_pending_states table and compare it to the
      size calculated using stored build trace chunks.
      
      If CRC32 checksum of a build log is invalid and a bytesize differs too,
      we increment `corrupted` build logs counter and send an appropritate log
      to Sentry.
      7e06c823
  4. 04 Dec, 2020 1 commit
    • Grzegorz Bizon's avatar
      Add new prometheus counter for corrupted build logs · 493869e5
      Grzegorz Bizon authored
      This commit adds a new metric we will increment once we detect a
      corrupted build log. Corrupted build log is detected when checking CRC32
      checksum yields an invalid result and the build size differs from the
      size reported by a runner.
      493869e5
  5. 01 Dec, 2020 24 commits
  6. 30 Nov, 2020 11 commits