bincxz
8a97e3c555
fix(sftp): make panel pause feel immediate
...
Paint paused optimistically, stop counting paused rows as "active", freeze
visible progress while paused, and soft-drain concurrent pause in ~50ms
without long writeStream waits on the contiguous-range path.
2026-07-25 21:55:47 +08:00
netcatty-bot
f5920ea56a
fix: address Codex review on PR #2486
2026-07-25 13:49:39 +00:00
bincxz
962906c873
fix(sftp): close soft-drain checkpoint and remote identity gaps
...
Prefer contiguous bridge checkpointBytes over high-water transferred for
resume offsets, read remote modifyTime for meta pause identity, clear
deferredSparseTruncate on failed pause unpause, and forward fingerprint
fields through drag-drop upload progress.
2026-07-25 21:30:51 +08:00
netcatty-bot
23ddc57d47
fix: address Codex review on PR #2486
2026-07-25 13:25:19 +00:00
bincxz
32d7591735
fix(sftp): bound soft-pause resume settle and keep upload fingerprints
...
Wait for in-flight concurrent ranges on resume with a deadline and cancel
checks so stalled SFTP requests cannot hang Resume forever. Propagate
sourceFingerprint through external-upload progress updates.
2026-07-25 21:10:27 +08:00
bincxz
59bd45ac6a
fix(sftp): durable pause identity without full-file hashing
...
Confirm pause only after a cheap size+mtime source identity is recorded
and published for transfer-center persistence. Wait for in-flight
concurrent ranges before sparse-tail truncation on resume, and refuse
truncate after cancel during that wait.
2026-07-25 20:59:56 +08:00
netcatty-bot
439bd5d312
fix: address Codex review on PR #2486
2026-07-25 12:48:55 +00:00
bincxz
07d326fde7
fix(sftp): make transfer pause responsive and visible
...
Pause felt stuck because the panel hid the pausing state, and the
backend waited for every in-flight range plus a full source fingerprint
hash. Soft-drain concurrent ranges, skip blocking fingerprint work, and
show clear pausing feedback in the panel and transfer center.
2026-07-25 20:37:56 +08:00
Netcatty-Bot and netcatty-bot
e9ef296974
fix(cloud-sync): keep-local overwrite skips remote decrypt ( #2469 )
...
* fix(#2466 ): automated Cursor CLI fix
* fix: address Codex review on PR #2469
---------
Co-authored-by: netcatty-bot <308658023+netcatty-bot@users.noreply.github.com >
2026-07-25 18:40:01 +08:00
陈大猫
d80a5a112c
Merge pull request #2484 from binaricat/chore/revert-2460-osc-color-test
...
Revert #2460 OSC color handling test
2026-07-25 18:24:17 +08:00
bincxz
266758eca9
Revert "修复了 Netcatty 终端中 Docker 日志显示 OSC 颜色序列乱码的问题 ( #2460 )"
...
This reverts commit 871373ac4e .
2026-07-25 18:23:21 +08:00
陈大猫
53369a5685
Merge pull request #2482 from binaricat/worktree/sftp-cleanup
...
perf(sftp): upload fanout (64×32KiB) + dead-code cleanup
2026-07-25 18:05:04 +08:00
bincxz
4439be6a1a
perf(sftp): match Electerm upload fanout (64×32KiB)
...
Raise UPLOAD_TRANSFER_CONCURRENCY from 32 to 64 so the default in-flight
window is ~2MiB, matching Electerm transfer.js / ssh2-style defaults while
keeping the safe 32KiB chunk size.
2026-07-25 17:37:59 +08:00
bincxz
c966e2e46c
chore(sftp): drop dead serial-upload leftovers
...
Remove the unused uploadFileResumableFast alias and the always-null
activeSftpUploads.stream field from the buffer-upload cancel path after
serial WriteStream crawl was fail-closed for #2449 .
2026-07-25 17:25:18 +08:00
陈大猫
709e0efde8
Merge pull request #2468 from binaricat/codex/sftp-transfer-hardening-followup
...
refactor(sftp): unify transfer safety after #2452
2026-07-25 16:49:04 +08:00
bincxz
863026a271
fix(sftp): refuse rollback clobber of concurrent published targets
...
On promoteLocalTransfer failure after publish, only unlink/restore when the
target still matches the published ready identity. Concurrent post-publish
replacements leave the concurrent file and backup intact.
2026-07-25 16:44:11 +08:00
bincxz
c2083b2571
fix(sftp): never restore backup over a recreated local target
...
When backup identity mismatches, check whether targetPath was recreated
before restoring. Leave concurrent content and the backup intact.
2026-07-25 16:37:35 +08:00
bincxz
0e95d3ad4b
fix(sftp): fail closed if download target is recreated after backup
...
Do not publish a staged local download over a concurrent file that appears
at the target path after the original was moved to backup. Leave the
concurrent target in place and retain the backup for recovery.
2026-07-25 16:31:54 +08:00
bincxz
94adf8900b
fix(sftp): harden destination identity and cancel hashing
...
Always content-hash remote destinations before staged promotion (even when
ino/fileId is stable), pass AbortSignal through destination hashing so cancel
closes read streams, and revalidate local download backups before publish.
2026-07-25 16:26:20 +08:00
陈大猫
c937ef794a
Merge pull request #2463 from binaricat/cursor/issue-2462-30096023398
...
feat(snippets): select target hosts by vault group
2026-07-25 16:06:54 +08:00
netcatty-bot
c4abf9fbb0
fix: address Codex review on PR #2468
2026-07-25 07:55:44 +00:00
bincxz
15d8fc6d20
fix(sftp): guard late channel and target races
2026-07-25 15:42:06 +08:00
bincxz
0ff6656fc5
Merge origin/main into codex/sftp-transfer-hardening-followup
2026-07-25 15:35:59 +08:00
bincxz
9d9f2ac462
fix(scp): stream verified staged uploads
2026-07-25 15:09:56 +08:00
陈大猫 and netcatty-bot
5633631840
fix(ci): reduce flaky failures and PR runtime ( #2474 )
...
* fix(ci): reduce flaky failures and PR runtime
* fix(ci): avoid label scope failures
* fix(ci): tolerate GitHub download outages
* fix(ci): cover packaged inputs in PR triggers
* fix(ci): keep test-only changes out of package builds
* perf(ci): reuse unchanged ET PR builds
* fix: address Codex review on PR #2474
* fix(ci): harden automation PR handoffs
* fix(ci): preserve reused implementation branches
* fix(ci): deduplicate automation follow-ups
* fix(ci): deduplicate automation follow-ups
* fix(ci): ignore remapped stale Codex findings
* fix(ci): use the established handoff label
* fix(ci): isolate manual package validations
* fix(ci): refresh existing Nix metadata PRs
* fix(ci): hand off divergent implementation branches
* fix(ci): serialize Homebrew tap updates
---------
Co-authored-by: netcatty-bot <308658023+netcatty-bot@users.noreply.github.com >
2026-07-25 15:04:22 +08:00
bincxz
468b7d6594
fix(scp): settle stream handoff races
2026-07-25 14:56:25 +08:00
netcatty-bot
ca2aacadef
fix: address Codex review on PR #2468
2026-07-25 06:51:49 +00:00
netcatty-bot
70e3781a70
fix: address Codex review on PR #2468
2026-07-25 06:35:28 +00:00
bincxz
b2db6a0fbb
fix(sftp): preserve buffer upload semantics
2026-07-25 14:20:08 +08:00
Netcatty-Bot and netcatty-bot
2ab4c28bc3
fix( #2480 ): automated Cursor CLI fix ( #2481 )
...
Co-authored-by: netcatty-bot <308658023+netcatty-bot@users.noreply.github.com >
2026-07-25 14:17:31 +08:00
bincxz
9e68202943
fix(sftp): protect all upload source paths
2026-07-25 14:07:52 +08:00
bincxz
b410a5ee6e
fix(sftp): cancel remote directory preflight safely
2026-07-25 13:23:30 +08:00
netcatty-bot
ebac46f953
fix: address Codex review on PR #2468
2026-07-25 05:13:19 +00:00
bincxz
a510892cde
fix(sftp): preserve local download targets
2026-07-25 12:58:33 +08:00
bincxz
3962a87a23
docs(sftp): translate transfer research to English
2026-07-25 12:31:03 +08:00
bincxz
35e0122b7d
test(sftp): stabilize concurrent failure ordering
2026-07-25 12:18:22 +08:00
Netcatty-Bot and bincxz
e3b2c6a5e4
fix(terminal): preserve wakeups for pending TUI output ( #2470 )
...
Co-authored-by: bincxz <16399091+binaricat@users.noreply.github.com >
2026-07-25 12:10:47 +08:00
bincxz
35ee1d4fdf
fix(sftp): cancel stalled transfer preflights
2026-07-25 12:09:24 +08:00
bincxz
a07f928ec4
fix(sftp): close late upload cancellation windows
2026-07-25 11:44:18 +08:00
陈大猫
093c997cb5
fix(terminal): prevent Herdr rendering freezes ( #2472 )
...
* fix(terminal): prevent Herdr rendering freeze
* test(terminal): harden xterm overflow coverage
* test(terminal): stabilize WebGL overflow probe
* fix(terminal): keep visible xterm writes asynchronous
* fix(terminal): avoid interrupting xterm writes
* fix(terminal): reject incomplete output drains
* fix(terminal): keep failed snapshots atomic
* fix(terminal): cover Herdr rendering freezes
* fix(terminal): arbitrate pause leases in main
* test(terminal): keep Herdr timeout active
2026-07-25 08:39:59 +08:00
bincxz
81b290c20b
fix(sftp): preserve symlink transfer safety
2026-07-25 02:19:41 +08:00
bincxz
474aec6511
fix(sftp): stage SCP downloads safely
2026-07-25 01:35:08 +08:00
bincxz
616191fcf5
test(sftp): close final transfer review gaps
2026-07-25 01:13:38 +08:00
bincxz
a4c1c3a39b
fix(sftp): finish SCP cancellation checks
2026-07-25 01:09:32 +08:00
bincxz
2b74585dfb
Merge remote-tracking branch 'origin/codex/sftp-transfer-hardening-followup' into codex/sftp-transfer-hardening-followup
...
# Conflicts:
# electron/bridges/sftpBridge.cjs
# electron/bridges/transferBridge.cjs
# electron/bridges/transferBridge.test.cjs
2026-07-25 01:06:28 +08:00
bincxz
3f9634a9ca
fix(sftp): close unified transfer safety gaps
2026-07-25 01:04:21 +08:00
netcatty-bot
fd5ed5da7c
fix: address Codex review on PR #2468
2026-07-24 16:56:49 +00:00
bincxz
2de1f901bb
refactor(sftp): unify transfer transactions
2026-07-25 00:32:26 +08:00
bincxz
b2545438ff
Merge remote-tracking branch 'origin/main' into codex/sftp-transfer-hardening-followup
2026-07-25 00:06:02 +08:00
bincxz
2a4baab5a2
fix(sftp): keep isolated cancel deadline fixed
2026-07-24 23:36:43 +08:00