Diffinery

codician/diffinerypublic

Open-source, agent-first GitHub and GitHub Actions alternative that runs on your own Cloudflare account: git hosting, pull requests, code review and drop-in GitHub Actions YAML on Workers, Durable Objects, R2 and Containers.

E2E: the security suite gets its own shard (#83)

The security suite grew to 32 tests (161 s locally), and on Diffinery the shard
it shared with passkeys, registry and email took 544 s of tests, making the
end-to-end workflow the longest part of a main sync (693 s, while CI, Deploy
and the live test took 422 s). It now runs in a fourth shard.


Claude-Session: https://claude.ai/code/session_01Ruyx3Qr4jYrZEpPi466deb

Co-authored-by: Claude <noreply@anthropic.com>
Canberk Demirci authored · GitHub committed signed1 parent 526abbdcommit 293e7ae2d25bf9e5cf71b96b0ee6940c80c51f69Browse files
1 file changed+6−2
modified.github/workflows/e2e.yml+6−2View file
@@ -28,7 +28,9 @@
2828 shard: core
2929 - name: agent reviews, tasks, Today
3030 shard: agents
31- - name: passkeys, registry, email, security
31+ - name: security
32+ shard: security
33+ - name: passkeys, registry, email
3234 shard: rest
3335 steps:
3436 - uses: actions/checkout@v4
@@ -47,10 +49,12 @@
4749 # Shards of similar length; a new test file runs in "rest" unless it's added to another.
4850 core='/e2e\.test\.mjs$'
4951 agents='/(agentic|review|tasks)\.test\.mjs$'
52+ security='/security\.test\.mjs$'
5053 case "${{ matrix.shard }}" in
5154 core) files=$(ls test/e2e/*.test.mjs | grep -E "$core") ;;
5255 agents) files=$(ls test/e2e/*.test.mjs | grep -E "$agents") ;;
53- *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents") ;;
56+ security) files=$(ls test/e2e/*.test.mjs | grep -E "$security") ;;
57+ *) files=$(ls test/e2e/*.test.mjs | grep -vE "$core|$agents|$security") ;;
5458 esac
5559 echo "$files"
5660 node --test --test-concurrency=1 --test-timeout=600000 $files