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
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ RELAY_URL=ws://localhost:3000
# (use `just web` for Vite HMR instead).
# BUZZ_WEB_DIR=./web/dist

# NIP-PL mobile push is an explicit deployment opt-in. A gateway URL alone
# never enables it. When enabled and the URL is absent, the canonical
# https://push.buzz.xyz/v1/deliveries/apns endpoint is used.
BUZZ_PUSH_ENABLED=false
# BUZZ_PUSH_GATEWAY_DELIVERY_URL=https://push.buzz.xyz/v1/deliveries/apns

# Optional relay-owned KLIPY key. When set, NIP-11 advertises GIF search and
# authenticated desktop clients use this relay as the metadata/search proxy.
# Keep the real value in your deployment's secret manager; never commit it.
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,20 @@ jobs:
- name: Build Android debug APK
run: just mobile-build-android

mobile-swift:
name: Mobile Swift
runs-on: macos-latest
timeout-minutes: 10
needs: [changes]
if: needs.changes.outputs.mobile == 'true'
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Build
run: swift build --package-path mobile/ios/BuzzPushKit
- name: Build release
run: swift build -c release --package-path mobile/ios/BuzzPushKit
- name: Test
run: swift test --package-path mobile/ios/BuzzPushKit
security:
name: Security
runs-on: ubuntu-latest
Expand Down
15 changes: 15 additions & 0 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Gitleaks configuration
# Extends the default ruleset; allowlists ONLY cover known dummy test fixtures
# generated for unit tests (upstream block/buzz PR #6269). They are synthetic
# P-256 keys with no production identity. Do NOT add real secrets here.
[extend]
useDefault = true

[allowlist]
description = "Synthetic APNs test fixtures used by buzz-push-gateway unit tests"
paths = [
'''crates/buzz-push-gateway/tests/fixtures/apns-test-encrypted-identity\.pem''',
'''crates/buzz-push-gateway/tests/fixtures/apns-test-key-only\.pem''',
'''crates/buzz-push-gateway/tests/fixtures/apns-test-identity\.pem''',
'''crates/buzz-push-gateway/tests/fixtures/apns-test-mismatched-identity\.pem''',
]
11 changes: 11 additions & 0 deletions .intersect/sadscan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,14 @@
exclude_rules_for_files:
sq.pii.cc.visa:
- Cargo.lock
# Self-signed test fixture generated solely to exercise reqwest identity parsing.
kingfisher.privkey.2:
- "*apns-test-identity.pem"
- "*apns-test-key-only.pem"
- "*apns-test-encrypted-identity.pem"
- "*apns-test-mismatched-identity.pem"
np.pem.1:
- "*apns-test-identity.pem"
- "*apns-test-key-only.pem"
- "*apns-test-encrypted-identity.pem"
- "*apns-test-mismatched-identity.pem"
164 changes: 0 additions & 164 deletions Cargo.lock

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

7 changes: 4 additions & 3 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,10 @@ test-unit:
cargo nextest run -p buzz-voice --lib
cargo nextest run -p buzz-cli
# buzz-db migrator/lint tests: pure SQL-parsing unit tests (no infra).
# They guard the embedded-migrator invariant (exactly the consolidated
# 0001; cutover/backfill stays an operator script, not startup state)
# and the tenant-scoping lints. The Postgres-backed buzz-db tests are
# They guard the embedded-migrator invariant (the complete checked-in
# additive migration set; legacy cutover/backfill remains an operator
# script, not startup state) and the tenant-scoping lints. The
# Postgres-backed buzz-db tests are
# #[ignore]d, so --lib runs only the infra-free set. Without this gate a
# stray file in migrations/ or a broken lint ships green.
cargo nextest run -p buzz-db --lib
Expand Down
34 changes: 34 additions & 0 deletions benchmarks/harbor-buzz-orchestra/manifests/m1-local-qwen36.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
schema_version: "1"
condition: M1-hello-world-local-qwen36
roster:
- id: orch
kind: orchestrator
role: lead
count: 1
endpoint: hf.co/HauhauCS/Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive:Q4_K_M
model_revision: Q4_K_M GGUF (local ollama)
prompt:
path: personas/orchestrator-m1.md
sha256: af64b515de914c99fbdfc5a50830909ac10ab3a4f37e8352a354019a6be74151
generation:
max_output_tokens: 4096
context_window_tokens: 128000
- id: worker
kind: worker
role: implementer
count: 1
endpoint: hf.co/HauhauCS/Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive:Q4_K_M
model_revision: Q4_K_M GGUF (local ollama)
prompt:
path: personas/worker-m1.md
sha256: f3fef3d2c42105c256ff019d71ef99506b31a23e8cb252cac727c8bc470eb304
generation:
max_output_tokens: 4096
context_window_tokens: 128000
prices:
hf.co/HauhauCS/Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive:Q4_K_M:
input_per_million_usd: 0
cached_input_per_million_usd: 0
output_per_million_usd: 0
trial_budget:
timeout_seconds: 1800
Loading
Loading