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

Fix job array display. #1723

Draft
wants to merge 11 commits into
base: xdmod11.0
Choose a base branch
from
Draft

Conversation

jpwhite4
Copy link
Member

@jpwhite4 jpwhite4 commented May 5, 2023

The current code has incomplete support for job arrays - only the primary job identifier is shown. This change adds a new internal parameter called provider_job_id which contains the job index for non-array jobs and the base_job_index[array_index] for array jobs.

There is a corresponding pull request for the xmdod-supremm module and for the xdmod-xsede module (https://github.com/ubccr/xdmod-xsede/pull/400) that should all be merged at the same time.
before:
image

after:
image

note I changed the variable name since the new variable contains something which is semantically different from the old one. Also it makes it easier to find all the places where the code needs to be updated!

@jpwhite4 jpwhite4 added this to the 10.5.0 milestone May 5, 2023
@jpwhite4 jpwhite4 added Category:Job Viewer Job Viewer enhancement Enhancement of the functionality of an existing feature labels May 5, 2023
@jpwhite4 jpwhite4 force-pushed the support_jobarrays branch 2 times, most recently from 54dd061 to e00a2a6 Compare May 18, 2023 17:02
@jpwhite4 jpwhite4 marked this pull request as draft May 22, 2023 19:10
The current code has incomplete support for job arrays - only the
primary job identifier is shown. This change adds a new internal parameter
called provider_job_id which contains the `job index` for non-array
jobs and the `base_job_index[array_index]` for array jobs.

There is a corresponding pull request for the xmdod-supremm module
and for the xdmod-xsede module that should all be merged at the same
time.
The xdmod-supremm module build has been updated to check for
errors/warnings. Needless to say I found some.

The default value for the font size must be a numeric string - and
not a text string.

Add some checks for data validity and hoy out an execption if the
checks fail.
@jpwhite4 jpwhite4 modified the milestones: 10.5.0, 11.0.0 Jun 22, 2023
@jpwhite4 jpwhite4 changed the base branch from xdmod10.5 to xdmod11.0 February 8, 2024 21:14
@jpwhite4 jpwhite4 modified the milestones: 11.0.0, 11.5.0 May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Job Viewer Job Viewer enhancement Enhancement of the functionality of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant