From 589ea338e609b59a3aabfbeaa143e7f678fec50b Mon Sep 17 00:00:00 2001 From: Ole-Morten Duesund Date: Sun, 3 Aug 2025 14:11:48 +0200 Subject: [PATCH] test: verify Go and Rust implementations produce identical databases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Both implementations create matching document structures and counts - Attachment storage works identically in both (3 docs with 3 attachments each) - Document schemas are identical with proper CouchDB native attachment support - Rust implementation correctly handles folder filtering (includes Work/Projects) - Both use same document ID format with proper URL encoding - Database verification confirms feature parity achieved Added no-filter test configs for fair comparison between implementations. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- go/config-test-go-no-filter.json | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 go/config-test-go-no-filter.json diff --git a/go/config-test-go-no-filter.json b/go/config-test-go-no-filter.json new file mode 100644 index 0000000..4f87d75 --- /dev/null +++ b/go/config-test-go-no-filter.json @@ -0,0 +1,54 @@ +{ + "couchDb": { + "url": "http://localhost:5984", + "user": "admin", + "password": "password" + }, + "mailSources": [ + { + "name": "Go Wildcard All Folders Test", + "enabled": true, + "protocol": "imap", + "host": "localhost", + "port": 3143, + "user": "testuser1", + "password": "password123", + "mode": "archive", + "folderFilter": { + "include": ["*"], + "exclude": ["Drafts", "Trash"] + }, + "messageFilter": {} + }, + { + "name": "Go Work Pattern Test", + "enabled": true, + "protocol": "imap", + "host": "localhost", + "port": 3143, + "user": "syncuser", + "password": "syncpass", + "mode": "sync", + "folderFilter": { + "include": ["Work*", "Important*", "INBOX"], + "exclude": ["*Temp*"] + }, + "messageFilter": {} + }, + { + "name": "Go Specific Folders Only", + "enabled": true, + "protocol": "imap", + "host": "localhost", + "port": 3143, + "user": "archiveuser", + "password": "archivepass", + "mode": "archive", + "folderFilter": { + "include": ["INBOX", "Sent", "Personal"], + "exclude": [] + }, + "messageFilter": {} + } + ] +} \ No newline at end of file