Add Mastodon E2E federation tests and fix Iceshrimp AP delivery issues#2
Open
turtton wants to merge 15 commits into
Open
Add Mastodon E2E federation tests and fix Iceshrimp AP delivery issues#2turtton wants to merge 15 commits into
turtton wants to merge 15 commits into
Conversation
Replace Misskey with Iceshrimp v2026.5.1 as the reference Fediverse instance. Includes default.yml, docker.env, and nginx redirect config. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Add vhost configs for iceshrimp.localhost (→iceshrimp:3000), test-ap.localhost (→custom-ap:12864), update shuttlepub.localhost (→custom-ap:12864). Add HTTP→HTTPS redirect with vhost includes. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Replace Misskey build with Iceshrimp image (v2026.5.1). Add custom-ap and test-runner services. Update cert generation for iceshrimp.localhost and test-ap.localhost domains. Add .env.example for build context and test token. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Set up TypeScript + Vitest test runner with Dockerfile. Define Custom AP interface contract documenting required ActivityPub and test-only endpoints. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Implement Iceshrimp API client (admin user creation, notes, follow, reactions), Custom AP test endpoint client (health, reset, actor registration, inbox polling), and draft-cavage HTTP Signature with RSA-SHA256. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Implement Follow→Accept and note delivery federation tests. Add ActivityPub message builders (Follow, Create, Like, Undo, Accept, Delete). Include test setup with admin user creation and remote actor registration using timestamped usernames. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Rewrite AGENTS.md and README.md to reflect migration from Misskey to Iceshrimp. Add service descriptions, domain table, setup instructions, and common commands. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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.
概要
Mastodon を Fediverse ピアとして追加し、Iceshrimp / custom-ap / Mastodon 間の ActivityPub E2E テストを実装しました。全5テストが合格します。
変更内容
新機能
MastodonClientクラス(OAuth / search / follow / status / timeline / favourite)mastodon-follow.test.ts: Mastodon → Iceshrimp の Follow 連携mastodon-note.test.ts: Iceshrimp の Note が Mastodon タイムラインに表示されるmastodon-reaction.test.ts: Mastodon の Favourite が Iceshrimp に反映されるバグ修正
{ follower: { uri } }に対応===を.includes()に変更.envを追加(機密情報の誤コミット防止)テスト結果
動作確認