Skip to content

Commit 171c360

Browse files
ci: run the media read-auth e2e lane
The `e2e_media`, `e2e_media_extended` and `e2e_media_video` binaries were `#[ignore]`d and selected by no job, so nothing verified that a real relay rejects bare reads or honours host- and hash-scoped `t=get` tokens. Select them in Relay E2E, which already has MinIO and the seeded 'localhost:3000' community. Co-Authored-By: Claude Opus 5 <[email protected]>
1 parent e2ea443 commit 171c360

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,17 @@ jobs:
768768
env:
769769
RELAY_URL: ws://localhost:3000
770770
GIT_CREDENTIAL_NOSTR_BIN: ${{ github.workspace }}/target/ci/git-credential-nostr
771+
- name: Media read-auth e2e
772+
# Reads require kind:24242 `t=get` auth, so these binaries are the only
773+
# coverage that a real relay rejects bare reads and honours host- and
774+
# hash-scoped tokens. They were #[ignore]d and selected by no CI job, so
775+
# the lane never ran; select it here, where MinIO and the seeded
776+
# 'localhost:3000' community already exist.
777+
run: |
778+
cargo test -p buzz-test-client --test e2e_media --test e2e_media_extended --test e2e_media_video -- --ignored --nocapture
779+
env:
780+
RELAY_URL: ws://localhost:3000
781+
RELAY_HTTP_URL: http://localhost:3000
771782
- name: Upload relay logs
772783
if: failure()
773784
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7

0 commit comments

Comments
 (0)