Skip to content
Compare
Choose a tag to compare
@guilgaly guilgaly released this 09 Oct 13:49
· 64 commits to main since this release
325a94d

Improve run summary logs to avoid spamming the action's output logs.

  • By default, only log every 5 seconds during the first minute, then back off to logging every 60 seconds.
  • Allow configuring this behavior, or disabling the run summary logs completely, with new action inputs. For instance, the default configuration is equivalent to:
    inputs:
      - run_summary_enabled: true
      # 5 x 12 = 60 => log every 5 seconds during the first 60 seconds:
      - run_summary_initial_refresh_interval: 5
      - run_summary_initial_refresh_count: 12
      # after the initial behavior ends, switch to logging every 60 seconds:
      - run_summary_refresh_interval: 60