-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Upgrade noVNC from 1.4.0 to 1.6.0 #11119
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
base: main
Are you sure you want to change the base?
Conversation
@blueorangutan package |
@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11119 +/- ##
=========================================
Coverage 16.57% 16.57%
- Complexity 13968 13969 +1
=========================================
Files 5743 5743
Lines 510494 510494
Branches 62075 62075
=========================================
+ Hits 84617 84622 +5
+ Misses 416415 416410 -5
Partials 9462 9462
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13981 |
@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
UI build: ✔️ |
@blueorangutan test keepEnv |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-13664)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Upgrades noVNC from version 1.4.0 to 1.6.0, replacing low-level send/receive calls with buffered queue methods and adding modern codec support, along with UI embedding improvements and dependency bumps.
- Bumped noVNC version to 1.6.0 and added empty
defaults.json
/mandatory.json
stubs - Replaced direct
.send
/.sendString
calls withsQpush*
and.flush()
in Websock and RFB - Introduced Zlib and H264 decoding support, refactored UI initialization in
vnc.html
Reviewed Changes
Copilot reviewed 73 out of 73 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
systemvm/agent/noVNC/package.json | Bump version to 1.6.0, update devDependencies |
systemvm/agent/noVNC/defaults.json | Add empty defaults placeholder |
systemvm/agent/noVNC/mandatory.json | Add empty mandatory placeholder |
systemvm/agent/noVNC/vnc_lite.html | Minor text casing/style tweaks |
systemvm/agent/noVNC/vnc.html | Refactor UI startup to dynamic imports and fetch settings |
systemvm/agent/noVNC/utils/convert.js | Use destructured program import from commander |
systemvm/agent/noVNC/core/websock.js | Migrate to sQpush* /flush API for send queue buffering |
systemvm/agent/noVNC/core/rfb.js | Enhanced resize logic, new Zlib/H264 encodings, pointer events |
systemvm/agent/noVNC/core/decoders/*.js | Add ZlibDecoder and H264Decoder , update existing decoders |
systemvm/agent/noVNC/core/util/*.js | Standardize copyright casing, correct utility methods |
systemvm/agent/noVNC/docs/novnc_proxy.1 | Update --listen synopsis to support [HOST:]PORT syntax |
Comments suppressed due to low confidence (2)
systemvm/agent/noVNC/core/decoders/h264.js:1
- [nitpick] The new H264 decoder logic is substantial but lacks dedicated unit tests; consider adding tests to validate parsing, key-frame handling, and decoder configuration.
/*
systemvm/agent/noVNC/core/rfb.js:2560
- [nitpick]
replaceAll
is not supported in some older browsers; consider usingtextData = textData.replace(/\r\n/g, "\n");
for wider compatibility.
textData = textData.replaceAll("\r\n", "\n");
Description
This PR upgrades noVNC from 1.4.0 to 1.6.0. Followed the same steps as in #7281. This should fix issues like #9940
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
How did you try to break this feature and the system with this change?