Skip to content

Commit e13677f

Browse files
feat: add health tracking, script caching, memory limits, body/WS handlers
- Re-enable CI (uncomment triggers, remove if:false) - Track in-flight requests and populate LoadMetrics in health_status() - Add degraded state detection when error rate > 10% - Add requests_allowed counter, error_rate and in_flight gauges - Cache JsContext to avoid re-evaluation per call, rebuild on reconfigure - Enforce configurable memory limit (default 64MB) - Implement on_request_body_chunk, on_response_body_chunk, on_websocket_frame - Enable streaming_body and websocket capabilities
1 parent 47d0e33 commit e13677f

2 files changed

Lines changed: 317 additions & 61 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: CI
22

33
on:
4-
# Disabled to conserve GHA minutes
5-
# Uncomment to enable:
6-
# push:
7-
# branches: [main]
8-
# pull_request:
9-
# branches: [main]
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
108
workflow_dispatch:
119

1210
env:
@@ -17,7 +15,6 @@ jobs:
1715
check:
1816
name: Check
1917
runs-on: ubuntu-latest
20-
if: false # Disabled - change to true to enable
2118
steps:
2219
- uses: actions/checkout@v4
2320

@@ -41,7 +38,6 @@ jobs:
4138
test:
4239
name: Test
4340
runs-on: ubuntu-latest
44-
if: false # Disabled - change to true to enable
4541
steps:
4642
- uses: actions/checkout@v4
4743

@@ -65,7 +61,6 @@ jobs:
6561
fmt:
6662
name: Format
6763
runs-on: ubuntu-latest
68-
if: false # Disabled - change to true to enable
6964
steps:
7065
- uses: actions/checkout@v4
7166

@@ -80,7 +75,6 @@ jobs:
8075
clippy:
8176
name: Clippy
8277
runs-on: ubuntu-latest
83-
if: false # Disabled - change to true to enable
8478
steps:
8579
- uses: actions/checkout@v4
8680

0 commit comments

Comments
 (0)