Repository navigation
Conversation
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
The Generated by Claude Code |
|
The Generated by Claude Code |
|
The Generated by Claude Code |
|
Generated by Claude Code |
|
Generated by Claude Code |
|
The vector-core test failure on 10ca012 ( Generated by Claude Code |
|
CodeQL's two new high alerts on 752bdc2/56616efd ("Access of invalid pointer", Generated by Claude Code |
|
The vector-core failure on 7a4ebb0 is Generated by Claude Code |
| } | ||
|
|
||
| // SAFETY: `CredReadW` succeeded, so this points to a valid `CREDENTIALW` until `CredFree` below. | ||
| let result = unsafe { username_and_password(&*credentials) }; |
|
|
||
| let mut credentials: *mut CREDENTIALW = std::ptr::null_mut(); | ||
| unsafe { CredReadW(target_name, CRED_TYPE_GENERIC, None, &mut credentials) }.unwrap(); | ||
| let result = unsafe { username_and_password(&*credentials) }; |
|
Windows Generated by Claude Code |
|
The Generated by Claude Code |
|
The Generated by Claude Code |
|
The Generated by Claude Code |
|
The Generated by Claude Code |
|
The red Likely cause, proposed rather than pushed since it changes core timing: Generated by Claude Code |
A language pack can carry emoji.tsv (CLDR annotations, written by scripts/cldr_emoji.py): the picker searches its names and words alongside English, and names emoji in it. Regional variants fall back to the parent's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6ReurguGC2qWNpRCjenb
Activation already marks input and refreshes the window in GPUI itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
A fuzz test drives every text parser with mixed scripts, emoji and markup. Fixed what it found: Streamer Mode and pack links scanned by byte through multi-byte text, coloured text opening on a newline sliced backwards, and emoji search ran its edit distance before the cheap length check. Colour edges beside an emoji now match the JS, which reads UTF-16 units. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
A header names the size, so a few bytes could ask for gigabytes: animation canvases are capped, the still decode keeps the image crate's allocation limit that from_decoder skips, and the scaled JPEG path checks it too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6ReurguGC2qWNpRCjenb
Found by fuzzing: a GIF frame placed past the canvas indexed out of range; quotes, lists and items nest at most 32 deep (each level was a frame, a block and a box, so '> > > …' ran the stack out); a paste of deeply nested HTML stays plain text; coloured-text edges look back through per-position tables instead of rescanning the line (same output, linear); and the Streamer Mode npub scan stops far past any real nprofile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Private notifications said "Sent you a message", "New message" and "You received a message" in English. GPUI applies core's privacy transform itself, says its placeholders through the core-text table, then rings and posts through the same native backends; the desktop notifier would apply it again in English. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Found by fuzzing files and text other people send: - A GIF frame header claiming 65535x65535 sized its buffer before the decoder's limit applied (8 GB; Windows CI aborted, Linux overcommits). - glTF was read without validation, and the crate's validation skips animation targets and accessor shapes it later asserts or slices on. Both are checked now; missing bounds and unknown extensions still load. - An FBX layer index overflowed; a profile link or Amazon link with accented or CJK text sliced mid-character. - Release builds unwind instead of aborting, as the Tauri build does: a panic in a background decoder ends that work, not the app. Model parsing turns one into a failed model. New fuzz tests: damaged models (parse, upload, posed frame) and damaged audio (tags, duration probe, engine decode), with seed folders and replay; the text fuzz adds time codes, link cleaning, lyrics and cue sheets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Fuzz every still format the viewer opens (30k inputs, clean). Pictures inside other files (3D model textures, audio cover art, Mini App icons, transfer avatars) now decode under the same limits as attachments, and a model's textures share a budget, so a few kilobytes of PNG can no longer claim gigabytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
The Mini App link scan rescanned to the next space from every "http", so a message repeating one took minutes to draw. It now reads the text once, checked against the old scan on 40k inputs. The text fuzz covers 18 more parsers of what others send. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
…caches A cached view that misses used to redraw every cached view inside it. When it misses only because a view inside it was notified, its render is unchanged, so the views inside may reuse their drawing, as panes under the root already do. Scrolling the emoji picker no longer redraws the timeline beside it. refresh_windows now counts as a hard refresh, so keyed rows redraw on a language switch. GPUI_NO_REPLAY=1 also turns this off, for A/B. Emoji picker finger pan, chat open: 5.0 -> 3.0 ms a frame, prepaint 2.0 -> 0.78 ms, timeline 1.26 -> 0.03 ms. Typing in the composer: 2.8 -> 2.2 ms. Screenshots identical on vs off (picker, typing, wide and slim lists). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
The code block's 10 px scrollbar strip blocked the mouse, wheel included, and did so even with nothing to scroll sideways, so the timeline stalled whenever the pointer rested there. The bar now lets a wheel through, as a page's does, and without overflow the strip is no bar at all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
…s; editor × over the edge Timeline rows replay their last drawing when scrolled (keyed_measured: any height, measured on build and kept while replaying). Rows that are loading, animating or show a relative time mark themselves volatile and redraw. Selection geometry is re-placed on replay (Window::place). Plain rows keep the same element id so hover state survives the plain/keyed switch on the first frame. 3000-message chat pan, 1280x800: 5.1 -> 3.2 ms a frame, 73% of rows replayed. Screenshots and drag selection after panning match GPUI_NO_REPLAY=1 exactly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
… overlays [package] `.backdrop_blur_once(r)` blurs what lies behind an element on the first frame it shows (quarter size, two 13-tap passes) and reuses that texture while it stays put, so held frames draw one extra quad and keep the main pass whole. Metal and wgpu read the frame back; a GL surface without COPY_SRC draws that one frame offscreen and copies it over. DirectX leaves the backdrop sharp for now. GPUI_NO_BACKDROP=1 turns it off. Mac GPU: +0.15 ms on the opening frame (1.10 vs 0.94 ms), held frames within noise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
…-pointer hovers The scrollbar's settle redraw of the chat pane is a motion notify, so it no longer rebuilds every visible row. Content scrolling under a still pointer flips hover without a fade, so rows carried past it don't animate (and rebuild) for 150 ms. A keyed record's hover check covers its hit areas, not only its bounds: a hover toolbar hanging above its row kept a stale highlight on replay. 3000-message chat pan, 1280x800: 3.3-3.4 -> 2.5-3.1 ms a frame, rows replayed 70% -> 85%. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
… around them GPUI marks every view holding a notified one dirty, so a timeline scroll redrew the whole chat pane (header, composer) around it. A cached view now records the cached views drawn inside it (slots: ranges, dispatch parent, draw stacks). When it is dirty but not notified and every dirty view inside it lies in one of its slots, it reuses its last prepaint and paint in pieces around those slots and draws only them afresh (OpenReuse keeps the dispatch nodes still open between pieces). Anything it cannot see into (deferred draws in a reused piece, an uncached dirty view, a11y, zoom, inspector) falls back to a full redraw. Cached view ranges are only reused from the last draw. GPUI_NO_PUNCH=1 turns it off. The scrollbar, the way back, the unread pill and the typing line move into their own pane, redrawn in the same frame as the timeline (Window::redraw_now). 3000-message chat pan, 1280x800: 2.34-2.76 -> 2.22-2.32 ms a frame, prepaint 1.02-1.27 -> 0.80-0.90 ms. Screenshots, drag selection and typing match GPUI_NO_PUNCH=1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
…on screen first A fresh join showed General's messages only after a multi-page catch-up (35 s on a real join), raced by a sweep of every channel; profiles loaded one REQ pair at a time in join order, and an empty channel's older-page fetch spun on a refused claim. - The opened channel fetches its newest page alone first and paints it; sweeps, resyncs, the volley and core's channel rereads wait on a session foreground gate, and take the channel on screen first. - Visible profiles go to the front of their lane in draw order; the watcher keeps draw order and holds back anything over a batch rather than dropping it; unknown Community members and join rows queue behind. - The profile processor loads a batch with one REQ for every author's metadata and status. - An empty channel does not fetch older pages; a refused claim backs off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
The root view is now cached and punches through like the panes: a frame dirty only for panes renders those alone. Its per-frame upkeep moves to Window::on_each_draw, eases built at layout ask for frames through after_each_prepaint, and the chrome pane (or upkeep that changes what the root draws) makes it render again via Window::rerender. Deferred draws in reused pieces are carried with their dispatch parents remapped. Timeline pan (3000 messages, 1280x800, cloud): 2.22-2.32 -> 2.03-2.10 ms a frame. Screens, selection, popups, menus and tooltips match GPUI_NO_PUNCH=1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
sync_channel_events pages on for its continuations after painting the first window, holding the foreground gate (and the background walks behind it) for seconds more. sync_community_channel_head fetches and ingests one window, then the catch-up runs as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Each address of a page was read after the one before it, and a channel's first paint paid every one of those rounds in series. They are separate reads whose results fold in the same order, so they now run together. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
…tes [package] A neighbour update carries a count and no names; it no longer empties the card's player list. The pill counts named players, else the mesh's count, and each avatar names its player on hover. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
… changes [package] Panes draw through closures the root's last render made. A switch from a chat to a Community left the timeline pane drawing the old chat's rows over the new one and panicked on the index. The root now renders again on any data change or a different screen; only motion and animation frames reuse it. A root animation frame no longer redraws every pane: it renders the root alone around them. The chat's entrance veil is a pane of its own. GPUI_FRAME_LOG prints each draw's time and phases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
…ed with Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
…[package] Opening a chat forgets the last layout's pane size, so a Community's narrower pane never keys the wallpaper. Once laid out, the frame keys it again at once, and a saved bake at a size the layout lands on shows without the resize settle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
…age] Theme colours are tokens above 24 bits that c() and ta() resolve against the chosen theme, so a stored colour (a role's, a coin's) is never themed. Each theme's values come from its Tauri dark.css at build time: primary, accent, danger, badge ink, slider fill and the composer, toggle, progress and send gradients. The choice applies at login and on change with one whole-window redraw; Neon, XMR and Keep it Purple lay their faint picture behind the messages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Chatstr's three-stop and Cosmic's four-stop composer and download gradients are drawn as two-stop pieces at their CSS places, since GPUI's gradients take two. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
…er does Neon, XMR and Keep it Purple lay their picture over the rail, lists and chrome at the theme's opacity, framed to the window, and under the messages inside the chat, as one continuous image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
…ckage] Files picked, dropped or pasted wait as tiles above the input (pictures and GIFs shrunk to the tile, a video's first frame, spoilers blurred); a tile opens the file preview to rename it, mark it a spoiler or take it out. Send takes the words and every file as one message. DMs carry them as Armada does: a kind 14 with an imeta per file and each URL after the words, so clients that read no imeta still show links; a lone file with no words stays kind 15. Spoilers also travel as content-warning, a thumb holding a URL is no longer read as a thumbhash, and colour spans survive the URLs being stripped. A DM whose upload failed retries its files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RevqhATPirhyLXeb5RH
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RevqhATPirhyLXeb5RH
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RevqhATPirhyLXeb5RH
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetsD9BiLJXSUHA8PRB
…e first frame The pane is unmeasured on a chat's first frame, so the wallpaper took a saved bake of any size and swapped to the right one a frame later. The window less the chat pane is remembered per layout (member list, phone width), which gives the pane's size before its layout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
… the same A bake was cut to one pane's shape, so a bake made for another size showed the picture zoomed or shifted until the right one landed. Bakes now cover the pane at the picture's own shape and the paint covers the pane from it, so a size change only sharpens the picture. Bakes cut the old way carry the old tag and are swept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetsD9BiLJXSUHA8PRB
Opening a chat, Community, profile, settings or tab holds that frame up to 100 ms for what it reads from disk: GPUI's image loads by path or embedded (avatars, emoji, sealed cache), attachment pictures, local video posters and the chat's message page. The frame redraws as each lands and shows once complete; anything still out after the budget arrives as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
…n't see into The Requests tab marks pending invites (a blocked inviter's aside), as Tauri's does. A category with no channel the member can see hides unless they can manage channels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qq6RetJnzXvEeXAvSsgvs1
Requested by JSKitty · project thread
A long-lived experiment branch: Vector drawn natively with GPUI instead of a webview, aiming for exact parity in layout, palette, fonts and features with the Tauri client. It isn't meant to merge any time soon; the PR is here so the diff and discussion stay in one place.
What's in this first cut
crates/vector-gpui: its own workspace and lockfile, so it never touches the Tauri client's dependency graph. The only shared-file change is excluding it fromcrates/Cargo.toml. GPUI is pinned to Zedf8cfc7e.uniform_list) and the open chat (virtualisedlistwith date and NEW dividers). The NEW divider stays put while the chat is open.SerializableChat,SlimProfile,Message).data.rsmirrors the JS derivations (getName,chatPreviewText,timeAgo, unread counts), and each helper names the function it copies.src/icons, so an icon changed in the Tauri client arrives here on the next build. Rubik is cut from the shipped variable font into static weights; Inter is bundled too.Parity harness (
reference/)capture.mjsboots the real frontend in Chromium through its debug hot-reload path, usingmock-tauri.jsand the samefixtures.json. It needs no Rust, account or network. It saves a screenshot plus every element's box, font, colour and border.shot.shrenders vector-gpui under Xvfb, andcompare.pyputs the two side by side with a diff.On the 1200×760 chat screen, 1.8% of pixels differ by more than 24/255. Most of that is text anti-aliasing; the remaining offsets are about 1px.
Numbers (release build, Linux, software Vulkan)
libLLVM, lavapipe), which a real GPU driver doesn't load.Known gaps
letter-spacing, so the NEW label spaces its letters by hand.….Generated by Claude Code