test: 6 additional tests for global room, arg validation, messaging, status#4
Open
hai-pilgrim wants to merge 2 commits intomarksverdhei:mainfrom
Open
test: 6 additional tests for global room, arg validation, messaging, status#4hai-pilgrim wants to merge 2 commits intomarksverdhei:mainfrom
hai-pilgrim wants to merge 2 commits intomarksverdhei:mainfrom
Conversation
Global rooms (in ~/.chatfiles/) now write their session to \$HOME/.cf_session instead of .cf_session in the CWD. This means cf commands work from any directory after registering a global room, fixing the issue where join succeeded but subsequent read/status calls failed because .cf_session wasn't found in the new CWD. Local room sessions continue to use .cf_session in the CWD for directory-scoped isolation. Closes marksverdhei#2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ge read, status Covers: delete-room for a global chatfile, delete-room with no argument (exit 1 + Usage message), sending 3 messages all appear in read output, read N limits output to N lines, status after join shows "Joined: yes", create-room -g appears in list-rooms output. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
test_cf.sh, bringing the total from 33 to 39delete-roomfor a global chatfile (created with-g)delete-roomwith no argument: exits 1 with Usage messageread 20shows all three in outputread Nlimits output to at most N linesstatusafterjoinshowsJoined: yescreate-room -g nameresult appears inlist-roomsoutputTest plan
bash test_cf.sh🤖 Generated with Claude Code