The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
Add dual S3 and GCS upload GitHub Actions reference workflow.
Ayush7614fea421edcb8e
diff --git a/cli/beacon/README.md b/cli/beacon/README.mdindex ad9501bd..2c4471bf 100644--- a/cli/beacon/README.md+++ b/cli/beacon/README.md@@ -377,6 +377,7 @@ See [`examples/github-actions/claude-code-telemetry.yml`](../../examples/github-[`examples/github-actions/codex-action-session.yml`](../../examples/github-actions/codex-action-session.yml),[`examples/github-actions/s3-upload-telemetry.yml`](../../examples/github-actions/s3-upload-telemetry.yml),[`examples/github-actions/gcs-upload-telemetry.yml`](../../examples/github-actions/gcs-upload-telemetry.yml),+[`examples/github-actions/s3-gcs-upload-telemetry.yml`](../../examples/github-actions/s3-gcs-upload-telemetry.yml),and [`examples/github-actions/splunk-forward-telemetry.yml`](../../examples/github-actions/splunk-forward-telemetry.yml)for complete reference workflows.diff --git a/docs/log-forwarding/ci-telemetry-exports.mdx b/docs/log-forwarding/ci-telemetry-exports.mdxindex 0a5e1e08..6a423a96 100644--- a/docs/log-forwarding/ci-telemetry-exports.mdx+++ b/docs/log-forwarding/ci-telemetry-exports.mdx@@ -148,6 +148,25 @@ See the sample workflow:- [GCS upload telemetry workflow](https://github.com/Asymptote-Labs/agent-beacon/blob/main/examples/github-actions/gcs-upload-telemetry.yml)+`--upload` is repeatable, so a job can upload to both destinations when required. Pass `upload: s3,gcs` (or the equivalent `--upload s3 --upload gcs` CLI flags) after configuring credentials for each provider:++```yaml+- name: Run Claude with Beacon telemetry+ uses: asymptote-labs/[email protected]+ env:+ BEACON_CI_S3_BUCKET: my-beacon-telemetry+ BEACON_CI_S3_PREFIX: github-actions+ BEACON_CI_GCS_BUCKET: my-beacon-telemetry+ BEACON_CI_GCS_PREFIX: github-actions+ with:+ command: claude --print "Review this pull request"+ upload: s3,gcs+```++See the sample workflow:++- [S3 and GCS upload telemetry workflow](https://github.com/Asymptote-Labs/agent-beacon/blob/main/examples/github-actions/s3-gcs-upload-telemetry.yml)+## Object LayoutIn GitHub Actions, object keys use this shape:diff --git a/docs/runtimes/claude-code-ci.mdx b/docs/runtimes/claude-code-ci.mdxindex 1f8efa2d..9604bbd7 100644--- a/docs/runtimes/claude-code-ci.mdx+++ b/docs/runtimes/claude-code-ci.mdx@@ -144,6 +144,7 @@ See the sample workflows:- [S3 upload telemetry workflow](https://github.com/Asymptote-Labs/agent-beacon/blob/main/examples/github-actions/s3-upload-telemetry.yml)- [GCS upload telemetry workflow](https://github.com/Asymptote-Labs/agent-beacon/blob/main/examples/github-actions/gcs-upload-telemetry.yml)+- [S3 and GCS upload telemetry workflow](https://github.com/Asymptote-Labs/agent-beacon/blob/main/examples/github-actions/s3-gcs-upload-telemetry.yml)## Validation Behaviordiff --git a/examples/github-actions/claude-code-telemetry.yml b/examples/github-actions/claude-code-telemetry.ymlindex fd551596..5d784586 100644--- a/examples/github-actions/claude-code-telemetry.yml+++ b/examples/github-actions/claude-code-telemetry.yml@@ -48,6 +48,10 @@ jobs:# forward-endpoint: https://splunk.example:8088/services/collector# Optional: upload the completed runtime JSONL to object storage.# Supported values: s3, gcs, or s3,gcs.+ # See examples/github-actions/s3-upload-telemetry.yml,+ # examples/github-actions/gcs-upload-telemetry.yml, or+ # examples/github-actions/s3-gcs-upload-telemetry.yml.# upload: s3+ # upload: s3,gcs# The runtime log is uploaded as an artifact by default.upload-artifact: "true"diff --git a/examples/github-actions/s3-gcs-upload-telemetry.yml b/examples/github-actions/s3-gcs-upload-telemetry.ymlnew file mode 100644index 00000000..6cd072cb--- /dev/null+++ b/examples/github-actions/s3-gcs-upload-telemetry.yml@@ -0,0 +1,55 @@+# Reference workflow for testing Agent Beacon CI telemetry with dual+# object-storage upload (S3 and GCS). Copy this file to .github/workflows/+# in a test repository and update the buckets, AWS role, GCP workload+# identity, and action ref.+#+# This file lives under examples/ (not .github/workflows/) so it is a+# reference only and does not run in this repository.+# Replace <tag> with the Beacon release tag you want to run (v0.0.44 or newer).++name: Test Agent Beacon S3 and GCS upload++on:+ workflow_dispatch:++permissions:+ contents: read+ id-token: write++jobs:+ beacon-s3-gcs-upload:+ runs-on: ubuntu-latest+ env:+ BEACON_CI_S3_BUCKET: ${{ vars.BEACON_CI_S3_BUCKET }}+ BEACON_CI_S3_PREFIX: github-actions/test+ BEACON_CI_GCS_BUCKET: ${{ vars.BEACON_CI_GCS_BUCKET }}+ BEACON_CI_GCS_PREFIX: github-actions/test+ steps:+ - uses: actions/checkout@v4++ - name: Configure AWS credentials+ uses: aws-actions/configure-aws-credentials@v4+ with:+ role-to-assume: ${{ secrets.BEACON_TELEMETRY_ROLE_ARN }}+ aws-region: us-east-1++ - name: Authenticate to Google Cloud+ uses: google-github-actions/auth@v2+ with:+ workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}+ service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}++ - name: Install gcloud+ uses: google-github-actions/setup-gcloud@v2++ - name: Install Claude Code+ run: npm install -g @anthropic-ai/claude-code++ - name: Run Agent Beacon with S3 and GCS upload+ uses: asymptote-labs/agent-beacon@<tag>+ env:+ ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}+ with:+ command: claude --print "Say hello from Agent Beacon CI telemetry"+ upload: s3,gcs+ upload-artifact: "true"