Skip to content

The headless browser for AI agents and web scraping

chore(github): cover rendering in contribution templates

SGavrl7e65561b82a1
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 1ab4e07e..6fc3826d 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -42,14 +42,42 @@ body:
- Other
validations:
required: true
+ - type: dropdown
+ id: area
+ attributes:
+ label: Affected area
+ options:
+ - JavaScript or DOM behavior
+ - Rendering, layout, or paint
+ - Screenshot, screencast, or PDF output
+ - CDP, Puppeteer, or Playwright compatibility
+ - Networking, cookies, or proxies
+ - CLI or MCP
+ - Build, packaging, or installation
+ - Other
+ validations:
+ required: true
+ - type: dropdown
+ id: build
+ attributes:
+ label: Build variant
+ description: Official default and stealth archives include rendering. No-render archives and source builds without the render feature do not.
+ options:
+ - Render-enabled (official default archive or --features render)
+ - Render-enabled with stealth (official stealth archive or --features render,stealth)
+ - No-render (official no-render archive or source build without render)
+ - No-render with stealth (official no-render-stealth archive or --features stealth)
+ - I do not know
+ validations:
+ required: true
- type: dropdown
id: stealth
attributes:
label: Stealth mode
options:
- - "Off (default build)"
- - "On (--stealth, default build)"
- - "On (--stealth, --features stealth build)"
+ - "Off"
+ - "On (--stealth)"
+ - "Not applicable"
validations:
required: false
- type: textarea
@@ -73,6 +101,17 @@ body:
label: Actual behavior
validations:
required: true
+ - type: textarea
+ id: render_details
+ attributes:
+ label: Rendering details
+ description: For layout, screenshot, screencast, or PDF bugs, include viewport size, device scale factor, output options, and before/after or Chrome reference images. Drag images or output files here.
+ placeholder: |
+ Viewport: 1280x720, DPR 1
+ Output: full-page PNG / A4 PDF / screencast frame
+ Options: --screenshot page.png, printBackground=true, etc.
+ validations:
+ required: false
- type: dropdown
id: chrome
attributes:
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
index 037f49dd..a0e23a38 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -6,6 +6,22 @@ body:
attributes:
value: |
For larger API proposals, consider opening a Discussion first so the design can be talked through before you build it.
+ - type: dropdown
+ id: area
+ attributes:
+ label: Area
+ options:
+ - JavaScript or DOM behavior
+ - Rendering, layout, or paint
+ - Screenshot, screencast, or PDF output
+ - CDP, Puppeteer, or Playwright compatibility
+ - Networking, cookies, or proxies
+ - CLI or MCP
+ - Rust API
+ - Build or packaging
+ - Other
+ validations:
+ required: true
- type: textarea
id: problem
attributes:
@@ -33,5 +49,7 @@ body:
options:
- label: This should not regress performance (obscura's speed and memory footprint are a hard constraint).
required: false
+ - label: I described the expected visual output if this affects rendering.
+ required: false
- label: This is not detection-evasion for abusive purposes.
required: false
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 00000000..e977c8b3
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,23 @@
+## What changed
+
+Describe the behavior change and the reason for it. Link the issue with `Fixes #...` when applicable.
+
+## Validation
+
+List the commands and manual checks you ran. Include focused regression tests and the full relevant test suite.
+
+## Rendering
+
+If this changes layout, paint, screenshots, screencast, or PDF output, include the viewport, device scale factor, output options, and before/after images. Write `Not applicable` otherwise.
+
+## Performance
+
+Include before/after measurements for hot paths, memory changes, or rendering work. Write `No expected impact` only when the changed code is outside a runtime path.
+
+## Checklist
+
+- [ ] The change is focused and does not remove existing behavior without justification.
+- [ ] Tests cover the failure or feature.
+- [ ] Existing tests pass, including render and no-render configurations when affected.
+- [ ] I checked for CPU, latency, and memory regressions.
+- [ ] Public API or user-facing behavior changes are documented.