Repository navigation
perf: reduce workspace overhead and complete feature docs - #350
Merged
Merged
Conversation
Cancel obsolete Git refresh workers and watchdogs, index directory status, and avoid rebuilding terminal rows on glyph-cache hits. Complete feature coverage and restoration guidance across all website languages, with focused regression fixtures and contributor instructions. Co-authored-by: Codex <noreply@openai.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
wzz6423
marked this pull request as ready for review
December 5, 2026 02:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switching repositories or starting Git operations previously discarded stale refresh results while their workers and timers kept running. Terminal cache hits also rebuilt row data, and each visible directory scanned all changed paths for its status.
@coderabbitai summary
GitHub Project
PR Type
Validation
Status: passed
Command:
xcodebuild -quiet -project mac/zshell.xcodeproj -scheme zshell -configuration Debug -destination 'platform=macOS,arch=arm64' -derivedDataPath mac/build/debug ENABLE_USER_SCRIPT_SANDBOXING=NO buildResult: The signed Debug app builds successfully. Launching it with isolated preferences publishes an authenticated session-controller connection, and
zshell +session projects --connection <fixture-connection>returns its documented JSON array. The test instance and its private state are removed.Status: passed
Command:
codesign --verify --deep --strict --verbose=1 'mac/build/debug/Build/Products/Debug/zshell Debug.app'Result: Bundle integrity and its designated requirement both pass.
Status: passed
Command:
python3 -B mac/tests/test_git_refresh_lifecycle.py && python3 -B mac/tests/test_git_command_runner.py && python3 -B mac/tests/test_git_status.py && python3 -B mac/tests/test_git_status_snapshot.py && python3 -B mac/tests/test_terminal_text_shaper.py --benchmarkResult: Repository switches, mutations, completion and teardown cancel the owned workers/timers; synchronous and asynchronous cancellation clean up Git processes without growing thread or descriptor counts. Directory results match the full-scan reference, including Unicode separators; all 19 snapshot tests pass. Cached glyphs match fresh CoreText output across content, style, font, grid and invalid-buffer changes. In the local directory fixture, 1,600 lookups over 10,005 paths take 3.25 ms versus 230.73 ms for scanning, plus 3.27 ms to build the index. These timings measure a local hot path.
Status: passed
Command:
python3 -B mac/tests/test_terminal_cell_width.py --derived-data mac/build/debug --font-features && python3 -B mac/tests/test_git_history_surfaces.py --built-app 'mac/build/debug/Build/Products/Debug/zshell Debug.app' && python3 -B mac/tests/test_file_tree_background.py --built-app 'mac/build/debug/Build/Products/Debug/zshell Debug.app'Result: The earlier production-surface checks in this task pass for Ghostty (64 checks), Alacritty (69 checks), Git history (719 checks), and exclusive file creation using the built Debug module.
Status: passed
Command:
cd web && bun install --frozen-lockfile && bun run build && bun run typecheck && bun testResult: Build and type checking pass; all 51 tests pass. An additional HTML check resolves 13,814 documentation links and anchors across the generated site without errors. Browser checks of the Chinese, Arabic and English project guide retain the new section anchor during locale changes and report no console errors. The build runs first to generate the ignored TanStack route tree.
Status: passed
Command:
make format && git diff --check && bash .github/scripts/check-repository-hygiene.shResult: Formatting, whitespace and repository hygiene checks pass.
Status: not run
Reason: Whole-application CPU/memory soak measurements and live SSH cancellation acceptance were not run. The remote lifecycle fixture uses a bounded transport double.
Risk and Rollback
Related Issue
None
AI Attribution