Skip to content
Closed
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
3 changes: 2 additions & 1 deletion .github/workflows/job_detect_changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ jobs:

# Logdrain application
logdrain:
- 'apps/logdrain/**'
- 'apps/logdrain/**/!(*.md|*.txt)'
- 'apps/logdrain/!(*.md|*.txt)'

# Go services (API v2, Ctrl, Deploy services)
go:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/job_test_logdrain.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test Logdrain
on:
workflow_call:
permissions:
contents: read
jobs:
test:
name: Test Logdrain
runs-on: depot-ubuntu-24.04-4
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
- name: Setup Node
uses: ./.github/actions/setup-node
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Wrangler
uses: ./.github/actions/setup-wrangler
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Type Check
run: npx tsc --noEmit
working-directory: apps/logdrain
env:
CI: 1
- name: Build Check
run: wrangler deploy --dry-run
working-directory: apps/logdrain
env:
CI: 1
5 changes: 5 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ jobs:
if: ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || github.event_name != 'pull_request') && needs.detect_changes.result == 'success' && needs.detect_changes.outputs.dashboard == 'true'
needs: [detect_changes]
uses: ./.github/workflows/job_test_dashboard.yaml
test_logdrain:
name: Test Logdrain
if: ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || github.event_name != 'pull_request') && needs.detect_changes.result == 'success' && needs.detect_changes.outputs.logdrain == 'true'
needs: [detect_changes]
uses: ./.github/workflows/job_test_logdrain.yaml
9 changes: 2 additions & 7 deletions apps/docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,7 @@
{
"group": "Identities",
"icon": "fingerprint",
"pages": [
"concepts/identities/overview",
"concepts/identities/ratelimits"
]
"pages": ["concepts/identities/overview", "concepts/identities/ratelimits"]
}
]
},
Expand Down Expand Up @@ -272,9 +269,7 @@
},
{
"group": "Too Many Requests",
"pages": [
"errors/user/too_many_requests/query_quota_exceeded"
]
"pages": ["errors/user/too_many_requests/query_quota_exceeded"]
},
{
"group": "Unprocessable Entity",
Expand Down
3 changes: 3 additions & 0 deletions apps/logdrain/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# logdrainv2

## Overview
This is a Cloudflare Worker that receives and processes logs.

To install dependencies:

```bash
Expand Down
Loading