Files
Do SikiandClaude Sonnet 5.5 9629364dad
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Canceled after 0s
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Canceled after 0s
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Canceled after 0s
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Canceled after 0s
docs: Activepieces CE pilot report and throwaway pilot assets (PLATFM-18 D-E)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-04 00:49:00 +02:00

17 lines
997 B
Python

"""ntfy stand-in for the pilot: records POSTs (title/priority headers + body); GET /received lists them."""
import json
from datetime import datetime, timezone
from http.server import BaseHTTPRequestHandler, HTTPServer
RECEIVED = []
class H(BaseHTTPRequestHandler):
def do_POST(self):
body = self.rfile.read(int(self.headers.get("Content-Length", 0))).decode()
RECEIVED.append({"at": datetime.now(timezone.utc).isoformat(), "path": self.path,
"title": self.headers.get("Title"), "priority": self.headers.get("Priority"), "body": body})
self.send_response(200); self.end_headers(); self.wfile.write(b'{"ok":true}')
def do_GET(self):
data = json.dumps(RECEIVED).encode() if self.path == "/received" else b'{"ok":true}'
self.send_response(200); self.send_header("Content-Type", "application/json"); self.end_headers(); self.wfile.write(data)
def log_message(self, *a): pass
HTTPServer(("0.0.0.0", 8000), H).serve_forever()