Repository navigation
Behavior changes
- Inline comments and suggestions join your pending review, and are published when you submit that review. They are no longer posted as standalone review comments the moment you send them. The PR header shows
Pending review: N draftswhen you have drafts, and those drafts appear in the diff. Replies and comments posted by AI Rally still go out immediately. You cannot reply to a pending draft until the review is submitted. A draft is refused if the pending review was started on an older commit. To keep posting each inline comment immediately, as v0.7.4 did, setinline_comment_mode = "immediate"under[review]. The default is"pending". (#244, #169, #293) - Footer notices after an action no longer clear after 3 seconds in every case. A success stays for 5 seconds, or until the next key, whichever comes first. A failure stays until a key pressed more than 2 seconds after it appeared. Keys in those first 2 seconds are still handled and do not hide the result. While a failure is on screen, Esc only dismisses it and does not go back or quit, except on screens that do not draw the notice. (#261)
- Load and fetch failures show a reason in the footer, with a retry key. The failure is no longer kept only inside the pane. A missing repository, a permissions error, a missing or logged-out
gh, a network error, and a rate limit each have their own message.rretries a failed PR-list load. An empty PR or issue list follows the current filter, for exampleNo open pull requests. (#257, #271, #246) - Malformed theme or keybinding warnings appear in the TUI. A badge starts the footer and stays until you fix the file and restart octorus.
?opens on the Help Config tab while warnings exist. Without warnings,?still opens on the last tab. The same warnings still print to stderr. (#258, #247) - In local mode, a change under a gitignored path no longer refreshes the diff. Tracked files still refresh, including a tracked file under an ignored directory. Untracked files that are not ignored still refresh. Editing
.gitignorestill refreshes. (#272, #192)
What's Changed
Improvements
- Inline comments and suggestions in the PR diff join the viewer's pending review on GitHub, and are published together when you approve, request changes, or comment. The header shows
Pending review: N drafts. Esc keeps unsent comment and suggestion text for that line. A comment add gives up after 45 seconds, and a timed-out add is reported as unknown rather than failed. Until it resolves, a review submit is refused. Replies and AI Rally's own review posting still post immediately. by @ushironoko in #244 [review] inline_comment_modeis"pending"(default) or"immediate"."immediate"posts each new inline comment on its own, the v0.7.4 behavior, usinglineandside. Single-line, range, suggestion, and deleted-line comments work in both modes. Existing pending drafts stay visible in both modes, because submitting a review still publishes them. While a pending review exists, an immediate comment showsPending review exists: submit or discard it firstin the footer. A failed immediate post keeps its text. An unknown value warns at startup and falls back to the default. by @ushironoko in #293- You can start a review comment on a deleted line. The composer sends
side: LEFTand the old-file line number. A range of removed lines is LEFT on both ends. The composer label matches the comment list, for exampleLine: L11. A selection that mixes a removed line with an added or context line still does not open the composer. Suggestions stay on the new file, soson a removed line still does nothing. (#196) by @ushironoko in #268 - Review threads and the browse discussion overlay label a comment
path:L11orpath:R10-12. OnlyLEFTis shown asL. A comment whose line is gone from the diff is marked outdated. Jumping to a row that is no longer in the diff lands on row 0 and showsLine no longer in diff. by @ushironoko in #267 - The file on screen still draws as a plain diff first, then syntax highlighting replaces it in the background, with no byte cap, no line cap, and no 1-second budget, including patches larger than 8 MiB or 100,000 lines. Switching files cancels the previous highlight and does not apply a late result. Prefetch may skip a patch over 8 MiB or 100,000 lines, or stop a query after 1 second, publish the plain diff, and continue. Opening that file still starts the full highlight and swaps it in. (#190) by @ushironoko in #270
- Highlight queries on a deep, narrow syntax tree, such as error-recovered Haskell, restart in depth-bounded slabs when the heaviest spine is deeper than 512. Ordinary files stay on a single cursor. In the PR's release-build measurements, query time for a synthetic 8,000-line Haskell file went from 31.7 seconds to 203 milliseconds. A follow-up keeps peak memory at the pre-#284 level on very deep trees (see the next entry). (#190) by @ushironoko in #284
- On a very deep syntax tree under a tight memory limit, highlight matches that do not fit the free memory are spilled to an unnamed mode-0600 file in the temp directory instead of kept in RAM. When the temp directory is RAM-backed (tmpfs), the spill goes to
~/.cache/octorusinstead. Nothing is left on disk after exit or a kill. Ordinary files stay on the single cursor, and a machine with no memory limit and more than 1.5 GiB free beside the tree takes the same path as before. In the PR's measurements on an 822,543-line synthetic Haskell file under a 3 GiB cgroup limit with no swap, main before this change was killed for out of memory. With this change, the highlight swapped in at about 64 seconds with a peak of 2,938 MB, and 2,937 MB with a tmpfs temp directory. Before #284, the peak was 2,961 MB and the process stayed up for 600 seconds without the highlight finishing. With no memory limit, the highlight took 56.2 seconds, against 54.1 seconds on main. (#190) by @ushironoko in #291 - A data refresh keeps the highlight and scroll position of a file whose patch is unchanged. Local mode no longer re-highlights every file on each save. A rename does not reuse the old file's highlight. Duplicate filenames drop their caches. (#192) by @ushironoko in #272
- Reopening a cached pull request skips the heavy file-list refetch when every cached file has a patch and
updated_at, the head SHA, the base ref, the base SHA, and the live base-branch tip are unchanged. Title, body, state, and user from that metadata read are still applied. Viewed state is still queried. ManualRand a retry still do a full refetch. If the viewed-state query fails on an unchanged reopen, marks already on screen stay. A full refetch still leaves those files unviewed when that query fails. In the PR's tests, a complete unchanged cache uses 2ghcalls instead of 3. (#193) by @ushironoko in #273 - Marking or unmarking a directory of files as viewed sends one aliased GraphQL mutation per chunk of 40 paths, instead of one
ghprocess per file. A single file still uses the original mutation. In the PR's tests, 5 successful marks went from 5 calls to 1, and 41 went from 41 calls to 2. (#193) by @ushironoko in #274 - Each page of the pull request list is one GraphQL query for 30 rows, and scrolling continues from the cursor. Refresh still reloads only the first page. Filters
o/c/aand the created-at sort are unchanged. If pull requests open or close while you scroll, those changes show up on refresh or when you change the filter, and rows no longer duplicate or skip the way offset paging could. (#193) by @ushironoko in #275 - In local mode, unchanged untracked diffs are reused from a cache, and two or more other files can be diffed in one batched
git diff --no-index. The file on screen is always diffed live. A configured textconv, external diff, or clean filter turns the cache off. In the PR's measurements, a no-change refresh of 10,000 untracked files took 12 to 13 seconds before this change. With the batch and no cache it took 473 ms, and with the cache it took 54 ms, both on a debug build. (#193) by @ushironoko in #276 - Line and comment lookup builds one compact index per patch and reuses it, instead of scanning the whole patch on every call. The first paint of a large file is still a plain diff. In the PR's criterion run, placing 64 comments on a 1,000,000-line patch went from 1.37 seconds to 107 milliseconds. (#191) by @ushironoko in #277
- More UI colors come from theme tokens, so
[theme.colors]overrides andNO_COLORreach the pending-review count, CI status notes, the diff comment marker, PR-list CI dots, the checks list, help, footer prompts, the comment list, and the file-list[M]mark. On the default dark preset the colors are unchanged. On the light preset, a few sites that were Cyan now use the Blueinfoandaccenttokens. Syntax highlighting, Rally colors, and some leftover hardcoded colors are unchanged. #229 is still open. by @ushironoko in #252, #256, and #269 - At 60 columns, the cockpit logo no longer clips to
OCTORU. The header picks a compact wordmark when the inner width is 41 to 66, and falls back to the textOCTORUSbelow 41 columns. The full logo is unchanged on an 80-column or wider terminal. by @ushironoko in #260 - Footer notices after a comment, a review, or a git operation follow new dismiss rules. A success stays for 5 seconds or until the next key. A failure stays until a key pressed more than 2 seconds after it appeared. While a failure is on screen, Esc only dismisses it. The notices use the theme's success and danger colors. by @ushironoko in #261
- Malformed theme or keybinding warnings stay on the config and show in the TUI. A badge starts the footer, and
?opens on the Help Config tab while warnings exist. (#247) by @ushironoko in #258
Fixes
- Opening help with
?from PR Description, the Comment List, or the repository browser, then closing it withq, returns to that view. The nextqno longer loops on the same screen. (#240) by @ushironoko in #245 - The symbol popup title and long names fit with an ellipsis instead of a hard cut. The popup no longer leaks one column of the diff beside its border, and the border follows the theme, including under
NO_COLOR. (#250) by @ushironoko in #251 - The
\ No newline at end of filemarker is drawn in the muted theme color, with no syntax highlight and no leading space. Pressingcon it explains in the footer that the marker has no line. (#249) by @ushironoko in #255 - A failed PR-list, issue-list, file-list, comment, or cockpit-count load shows the reason in the footer, with a retry key, instead of a generic message in the pane. A missing repo, no access, a missing or logged-out
gh, a network error, and a rate limit each have their own message. (#246) by @ushironoko in #257 and #271 - Help key labels no longer repeat a key, the filter key reads
Space /, and Split View listscands. Lists draw a scrollbar only when their rows overflow the pane. (#248) by @ushironoko in #259 - In the repository browser, a focused file-pane title is
▶ FILES (/query)or▶ FILTER: query_, with the query left in its original case. In local mode, the split-view header matches the file list and reads[LOCAL] Local HEAD diffinstead ofPR #0: Local HEAD diff. (#250) by @ushironoko in #262 - File List help no longer lists jump to first or last, and it documents
Gfor git ops, plusband!. The stale second Git Ops help section is removed, and the remaining key labels follow the configured bindings. DefaultGstill opens git ops on the File List. (#198) by @ushironoko in #263 - If you remap
git_opsto another key,Gagain jumps to the last file in the File List and the split-view file pane, as in v0.7.4. A remappedjump_to_lastkey also works there, and Help lists it when it differs from the git ops key. DefaultGstill opens git ops. by @ushironoko in #290 - A multi-line pending review draft is marked across every diff row in its range, and the panel and thread list label the span, for example
10-12. The comment marker and the comments already on screen stay visible while comments reload. (#264, #265) by @ushironoko in #266 - Single-line review comments are posted with
lineandsideinstead of the deprecatedposition. AI Rally was the remaining caller of that path and still posts new-file lines asRIGHT. Composer comments already usedlineandside. (#195) by @ushironoko in #281
Security and dependencies
- The direct
chronodependency is replaced withjiff1.0.1, because RUSTSEC-2026-0543 marks chrono unmaintained.chronois gone from the lockfile. Displayed dates, relative times, check durations, local backup stamps, and cacheupdated_atcomparison are tested to match chrono 0.4.45. Cache freshness is still string equality, soZand+00:00remain a cache miss. Existing session, local-comment, and.versionfiles load unchanged. (#285) by @ushironoko in #287 hearth-graphis updated from 0.3.0 to 0.3.1, andtree-sitter-haskellfrom 0.23.1 to 0.24.1, so the lockfile has a single Haskell grammar. octorus's Haskell tags query follows the renamedtype_synonymnode. Symbol extraction matches the previous grammar on the PR's fixtures. The one highlight change is that\casesis drawn as a keyword. by @ushironoko in #286ccis updated from 1.10.0 to 1.11.2,notifyfrom 8.2.1 to 8.2.2, andtomlfrom 1.1.8 to 1.2.1.unicode-widthstays at 0.2.2, because 0.2.3 plus the currentratatui-core0.1.2 would give halfwidth kana with dakuten or handakuten an extra cell and wrap those diff lines. by @ushironoko in #280
Internal
- CLI start-up tests that used an invalid repository no longer hang under a terminal, and TUI start-up tests detach from the controlling terminal so they do not leave it in raw mode. (#228) by @ushironoko in #253 and #254
- Review-comment posts take a typed
DiffSideinstead of a side string. Theghrequests are unchanged. by @ushironoko in #283 - CI runs a non-blocking cccc complexity report on
srcandcrates, and writes the top 20 functions by cognitive complexity to the job summary. The job cannot fail the workflow, and there is no complexity threshold. (#211) by @ushironoko in #288 - The
Swatinem/rust-cacheaction is updated toeedcf2fb1c22f010a0eb66b92f378c110977f266. by @dependabot in #278
Full Changelog: v0.7.4...v0.7.5