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

Update maintenance to support passing job timeout #2618

Merged
merged 15 commits into from
Jan 31, 2025

Conversation

GarrettEHill
Copy link
Collaborator

@GarrettEHill GarrettEHill commented Jan 23, 2025

Description of change

  • Change Maintenance system to allow specifying job timeout
  • Change Download to allow up to 10 min, current average is just over 5 min
  • Change Process to allow up to 7.5 min, current average is just over 3.5 min

How to test

jest test leverage the new functionality, but there is not a good way to test the timeout outside of production due to the latency be controlled by actually taking a long time to download.

Issue(s)

Checklists

Every PR

  • Meets issue criteria
  • JIRA ticket status updated
  • Code is meaningfully tested
  • Meets accessibility standards (WCAG 2.1 Levels A, AA)
  • API Documentation updated
  • Boundary diagram updated
  • Logical Data Model updated
  • Architectural Decision Records written for major infrastructure decisions
  • UI review complete
  • QA review complete

Before merge to main

  • OHS demo complete
  • Ready to create production PR

Production Deploy

  • Staging smoke test completed

After merge/deploy

  • Update JIRA ticket status

type,
id,
},
requiredLaunchScript,
requiresLock,
holdLock,
);
jobSettings: timeout !== undefined ? { timeout } : {},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couldnt this just be timeout instead of timeout !== undefined?

Copy link
Collaborator

@AdamAdHocTeam AdamAdHocTeam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks good, however I'm not sure how to test.

@GarrettEHill GarrettEHill merged commit 72bdad3 into main Jan 31, 2025
10 checks passed
@GarrettEHill GarrettEHill deleted the TTAHUB-3682/stalled-job branch January 31, 2025 20:41
@GarrettEHill GarrettEHill restored the TTAHUB-3682/stalled-job branch February 4, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants