Skip to content

fix(ui): show allocated block resources - #4243

Closed
mikemikimike wants to merge 1 commit into
dstackai:masterfrom
mikemikimike:mikemikimike/fix/ui-block-resource-display
Closed

fix(ui): show allocated block resources#4243
mikemikimike wants to merge 1 commit into
dstackai:masterfrom
mikemikimike:mikemikimike/fix/ui-block-resource-display

Conversation

@mikemikimike

Copy link
Copy Markdown

Summary

  • Show the resources allocated to the run's block in the runs and jobs lists.
  • Keep the provisioning instance resources as a fallback for older submissions without runtime offer data.
  • Add regression coverage for both the allocated-block path and the legacy fallback.

Validation

  • npx jest --config jest.local.config.cjs --runInBand src/pages/Runs/Details/Jobs/List/helpers.test.ts (2 passed; isolated config disables the repository's unavailable Enzyme setup)
  • Targeted ESLint passed for changed TypeScript files.
  • Prettier check passed for changed files.
  • npx tsc --noEmit remains blocked by pre-existing frontend type errors unrelated to this change.
  • git diff --check passed.

Closes #4187

Signed-off-by: mikemikimike <13286568797@163.com>
@r4victor r4victor closed this Sep 1, 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.

[Bug]: UI shows the whole instance's resources for a run occupying one block

2 participants