Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-12604

Add stepback identifier to default expansions

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: app
    • Labels:
      None

      Description

      I want to know if my task was activated by stepback during the task.

      Currently this information is only available via the API

      I believe this could be a default expansion

      From Slack:

      Is there a way to detect whether a task has been ran due to stepback? I don't see it in the default expansions: https://github.com/evergreen-ci/evergreen/wiki/Project-Files#expansions

      5 replies

      Thomas 'Tom'-: 2 hours ago
      Context: I'm investigating if we can utilize our automatic JIRA ticket filer script to detect long existing task failures as soon as possible by running it during stepback

      Thomas 'Tom'-: 2 hours ago
      today, we currently wait until the the next future version of the task runs to automatically file JIRA issues, even if stepback could have determined that it was a long existing task failure already

      John Liu 11 minutes ago
      yes. if you request the task itself you’ll see that the activated_by is “stepback”: https://evergreen.mongodb.com/api/rest/v2/tasks/mms_e2e_local_with_daemon_E2E_Local_BRS_Automated_WT_Checkpoint_Upgrade_ShardedCluster_c0aa65d2571b9ebbb72867c42424d726845089a2_20_07_20_16_15_52 (edited)

      Thomas 'Tom' Langston:: 3 minutes ago
      ok, so I can only see it via the API, not within the running task itself?

      John Liu 2 minutes ago
      correct

        Attachments

          Activity

            People

            Assignee:
            backlog-server-evg Backlog - Evergreen Team
            Reporter:
            thomas.langston Thomas Langston
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: