Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ jobs:
working-directory: crates/room-floor
run: cargo test

- name: Test the topic-index crate
working-directory: crates/topic-index
run: cargo test

# Gate job: single Required status check for branch protection.
# Add new jobs to `needs` when CI grows. No Settings change needed.
CI:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ src/ チャットルーム UI(TypeScript)
src-tauri/src/ Tauri、部屋ソケット、PTY、設定・セッション保存の Rust 実装
crates/mcp-config/ .mcp.json 登録と起動フラグ検査(tauri 非依存、テスト対象)
crates/room-floor/ 同時発話の順序付け(tauri 非依存、テスト対象)
crates/topic-index/ トピックの保存と索引の照合(tauri 非依存、テスト対象)
portable-pty-patch/ Windows 対応を含む portable-pty のローカルパッチ
.github/workflows/ Windows CI とリリース用 CD
```
Expand Down
269 changes: 269 additions & 0 deletions crates/topic-index/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions crates/topic-index/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "topic-index"
version = "0.1.0"
description = "The topics of a Pullcept room: a directory of topic files, and the index that annotates it"
authors = ["Liplus Project Contributors"]
license = "Apache-2.0"
edition = "2021"

# Deliberately free of tauri, for the reason docs/0-requirements.md gives under
# テストの配置: a test binary that links the tauri dependency tree does not load
# on the GNU target, so pure logic left in `src-tauri/src/` is unverifiable the
# moment it is written. The reconciliation between the directory and the index
# was named there as the piece that had outgrown "read it and check" and
# belonged in a crate; deleting a topic is what made that load-bearing (#119),
# because a delete that left the file behind is undone by the next read.

[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"

[dev-dependencies]
uuid = { version = "1", features = ["v4"] }
Loading