calendar
All repositories: gitoria
#4Vendor Hybriel day56
mergedvendor-day56 → mainby · head 687296fb
- successKunibert: kunibertKunibert review
Verdicts
- Kunibertapproved
People’s approvals
Reviews
Kunibertappapproved687296fb · current head · 2026-11-10 07:30:29 UTC
The application-owned change only updates the README’s vendor version and provenance. No application-owned issues were found.
Correctness (0 new, 0 still open)
No correctness findings in application-owned changes.
Spec (0 new, 0 still open)
No ticket or issue is linked, so there are no spec findings.
Standards (0 new, 0 still open)
No standards findings in application-owned changes.
Framework (vendored, not blocking)
These paths are vendored framework code; the findings go to the framework's maintainers and do not affect this verdict. https://tickets.worldapi.org/hybriel
- 🔶 Major · Correctness: no rule: Invalidate late cache refreshes when the user changes (
plugins/web/worker.hl:93) After the 1.5-second fallback displays a cached page, the user can log out while its original authenticated fetch remains pending. This callback can then restore the previous user’s document after forget() cleared it, exposing it on a subsequent offline load. Invalidate pending refreshes on forget(), checking their generation before writing the cache. - 🔹 Minor · Correctness: no rule: Restore scroll when Back removes a fragment (
plugins/web/client.hl:4384) Open /page, follow #section, then press Back: this branch calls scrollFragment('/page'), which does nothing, and returns without restoring the previous viewport. Since listen() sets scrollRestoration to manual, the browser cannot restore it either. Preserve and restore scroll positions for fragment history entries. - 🔹 Minor · Standards: L10: Type the WebSocket fixture’s handler parameters (
plugins/http1/tests/two-ws-servers.hl:11) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” The peer parameters on lines 11–16 and req parameters on lines 18 and 23 are untyped. Use WsClient for peers and Hybrid for requests. - 🔹 Minor · Standards: L10: Type every parameter in the changed query signatures (
plugins/mpackdb/MPackDB.hl:71) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” The changed fetch, iterate, find, range and cursor signatures type fields but leave their other parameters untyped. Add appropriate type declarations to those parameters. - 🔹 Minor · Standards: L10: Type the added framework helper parameters (
plugins/web/WebFramework.hl:166) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” graphModuleKey/Path, graphKeyOf/KeysOf/ParamsOf, hasViewMember, stylePlaces, checkStyleRef and the new route callbacks contain untyped parameters. Annotate their scalar, record and list arguments; retain the documented exception for & parameters. - 🔹 Minor · Standards: L10: Type the added and changed client helper parameters (
plugins/web/client.hl:180) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” registerFeature, patch, expireConnecting, flightAnswer, crossing, syncMounts, the new mount/shell helpers and navigationPage leave parameters untyped, as do the new Array.from callbacks. Annotate every non-& parameter, including pageRequest and keepInput. - 🔹 Minor · Standards: L10: Type the offline module’s parameters (
plugins/web/offline.hl:91) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” All parameterized helpers in this new module, from whoChanged through cancel, omit parameter types; its Promise executors and acknowledgment callback do too. Add appropriate scalar, Hybrid and Function annotations. - 🔹 Minor · Standards: L10: Type the upload helpers and callbacks (
plugins/web/uploads.hl:18) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” fileAt, uploadAll, uploadFile, uploadCall, uploadWait, uploadWhy and uploadProgress all have untyped parameters, as do their parameterized callbacks. Annotate them, including Hybrid DOM events and Function Promise resolvers. - 🔹 Minor · Standards: L10: Type the new worker parameters (
plugins/web/worker.hl:123) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” marked(res) and the new __hlWithin callback’s late parameter are untyped. Declare the corresponding response and result types. - 🔹 Minor · Standards: L2: Remove let from bindings that are never reassigned (
plugins/web/WebFramework.hl:5634) .kunibert/HL-STANDARD.md L2 says “Use let only for a name reassigned later.” gen here is never reassigned; neither are out in ship (2854) and handleRequest (5108), which only receive field writes. Use plain declarations for all three. - 🔹 Minor · Standards: L2: Use plain declarations for unchanged client bindings (
plugins/web/client.hl:3448) .kunibert/HL-STANDARD.md L2 says “Use let only for a name reassigned later.” queueable (3448), sent (3456), r (3477), giveUp (3550), by (3552), e (3555), c (3560), names (3992 and 4043), and sk (4046) are never reassigned. Remove let from these declarations. - 🔹 Minor · Standards: L2: Remove unnecessary let declarations in the offline module (
plugins/web/offline.hl:446) .kunibert/HL-STANDARD.md L2 says “Use let only for a name reassigned later.” made (446), rows in queuedAhead (461), sent in replay (608), and r in dropRow (671) are never reassigned. Use plain declarations. - 🔹 Minor · Standards: L11: Make the reference-mutated places binding mutable (
plugins/web/WebFramework.hl:1997) .kunibert/HL-STANDARD.md L11 requires “a mutable binding and & at both ends” when a function changes the caller’s hybrid. stylePlaces pushes into places through &out, but places uses a plain declaration. Declare it with let before passing &places. - 🔹 Minor · Standards: L11: Make the session argument accumulator mutable (
plugins/web/client.hl:3424) .kunibert/HL-STANDARD.md L11 requires “a mutable binding and & at both ends” when a function changes the caller’s hybrid. sessionArgsOf writes into out through &out, but sessionArgs declares out without let. Make that binding mutable.
Gates: not run
- 🔶 Major · Correctness: no rule: Invalidate late cache refreshes when the user changes (
Threads
No inline comments yet.
Conversation
Nobody has written here yet.
Only the owner and the members of this repository can comment here.