Skip to content

passthrough all custom attributes to slurm job#5

Merged
swelborn merged 2 commits into
mainfrom
passthru-custom-attr
May 6, 2026
Merged

passthrough all custom attributes to slurm job#5
swelborn merged 2 commits into
mainfrom
passthru-custom-attr

Conversation

@swelborn
Copy link
Copy Markdown
Collaborator

@swelborn swelborn commented May 5, 2026

when we send in custom attributes, we should pass them through to be validated by the slurm job model. this way, people can do whatever they are used to and we can support anything in custom attributes. the code doesn’t have to change if the slurm interface changes this way.

we have to make a subclass with extra=forbid because otherwise these would be ignored leaving the user confused.


This is part 1 of 2 in a stack made with GitButler:

we should allow for any arbitrary custom attributes, this will raise a ValidationError. in the next commit we will catch the validation error and throw a 422
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b65ad7e9c5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/s3df/compute_adapter.py
@swelborn swelborn force-pushed the passthru-custom-attr branch 3 times, most recently from 8c37470 to b65ad7e Compare May 6, 2026 14:08
@swelborn swelborn mentioned this pull request May 6, 2026
@swelborn swelborn force-pushed the passthru-custom-attr branch from b65ad7e to 19e5a9f Compare May 6, 2026 14:10
@swelborn swelborn force-pushed the passthru-custom-attr branch from 19e5a9f to e67226c Compare May 6, 2026 15:51
@swelborn swelborn merged commit 7085976 into main May 6, 2026
1 check passed
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.

1 participant