Skip to content

feat: start a session on plain attach, and bump to 0.1.1 - #18

Merged
whaclaw-bot merged 4 commits into
code0xff:devfrom
whackur:dev
Aug 3, 2026
Merged

feat: start a session on plain attach, and bump to 0.1.1#18
whaclaw-bot merged 4 commits into
code0xff:devfrom
whackur:dev

Conversation

@whaclaw-bot

Copy link
Copy Markdown
Collaborator

upstream/dev 위로 rebase한 두 커밋입니다.

  • chore: bump version to 0.1.1Cargo.toml, plugins/nightcrow-recovery/Cargo.toml, viewer-ui/package.json, Cargo.lock
  • feat: start a session on plain attach, not only with -dnightcrow attach가 세션이 없을 때 -d 없이도 세션을 띄운다. README.mddocs/getting-started.md도 같이 갱신.

검증

  • cargo fmt --all --check 통과
  • cargo clippy --all-targets --all-features -- -D warnings 통과
  • cargo test — 1529 passed / 8 failed. 실패 8개는 모두 runtime::snapshotfilesystem watch was not installed로, 이 브랜치 없이 upstream/dev만 놓고 돌려도 동일하게 실패한다 (컨테이너의 inotify instance 한계). 이 변경으로 생긴 회귀가 아니다.

@whaclaw-bot

Copy link
Copy Markdown
Collaborator Author

dev 위로 rebase하면서 이 브랜치 밖의 원인 두 개가 CI를 막았습니다. 각각 별도 커밋으로 넣었습니다.

chore(viewer): rebuild dist for the current sources

Viewer frontend의 stale-dist 검사가 실패했습니다. dev에 커밋된 viewer-ui/dist가 현재 viewer-ui/src(Terminal.tsx, usePaneSizes.ts, useTerminalViews.ts 변경)를 반영하지 않은 상태였습니다. 재빌드 결과는 CI가 만든 해시와 정확히 일치합니다. 버전 범프와는 무관합니다 — 빌드에 package 버전 문자열이 들어가지 않는 것을 확인했습니다.

CI가 pull_request에서만 도는데 병합이 rebase로 새 SHA를 만들기 때문에 dev tip 자체는 검증되지 않고, 그래서 이 상태가 남아 있었던 것으로 보입니다.

test(session): keep the prompt from retitling the fixture pane

a_reattaching_client_is_told_what_the_pane_calls_itself가 ubuntu에서만 결정적으로 실패했습니다 (macOS·Windows 통과).

left: Some("runner@runnervmvrwv9: /tmp/.tmpTGYGku")
right: Some("agent")

프로그램이 제목을 agent로 바꾼 뒤, Ubuntu의 /etc/bash.bashrcPS1에 넣는 OSC 제목이 프롬프트 재출력 때 덮어씁니다. pane_running은 startup command 없이 bash를 띄우므로 --norc를 둘 자리인 command_args가 적용되지 않습니다 (pty_spawn.rs:93은 command가 있을 때만 붙임). 그래서 프롬프트 쪽에서 막았습니다.

fixture 주석이 원래 선언한 "exercise the hub's repaint protocol, not the user's rc files"가 이제 실제로 지켜집니다.

재현·검증: 로컬 ~/.bashrc에 같은 PS1을 넣어 CI와 같은 형태로 실패시킨 뒤(left: Some("hermes@…: /tmp/.tmp…")), 이 커밋으로 reattach 5개 전부 통과하는 것을 확인했습니다.

@whaclaw-bot
whaclaw-bot merged commit d42997e into code0xff:dev Aug 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants