Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution time tracking tweaks #1994

Merged
merged 5 commits into from
Aug 6, 2024
Merged

Execution time tracking tweaks #1994

merged 5 commits into from
Aug 6, 2024

Commits on Aug 6, 2024

  1. tweaks to how execution time is tracked:

    - don't update if crawl state is not in running state
    - reset lastUpdatedTime if two consecutive updates of non-running state, to ensure non-running states don't count
    - webhooks: move start webhook to when crawl actually starts for first time (db lastUpdatedTime is not yet + crawl is running)
    - don't set lastUpdatedTime until pods actually running
    - frontend: show seconds in 'Execution Time' display
    ikreymer committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    ad19f7b View commit details
    Browse the repository at this point in the history
  2. rename STARTING_STATES -> WAITING_STATES for clarity

    don't count execution time when in WAITING_STATES
    ikreymer committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    bd16b70 View commit details
    Browse the repository at this point in the history
  3. qa runs: use qa._lut to track qa last update time, to avoid conflicti…

    …ng with crawl last update time, properly
    
    detecting when it hasn't been set yet
    ikreymer committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    2fc0133 View commit details
    Browse the repository at this point in the history
  4. fix getter for qa._lut

    ikreymer committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    daeabd6 View commit details
    Browse the repository at this point in the history
  5. lint fix

    ikreymer committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    438eed3 View commit details
    Browse the repository at this point in the history