Skip to content

feat(frontend): Virtual Environments: Show loading spinner while system packages resolve#5644

Merged
kunwp1 merged 8 commits into
apache:mainfrom
SarahAsad23:system-package-ui
Jun 24, 2026
Merged

feat(frontend): Virtual Environments: Show loading spinner while system packages resolve#5644
kunwp1 merged 8 commits into
apache:mainfrom
SarahAsad23:system-package-ui

Conversation

@SarahAsad23

@SarahAsad23 SarahAsad23 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

PR #5613 removed the system-requirements-lock.txt file which changes how system packages are loaded. Previously, the package list was available immediately from the lock file. With the new approach, the system package set is generated on demand by creating a temporary environment, installing the requirements, and running pip freeze, which introduces a noticeable delay on the initial load.

The PR introduces new UI changes to handle this new loading state and provide feedback to the user while the system packages are being resolved by adding a loading spinner.

image image

Any related issues, documentation, discussions?

Related PR: #5613. Closes #5926

How was this PR tested?

Tested manually.

Was this PR authored or co-authored using generative AI tooling?

Co-authored using: Claude Code

@SarahAsad23 SarahAsad23 marked this pull request as draft June 12, 2026 20:11
@github-actions github-actions Bot added the frontend Changes related to the frontend GUI label Jun 12, 2026
@SarahAsad23 SarahAsad23 marked this pull request as ready for review June 12, 2026 20:13
@codecov-commenter

codecov-commenter commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 26.31579% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.64%. Comparing base (1c580e5) to head (49d32d0).

Files with missing lines Patch % Lines
...wer-button/computing-unit-selection.component.html 0.00% 14 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #5644      +/-   ##
============================================
+ Coverage     54.60%   54.64%   +0.04%     
  Complexity     2927     2927              
============================================
  Files          1109     1109              
  Lines         42828    42840      +12     
  Branches       4608     4608              
============================================
+ Hits          23385    23409      +24     
+ Misses        18081    18063      -18     
- Partials       1362     1368       +6     
Flag Coverage Δ *Carryforward flag
access-control-service 70.44% <ø> (ø) Carriedforward from 1c580e5
agent-service 34.36% <ø> (ø) Carriedforward from 1c580e5
amber 56.73% <ø> (ø) Carriedforward from 1c580e5
computing-unit-managing-service 1.65% <ø> (ø) Carriedforward from 1c580e5
config-service 57.35% <ø> (ø) Carriedforward from 1c580e5
file-service 58.59% <ø> (ø) Carriedforward from 1c580e5
frontend 48.42% <26.31%> (+0.10%) ⬆️
pyamber 90.20% <ø> (ø) Carriedforward from 1c580e5
python 90.76% <ø> (ø) Carriedforward from 1c580e5
workflow-compiling-service 58.69% <ø> (ø) Carriedforward from 1c580e5

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@chenlica chenlica requested a review from kunwp1 June 13, 2026 07:06
@kunwp1

kunwp1 commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Seems like this PR is depends on #5613 so I'll review this PR after it's merged.

@SarahAsad23

Copy link
Copy Markdown
Contributor Author

@kunwp1 PR #5613 has been merged.

@kunwp1 kunwp1 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.

LGTM! A few minor comments.

@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @Yicong-Huang
    You can notify them by mentioning @Yicong-Huang in a comment.

@kunwp1

kunwp1 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Forgot to mention this: can you add more test cases?

@kunwp1

kunwp1 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Also can you create an issue corresponding to this PR?

@SarahAsad23

Copy link
Copy Markdown
Contributor Author

@kunwp1 I have addressed both of your comments.

@kunwp1 kunwp1 added this pull request to the merge queue Jun 24, 2026
Merged via the queue into apache:main with commit 2e2a2d2 Jun 24, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show loading spinner while system packages resolve

3 participants