AlexsLemonade / AlexsLemonade/refinebio

We get errors when trying to describe nomad job IDs

Open
#2,837 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
135
Forks
21
PR merge metrics
No merged PRs in 30d

Description

### Context

https://sentry.io/organizations/greenelab/issues/2487896016/?project=1236818&query=is%3Aunresolved&statsPeriod=14d

### Problem or idea

We're calling ` batch.describe_jobs()` and passing it Nomad job ids. It doesn't like that.

### Solution or next step

Check the job IDs for the string `dispach-` and if it's in there, we already know it's not running so don't bother querying.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the batch.describe_jobs() call and compare it with the Sentry error linked in the issue. Identify where Nomad job IDs are handled before that query, then verify that IDs containing "dispach-" are skipped and that ordinary job IDs still use the existing lookup path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.