Add trivial/misc post-task guards

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • 9.1.0-rc0, 9.1.0-rc1022
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Test Infrastructure
    • DevProd Test Infra 2026-09-08
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Part 1/3 of #62317, split for easy revert. Guards post-task steps against no-op cases so post_error_fails_task (part 3) doesn't fail legitimately-empty tasks.

      • Guard subprocess.exec post steps that run scripts absent when there's no source checkout
      • Mark s3.put/attach.artifacts optional: true where output isn't always produced
      • Tolerate missing powercycle artifacts in tar via --ignore-failed-read
      • Fix hang analyzer task generation when no Evergreen API credentials are configured
      • Restore the patched tree on exit in feature_flag_tags_check.sh

            Assignee:
            Steve McClure
            Reporter:
            Steve McClure
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: