Skip to content

taskrefiner: add input size limit check for analysis tasks from tapes - #767

Merged
mightqxc merged 4 commits into
masterfrom
flin
Jul 28, 2026
Merged

taskrefiner: add input size limit check for analysis tasks from tapes#767
mightqxc merged 4 commits into
masterfrom
flin

Conversation

@mightqxc

Copy link
Copy Markdown
Contributor

No description provided.

@mightqxc
mightqxc marked this pull request as ready for review July 28, 2026 11:42
@mightqxc
mightqxc requested a review from Copilot July 28, 2026 11:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a safeguard in the JEDI TaskRefiner data-carousel (tape prestaging) flow to prevent user analysis tasks from attempting to prestage overly large tape-resident input datasets, using a configurable per-dataset size threshold.

Changes:

  • Introduce a per-input-dataset size check (in TB) for tape prestaging on taskType=anal and prodSourceLabel=user.
  • Read the maximum allowed tape input size from config (taskrefiner/USER_MAX_TAPE_INPUT_TB, default 300; negative disables the limit).
  • Fail refinement early if any qualifying tape dataset exceeds the configured limit.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pandajedi/jediorder/TaskRefiner.py Outdated
@mightqxc
mightqxc merged commit 7f3ff9e into master Jul 28, 2026
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