repo stringlengths 5 53 | pr_number int32 1 321k | task_type stringclasses 2
values | issue_text stringlengths 0 81.2k | pr_title stringlengths 1 319 | pr_body stringlengths 0 105k | base_sha stringlengths 40 40 | head_sha stringlengths 40 40 | gold_diff stringlengths 0 202M | changed_files listlengths 0 100 | review_threads listlengths 0 100 | test_patch stringlengths 0 23.4M | merged bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
ultraworkers/claw-code | 3,112 | issue_to_patch | Warn when git metadata is not writable at worker startup | ## Summary
- resolve startup preflight git metadata through `git rev-parse --git-dir` so worktree .git indirections point at the real metadata directory
- replace the write-probe with a non-destructive metadata/permission check
- add regression coverage for `git_metadata_not_writable` warning kind and structured event ... | 6a007344aecabc46093e87c455293fa7e2310682 | 269d317e70ba06e08320f4e760d93f622d4dd6ff | diff --git a/rust/crates/runtime/src/worker_boot.rs b/rust/crates/runtime/src/worker_boot.rs
index 0cbe2ce0f2..c1193db637 100644
--- a/rust/crates/runtime/src/worker_boot.rs
+++ b/rust/crates/runtime/src/worker_boot.rs
@@ -1193,7 +1193,7 @@ fn git_tracks_path(cwd: &Path, path: &str) -> bool {
fn git_metadata_path(cw... | [
"rust/crates/runtime/src/worker_boot.rs"
] | [] | true | ||
ultraworkers/claw-code | 3,113 | issue_to_patch | Guard pre-push hook contract against drift | ## Summary
- add a lightweight regression for the local pre-push hook skip escape hatch
- assert the documented `cargo build --manifest-path rust/Cargo.toml --workspace --locked` gate stays in the hook
- update the G013 verification map to list the regression command
## Verification
- `bash -n .github/hooks/pre-push`
... | 556a598f2d72d8515959f964cda7a1bd24a44b6a | 8ec9a43a19dcb6261ca4cf4e340c85a2e5b0784d | diff --git a/docs/g013-roadmap-pinpoints-693-695-verification-map.md b/docs/g013-roadmap-pinpoints-693-695-verification-map.md
index 0c113e6157..2f925e884e 100644
--- a/docs/g013-roadmap-pinpoints-693-695-verification-map.md
+++ b/docs/g013-roadmap-pinpoints-693-695-verification-map.md
@@ -19,6 +19,8 @@ covered by the ... | [
"docs/g013-roadmap-pinpoints-693-695-verification-map.md",
"tests/test_pre_push_hook_contract.py"
] | [] | diff --git a/tests/test_pre_push_hook_contract.py b/tests/test_pre_push_hook_contract.py
new file mode 100644
index 0000000000..b38a5d45ee
--- /dev/null
+++ b/tests/test_pre_push_hook_contract.py
@@ -0,0 +1,45 @@
+from __future__ import annotations
+
+import os
+import subprocess
+import unittest
+from pathlib import P... | true | |
ultraworkers/claw-code | 3,114 | issue_to_patch | docs(roadmap): record stale local dogfood probe trap | ## Summary
- Add ROADMAP #719 for stale local `cargo run` dogfood probes producing authoritative-looking JSON after current main already fixed the behavior.
- Cross-reference sibling provenance/preflight gaps #324 and #695 and fixed plugin-show context #718/#3113.
- Keep scope docs-only with required fix shape for sour... | 02d1f6a04d33596a5c595f9df982da7ea32c410f | ac503318db84f10cb54c79bedf3ed403e190ad3e | diff --git a/ROADMAP.md b/ROADMAP.md
index 3c4dbaeb86..4958286fb3 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -7607,3 +7607,5 @@ Original filing (2026-04-18): the session emitted `SessionStart hook (completed)
719. **`plugins list <filter>` silently returned all plugins instead of filtering — unlike `agents list <filt... | [
"ROADMAP.md"
] | [] | true | ||
ultraworkers/claw-code | 3,115 | issue_to_patch | Fix ROADMAP duplicate id guard | ## Summary
- Add `scripts/roadmap-check-ids.sh` to fail on duplicate helper-era ROADMAP ids, with optional `--min-id` and optional ROADMAP path.
- Wire the guard into docs CI and the repository pre-push hook.
- Document the `roadmap-next-id.sh` + duplicate-check workflow and add ROADMAP #724 as done.
## Anti-slop tria... | 922c239863225f59dde0537755b6ab4f71507cb1 | 69fc97397659a3b70c2174074e238d39970d569a | diff --git a/.github/hooks/pre-push b/.github/hooks/pre-push
index c3644a31cc..de2b925908 100755
--- a/.github/hooks/pre-push
+++ b/.github/hooks/pre-push
@@ -8,14 +8,19 @@
# caught before pushing to main or PR branches.
set -euo pipefail
+repo_root="$(git rev-parse --show-toplevel 2>/dev/null)"
+cd "$repo_root"
+
... | [
".github/hooks/pre-push",
".github/workflows/rust-ci.yml",
"CONTRIBUTING.md",
"ROADMAP.md",
"scripts/roadmap-check-ids.sh",
"scripts/roadmap-next-id.sh"
] | [] | true | ||
ultraworkers/claw-code | 3,116 | issue_to_patch | Fix ROADMAP next-id duplicate awareness | ## Summary
- make `scripts/roadmap-next-id.sh` run `roadmap-check-ids.sh` from its script directory before printing a next id
- fail closed with a useful stderr error if the checker is unavailable
- add focused stdlib `unittest` coverage for clean output, duplicate fail-fast, and missing-checker fail-closed behavior
- ... | 25ee5f3d30f4ab44a1aa5c1ebd072f7262f0ae42 | d2b2a08fa7788aa686b34aed3489a8080768effc | diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml
index b12c5e5cfc..e41d95cb1c 100644
--- a/.github/workflows/rust-ci.yml
+++ b/.github/workflows/rust-ci.yml
@@ -22,6 +22,7 @@ on:
- PHILOSOPHY.md
- ROADMAP.md
- scripts/roadmap-*.sh
+ - tests/test_roadmap_helpers.py
... | [
".github/workflows/rust-ci.yml",
"ROADMAP.md",
"scripts/roadmap-next-id.sh",
"tests/test_roadmap_helpers.py"
] | [] | diff --git a/tests/test_roadmap_helpers.py b/tests/test_roadmap_helpers.py
new file mode 100644
index 0000000000..0169f88cc5
--- /dev/null
+++ b/tests/test_roadmap_helpers.py
@@ -0,0 +1,67 @@
+from __future__ import annotations
+
+import shutil
+import subprocess
+import tempfile
+import unittest
+from pathlib import P... | true | |
ultraworkers/claw-code | 3,126 | issue_to_patch | docs(roadmap): add installed binary provenance dogfood gap | ## Summary
- record ROADMAP #786 for installed `claw version --output-format json` returning `git_sha:null` / unknown provenance during dogfood
- capture the required fix shape for binary provenance and workspace HEAD comparison in `status`/`doctor`
## Validation
- docs-only ROADMAP update
—
*[repo owner's gaebal-gaj... | 9976585f87b132d98e77d8c72b716403f6708f71 | 8125b84d10fc50734f9e39a5ff9ba718b96da60d | diff --git a/ROADMAP.md b/ROADMAP.md
index 40818095c0..2adc0b214d 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -7759,3 +7759,4 @@ Original filing (2026-04-18): the session emitted `SessionStart hook (completed)
795. **`claw skills install /nonexistent` returned `skill_not_found + hint:null` and `claw skills uninstall x... | [
"ROADMAP.md"
] | [] | true | ||
ultraworkers/claw-code | 3,161 | issue_to_patch | diff extra args before --output-format json hang with zero stdout
## Summary
`claw diff` extra-argument error paths can hang with zero stdout when `--output-format json` is placed after the unexpected positional/flag argument.
This is adjacent to ROADMAP #801, but distinct: #801 fixed the non-git `diff` JSON envelop... | fix(#3129): handle trailing json format for diff errors | ## Summary
- keep malformed `claw diff ... --output-format json` invocations on the parser error path
- add regression coverage for trailing JSON output-format after malformed diff args
- preserve nonzero JSON error envelopes with `error_kind`, `hint`, and `message`
Fixes #3129.
## Tests
- `git diff --check`
- `cargo... | efd34c151aeda9b49b5f8ad51e5cb079aba64f6a | 0197fa202053c6d0097904a481743c4ff08a5850 | diff --git a/rust/crates/rusty-claude-cli/src/main.rs b/rust/crates/rusty-claude-cli/src/main.rs
index 2375c5e1eb..225a27eb26 100644
--- a/rust/crates/rusty-claude-cli/src/main.rs
+++ b/rust/crates/rusty-claude-cli/src/main.rs
@@ -1225,10 +1225,10 @@ fn parse_args(args: &[String]) -> Result<CliAction, String> {
... | [
"rust/crates/rusty-claude-cli/src/main.rs",
"rust/crates/rusty-claude-cli/tests/output_format_contract.rs"
] | [] | diff --git a/rust/crates/rusty-claude-cli/tests/output_format_contract.rs b/rust/crates/rusty-claude-cli/tests/output_format_contract.rs
index cb3dd29db5..cc14af8f16 100644
--- a/rust/crates/rusty-claude-cli/tests/output_format_contract.rs
+++ b/rust/crates/rusty-claude-cli/tests/output_format_contract.rs
@@ -1916,36 +... | true |
ultraworkers/claw-code | 3,163 | issue_to_patch | docs(roadmap): add model json hang dogfood gap | ## Summary
- record ROADMAP #807 for `claw models` / `claw model` JSON-mode commands hanging with zero stdout
- capture repro surfaces and required fix shape for bounded model discovery/help JSON or typed unsupported envelopes
## Validation
- `scripts/roadmap-check-ids.sh`
Note: initial GitHub issue/PR creation was b... | 87b7e747703c3a1221d85153871a207a2259d97b | 7eb205099171f20b2d2342ea45d6019a4f217b1d | diff --git a/ROADMAP.md b/ROADMAP.md
index 4b89484e6e..b0e5fb93a3 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -7778,3 +7778,4 @@ Original filing (2026-04-18): the session emitted `SessionStart hook (completed)
805. **`claw skills show <not-found>` in text mode silently returned "No skills found." instead of an error**... | [
"ROADMAP.md"
] | [] | true | ||
ultraworkers/claw-code | 3,166 | issue_to_patch | docs(roadmap): add control-plane json hang dogfood gap | ## Summary
- record ROADMAP #808 for JSON-mode control-plane commands hanging with zero stdout
- covers `config`, `config help`, `settings`, `settings help`, `status`, and `doctor` JSON surfaces
- captures required fix shape for bounded non-interactive JSON or typed unsupported envelopes
## Validation
- `scripts/roadm... | 86f45a11ef8ba7eeefd6af1091d0d383b27c0296 | 616a3c914f01c2757ceb021d739587d2b071893f | diff --git a/ROADMAP.md b/ROADMAP.md
index b0e5fb93a3..228a9ee26a 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -7779,3 +7779,4 @@ Original filing (2026-04-18): the session emitted `SessionStart hook (completed)
806. **`claw plugins show <not-found>` in text mode returned "No plugins installed." instead of an error** ... | [
"ROADMAP.md"
] | [] | true | ||
ultraworkers/claw-code | 3,169 | issue_to_patch | docs(roadmap): add json stdout warning contamination gap | ## Summary
- record ROADMAP #810 for JSON-mode stdout contamination under pseudo-TTY
- captures `config` and `plugins --output-format json` returning rc 0 but prepending deprecated-settings warning before JSON
- defines expected raw-stdout JSON purity regression coverage
## Validation
- `scripts/roadmap-check-ids.sh`
... | 85d63b071c6e2264c302bde645b56930c5412887 | 15b8faa1c7e795cee1ca8922170570c27718914e | diff --git a/ROADMAP.md b/ROADMAP.md
index f352938395..46d02b924f 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -7781,3 +7781,4 @@ Original filing (2026-04-18): the session emitted `SessionStart hook (completed)
807. **`claw models` / `claw model` with `--output-format json` hang with zero stdout instead of returning bo... | [
"ROADMAP.md"
] | [] | true | ||
ultraworkers/claw-code | 3,171 | issue_to_patch | docs(roadmap): add json error-envelope nontty hang gap | ## Summary
- record ROADMAP #811 for typed JSON error/list surfaces hanging in plain non-TTY trailing JSON form
- covers agents/skills/plugins/diff/sessions/resume repro commands
- defines expected non-TTY raw-stdout JSON envelope regression coverage
## Validation
- `scripts/roadmap-check-ids.sh`
—
*[repo owner's gae... | b0e94c996b46776b89eecac58a6c95c7971818a9 | 55a117c83d96bcc85299dd40b6ce37e4768401a2 | diff --git a/ROADMAP.md b/ROADMAP.md
index 46d02b924f..187ae234b5 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -7782,3 +7782,4 @@ Original filing (2026-04-18): the session emitted `SessionStart hook (completed)
808. **Control-plane commands `claw config`, `claw settings`, `claw status`, and `claw doctor` with `--output... | [
"ROADMAP.md"
] | [] | true | ||
ultraworkers/claw-code | 3,173 | issue_to_patch | fix: reject extra roadmap helper paths | ## Summary
- make ROADMAP helper scripts reject multiple positional ROADMAP paths instead of silently using the last one
- preserve default and single-path behavior
- keep help/unknown option behavior intact
## Validation
- `scripts/roadmap-check-ids.sh`
- `scripts/roadmap-next-id.sh`
- `scripts/roadmap-check-ids.sh /... | f11ac23e1f5c78649a5cbda846480e365be32934 | 744a474aa4f2fe57136e4610330b47a7ad16c9de | diff --git a/scripts/roadmap-check-ids.sh b/scripts/roadmap-check-ids.sh
index e2cdd5aab4..54b2afca08 100755
--- a/scripts/roadmap-check-ids.sh
+++ b/scripts/roadmap-check-ids.sh
@@ -11,6 +11,7 @@ set -euo pipefail
MIN_ID=723
ROADMAP="ROADMAP.md"
+ROADMAP_PATH_SEEN=0
while [[ $# -gt 0 ]]; do
case "$1" in
@@ -... | [
"scripts/roadmap-check-ids.sh",
"scripts/roadmap-next-id.sh"
] | [] | true | ||
ultraworkers/claw-code | 3,174 | issue_to_patch | fix: make cc2 generator missing source error concise | ## Summary
- replace traceback when `generate_cc2_board.py` cannot locate source `.omx` with a concise `error:` message
- keep successful generation/validation paths unchanged
## Validation
- `python3 scripts/generate_cc2_board.py --repo-root /tmp/claw-cc2-nosource`
- `python3 scripts/generate_cc2_board.py --help`
- `... | 193f11171a1ecf307ff3436fa070a89c57c9631a | bbeaf5cdbecc086a7302ac0a68326f0e0b754d3e | diff --git a/scripts/generate_cc2_board.py b/scripts/generate_cc2_board.py
index 16f6f45595..4612d262ef 100755
--- a/scripts/generate_cc2_board.py
+++ b/scripts/generate_cc2_board.py
@@ -504,7 +504,11 @@ def main() -> int:
repo_root = args.repo_root.resolve()
out_dir = args.out_dir or (repo_root / ".omx" / "c... | [
"scripts/generate_cc2_board.py"
] | [] | true | ||
ultraworkers/claw-code | 3,175 | issue_to_patch | fix: make cc2 validator board read errors concise | ## Summary
- replace traceback when `validate_cc2_board.py` cannot read board JSON with concise `error:` messages
- also report malformed board JSON without a Python traceback
- keep successful validation path unchanged
## Validation
- `python3 scripts/validate_cc2_board.py --repo-root /tmp/claw-cc2-nosource`
- `pytho... | 760e69675c8fea03532703476ae17e378f1a0fc0 | 3cdd9f579174d2cffafdb40a9433be93f36b38db | diff --git a/scripts/validate_cc2_board.py b/scripts/validate_cc2_board.py
index b0a591cd58..643326a4f8 100755
--- a/scripts/validate_cc2_board.py
+++ b/scripts/validate_cc2_board.py
@@ -44,7 +44,14 @@ def main() -> int:
args = parser.parse_args()
repo_root = args.repo_root.resolve()
board_path = args.bo... | [
"scripts/validate_cc2_board.py"
] | [] | true | ||
ultraworkers/claw-code | 3,177 | issue_to_patch | fix: suppress partial cc2 wrapper validate pass output | ## Summary
- keep `scripts/cc2_board.py validate` from printing validator PASS output before a later renderer check fails
- replay child output only for failing checks, then print one wrapper-level PASS when all checks pass
- avoids mixed PASS+ERROR logs for automation
## Validation
- `python3 scripts/cc2_board.py val... | e17098cc7014b6e51137ce84257afd553619c5e9 | 3c55e28d09563e6f6cd9e39834906990b3c56113 | diff --git a/scripts/cc2_board.py b/scripts/cc2_board.py
index d98f64aeb6..6b73698392 100755
--- a/scripts/cc2_board.py
+++ b/scripts/cc2_board.py
@@ -16,6 +16,16 @@ def run(cmd: list[str], cwd: Path) -> int:
return subprocess.run(cmd, cwd=str(cwd)).returncode
+def run_quiet_until_failure(cmd: list[str], cwd: ... | [
"scripts/cc2_board.py"
] | [] | true | ||
ultraworkers/claw-code | 3,178 | issue_to_patch | fix: avoid cc2 generator dirs on missing source | ## Summary
- avoid creating `.omx/cc2` output directories when CC2 generator fails before locating source `.omx`
- keep successful generation code path unchanged; only moves output directory creation after source board build succeeds
## Validation
- `python3 scripts/generate_cc2_board.py --repo-root /tmp/cc2-nosource-... | d4e9829329551f64831a333e6a1c5a9d294aaa9d | cc422fa7aa4a6f7f8ee5c8bf7cb208a36f32104f | diff --git a/scripts/generate_cc2_board.py b/scripts/generate_cc2_board.py
index 4612d262ef..e7aee6d61f 100755
--- a/scripts/generate_cc2_board.py
+++ b/scripts/generate_cc2_board.py
@@ -503,12 +503,12 @@ def main() -> int:
args = parser.parse_args()
repo_root = args.repo_root.resolve()
out_dir = args.ou... | [
"scripts/generate_cc2_board.py"
] | [] | true | ||
ultraworkers/claw-code | 3,179 | issue_to_patch | fix: make cc2 validator directory board error concise | ## Summary
- handle `--board` pointing at a directory with a concise error instead of an `IsADirectoryError` traceback
- wrapper validation inherits the concise message
- preserve missing/invalid/success paths
## Validation
- `python3 scripts/validate_cc2_board.py --board /tmp/cc2-dir-board`
- `python3 scripts/cc2_boa... | 60f44d314be91d1e40f243358d8f34ea90299ab4 | 9ae703497a24167570b2696acb07baec7c7fa56b | diff --git a/scripts/validate_cc2_board.py b/scripts/validate_cc2_board.py
index 643326a4f8..226ffa2182 100755
--- a/scripts/validate_cc2_board.py
+++ b/scripts/validate_cc2_board.py
@@ -49,6 +49,9 @@ def main() -> int:
except FileNotFoundError:
print(f"error: board not found at {board_path}")
re... | [
"scripts/validate_cc2_board.py"
] | [] | true | ||
ultraworkers/claw-code | 3,180 | issue_to_patch | fix: make cc2 renderer path errors concise | ## Summary
- replace CC2 renderer tracebacks for directory board JSON, invalid board JSON, and directory markdown paths with concise `ERROR:` messages
- preserves successful render/check behavior
## Validation
- `python3 .omx/cc2/render_board_md.py /tmp/cc2-render-0200/board-json-dir /tmp/cc2-render-0200/out.md`
- `py... | a88d52fe888f8d59dddc6d0e344daf4c143fecf7 | 15fe5e6d9eeb9a7d2d4ff7d58b54f4c4e0654ca4 | diff --git a/.omx/cc2/render_board_md.py b/.omx/cc2/render_board_md.py
index dce226cc76..afb9fada0b 100755
--- a/.omx/cc2/render_board_md.py
+++ b/.omx/cc2/render_board_md.py
@@ -55,8 +55,15 @@
def load_board(path: Path) -> dict[str, Any]:
- with path.open() as f:
- board = json.load(f)
+ try:
+ ... | [
".omx/cc2/render_board_md.py"
] | [] | true | ||
ultraworkers/claw-code | 3,181 | issue_to_patch | fix: add dogfood build help handling | ## Summary
- make `scripts/dogfood-build.sh --help` / `-h` print usage instead of building
- reject unknown arguments with exit 2 and usage
- keep normal build/provenance behavior unchanged
## Validation
- `bash scripts/dogfood-build.sh --help`
- `bash scripts/dogfood-build.sh --bogus`
- `timeout 25s bash scripts/dogf... | 3260258b56787f75c8937ac3d732f157dffe99e5 | 54977f5b1d86b43dd22afb37cece59d6249fb599 | diff --git a/scripts/dogfood-build.sh b/scripts/dogfood-build.sh
index 7643dc9dcb..7950fc8942 100755
--- a/scripts/dogfood-build.sh
+++ b/scripts/dogfood-build.sh
@@ -13,6 +13,24 @@
#
set -euo pipefail
+usage() {
+ sed -n '2,12p' "$0" | sed 's/^# //; s/^#//'
+}
+
+if [[ $# -gt 0 ]]; then
+ case "$1" in
+ ... | [
"scripts/dogfood-build.sh"
] | [] | true | ||
ultraworkers/claw-code | 3,182 | issue_to_patch | docs: use trap cleanup in dogfood build guidance | ## Summary
- update `scripts/dogfood-build.sh` emitted isolated-config example to use `trap` cleanup
- avoids leaving temp config directories behind when a dogfood command fails or is interrupted
- keeps build/provenance behavior unchanged
## Validation
- `bash scripts/dogfood-build.sh --help`
- `timeout 25s bash scri... | 5c3e1c1444d9bb8251b7e22f0f7825036059b835 | 85a3f3c93937964082c2373d8290b23031a01b32 | diff --git a/scripts/dogfood-build.sh b/scripts/dogfood-build.sh
index 7950fc8942..5faa445cd8 100755
--- a/scripts/dogfood-build.sh
+++ b/scripts/dogfood-build.sh
@@ -78,8 +78,8 @@ echo " export CLAW=$BINARY" >&2
echo "" >&2
echo " Dogfood with isolated config (no real user config on stderr):" >&2
echo " CLAW_I... | [
"scripts/dogfood-build.sh"
] | [] | true | ||
ultraworkers/claw-code | 3,185 | issue_to_patch | Test doctor help JSON flag order | ## Summary
- extends the doctor help JSON regression to cover suffix flag order (`doctor --help --output-format json`)
- covers topic-help routing (`help doctor --output-format json`) with the same structured local-only contract
- keeps this as a regression-only follow-up after #3184 so the fast path stays machine-disc... | 73d8d6e6386fc7f444400be26cd76e7de85f223e | 00e688ec69ef4efee553bcc07163c2caa571e432 | [
"rust/crates/rusty-claude-cli/tests/output_format_contract.rs"
] | [] | diff --git a/rust/crates/rusty-claude-cli/tests/output_format_contract.rs b/rust/crates/rusty-claude-cli/tests/output_format_contract.rs
index 1c46c923b0..06d9f287ba 100644
--- a/rust/crates/rusty-claude-cli/tests/output_format_contract.rs
+++ b/rust/crates/rusty-claude-cli/tests/output_format_contract.rs
@@ -72,6 +72,... | true | ||
ultraworkers/claw-code | 3,186 | issue_to_patch | Record argv-safe dogfood probe gap | ## Summary
- records ROADMAP #813 for the dogfood-harness failure mode where shell-string command loops can fabricate argv-sensitive CLI failures
- documents the fix shape: argv-safe probe helper/recipe, separated stdout/stderr, and probe_error vs product_error labeling
- keeps #3184/#3185 product behavior intact; this... | b7ea04661a7197f406a670837da1279f31d1ce8a | 68fe2f23f8bf113e4e302980da3869d9f594fad8 | diff --git a/ROADMAP.md b/ROADMAP.md
index 025c5cbed2..3ff575e495 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -7794,3 +7794,9 @@ Original filing (2026-04-18): the session emitted `SessionStart hook (completed)
**Acceptance.** `timeout 5s cargo run -q --bin claw -- --output-format json doctor --help` exits 0 and pa... | [
"ROADMAP.md"
] | [] | true | ||
umami-software/umami | 4,283 | issue_to_patch | fix: evaluate login mode env at runtime | ## Summary
- mark login and logout pages as dynamic so DISABLE_LOGIN and CLOUD_MODE are read at runtime
- mark the config API route as dynamic so Docker runtime CLOUD_MODE is reflected in client config
Fixes #3549
## Testing
- pnpm install --frozen-lockfile
- pnpm exec biome check src/app/login/page.tsx src/app/logou... | 3230f6596fdb24ed3b77178b171392198142d724 | 65c46968ad99f16c2ad290db88ec52e2af05dccd | diff --git a/src/app/api/config/route.ts b/src/app/api/config/route.ts
index 101a122430..df07eed703 100644
--- a/src/app/api/config/route.ts
+++ b/src/app/api/config/route.ts
@@ -1,6 +1,8 @@
import { parseRequest } from '@/lib/request';
import { json } from '@/lib/response';
+export const dynamic = 'force-dynamic';... | [
"src/app/api/config/route.ts",
"src/app/login/page.tsx",
"src/app/logout/page.tsx"
] | [] | true | ||
umami-software/umami | 4,292 | issue_to_patch | .github/workflows: Migrate workflows to Blacksmith runners | This PR has been automatically generated by a team member in your GitHub organization using Blacksmith's [Migration Wizard](https://docs.blacksmith.sh/introduction/quickstart). This PR changes the following:
1. Your selected workflows will now run on Blacksmith's 2x faster hardware (e.g., `runs-on: blacksmith-4vcpu-ub... | c4001f5c0cc70668dfb7761993c8d2d52679460a | 54b5ab932fa01ccd632a98d62c4ecd3ad3f79f89 | diff --git a/.github/workflows/cd-cloud.yml b/.github/workflows/cd-cloud.yml
index 90a09dab00..4d84b841b7 100644
--- a/.github/workflows/cd-cloud.yml
+++ b/.github/workflows/cd-cloud.yml
@@ -9,7 +9,7 @@ on:
jobs:
build:
name: Build, push, and deploy
- runs-on: ubuntu-latest
+ runs-on: blacksmith-4vcpu-ub... | [
".github/workflows/cd-cloud.yml",
".github/workflows/cd.yml",
".github/workflows/ci.yml",
".github/workflows/stale-issues.yml"
] | [] | true | ||
umami-software/umami | 4,317 | issue_to_patch | Fix board share entity authorization | ## Summary
- Validate board entity references against the authenticated user before creating or updating boards
- Filter board-derived website/pixel/link IDs before embedding them in share tokens
- Add regression coverage that ensures share-token context cannot self-authorize board entities
## Verification
- pnpm exec... | e9925f2e4eb4b3ecb1fd49a99c24375470f9cda9 | c0193ad7cd5da74634b58dd5af9a62a7f843e3a8 | diff --git a/src/app/api/boards/[boardId]/route.ts b/src/app/api/boards/[boardId]/route.ts
index 8d7a23aeb6..1f1ea33f12 100644
--- a/src/app/api/boards/[boardId]/route.ts
+++ b/src/app/api/boards/[boardId]/route.ts
@@ -1,8 +1,9 @@
import { z } from 'zod';
import { BOARD_TYPES, normalizeBoardType } from '@/lib/boards'... | [
"src/app/api/boards/[boardId]/route.ts",
"src/app/api/boards/route.ts",
"src/app/api/share/[slug]/route.ts",
"src/permissions/board.test.ts",
"src/permissions/board.ts",
"src/permissions/link.ts",
"src/permissions/pixel.ts"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P1\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p1.svg?v=9\" align=\"top\"></a> **Team-path filter uses raw `teamId` comparison instead of `canView*` permission functions**\n\nThe user-path (lines 107–111) constructs a full `Auth` object and delegates to ... | diff --git a/src/permissions/board.test.ts b/src/permissions/board.test.ts
new file mode 100644
index 0000000000..afae580847
--- /dev/null
+++ b/src/permissions/board.test.ts
@@ -0,0 +1,84 @@
+import { beforeEach, expect, test, vi } from 'vitest';
+import { BOARD_TYPES } from '@/lib/boards';
+import { canViewBoardEntit... | true | |
umami-software/umami | 4,316 | issue_to_patch | Limit batch API payloads to 500 items |
<!-- codesmith:footer -->
---
<a href="https://app.blacksmith.sh/umami-software/codesmith/umami/pr/4316"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v2.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-co... | 7161d83382f4fa4aba90212b15ea3e96a6e80740 | 9ba5fb7c1b11c1ea06cc3dd6c332a5703e316e1d | diff --git a/src/app/api/batch/route.ts b/src/app/api/batch/route.ts
index 46e8b3c33b..c7b7115f4e 100644
--- a/src/app/api/batch/route.ts
+++ b/src/app/api/batch/route.ts
@@ -4,7 +4,7 @@ import { parseRequest } from '@/lib/request';
import { json, serverError } from '@/lib/response';
import { anyObjectParam } from '@... | [
"src/app/api/batch/route.ts"
] | [] | true | ||
umami-software/umami | 4,315 | issue_to_patch | Tighten API access checks by website section and share permissions | ## Summary
- Tighten website API authorization checks so share access is limited by section-level permissions.
- Add shared permission helpers for website shares.
- Keep authenticated-only access for endpoints that should not be reachable through share tokens.
## Changes
```text
69 files changed, 303 insertions... | 8bc49a29e3b3a1d1cca4d3e91d60a548f3c51298 | f366d946e85ebd97c3269ccd41c97601101f01db | diff --git a/src/app/api/realtime/[websiteId]/route.ts b/src/app/api/realtime/[websiteId]/route.ts
index 32b7a16c1a..ad1995fe51 100644
--- a/src/app/api/realtime/[websiteId]/route.ts
+++ b/src/app/api/realtime/[websiteId]/route.ts
@@ -2,7 +2,7 @@ import { startOfMinute, subMinutes } from 'date-fns';
import { REALTIME_... | [
"src/app/api/realtime/[websiteId]/route.ts",
"src/app/api/reports/attribution/route.ts",
"src/app/api/reports/breakdown/route.ts",
"src/app/api/reports/funnel/route.ts",
"src/app/api/reports/goal/route.ts",
"src/app/api/reports/heatmap/route.ts",
"src/app/api/reports/journey/route.ts",
"src/app/api/re... | [
{
"comment": "<a href=\"#\"><img alt=\"P1\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p1.svg?v=9\" align=\"top\"></a> **Section check silently breaks all existing share tokens**\n\n`canViewWebsiteSection` requires `shareToken.parameters?.[section] === true`, but every share created before thi... | true | ||
umami-software/umami | 4,294 | issue_to_patch | fix: update broken demo link from analytics.umami.is to cloud.umami.is | The demo badge in the README was pointing to `analytics.umami.is` which no longer works - it returned a 404.
Updated the URL to `cloud.umami.is` which is the current app domain
Fixes #4240
<!-- codesmith:footer -->
---
<a href="https://app.blacksmith.sh/umami-software/codesmith/umami/pr/4294"><picture><source me... | b0cfaca4d71d4ca5045c744f26e4c86d73b4186f | 4dfc26b66ae4fcb70e77c6dcf76355d4f05fa51d | diff --git a/README.md b/README.md
index 2d0eafd75f..30cfab467d 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@
<a href="https://github.com/umami-software/umami/releases"><img src="https://img.shields.io/github/release/umami-software/umami.svg" alt="GitHub Release" /></a>
<a href="https://github.com/umam... | [
"README.md"
] | [] | true | ||
umami-software/umami | 4,018 | issue_to_patch | Update hr-HR.json | Hello!
I’ve completed a Croatian (hr-HR) translation for Umami.
The translation is fully aligned with the existing i18n structure,
modern, consistent, and reviewed for accuracy.
If any adjustments are needed, I’ll be happy to update the file. | 5565182f3b1168252b1b9b80c1bc38b013cecac9 | c4a0c906bff7a842f504dd9b5beaaf40732ca27d | diff --git a/src/lang/hr-HR.json b/src/lang/hr-HR.json
new file mode 100644
index 000000000..f560caa8c
--- /dev/null
+++ b/src/lang/hr-HR.json
@@ -0,0 +1,348 @@
+{
+ "label.access-code": "Pristupni kod",
+ "label.actions": "Akcije",
+ "label.activity": "Dnevnik aktivnosti",
+ "label.add": "Dodaj",
+ "label.add-boa... | [
"src/lang/hr-HR.json"
] | [
{
"comment": "**Key mismatch: sever-error**\nThe key is `message.sever-error` (missing the second `r` in \"server\"). If the app looks up `message.server-error` (as the English name suggests), this translation won’t be used and may fall back to another locale. Please confirm the canonical key and rename it here... | true | ||
umami-software/umami | 4,300 | issue_to_patch | i18n: translate DataGrid view-toggle tooltips | ## Why
PR #4262 introduced a DataGrid view-toggle button with two hardcoded English tooltip strings ("Switch to table view" / "Switch to card view"), and the "Notes" section explicitly deferred translation to a follow-up. Until the keys exist in the locale JSON files, swapping the hardcoded strings for `t(labels.x)` w... | 7d4c68cebe3eb825b7025e403d5a29ef6bd8eace | c43dd1da920d762b5a03e74a5df3a8ee59b48eaf | diff --git a/public/intl/messages/ar-SA.json b/public/intl/messages/ar-SA.json
index 3d242fa3a9..6afb0ca2a3 100644
--- a/public/intl/messages/ar-SA.json
+++ b/public/intl/messages/ar-SA.json
@@ -301,6 +301,8 @@
"sum": "المجموع",
"support": "دعم",
"switch-account": "تبديل الحساب",
+ "switch-to-card-vie... | [
"public/intl/messages/ar-SA.json",
"public/intl/messages/be-BY.json",
"public/intl/messages/bg-BG.json",
"public/intl/messages/bn-BD.json",
"public/intl/messages/bs-BA.json",
"public/intl/messages/ca-ES.json",
"public/intl/messages/cs-CZ.json",
"public/intl/messages/da-DK.json",
"public/intl/message... | [] | true | ||
umami-software/umami | 3,920 | issue_to_patch | chore(i18n): update zh-CN translation | 2e62a06aa442d62a43d5ed8d2ffcfbc93b02f286 | 783098fadcfa32cbdb62bcfaf48fbe317ccbe0fc | diff --git a/public/intl/messages/zh-CN.json b/public/intl/messages/zh-CN.json
index b3d2f3c00f..a4ad51fa56 100644
--- a/public/intl/messages/zh-CN.json
+++ b/public/intl/messages/zh-CN.json
@@ -5,6 +5,18 @@
"value": "访问代码"
}
],
+ "label.account": [
+ {
+ "type": 0,
+ "value": "账户"
+ }
+... | [
"public/intl/messages/zh-CN.json",
"src/lang/zh-CN.json"
] | [] | true | |||
umami-software/umami | 4,279 | issue_to_patch | Support pnpm 11 | pnpm 11 being tagged as latest version, this introduced errors on install and broken Docker build.
In this PR:
\-Migration to the `allowBuilds` setting, following the default strict policy (all packages needs to be reviewed, error otherwise)
_(I followed the previous behavior, but you might want to allow other pac... | 87a04f3ac5ebbec767b188bfab023025861412c3 | 3815a218cae74376a1114088915db6d1c87ad339 | diff --git a/Dockerfile b/Dockerfile
index e6882e048f..aaa2e27cb2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,9 +6,14 @@ FROM node:${NODE_IMAGE_VERSION} AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN... | [
"Dockerfile",
"pnpm-workspace.yaml"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> `@prisma/client` omitted from `allowBuilds`\n\nThe old config explicitly allowed `@prisma/client` to run lifecycle scripts via `onlyBuiltDependencies`. That entry is missing f... | true | ||
umami-software/umami | 4,279 | comment_to_fix | Support pnpm 11 | <a href="#"><img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7" align="top"></a> `@prisma/client` omitted from `allowBuilds`
The old config explicitly allowed `@prisma/client` to run lifecycle scripts via `onlyBuiltDependencies`. That entry is missing from the new `allowBuilds` map. W... | 87a04f3ac5ebbec767b188bfab023025861412c3 | 3815a218cae74376a1114088915db6d1c87ad339 | diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 26254479ce..9766fa9a57 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -1,23 +1,10 @@
packages:
- '**'
allowBuilds:
- '@parcel/watcher': true
+ '@parcel/watcher': false
'@prisma/engines': true
- '@swc/core': true
- esbuild: true
- m... | [
"pnpm-workspace.yaml"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> `@prisma/client` omitted from `allowBuilds`\n\nThe old config explicitly allowed `@prisma/client` to run lifecycle scripts via `onlyBuiltDependencies`. That entry is missing f... | true | ||
umami-software/umami | 4,279 | comment_to_fix | Support pnpm 11 | <a href="#"><img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7" align="top"></a> The `echo {} > package.json` line does not quote `{}`, which is safe in most shells but non-obvious. Using single-quoted `'{}'` is a minor defensive improvement since `{}` is special syntax in some shell c... | 87a04f3ac5ebbec767b188bfab023025861412c3 | 3815a218cae74376a1114088915db6d1c87ad339 | diff --git a/Dockerfile b/Dockerfile
index e6882e048f..aaa2e27cb2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,9 +6,14 @@ FROM node:${NODE_IMAGE_VERSION} AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN... | [
"Dockerfile"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> The `echo {} > package.json` line does not quote `{}`, which is safe in most shells but non-obvious. Using single-quoted `'{}'` is a minor defensive improvement since `{}` is ... | true | ||
umami-software/umami | 4,124 | issue_to_patch | Tag filter "is not" does not seem to work
### Describe the Bug
We would like to track our own team's usage in the productive environment. However, it should be filterable to see users and team separately if we need to.
For that, we created a new tag that is added to the payload in the beforeSendHandler (see code belo... | fix: include empty or null values | fixes #4123 | 3230f6596fdb24ed3b77178b171392198142d724 | 3a5e3549d727d5cff5809b1a5e5da3044b01daa9 | diff --git a/src/lib/clickhouse.ts b/src/lib/clickhouse.ts
index f2ebbb7229..570fdd8512 100644
--- a/src/lib/clickhouse.ts
+++ b/src/lib/clickhouse.ts
@@ -77,7 +77,7 @@ function mapFilter(column: string, operator: string, name: string, type: string
case OPERATORS.equals:
return `${column} = ${value}`;
... | [
"src/lib/clickhouse.ts",
"src/lib/prisma.ts"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> **Tautology when filtering by empty string**\n\nThe guard `OR ${column} = ''` is the ClickHouse equivalent of `IS NULL` for Postgres, but it introduces a tautology when the fi... | true | |
umami-software/umami | 4,129 | issue_to_patch | Website selector dropdown only shows 10 sites
### Describe the Bug
The website selector dropdown (top-left corner of the dashboard) only displays 10 websites. If you have more than 10, the rest simply don't show up — you have to know about the search field and type part of the name to find them.
The culprit is a har... | fix: increase website selector dropdown limit from 10 to 100 | Closes #4128
Related: #3913
The `WebsiteSelect` component has a hardcoded `pageSize: 10`, which hides websites beyond the first 10 from the dropdown. Users with 11+ sites can only reach the missing ones through the search field — assuming they know it's there.
#3913 was marked "fixed in dev" with the limit bumped to ... | f9232086d57dce1dec141ef717d93e20c11fe7c2 | 72fb23956630260c34545863ddd5a9060a43c02a | diff --git a/src/components/input/WebsiteSelect.tsx b/src/components/input/WebsiteSelect.tsx
index 90d374f195..f62df93a3e 100644
--- a/src/components/input/WebsiteSelect.tsx
+++ b/src/components/input/WebsiteSelect.tsx
@@ -31,7 +31,7 @@ export function WebsiteSelect({
const { user } = useLoginQuery();
const { dat... | [
"src/components/input/WebsiteSelect.tsx"
] | [] | true | |
umami-software/umami | 3,944 | issue_to_patch | Fix datagrid dropping query params on pagination | Update the dependency list on `handlePageChange` to use the latest `router` and `updateParams` references preventing potential stale closures.
#### Issue
When navigating between pages in the data grid, the current date filter (e.g. `?date=30day`) is dropped from the URL. This resets the date range back to the defau... | c99ab3102ddbc035c8375d7b0dfd85cd6d4151c5 | bd7b794307733a5b239a22eb34299ab39434534a | diff --git a/src/components/common/DataGrid.tsx b/src/components/common/DataGrid.tsx
index a319852650..1ed872e9e1 100644
--- a/src/components/common/DataGrid.tsx
+++ b/src/components/common/DataGrid.tsx
@@ -86,7 +86,7 @@ export function DataGrid({
(page: number) => {
router.push(updateParams({ search, page ... | [
"src/components/common/DataGrid.tsx"
] | [] | true | ||
umami-software/umami | 4,262 | issue_to_patch | feat: add a manual table / card view toggle to DataGrid | > **Depends on #4261.** Without that horizontal-scroll fix, a user who toggles to table view on a narrow viewport gets a table that overflows the card with the rightmost columns unreachable. Please merge #4261 first.
## Why
`DataGrid` already injected `displayMode='cards'` on small viewports through `useMobile()` and... | caa200db29a08dab8ef40bd5f3277cb7be06f025 | be1161b32ea6d58ed51efd5773c6c227d23510a0 | diff --git a/src/components/common/DataGrid.tsx b/src/components/common/DataGrid.tsx
index 19f167da91..95de949815 100644
--- a/src/components/common/DataGrid.tsx
+++ b/src/components/common/DataGrid.tsx
@@ -1,5 +1,15 @@
import type { UseQueryResult } from '@tanstack/react-query';
-import { Column, Row, SearchField } f... | [
"src/components/common/DataGrid.tsx"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> The value read back from localStorage is typed as `any` and accepted without any runtime validation. If the key was written by another part of the app, browser extension, or m... | true | ||
umami-software/umami | 4,259 | issue_to_patch | fix: keep hidden events hidden across date-range changes | ## Why
On the events tab of a website, clicking a legend item to hide a series works as expected, but the hidden state is lost as soon as the date range changes. The user has to re-click every previously-hidden event after every range switch, which makes comparing periods with a stable subset of events tedious.
T... | 1dda7bddcdc69f4828a02b38cd896c5d0fcd5d5f | 84fe25af928d7c1e97fc9bf8067c8111b6816913 | diff --git a/src/components/charts/Chart.tsx b/src/components/charts/Chart.tsx
index b6ae9d794a..cd4410b68f 100644
--- a/src/components/charts/Chart.tsx
+++ b/src/components/charts/Chart.tsx
@@ -18,6 +18,8 @@ export interface ChartProps extends BoxProps {
updateMode?: UpdateMode;
animationDuration?: number;
on... | [
"src/components/charts/Chart.tsx",
"src/components/metrics/EventsChart.tsx"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P1\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p1.svg?v=7\" align=\"top\"></a> The `hiddenLabels` loop only writes `ds.hidden = true` for entries in the set and never explicitly resets to `false` for entries that were removed. Toggle-off works today only... | true | ||
umami-software/umami | 4,142 | issue_to_patch | signin email is case sensitive
### Describe the Bug
😬
### Database
Umami Cloud
### Relevant log output
```shell
```
### Which Umami version are you using? (if relevant)
_No response_
### Which browser are you using? (if relevant)
_No response_
### How are you deploying your application? (if relevant)
_No ... | fix: make username login case-insensitive | ## Summary
Normalizes usernames to lowercase on lookup, creation, and update so that login is case-insensitive. Users can now sign in with `Admin`, `admin`, or `ADMIN` and reach the same account.
## Issue
Fixes #3981
## Changes
- `getUserByUsername()` — lowercase the input before querying so lookups are case-insen... | a48f5aad5f174a083be4ae1b3824cf485fb60a02 | 7ca24786e8b42d18ccf58ed7b51bed158da75ab6 | diff --git a/src/app/api/users/[userId]/route.ts b/src/app/api/users/[userId]/route.ts
index aade8aa8d8..5814ebf14e 100644
--- a/src/app/api/users/[userId]/route.ts
+++ b/src/app/api/users/[userId]/route.ts
@@ -59,14 +59,14 @@ export async function POST(request: Request, { params }: { params: Promise<{ use
}
if... | [
"src/app/api/users/[userId]/route.ts",
"src/app/api/users/route.ts",
"src/queries/prisma/user.ts"
] | [] | true | |
umami-software/umami | 4,140 | issue_to_patch | Events charts and properties give "Something went wrong." issue on Firefox
### Describe the Bug
Visiting the /events tab displays "Something went wrong" instead of the chart, the activity tab content, or the properties list. In Chrome-based browsers, no issue occurs. This happens with two different Umami installs (di... | fix: prevent NaN timestamps from breaking event charts in Firefox | ## Summary
Fixes #4121
Event charts display "Something went wrong" exclusively in Firefox while working correctly in Chrome. The root cause is that `date-fns-tz` v1.x `zonedTimeToUtc` can return `Invalid Date` in Firefox due to differences in `Intl.DateTimeFormat` timezone offset parsing, producing `NaN` timestamps t... | 5e39485313a0ece04c0516d584541845aa7bb67b | dbcd51ac2c616547f4f3c0e5e4213241013725fd | diff --git a/src/components/hooks/useDateParameters.ts b/src/components/hooks/useDateParameters.ts
index d84b4236a7..a169490175 100644
--- a/src/components/hooks/useDateParameters.ts
+++ b/src/components/hooks/useDateParameters.ts
@@ -1,17 +1,32 @@
import { useDateRange } from './useDateRange';
import { useTimezone }... | [
"src/components/hooks/useDateParameters.ts",
"src/lib/url.ts"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P1\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p1.svg?v=7\" align=\"top\"></a> **`toISOString()` still throws on `Invalid Date`**\n\nThe fix guards `startAt`/`endAt` against `NaN`, but lines 16–17 still call `.toISOString()` directly on the raw return va... | true | |
umami-software/umami | 4,236 | issue_to_patch | fix: normalize autofill styles across browsers | ## Summary
Fixes #4171.
This updates the global autofill styles to support Firefox by targeting the standard `:autofill` pseudo-class in addition to `:-webkit-autofill`.
It also replaces the missing `--background-color` token with existing theme tokens so autofilled fields match the current Umami theme instead... | f463a4ce3f1fdf8c8ba5b4e01f41c2f9dc3e4f5a | 5e6b7d1d2154d874067f55367893766486a026d8 | diff --git a/src/app/global.css b/src/app/global.css
index cbf11ae672..189a464e01 100644
--- a/src/app/global.css
+++ b/src/app/global.css
@@ -41,19 +41,25 @@ html[style*="padding-right"] {
background-clip: padding-box;
}
-/* Fix autofill background color to match dark theme */
-input:-webkit-autofill,
-input:-we... | [
"src/app/global.css"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> **`color` transition may interfere with explicitly set value**\n\nThe `transition: color 5000s ease-in-out 0s` is the classic trick to delay a browser-imposed color change fro... | true | ||
umami-software/umami | 4,257 | issue_to_patch | fix: stabilize event chart colors per label | ## Why
The events tab assigns dataset colors by array index of `Object.keys(map)`, where `map` is built from the `/events/series` API response. The API orders events by frequency, which depends on the active date range, so changing the range or reloading the page reshuffles the order and gives the same event a differe... | c7515ff230e9fb74cca7f9757ff180a2cf038046 | 46e1351aedf16749d34fb4eaf7aa046452f2a21f | diff --git a/src/components/metrics/EventsChart.tsx b/src/components/metrics/EventsChart.tsx
index db23dcc47b..473b8d20c7 100644
--- a/src/components/metrics/EventsChart.tsx
+++ b/src/components/metrics/EventsChart.tsx
@@ -9,6 +9,7 @@ import {
useWebsiteEventsSeriesQuery,
} from '@/components/hooks';
import { rend... | [
"src/components/metrics/EventsChart.tsx"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> `hex6(key)` is invoked twice per label: once in the sort comparator and once in the loop body to derive the preferred slot. Because the palette assignment happens inside `useM... | true | ||
umami-software/umami | 4,257 | comment_to_fix | fix: stabilize event chart colors per label | <a href="#"><img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7" align="top"></a> `hex6(key)` is invoked twice per label: once in the sort comparator and once in the loop body to derive the preferred slot. Because the palette assignment happens inside `useMemo`, this is re-evaluated on ... | c7515ff230e9fb74cca7f9757ff180a2cf038046 | 46e1351aedf16749d34fb4eaf7aa046452f2a21f | diff --git a/src/components/metrics/EventsChart.tsx b/src/components/metrics/EventsChart.tsx
index db23dcc47b..473b8d20c7 100644
--- a/src/components/metrics/EventsChart.tsx
+++ b/src/components/metrics/EventsChart.tsx
@@ -9,6 +9,7 @@ import {
useWebsiteEventsSeriesQuery,
} from '@/components/hooks';
import { rend... | [
"src/components/metrics/EventsChart.tsx"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> `hex6(key)` is invoked twice per label: once in the sort comparator and once in the loop body to derive the preferred slot. Because the palette assignment happens inside `useM... | true | ||
umami-software/umami | 4,261 | issue_to_patch | fix: keep DataGrid tables inside their card with horizontal scroll (eg sessions) | ## Why
On the sessions tab and any other page that uses `DataGrid`, narrowing the viewport below the table's natural width caused the table to overflow its surrounding card and the rightmost columns (Device, Last seen) to be clipped, with no scrollbar to reach them. Page reload did not help because the overflow was ... | c20aede58670091e912910f482c8e14f4877459e | 06caccbadb7381a18a82bf5a8e35ed9b603b735a | diff --git a/src/components/common/DataGrid.tsx b/src/components/common/DataGrid.tsx
index 58978c35df..50df48b5ab 100644
--- a/src/components/common/DataGrid.tsx
+++ b/src/components/common/DataGrid.tsx
@@ -62,6 +62,67 @@ export function DataGrid({
const child = data ? (typeof children === 'function' ? children(data... | [
"src/components/common/DataGrid.tsx"
] | [] | true | ||
umami-software/umami | 4,260 | issue_to_patch | fix: keep charts responsive when the viewport resizes | ## Why
Resizing the browser window made the chart canvas (events tab, website overview, revenue) keep its previously measured pixel width instead of tracking the viewport. The chart could grow on resize but could not shrink, so a window narrowed below the original render width left the chart overflowing its card. A ... | a9508e7aaeb5440897c70a803b5933fd69b492e6 | 54e038f42323a7bc599eb70bf20b42f6bb0eb1a5 | diff --git a/src/components/charts/Chart.tsx b/src/components/charts/Chart.tsx
index b6ae9d794a..770792d244 100644
--- a/src/components/charts/Chart.tsx
+++ b/src/components/charts/Chart.tsx
@@ -122,7 +122,20 @@ export function Chart({
return (
<Column gap="6">
<Box {...props}>
- <canvas ref={canv... | [
"src/components/charts/Chart.tsx"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> Adding `overflow: hidden` to the wrapper div prevents the canvas's default 300×150 size (before Chart.js fires its first ResizeObserver callback) from momentarily overflowing ... | true | ||
umami-software/umami | 4,248 | issue_to_patch | fix(tracker): track clicks on annotated containers + handle invalid pushState URLs | Three bugs in `src/tracker/index.js`, all empirically reproduced before fix and verified after fix.
## Bug 1: clicks on annotated container elements were missed
`handleClicks()` used `el.closest('a,button')`, which can't find an annotated `<div>` / `<section>` / `<article>` ancestor. A click on any descendant of `<di... | b5c4dbfa5680ac2f01d6de93efa48c755743a3a6 | dcf1b8b8b524e4a31b559e5992cc5e3ae1e47174 | diff --git a/src/tracker/index.js b/src/tracker/index.js
index 521a1f7173..12ddb3abcd 100644
--- a/src/tracker/index.js
+++ b/src/tracker/index.js
@@ -89,7 +89,7 @@
}
currentRef = currentUrl;
- currentUrl = normalize(new URL(url, location.href).toString());
+ currentUrl = normalize(url);
if (cu... | [
"src/tracker/index.js"
] | [] | true | ||
umami-software/umami | 4,272 | issue_to_patch | Bump next from 16.2.4 to 16.2.6 | Bumps [next](https://github.com/vercel/next.js) from 16.2.4 to 16.2.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/vercel/next.js/releases">next's releases</a>.</em></p>
<blockquote>
<h2>v16.2.6</h2>
<blockquote>
<p>[!NOTE]
This release contains security fixes and backport... | f2b6064b5271dd5c9648e8ba0c9ed999e06deec1 | 2eb25596fb0466e103ffd668d01148fc3f901bfc | diff --git a/package.json b/package.json
index 2bef0a82a9..c23ec4b2e7 100644
--- a/package.json
+++ b/package.json
@@ -89,7 +89,7 @@
"kafkajs": "^2.1.0",
"lucide-react": "^1.7.0",
"maxmind": "^5.0.5",
- "next": "16.2.4",
+ "next": "16.2.6",
"next-intl": "4.9.2",
"node-fetch": "^3.2.8",
... | [
"package.json",
"pnpm-lock.yaml"
] | [] | true | ||
umami-software/umami | 4,265 | issue_to_patch | Bump fast-uri from 3.1.0 to 3.1.2 | Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.0 to 3.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/fastify/fast-uri/releases">fast-uri's releases</a>.</em></p>
<blockquote>
<h2>v3.1.2</h2>
<h2>⚠️ Security Release</h2>
<ul>
<li>Fix for <a href="https://g... | a9508e7aaeb5440897c70a803b5933fd69b492e6 | 27f6a27b59011bd5b2a22e35c56267404f758cd8 | diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 740288d7a5..a75ee4a419 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -313,8 +313,6 @@ importers:
specifier: ^5.9.3
version: 5.9.3
- dist: {}
-
packages:
'@ampproject/remapping@2.3.0':
@@ -520,28 +518,24 @@ packages:
engines: {node:... | [
"pnpm-lock.yaml"
] | [] | true | ||
umami-software/umami | 4,253 | issue_to_patch | Bump next-intl from 4.8.3 to 4.9.2 | Bumps [next-intl](https://github.com/amannn/next-intl) from 4.8.3 to 4.9.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/amannn/next-intl/releases">next-intl's releases</a>.</em></p>
<blockquote>
<h2>v4.9.2</h2>
<h2>4.9.2 (2026-04-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Protot... | 995186b3c5920af4655ffbb2ab6acba0aadc3b05 | d7c6a760be92ab80906395274374cd8447ad336a | diff --git a/package.json b/package.json
index e8f494f39c..2bef0a82a9 100644
--- a/package.json
+++ b/package.json
@@ -90,7 +90,7 @@
"lucide-react": "^1.7.0",
"maxmind": "^5.0.5",
"next": "16.2.4",
- "next-intl": "4.8.3",
+ "next-intl": "4.9.2",
"node-fetch": "^3.2.8",
"npm-run-all": "^4.... | [
"package.json",
"pnpm-lock.yaml"
] | [] | true | ||
umami-software/umami | 4,258 | issue_to_patch | Bump hono from 4.12.9 to 4.12.18 | Bumps [hono](https://github.com/honojs/hono) from 4.12.9 to 4.12.18.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/honojs/hono/releases">hono's releases</a>.</em></p>
<blockquote>
<h2>v4.12.18</h2>
<h2>Security fixes</h2>
<p>This release includes fixes for the following secu... | a9508e7aaeb5440897c70a803b5933fd69b492e6 | aee0ec66143c35f9c5b1f36082d864fbaea1731f | diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 740288d7a5..a75ee4a419 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -313,8 +313,6 @@ importers:
specifier: ^5.9.3
version: 5.9.3
- dist: {}
-
packages:
'@ampproject/remapping@2.3.0':
@@ -520,28 +518,24 @@ packages:
engines: {node:... | [
"pnpm-lock.yaml"
] | [] | true | ||
umami-software/umami | 4,252 | issue_to_patch | Bump icu-minify from 4.8.4 to 4.11.0 | Bumps [icu-minify](https://github.com/amannn/next-intl) from 4.8.4 to 4.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/amannn/next-intl/releases">icu-minify's releases</a>.</em></p>
<blockquote>
<h2>v4.11.0</h2>
<h2>4.11.0 (2026-04-28)</h2>
<h3>Features</h3>
<ul>
<li>Ad... | a9508e7aaeb5440897c70a803b5933fd69b492e6 | 767bdcc43ecc00f6a563bf41564c68b08d592708 | diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 740288d7a5..a75ee4a419 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -313,8 +313,6 @@ importers:
specifier: ^5.9.3
version: 5.9.3
- dist: {}
-
packages:
'@ampproject/remapping@2.3.0':
@@ -520,28 +518,24 @@ packages:
engines: {node:... | [
"pnpm-lock.yaml"
] | [] | true | ||
umami-software/umami | 4,238 | issue_to_patch | Bump uuid from 13.0.0 to 14.0.0 | Bumps [uuid](https://github.com/uuidjs/uuid) from 13.0.0 to 14.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/uuidjs/uuid/releases">uuid's releases</a>.</em></p>
<blockquote>
<h2>v14.0.0</h2>
<h2><a href="https://github.com/uuidjs/uuid/compare/v13.0.0...v14.0.0">14.0.0</... | a9508e7aaeb5440897c70a803b5933fd69b492e6 | 2e9aaf3ae72ca3b5d276004a47f2f1d58954fb1f | diff --git a/package.json b/package.json
index 1d6fc31ee2..8e6985cd29 100644
--- a/package.json
+++ b/package.json
@@ -112,7 +112,7 @@
"serialize-error": "^12.0.0",
"thenby": "^1.3.4",
"ua-parser-js": "^2.0.9",
- "uuid": "^13.0.0",
+ "uuid": "^14.0.0",
"zod": "^4.3.6",
"zustand": "^5.0.12... | [
"package.json",
"pnpm-lock.yaml"
] | [] | true | ||
umami-software/umami | 4,206 | issue_to_patch | Bump postcss from 8.5.8 to 8.5.10 | Bumps [postcss](https://github.com/postcss/postcss) from 8.5.8 to 8.5.10.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/postcss/postcss/releases">postcss's releases</a>.</em></p>
<blockquote>
<h2>8.5.10</h2>
<ul>
<li>Fixed XSS via unescaped <code></style></code> in non... | c78ff36db0c82e13c86e5073020472c6546313a3 | da10ea17e7e6aac5d3899cebdb443c45b483112e | diff --git a/package.json b/package.json
index 1d6fc31ee2..3c286d7dca 100644
--- a/package.json
+++ b/package.json
@@ -135,7 +135,7 @@
"cypress": "^13.6.6",
"dotenv-cli": "^11.0.0",
"jest": "^29.7.0",
- "postcss": "^8.5.8",
+ "postcss": "^8.5.10",
"postcss-flexbugs-fixes": "^5.0.2",
"post... | [
"package.json",
"pnpm-lock.yaml"
] | [] | true | ||
umami-software/umami | 4,182 | issue_to_patch | Long URLs push action buttons out of view in Links table - Can't suppress Link
### Describe the Bug
When a link has a long destination URL, the table cells don't truncate the text, which pushes the edit/delete action buttons off-screen. There's no way to access them without using browser DevTools.
Steps to reproduce... | fix: truncate long URLs in Links table | ## Summary
- Adds `width="25%"` to the **Link** column and `width="30%"` to the **Destination URL** column in `LinksTable.tsx`
- The `ExternalLink` component already has `truncate` + `overflow: hidden`, but the `DataColumn` itself was unconstrained, allowing long URLs to push the edit/delete action buttons off-screen
... | 985aa285b253e657ddf3a4cc60df0975b559a325 | a47b32718d868e83b89f4db277f089bd99a0376a | diff --git a/src/app/(main)/links/LinksTable.tsx b/src/app/(main)/links/LinksTable.tsx
index 1758272e9e..5e125b4dad 100644
--- a/src/app/(main)/links/LinksTable.tsx
+++ b/src/app/(main)/links/LinksTable.tsx
@@ -23,13 +23,21 @@ export function LinksTable({ showActions, ...props }: LinksTableProps) {
return <L... | [
"src/app/(main)/links/LinksTable.tsx"
] | [] | true | |
umami-software/umami | 4,099 | issue_to_patch | Redirect logged-in users to dashboard instead of login page on “Get Started”
### Describe the feature or enhancement
### Description:
Hey, I noticed a small UX issue while using Umami.
When I’m already logged in and visit the homepage, clicking on “Get Started” takes me to the login/signup page. Since my session is... | fix: redirect logged-in users from login page to dashboard | ## Summary
When a user with an active session navigates to `/login` (e.g., by clicking "Get Started" on the homepage), they currently see the login form even though they're already authenticated. This is confusing since their session is valid.
## Changes
**`src/app/login/LoginPage.tsx`**: Added auth check using the ... | 0a838649b773122cc68cbd0c3df78d4251b981c5 | 0e329170d16c5c92d390487a49e12fc1eee0d6ca | diff --git a/src/app/login/LoginPage.tsx b/src/app/login/LoginPage.tsx
index 6f485e3f79..ce660b891f 100644
--- a/src/app/login/LoginPage.tsx
+++ b/src/app/login/LoginPage.tsx
@@ -1,8 +1,24 @@
'use client';
-import { Column } from '@umami/react-zen';
+import { Column, Loading } from '@umami/react-zen';
+import { useRou... | [
"src/app/login/LoginPage.tsx"
] | [] | true | |
umami-software/umami | 4,039 | issue_to_patch | fix: Optimize IP detection logic and add error handling | - #4038
- Check existence of clientIp and ignoreIps in advance
- Add error handling for CIDR parsing | 09bc2ee5c879d75d14ad768bb34ec4385ee36b51 | 350618471d235839d4f88fc25197672828342ad2 | diff --git a/src/lib/detect.ts b/src/lib/detect.ts
index 2e78a1f358..dccfe184d4 100644
--- a/src/lib/detect.ts
+++ b/src/lib/detect.ts
@@ -140,31 +140,31 @@ export async function getClientInfo(request: Request, payload: Record<string, an
export function hasBlockedIp(clientIp: string) {
const ignoreIps = process.env... | [
"src/lib/detect.ts"
] | [
{
"comment": "**Use `.some()` instead of `.find()` for boolean intent**\n\n`Array.find()` returns the matched element (a string) or `undefined`, but this function is named `hasBlockedIp` and is used in a boolean context (`if (hasBlockedIp(ip))`). Using `.some()` would return an actual `boolean`, which better ma... | true | ||
umami-software/umami | 4,039 | comment_to_fix | fix: Optimize IP detection logic and add error handling | **Use `.some()` instead of `.find()` for boolean intent**
`Array.find()` returns the matched element (a string) or `undefined`, but this function is named `hasBlockedIp` and is used in a boolean context (`if (hasBlockedIp(ip))`). Using `.some()` would return an actual `boolean`, which better matches the function's sem... | 09bc2ee5c879d75d14ad768bb34ec4385ee36b51 | 350618471d235839d4f88fc25197672828342ad2 | diff --git a/src/lib/detect.ts b/src/lib/detect.ts
index 2e78a1f358..dccfe184d4 100644
--- a/src/lib/detect.ts
+++ b/src/lib/detect.ts
@@ -140,31 +140,31 @@ export async function getClientInfo(request: Request, payload: Record<string, an
export function hasBlockedIp(clientIp: string) {
const ignoreIps = process.env... | [
"src/lib/detect.ts"
] | [
{
"comment": "**Use `.some()` instead of `.find()` for boolean intent**\n\n`Array.find()` returns the matched element (a string) or `undefined`, but this function is named `hasBlockedIp` and is used in a boolean context (`if (hasBlockedIp(ip))`). Using `.some()` would return an actual `boolean`, which better ma... | true | ||
umami-software/umami | 4,247 | issue_to_patch | perf(tracker): defer INP percentile computation to flush time | The INP observer sorted `Object.values(interactions)` on every event entry, even though `metrics.inp` is only read at `sendPerformance()` time. Move the sort + p98 to flush, and drain queued observer entries via `observer.takeRecords()` so the final INP includes the most recent interactions on `pagehide` / `visibilityc... | b5c4dbfa5680ac2f01d6de93efa48c755743a3a6 | 3f9de35907b70642e1c894e91e4ab2fe1e1c0d47 | diff --git a/src/tracker/index.js b/src/tracker/index.js
index 521a1f7173..2df5ccded8 100644
--- a/src/tracker/index.js
+++ b/src/tracker/index.js
@@ -292,27 +292,33 @@
// INP - group by interactionId, 98th percentile, 40ms threshold
let interactions = {};
- try {
- const observer = new PerformanceO... | [
"src/tracker/index.js"
] | [] | true | ||
umami-software/umami | 4,139 | issue_to_patch | Pages report does not display query parameters despite storing them in url_query
### Describe the feature or enhancement
Umami stores page URLs in two separate database columns: url_path and url_query. The problem is that the dashboard only ever shows url_path. None of the reports (Pages, Realtime, Filters) surface u... | fix: include url_query in pages report display | ## Summary
Fixes #4133
The Pages report currently only displays `url_path`, ignoring `url_query`. This causes URLs with query parameters (e.g., `/viewtopic.php?t=1` and `/viewtopic.php?t=2`) to collapse into a single entry (`/viewtopic.php`), losing all routing granularity for sites that rely on query parameters for ... | 7fea01ecacff607e3c73abc05ca57fdacb2c513a | 73c045118bc98e5be4bdd2f86a8515547dea4c49 | diff --git a/src/queries/sql/pageviews/getPageviewExpandedMetrics.ts b/src/queries/sql/pageviews/getPageviewExpandedMetrics.ts
index a0c489ac83..5561cdaf70 100644
--- a/src/queries/sql/pageviews/getPageviewExpandedMetrics.ts
+++ b/src/queries/sql/pageviews/getPageviewExpandedMetrics.ts
@@ -49,6 +49,7 @@ async function ... | [
"src/queries/sql/pageviews/getPageviewExpandedMetrics.ts",
"src/queries/sql/pageviews/getPageviewMetrics.ts"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P1\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p1.svg?v=7\" align=\"top\"></a> **Array misalignment causes wrong pairings and data loss**\n\nIn `website_event_stats_hourly`, `url_path` and `url_query` are built by two *independent* `arrayFilter` calls th... | true | |
umami-software/umami | 4,250 | issue_to_patch | fix: declare prop-types and react-aria-components as direct dependencies | ## Summary
Two packages used at runtime were missing from `package.json`. Both are auto-installed by pnpm 8+ when `auto-install-peers` is true (the project default), which masks the issue, but they fail to install on a fresh checkout with npm or with pnpm when `auto-install-peers` is disabled.
- `prop-types` is impor... | 5ccfb6d0a52749897e8ea7ad32253d7bd0c9cd49 | 74e8b12e391f4d8c987d48ffbf097a468e424c20 | diff --git a/package.json b/package.json
index db8c39f839..45ba97b187 100644
--- a/package.json
+++ b/package.json
@@ -96,8 +96,10 @@
"papaparse": "^5.5.3",
"pg": "^8.20.0",
"prisma": "^7.7.0",
+ "prop-types": "^15.8.1",
"pure-rand": "^8.4.0",
"react": "^19.2.5",
+ "react-aria-components"... | [
"package.json",
"pnpm-lock.yaml"
] | [] | true | ||
umami-software/umami | 4,243 | issue_to_patch | fix: clean up link, pixel, board rows on user/team deletion | Fixes #4242.
## Summary
- **`deleteUser`** / **`deleteTeam`**: clean up `link`, `pixel`, `board`, and their `share` rows for the deleted user/team. Mirrors the `deleteWebsite` cleanup pattern.
- **Cloud mode**: soft-delete link + pixel (have `deletedAt`); hard-delete board (no `deletedAt` column); always hard-delete ... | 9b099408c2099ad5a8048e021df387aa78dd08ae | b7084bb90aedf447f0571b6c2a3aaffb7b539d70 | diff --git a/src/app/(collect)/p/[slug]/route.ts b/src/app/(collect)/p/[slug]/route.ts
index fd18a28344..36ba5a8924 100644
--- a/src/app/(collect)/p/[slug]/route.ts
+++ b/src/app/(collect)/p/[slug]/route.ts
@@ -21,6 +21,7 @@ export async function GET(request: Request, { params }: { params: Promise<{ slug
retur... | [
"src/app/(collect)/p/[slug]/route.ts",
"src/app/(collect)/q/[slug]/route.ts",
"src/queries/prisma/team.ts",
"src/queries/prisma/user.ts"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> **Pre-transaction entity fetch creates a TOCTOU window for share cleanup**\n\n`entityIds` is collected before the transaction opens. Any link, pixel, or board created and shar... | true | ||
umami-software/umami | 4,207 | issue_to_patch | 🌐 fix(i18n): add missing 'saved' labels for german and swiss locales | 71893e4f89e077a72f2595472b586461b5b939ea | af68bcc12cca2e969fd8b45494b3aca76d9b94f4 | [] | [] | true | ||||
umami-software/umami | 4,192 | issue_to_patch | Update to 3.1. fails
### Describe the Bug
I just downloaded the latest containers and tried to restart them. However, Umami fails to start up as a necessary migrations doesn't go through.
```
> umami@3.1.0 check-db /app
> node scripts/check-db.js
✓ DATABASE_URL is defined.
✓ Database connection successful.
✓ Databas... | fix: fixes #4186 | Some database providers, like supabase, provides two URLs to access the database. A main URL behind pgBouncer's for load balancing, and a direct separated URL to perform migrations (running DDL operations), as does not support advisory locks or multi-statement DDL required by migrations.
Before v3.1.0, adding `direc... | 76bef132e6bf90e92f580694568f972c5ac388e3 | 307018953750124efa9ecf1d9563abd3f4502c49 | diff --git a/scripts/check-db.js b/scripts/check-db.js
index 8c806cd8f2..aaa128af50 100644
--- a/scripts/check-db.js
+++ b/scripts/check-db.js
@@ -67,7 +67,8 @@ async function checkDatabaseVersion() {
async function applyMigration() {
if (!process.env.SKIP_DB_MIGRATION) {
- console.log(execSync('prisma migrate... | [
"scripts/check-db.js"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> **`DIRECT_DATABASE_URL` still present in child env may confuse Prisma**\n\nWhen `DIRECT_DATABASE_URL` is set, this code overrides `DATABASE_URL` with the direct URL, but `DIRE... | true | |
umami-software/umami | 4,231 | issue_to_patch | Bump uuid from 13.0.0 to 14.0.0 | Bumps [uuid](https://github.com/uuidjs/uuid) from 13.0.0 to 14.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/uuidjs/uuid/releases">uuid's releases</a>.</em></p>
<blockquote>
<h2>v14.0.0</h2>
<h2><a href="https://github.com/uuidjs/uuid/compare/v13.0.0...v14.0.0">14.0.0</... | 2ffa65509703abd0ce6c28b68c1db24fbe11f6ff | 75e6b2461b66e4dff360c32e77d732c5529f5745 | diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2e82e501f8..1341dae532 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -6539,6 +6539,7 @@ packages:
uuid@8.3.2:
resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}
+ deprecated: uuid@... | [
"pnpm-lock.yaml"
] | [] | true | ||
umami-software/umami | 4,200 | issue_to_patch | The Syrian flag has changed | c78ff36db0c82e13c86e5073020472c6546313a3 | f60a9fd187f28b7004c55170812d12e13e2a0000 | diff --git a/public/images/country/sy.png b/public/images/country/sy.png
index fe03842579..5eb6add630 100644
Binary files a/public/images/country/sy.png and b/public/images/country/sy.png differ
| [
"public/images/country/sy.png"
] | [] | true | |||
umami-software/umami | 4,224 | issue_to_patch | Flatten JSON data | 将flattenJSON重构为更简洁的递归实现提取KeyValueData接口并导出 createKeyValue 函数添加完整的单元测试覆盖所有功能 | 0e586dc2f995acbe3ec3a76b2a729521b2646f17 | f6703d3d6d63ab9ec1d8b2560edcc399aab335bd | diff --git a/src/lib/data.ts b/src/lib/data.ts
index fe69edf048..07eae52a59 100644
--- a/src/lib/data.ts
+++ b/src/lib/data.ts
@@ -1,27 +1,26 @@
import { DATA_TYPE, DATETIME_REGEX } from './constants';
import type { DynamicDataType } from './types';
-export function flattenJSON(
- eventData: Record<string, any>,
-... | [
"src/lib/__tests__/data.test.ts",
"src/lib/data.ts"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> **Null typed as `DATA_TYPE.array` — consider a comment**\n\n`null` falls into the `'object'` branch (`typeof null === 'object'`) in `getDataType`, so it gets serialized to `'n... | diff --git a/src/lib/__tests__/data.test.ts b/src/lib/__tests__/data.test.ts
new file mode 100644
index 0000000000..61882f6c3d
--- /dev/null
+++ b/src/lib/__tests__/data.test.ts
@@ -0,0 +1,246 @@
+import { DATA_TYPE } from '../constants';
+import {
+ flattenJSON,
+ createKeyValue,
+ isValidDateValue,
+ getDataType,... | true | |
umami-software/umami | 4,223 | issue_to_patch | Remove redundant search logic | fix: 移除重复的搜索条件检查并修复搜索查询逻辑 | fbac7518fc35c608a58fe7d55efaa17bba831417 | 17a00f62a449ec9b537528aed89c72f7a1c01fb4 | diff --git a/src/queries/sql/getValues.ts b/src/queries/sql/getValues.ts
index 8573335bf0..cc5f3a4892 100644
--- a/src/queries/sql/getValues.ts
+++ b/src/queries/sql/getValues.ts
@@ -83,10 +83,6 @@ async function clickhouseQuery(websiteId: string, column: string, filters: Query
excludeDomain = `and referrer_domain... | [
"src/queries/sql/getValues.ts"
] | [] | true | ||
umami-software/umami | 4,197 | issue_to_patch | Bump uuid from 13.0.0 to 14.0.0 | Bumps [uuid](https://github.com/uuidjs/uuid) from 13.0.0 to 14.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/uuidjs/uuid/releases">uuid's releases</a>.</em></p>
<blockquote>
<h2>v14.0.0</h2>
<h2><a href="https://github.com/uuidjs/uuid/compare/v13.0.0...v14.0.0">14.0.0</... | 8723cf3307bbaa2caa235a78c644464c06ec6cf5 | e5e8a7ccc25f3e2add93f6c7a576a64ceea5f4ae | diff --git a/package.json b/package.json
index 9306161fc2..db8c39f839 100644
--- a/package.json
+++ b/package.json
@@ -112,7 +112,7 @@
"serialize-error": "^13.0.1",
"thenby": "^1.4.0",
"ua-parser-js": "^2.0.9",
- "uuid": "^13.0.0",
+ "uuid": "^14.0.0",
"zod": "^4.3.6",
"zustand": "^5.0.12... | [
"package.json",
"pnpm-lock.yaml"
] | [] | true | ||
umami-software/umami | 4,228 | issue_to_patch | feat: add data-auto-pageview attribute to tracker script | Allow disabling the automatic pageview tracking while keeping performance tracking, click handling, and path change detection active. | ea52adea6bf26fca37a1f96573b2a115f37f0dc7 | 8ce833c93be08367f16d51b8e1aa6f73b51c0f71 | diff --git a/src/tracker/index.js b/src/tracker/index.js
index 85ad2ffea6..521a1f7173 100644
--- a/src/tracker/index.js
+++ b/src/tracker/index.js
@@ -37,6 +37,7 @@
const domain = config('domains') || '';
const credentials = config('fetch-credentials') || 'omit';
const perf = config('performance') === _true;
+... | [
"src/tracker/index.js"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> **SPA navigation still fires `track()` when `autoPageview` is false**\n\nWhen `data-auto-pageview=\"false\"` is set, only the very first `track()` call in `init()` is skipped.... | true | ||
umami-software/umami | 4,228 | comment_to_fix | feat: add data-auto-pageview attribute to tracker script | <a href="#"><img alt="P2" src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7" align="top"></a> **SPA navigation still fires `track()` when `autoPageview` is false**
When `data-auto-pageview="false"` is set, only the very first `track()` call in `init()` is skipped. However, `handlePathChanges()` is... | ea52adea6bf26fca37a1f96573b2a115f37f0dc7 | 8ce833c93be08367f16d51b8e1aa6f73b51c0f71 | diff --git a/src/tracker/index.js b/src/tracker/index.js
index 85ad2ffea6..521a1f7173 100644
--- a/src/tracker/index.js
+++ b/src/tracker/index.js
@@ -37,6 +37,7 @@
const domain = config('domains') || '';
const credentials = config('fetch-credentials') || 'omit';
const perf = config('performance') === _true;
+... | [
"src/tracker/index.js"
] | [
{
"comment": "<a href=\"#\"><img alt=\"P2\" src=\"https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=7\" align=\"top\"></a> **SPA navigation still fires `track()` when `autoPageview` is false**\n\nWhen `data-auto-pageview=\"false\"` is set, only the very first `track()` call in `init()` is skipped.... | true | ||
umami-software/umami | 4,190 | issue_to_patch | fix: translation multiple language | 947e76fe556f3af29ce7efef576cfef9e0b006dc | 136eb7715f14f744665cbc0e49bdcb50de7c1740 | diff --git a/public/intl/messages/bs-BA.json b/public/intl/messages/bs-BA.json
index 7a42b4e08d..a11f610bda 100644
--- a/public/intl/messages/bs-BA.json
+++ b/public/intl/messages/bs-BA.json
@@ -20,10 +20,8 @@
"all-time": "Cijelo vrijeme",
"analysis": "Analiza",
"analytics": "Analitike",
- "aov": "AOV... | [
"public/intl/messages/bs-BA.json",
"public/intl/messages/ca-ES.json",
"public/intl/messages/cs-CZ.json",
"public/intl/messages/da-DK.json",
"public/intl/messages/de-CH.json",
"public/intl/messages/de-DE.json",
"public/intl/messages/en-GB.json",
"public/intl/messages/es-ES.json",
"public/intl/message... | [] | true | |||
umami-software/umami | 4,188 | issue_to_patch | fix: add missing french translation | 947e76fe556f3af29ce7efef576cfef9e0b006dc | de1574b24215e748fdaf9dfa57cb539d83cfaef2 | diff --git a/public/intl/messages/fr-FR.json b/public/intl/messages/fr-FR.json
index 6656514510..982370683d 100644
--- a/public/intl/messages/fr-FR.json
+++ b/public/intl/messages/fr-FR.json
@@ -33,6 +33,7 @@
"behavior": "Comportement",
"block-selector": "Sélecteur de bloc",
"boards": "Tableaux",
+ "b... | [
"public/intl/messages/fr-FR.json"
] | [] | true | |||
umami-software/umami | 4,126 | issue_to_patch | Fix incomplete retention report | Closes #3450.
As stated in issue, days shown per cohort are currently limited to the number of cohorts, which can skip values for websites without new visitors every day.
Moreover, grey squares are possibly shown in impossible positions, like in Day 1 of a cohort that started on the last day of the month.
Curren... | 07356323c1c007d7e96f2566aaad4f06f684abc9 | 5f6fc7ee42453f1223af878918b2363675789430 | diff --git a/src/app/(main)/websites/[websiteId]/(reports)/retention/Retention.tsx b/src/app/(main)/websites/[websiteId]/(reports)/retention/Retention.tsx
index 4b9053d51a..89b14080be 100644
--- a/src/app/(main)/websites/[websiteId]/(reports)/retention/Retention.tsx
+++ b/src/app/(main)/websites/[websiteId]/(reports)/r... | [
"src/app/(main)/websites/[websiteId]/(reports)/retention/Retention.tsx"
] | [] | true | ||
umami-software/umami | 4,187 | issue_to_patch | 4168 - Fix for 'Dashboard and Board Editing in Firefox Isn't Working' | HI Team,
This is a fix for the issue https://github.com/umami-software/umami/issues/4168
As discussed there, I don’t think the min height is causing the issue. I checked the ‘react-resizable-panels’ documentation. Even the example there has a the same styling. However I noticed the minimum height set at group le... | b3c4b709913e84df6c6d171aad8fd9baa71c7ed1 | 39803a33bc8f365b50524f9a586200d91bfebfcd | diff --git a/src/app/(main)/boards/[boardId]/BoardEditBody.tsx b/src/app/(main)/boards/[boardId]/BoardEditBody.tsx
index ad94800dd6..e7fb5ee1be 100644
--- a/src/app/(main)/boards/[boardId]/BoardEditBody.tsx
+++ b/src/app/(main)/boards/[boardId]/BoardEditBody.tsx
@@ -110,8 +110,8 @@ export function BoardEditBody({ requi... | [
"src/app/(main)/boards/[boardId]/BoardEditBody.tsx"
] | [] | true | ||
umami-software/umami | 4,153 | issue_to_patch | fix(i18n): update country name from Turkey to Türkiye | - Updates the English locale to reflect the official 2022 ISO 3166-1 name change.
- Uses the \u00fc Unicode escape sequence to ensure safe rendering. | de46ef9aab2846b96a5024defc9470ea2e88881a | 16f79a494ab2d13dcbad779680e6fcbf747ce65d | diff --git a/public/intl/country/en-GB.json b/public/intl/country/en-GB.json
index 95a4e329a8..77a95d9739 100644
--- a/public/intl/country/en-GB.json
+++ b/public/intl/country/en-GB.json
@@ -227,7 +227,7 @@
"TO": "Tonga",
"TT": "Trinidad & Tobago",
"TN": "Tunisia",
- "TR": "Turkey",
+ "TR": "T\u00fcrkiye",
... | [
"public/intl/country/en-GB.json",
"public/intl/country/en-US.json"
] | [] | true | ||
umami-software/umami | 4,169 | issue_to_patch | fix: restore realtime link on active users indicator | cc829c8f6fc4da777c7ed5494f88c9e0c24c6520 | c1395aafb45dcefff329d0579d0f71e109b5b94a | diff --git a/src/components/metrics/ActiveUsers.tsx b/src/components/metrics/ActiveUsers.tsx
index 2baf3357c8..f1aa989c62 100644
--- a/src/components/metrics/ActiveUsers.tsx
+++ b/src/components/metrics/ActiveUsers.tsx
@@ -1,6 +1,7 @@
import { StatusLight, Text } from '@umami/react-zen';
import { useMemo } from 'reac... | [
"src/components/metrics/ActiveUsers.tsx"
] | [] | true | |||
unclecode/crawl4ai | 1,960 | issue_to_patch | fix(stealth): use Stealth class from playwright-stealth 2.x | ## Summary
Fixes #1959.
`StealthAdapter._check_stealth_availability` imported `stealth_async` / `stealth_sync` from `playwright_stealth`, which 2.x doesn't expose. Replaced with the `Stealth` class — `apply_stealth_async` accepts `Page` or `BrowserContext`, so existing call sites are unchanged.
## Changes
- `crawl4... | 1ef552f35119f99391b88220af41142e24c5e069 | 5568a9ad3821fc037407956b7d977bc7445ee48d | diff --git a/crawl4ai/browser_adapter.py b/crawl4ai/browser_adapter.py
index 3d3f5cdc4..2f4c15827 100644
--- a/crawl4ai/browser_adapter.py
+++ b/crawl4ai/browser_adapter.py
@@ -153,35 +153,27 @@ class StealthAdapter(BrowserAdapter):
def __init__(self):
self._console_script_injected = {}
+ self._s... | [
"crawl4ai/browser_adapter.py"
] | [] | true | ||
unclecode/crawl4ai | 1,967 | issue_to_patch | Preserve native Unicode in MCP tool responses by disabling ASCII escaping | ## Summary
- `json.dumps()` in `deploy/docker/mcp_bridge.py` defaulted to `ensure_ascii=True`, escaping all non-ASCII characters (Chinese, Japanese, Korean, etc.) as `\uXXXX` sequences in MCP tool
results
- Added `ensure_ascii=False` to all 3 `json.dumps()` calls in `_call_tool()` (success path, error path) and ... | dfb525edecfb9c1731c6b6a4d562f0f40419caf6 | 76f56af2dd4f108888fd8fa8cf47878b9eb85f8e | diff --git a/deploy/docker/mcp_bridge.py b/deploy/docker/mcp_bridge.py
index d81b29c3f..7cae2dc6d 100644
--- a/deploy/docker/mcp_bridge.py
+++ b/deploy/docker/mcp_bridge.py
@@ -137,8 +137,8 @@ async def _call_tool(name: str, arguments: Dict | None) -> List[t.TextContent]:
except HTTPException as exc:
... | [
"deploy/docker/mcp_bridge.py"
] | [] | true | ||
unclecode/crawl4ai | 1,969 | issue_to_patch | fix: route AsyncLogger output to stderr by default (fixes #1968) | ## Problem
AsyncLogger writes its Rich progress output to **stdout** via the default Console() constructor. When crawl4ai is used as an MCP server over stdio (e.g. with mcp-crawl4ai, Claude Desktop, or mcp-inspector), the log lines are injected into the JSON-RPC stream. Clients fail to parse the messages and report:... | 532b105fc7189b341bdbdb02019320ebb25a0ebc | 944eb1e456fe62d22c33310590e453028bc15ef3 | diff --git a/crawl4ai/async_logger.py b/crawl4ai/async_logger.py
index b0857d665..8edcb24ac 100644
--- a/crawl4ai/async_logger.py
+++ b/crawl4ai/async_logger.py
@@ -2,6 +2,7 @@
from enum import Enum
from typing import Optional, Dict, Any, List
import os
+import sys
from datetime import datetime
from urllib.parse i... | [
"crawl4ai/async_logger.py",
"tests/test_async_logger_stderr.py"
] | [] | diff --git a/tests/test_async_logger_stderr.py b/tests/test_async_logger_stderr.py
new file mode 100644
index 000000000..ca6879684
--- /dev/null
+++ b/tests/test_async_logger_stderr.py
@@ -0,0 +1,156 @@
+"""
+Tests for issue #1968: AsyncLogger must write to stderr by default so that
+stdout-based transports (e.g. MCP s... | true | |
unclecode/crawl4ai | 1,975 | issue_to_patch | [Bug]: C4A Assistant overflow
### crawl4ai version
1.3.0
### Expected Behavior
I found a problem with C2A Assistant but the repo of the plugin is not public so I put it here.
When selecting elements with Click2Crawl tool bar, it is easy to get overflow in the window of explorer.
Just add `max-length: 500px; overflo... | fix: allow assistant toolbar to scroll | ## Summary
Updates the Crawl4AI Assistant toolbar styling so long Click2Crawl content can scroll instead of being clipped by a hidden overflow container.
## Changes
- Adds a 500px maximum height to `.c4ai-toolbar`
- Replaces hidden overflow with vertical scrolling
## Testing
- `git diff --check`
- CSS sanity check... | dfb525edecfb9c1731c6b6a4d562f0f40419caf6 | 791aae3a21c515ed01738bdab78c7378e4e55f09 | diff --git a/docs/md_v2/apps/crawl4ai-assistant/content/overlay.css b/docs/md_v2/apps/crawl4ai-assistant/content/overlay.css
index 56c1799aa..84ad68677 100644
--- a/docs/md_v2/apps/crawl4ai-assistant/content/overlay.css
+++ b/docs/md_v2/apps/crawl4ai-assistant/content/overlay.css
@@ -115,8 +115,9 @@
font-family: v... | [
"docs/md_v2/apps/crawl4ai-assistant/content/overlay.css"
] | [] | true | |
unclecode/crawl4ai | 1,951 | issue_to_patch | Add bedrock to PROVIDER_MODELS_PREFIXES so AWS credential auth works | ## Summary
`LLMConfig.__init__` checks PROVIDER_MODELS_PREFIXES when `api_token=None`.
If the provider prefix isn't found, it silently falls through to the else
branch and overwrites self.provider with DEFAULT_PROVIDER (`openai/gpt-4o`),
meaning any bedrock/* model string was being replaced before the LLM call wa... | 388ce3f03324f7cc4912b3550652f04c305379ce | 660f49c87947afdf9a1bbf95b381a808d98f7445 | diff --git a/crawl4ai/config.py b/crawl4ai/config.py
index 507965af6..5d394136f 100644
--- a/crawl4ai/config.py
+++ b/crawl4ai/config.py
@@ -36,6 +36,7 @@
"anthropic": os.getenv("ANTHROPIC_API_KEY"),
"gemini": os.getenv("GEMINI_API_KEY"),
"deepseek": os.getenv("DEEPSEEK_API_KEY"),
+ "bedrock": None, ... | [
"crawl4ai/config.py"
] | [] | true | ||
unclecode/crawl4ai | 1,952 | issue_to_patch | fix: log failure reason before COMPLETE and fix misleading SCRAPE ✓ (#1949) | ## Problem
When a crawl fails (anti-bot detection, empty HTML, etc.), users see only `[COMPLETE] ✗` with zero explanation — even with `verbose=True`. The `CrawlResult.error_message` is correctly set but was never logged to the console.
A second issue: the `[SCRAPE]` log always emitted `✓` regardless of whether scrapi... | 388ce3f03324f7cc4912b3550652f04c305379ce | 5e5519b1c618245ed9ac572e6efe51535e42e8f5 | diff --git a/crawl4ai/async_webcrawler.py b/crawl4ai/async_webcrawler.py
index b0950ff8f..f81096c07 100644
--- a/crawl4ai/async_webcrawler.py
+++ b/crawl4ai/async_webcrawler.py
@@ -638,6 +638,14 @@ async def arun(
head_html = crawl_result.html[:head_end + 7]
cra... | [
"crawl4ai/async_webcrawler.py"
] | [] | true | ||
unclecode/crawl4ai | 1,939 | issue_to_patch | fix: preserve .tail text when removing empty elements (#1938) | ## Summary
- **Fixes #1938**: `remove_empty_elements_fast()` was dropping trailing text (lxml `.tail`) when removing empty elements. For example, on arxiv.org pages, the abstract gets truncated because empty elements left by overlay removal carry `.tail` text that is silently discarded.
- **Fix**: Before removing an el... | 04985ea15e341774fbcd8ac7eaaf7c42c8877036 | e8f1af7c168932e935496b6874023c1ae4ba6a73 | diff --git a/crawl4ai/content_scraping_strategy.py b/crawl4ai/content_scraping_strategy.py
index 9853f788f..9cdc53cfd 100644
--- a/crawl4ai/content_scraping_strategy.py
+++ b/crawl4ai/content_scraping_strategy.py
@@ -562,6 +562,14 @@ def remove_empty_elements_fast(self, root, word_count_threshold=5):
):
... | [
"crawl4ai/content_scraping_strategy.py"
] | [] | true | ||
unclecode/crawl4ai | 1,940 | issue_to_patch | fix: broaden mermaid SVG text extraction and prevent nested fences (#1043) | ## Context
Follow-up to #1845 (merged into develop). Nasrin found three issues in the original fix when tested on the actual reported URL (`https://deepwiki.com/bwmarrin/snowflake`).
## What was wrong
1. **Sequence/gantt/git diagrams produce zero labels** — these diagram types use native SVG `<text>`/`<tspan>` eleme... | 4d139247b96ebc616bfb594e94b5321ec84bd0f5 | dba38c7886edc4646f93167611e0a2c2179cdc73 | diff --git a/crawl4ai/content_scraping_strategy.py b/crawl4ai/content_scraping_strategy.py
index 9853f788f..4e07cf2ab 100644
--- a/crawl4ai/content_scraping_strategy.py
+++ b/crawl4ai/content_scraping_strategy.py
@@ -725,17 +725,53 @@ def _scrap(
for svg in body.xpath('.//svg[starts-with(@id, "mermaid-")]'... | [
"crawl4ai/content_scraping_strategy.py",
"crawl4ai/html2text/__init__.py"
] | [] | true | ||
unclecode/crawl4ai | 1,934 | issue_to_patch | fix: wire semaphore_count into auto-created MemoryAdaptiveDispatcher (#1927) | ## Summary
Fixes #1927
When `arun_many()` auto-creates a `MemoryAdaptiveDispatcher` (i.e. the user doesn't pass one explicitly), it was hardcoded to `max_session_permit=20` — silently ignoring the `semaphore_count` value the user set in `CrawlerRunConfig`. This caused unintended high concurrency and 429 rate-limit er... | 0e92b5e239df11b8be25cfc81bc39b35535268b3 | 4e72f31011abf176526ec02c85d08f009ecae911 | diff --git a/crawl4ai/async_webcrawler.py b/crawl4ai/async_webcrawler.py
index 36b999fd1..374e2ef85 100644
--- a/crawl4ai/async_webcrawler.py
+++ b/crawl4ai/async_webcrawler.py
@@ -1029,7 +1029,9 @@ async def _deep_crawl_stream():
primary_cfg = config[0] if isinstance(config, list) else config
... | [
"crawl4ai/async_webcrawler.py"
] | [] | true | ||
unclecode/crawl4ai | 1,901 | issue_to_patch | fix: correct arun() return type annotation (#1898) | ## Summary
`arun()` was annotated as returning `RunManyReturn` (which is `Union[CrawlResultContainer, AsyncGenerator]`), but it always returns `CrawlResultContainer`. This caused Pylance/Pyright to flag `result.markdown` as an error because `AsyncGenerator` doesn't have that attribute.
Fixes #1898
## The Bug
```pytho... | 3d02d75edb97d896997b6b71f022c4314e0cdfde | c5612f7551e4095ffdd62b6d447331b30d5e2d86 | diff --git a/crawl4ai/async_webcrawler.py b/crawl4ai/async_webcrawler.py
index 36b999fd1..44af4c534 100644
--- a/crawl4ai/async_webcrawler.py
+++ b/crawl4ai/async_webcrawler.py
@@ -210,7 +210,7 @@ async def arun(
url: str,
config: CrawlerRunConfig = None,
**kwargs,
- ) -> RunManyReturn:
+ ... | [
"crawl4ai/async_webcrawler.py",
"tests/test_type_annotations.py"
] | [] | diff --git a/tests/test_type_annotations.py b/tests/test_type_annotations.py
new file mode 100644
index 000000000..4554e322a
--- /dev/null
+++ b/tests/test_type_annotations.py
@@ -0,0 +1,194 @@
+"""
+Tests for type annotation correctness across the crawl4ai public API.
+
+Catches issues like #1898 where arun() was anno... | true | |
unclecode/crawl4ai | 1,929 | issue_to_patch | [Bug]: docker image rejects connections over IPv6
### crawl4ai version
latest
### Expected Behavior
`curl -v http://localhost:11235/dashboard` should work.
The example in the README should work: https://github.com/unclecode/crawl4ai#quick-test
### Current Behavior
`curl -v http://localhost:11235/dashboard` fails... | docker: listen on all addresses | ## Summary
Listen on all local addresses by default, so that the service is reachable by curl, requests, etc.
Fixes: https://github.com/unclecode/crawl4ai/issues/1928
## List of files changed and why
deploy/docker/supervisord.conf
## How Has This Been Tested?
podman run -i -p 11235:11235 --name cr... | d595679d25cf79beda4a3caf86609eb44e6ce958 | e06b19ca09f4cb08976e28fe3ef7a2d85d772613 | diff --git a/deploy/docker/supervisord.conf b/deploy/docker/supervisord.conf
index a1b994aa2..198a78deb 100644
--- a/deploy/docker/supervisord.conf
+++ b/deploy/docker/supervisord.conf
@@ -14,7 +14,7 @@ stderr_logfile=/dev/stderr ; Redirect redis stderr to container stderr
stderr_logfile_maxbytes=0
[program:gu... | [
"deploy/docker/supervisord.conf"
] | [] | true | |
unclecode/crawl4ai | 1,925 | issue_to_patch | fix: add LLMTableExtraction to Docker API deserialization allowlist | ## Summary
- `LLMTableExtraction` was missing from `ALLOWED_DESERIALIZE_TYPES` in `async_configs.py`, causing a `ValueError` when used via the Docker Job Queue API
- Added `LLMTableExtraction` to the allowlist alongside the existing `DefaultTableExtraction` and `NoTableExtraction` entries
- Added `LLMTableExtraction` ... | 4e86399bfa8baffbddf552e18625716a63e3c843 | c8c2dc319f6dd7c8720846cd9733974412a4ea8a | diff --git a/crawl4ai/__init__.py b/crawl4ai/__init__.py
index 03e734deb..00e75f980 100644
--- a/crawl4ai/__init__.py
+++ b/crawl4ai/__init__.py
@@ -169,6 +169,7 @@
"TableExtractionStrategy",
"DefaultTableExtraction",
"NoTableExtraction",
+ "LLMTableExtraction",
"RelevantContentFilter",
"Pru... | [
"crawl4ai/__init__.py",
"crawl4ai/async_configs.py",
"deploy/docker/tests/test_security_fixes.py"
] | [] | diff --git a/deploy/docker/tests/test_security_fixes.py b/deploy/docker/tests/test_security_fixes.py
index 3f006ceeb..1d31455ae 100644
--- a/deploy/docker/tests/test_security_fixes.py
+++ b/deploy/docker/tests/test_security_fixes.py
@@ -251,7 +251,7 @@ def setUp(self):
"DomainAuthorityScorer", "FreshnessSc... | true | |
unclecode/crawl4ai | 1,845 | issue_to_patch | fix: preserve mermaid diagram text from SVGs during scraping (#1043) | ## Summary
- Fixes #1043
- Mermaid diagrams rendered as SVGs were completely stripped during HTML cleaning, losing all diagram text content (node labels, edge labels, class names, etc.)
- Now detects SVGs with `id="mermaid-*"`, extracts text from `.nodeLabel`, `.label span`, `.edgeLabel span` elements, and replaces the... | c4389adddf330a4963203816d7f15465871cea7a | 2fd0f4c6a7c43bb4aa26a5c66dddcdb6be22728b | diff --git a/crawl4ai/content_scraping_strategy.py b/crawl4ai/content_scraping_strategy.py
index ade19aa11..9853f788f 100644
--- a/crawl4ai/content_scraping_strategy.py
+++ b/crawl4ai/content_scraping_strategy.py
@@ -721,6 +721,30 @@ def _scrap(
elif content_element is None:
content_elemen... | [
"crawl4ai/content_scraping_strategy.py",
"tests/test_issue_1043_mermaid_svg.py"
] | [] | diff --git a/tests/test_issue_1043_mermaid_svg.py b/tests/test_issue_1043_mermaid_svg.py
new file mode 100644
index 000000000..31f1e3585
--- /dev/null
+++ b/tests/test_issue_1043_mermaid_svg.py
@@ -0,0 +1,229 @@
+"""
+Tests for issue #1043: Missing Mermaid Flowcharts
+
+Verifies that mermaid SVG diagrams are preserved ... | true | |
unclecode/crawl4ai | 1,922 | issue_to_patch | fix(deep-crawl): ContextVar crash in streaming deep crawl (#1917) | ## Summary
- **Fixes #1917**: `DeepCrawlDecorator` used `ContextVar.reset(token)` in the async generator's `finally` block. When Starlette's `StreamingResponse` consumes the generator in a different asyncio Task (different `Context`), `reset()` raises `ValueError: was created in a different Context`.
- **Fix**: Replace... | 7bfc547bceb3133f9e5f855dfa2f5a1d8fd9be81 | 3d4bda122a95aa945cc87e465365fc4c478c55a4 | diff --git a/crawl4ai/deep_crawling/base_strategy.py b/crawl4ai/deep_crawling/base_strategy.py
index e1b3fe6bd..55cd6e5b5 100644
--- a/crawl4ai/deep_crawling/base_strategy.py
+++ b/crawl4ai/deep_crawling/base_strategy.py
@@ -32,13 +32,13 @@ async def result_wrapper():
async for result in re... | [
"crawl4ai/deep_crawling/base_strategy.py",
"tests/deep_crawling/test_deep_crawl_contextvar.py"
] | [] | diff --git a/tests/deep_crawling/test_deep_crawl_contextvar.py b/tests/deep_crawling/test_deep_crawl_contextvar.py
new file mode 100644
index 000000000..4f1bfd436
--- /dev/null
+++ b/tests/deep_crawling/test_deep_crawl_contextvar.py
@@ -0,0 +1,340 @@
+"""
+Test Suite: Deep Crawl ContextVar Safety (Issue #1917)
+
+Tests... | true | |
unclecode/crawl4ai | 1,913 | issue_to_patch | fix(chunking): preserve sentence order in NlpSentenceChunking | ## Summary
- **Fixes #1909**: `NlpSentenceChunking.chunk()` used `list(set(sens))` which destroyed document sentence order and silently dropped duplicate sentences. Now returns `sens` directly.
- **Fixes broken import**: Removed redundant broken import (`from crawl4ai.le.legacy.model_loader import ...`) in `__init__()`... | 3d02d75edb97d896997b6b71f022c4314e0cdfde | c837c0d9cb16f9f718bf40e96d2537d893e29746 | diff --git a/crawl4ai/chunking_strategy.py b/crawl4ai/chunking_strategy.py
index f46cb667c..a0bfe1bf4 100644
--- a/crawl4ai/chunking_strategy.py
+++ b/crawl4ai/chunking_strategy.py
@@ -71,7 +71,6 @@ def __init__(self, **kwargs):
"""
Initialize the NlpSentenceChunking object.
"""
- from... | [
"crawl4ai/chunking_strategy.py"
] | [] | true | ||
unclecode/crawl4ai | 1,852 | issue_to_patch | feat: expose arun_many config-list support in Docker API (#1837) | ## Summary
- Implements #1837
- The Docker `/crawl` endpoint now accepts `crawler_configs` (list of config dicts) for per-URL configuration in `arun_many()` requests
- Fully backward compatible — `crawler_config` (singular) still works as before
## Changes
- `deploy/docker/schemas.py`: Added `crawler_configs: Optional... | c4389adddf330a4963203816d7f15465871cea7a | 8995c1bbd6a02f9883104208eb288a8f60a241e2 | diff --git a/deploy/docker/api.py b/deploy/docker/api.py
index 1ecc9e0b4..93c04b127 100644
--- a/deploy/docker/api.py
+++ b/deploy/docker/api.py
@@ -542,7 +542,8 @@ async def handle_crawl_request(
browser_config: dict,
crawler_config: dict,
config: dict,
- hooks_config: Optional[dict] = None
+ hook... | [
"deploy/docker/api.py",
"deploy/docker/schemas.py",
"deploy/docker/server.py",
"tests/test_issue_1837_config_list.py"
] | [] | diff --git a/tests/test_issue_1837_config_list.py b/tests/test_issue_1837_config_list.py
new file mode 100644
index 000000000..45150e589
--- /dev/null
+++ b/tests/test_issue_1837_config_list.py
@@ -0,0 +1,140 @@
+"""
+Tests for issue #1837: Docker API arun_many config-list support.
+
+Verifies that the /crawl endpoint ... | true | |
unclecode/crawl4ai | 1,885 | issue_to_patch | docs: update version references to 0.8.6 | ## Summary
- Updated README.md and deploy/docker/README.md to reference v0.8.6 (was still showing v0.8.5)
- Added v0.8.6 release note about the litellm supply chain hotfix
- Updated CLAUDE.md current version to 0.8.6
## Context
The v0.8.6 hotfix release replaced `litellm` with `unclecode-litellm` due to a PyPI supply ... | af648e104fd9b26788a7c9a717bcc518a9b83559 | bcbccbea2f7933070a21e1cc91a6d93215245a27 | diff --git a/README.md b/README.md
index db5fd9886..5c7c79b57 100644
--- a/README.md
+++ b/README.md
@@ -37,15 +37,15 @@ Limited slots._
Crawl4AI turns the web into clean, LLM ready Markdown for RAG, agents, and data pipelines. Fast, controllable, battle tested by a 50k+ star community.
-[✨ Check out latest update... | [
"README.md",
"crawl4ai/async_configs.py",
"deploy/docker/README.md",
"tests/test_markdown_generator_validation_1880.py"
] | [] | diff --git a/tests/test_markdown_generator_validation_1880.py b/tests/test_markdown_generator_validation_1880.py
new file mode 100644
index 000000000..124079a75
--- /dev/null
+++ b/tests/test_markdown_generator_validation_1880.py
@@ -0,0 +1,158 @@
+"""
+Tests for #1880: markdown_generator deserialization validation in ... | true | |
unclecode/crawl4ai | 1,882 | issue_to_patch | [Bug]: Docker API: 'dict' object has no attribute 'generate_markdown'
### crawl4ai version
0.8.6 (Docker)
### Expected Behavior
markdown_generator with BM25ContentFilter in /crawl crawler_config should produce fit_markdown with filtered content, as it did in v0.8.0
### Current Behavior
Error: 'dict' object has n... | fix: validate markdown_generator type to catch bad JSON format (#1880) | ## Summary
- Adds type validation for `markdown_generator` in `CrawlerRunConfig.__init__`, catching raw dicts that slip through deserialization
- When the Docker API receives `{"type": "DefaultMarkdownGenerator", "options": {...}}` (wrong key), `from_serializable_dict` silently passes the dict through, causing a confus... | af648e104fd9b26788a7c9a717bcc518a9b83559 | e9f832274e17398656ddd47d3895c2571bd063af | diff --git a/crawl4ai/async_configs.py b/crawl4ai/async_configs.py
index 44d3040b5..37b5480d9 100644
--- a/crawl4ai/async_configs.py
+++ b/crawl4ai/async_configs.py
@@ -1660,6 +1660,19 @@ def __init__(
raise ValueError(
"chunking_strategy must be an instance of ChunkingStrategy"
... | [
"crawl4ai/async_configs.py",
"tests/test_markdown_generator_validation_1880.py"
] | [] | diff --git a/tests/test_markdown_generator_validation_1880.py b/tests/test_markdown_generator_validation_1880.py
new file mode 100644
index 000000000..124079a75
--- /dev/null
+++ b/tests/test_markdown_generator_validation_1880.py
@@ -0,0 +1,158 @@
+"""
+Tests for #1880: markdown_generator deserialization validation in ... | true |
unclecode/crawl4ai | 1,463 | issue_to_patch | Add configurable device_scale_factor for improved screenshot quality | ## Context
While crawling startup websites and taking full-page screenshots, I encountered an issue where images within the screenshots (such as product dashboards) had poor quality that made them unusable for further processing. After investigating, I discovered that increasing the `device_scale_factor` from 1.0 to... | 3401dd1620123886b272546fb12efcdf72aa1879 | b54c200c7488cd7c39707fd5ba1f4b01e7519ebc | diff --git a/crawl4ai/async_configs.py b/crawl4ai/async_configs.py
index a43b50a4a..da163f90d 100644
--- a/crawl4ai/async_configs.py
+++ b/crawl4ai/async_configs.py
@@ -365,6 +365,13 @@ class BrowserConfig:
viewport_height (int): Default viewport height for pages. Default: 600.
viewport (dict): Defaul... | [
"crawl4ai/async_configs.py",
"crawl4ai/browser_manager.py",
"deploy/docker/c4ai-code-context.md"
] | [] | true | ||
unclecode/crawl4ai | 1,844 | issue_to_patch | fix: improve browser None guard in create_browser_context (#1842) | ## Summary
- Fixes #1842
- The existing guard in `create_browser_context()` assumed `self.browser=None` only meant persistent context mode, but the browser can also be None because it was closed by the janitor, crashed, or never started
- Now distinguishes between persistent context and closed/crashed browser with appr... | c4389adddf330a4963203816d7f15465871cea7a | 310b52b6630bd2ba543300932e9b6258ea8c5daa | diff --git a/crawl4ai/browser_manager.py b/crawl4ai/browser_manager.py
index 7ada68349..0b429c34d 100644
--- a/crawl4ai/browser_manager.py
+++ b/crawl4ai/browser_manager.py
@@ -1255,10 +1255,16 @@ async def create_browser_context(self, crawlerRunConfig: CrawlerRunConfig = None
Context: Browser context obje... | [
"crawl4ai/browser_manager.py",
"tests/test_issue_1842_browser_none.py"
] | [] | diff --git a/tests/test_issue_1842_browser_none.py b/tests/test_issue_1842_browser_none.py
new file mode 100644
index 000000000..2d351eec6
--- /dev/null
+++ b/tests/test_issue_1842_browser_none.py
@@ -0,0 +1,181 @@
+"""
+Tests for issue #1842: Docker Job Queue API Error: 'NoneType' object has no attribute 'new_context'... | true | |
unclecode/crawl4ai | 1,849 | issue_to_patch | fix: skip non-allowlisted types in serialization/deserialization (#1848) | ## Summary
- Fixes #1848
- `to_serializable_dict()` was serializing non-crawl4ai objects (like `logging.Logger`) as `{"type": "Logger", "params": {...}}`, which then failed deserialization because `Logger` is not in `ALLOWED_DESERIALIZE_TYPES`
- Two-sided fix: serialization skips non-allowlisted types, deserialization ... | c4389adddf330a4963203816d7f15465871cea7a | e603e4a722b6af8f7f273e038208ec5f64794841 | diff --git a/crawl4ai/async_configs.py b/crawl4ai/async_configs.py
index de07f10ce..44d3040b5 100644
--- a/crawl4ai/async_configs.py
+++ b/crawl4ai/async_configs.py
@@ -195,6 +195,12 @@ def to_serializable_dict(obj: Any, ignore_default_value : bool = False):
# Handle class instances
if hasattr(obj, "__class... | [
"crawl4ai/async_configs.py",
"tests/regression/test_reg_config.py",
"tests/test_issue_1848_logger_serialize.py"
] | [] | diff --git a/tests/regression/test_reg_config.py b/tests/regression/test_reg_config.py
index fda0e6e45..9e47b47e0 100644
--- a/tests/regression/test_reg_config.py
+++ b/tests/regression/test_reg_config.py
@@ -750,11 +750,11 @@ def test_dict_serialization(self):
assert result["type"] == "dict"
assert r... | true | |
unclecode/crawl4ai | 1,851 | issue_to_patch | fix: MCP SSE endpoint crash on Starlette >=0.50 (#1850) | ## Summary
- Fixes #1850
- Related to #1594 (same endpoint, different root cause)
- Starlette ≥0.50 wraps **all** async function endpoints in `request_response()`, which calls `handler(request)` instead of `handler(scope, receive, send)`. This breaks the MCP SSE handler which needs raw ASGI access.
- The previous fix (... | c4389adddf330a4963203816d7f15465871cea7a | 219416e49d43a8686ee3c7a6ca7e58bdc6bab584 | diff --git a/deploy/docker/mcp_bridge.py b/deploy/docker/mcp_bridge.py
index 1e7da8549..d81b29c3f 100644
--- a/deploy/docker/mcp_bridge.py
+++ b/deploy/docker/mcp_bridge.py
@@ -223,13 +223,16 @@ async def ws_to_srv():
# ── SSE transport (raw ASGI — avoids Starlette middleware conflict) ──
sse = SseServerTrans... | [
"deploy/docker/mcp_bridge.py",
"tests/test_issue_1850_mcp_sse.py"
] | [] | diff --git a/tests/test_issue_1850_mcp_sse.py b/tests/test_issue_1850_mcp_sse.py
new file mode 100644
index 000000000..2dd21f0c1
--- /dev/null
+++ b/tests/test_issue_1850_mcp_sse.py
@@ -0,0 +1,172 @@
+"""
+Tests for issue #1850: MCP SSE endpoint not working.
+
+Starlette's Route wraps async functions in request_respons... | true | |
unclecode/crawl4ai | 1,834 | issue_to_patch | fix: remove shared LOCK contention in monitor to prevent pod deadlock (#1754) | ## Summary
- Fixes #1754
- The monitor's `update_timeline()`, `get_health_summary()`, and `get_browser_list()` all acquired the crawler pool's global `LOCK` to read pool stats. That same lock is held during slow browser start/close operations (`get_crawler`, `janitor`, `close_all`), causing the monitor to block indefin... | 648f36b622345951eb87d9e3caeaf5269219c0ab | f6ab207e251a5b366ebe53b926ba3a2e7b82306b | diff --git a/deploy/docker/crawler_pool.py b/deploy/docker/crawler_pool.py
index c310588dc..516d9562a 100644
--- a/deploy/docker/crawler_pool.py
+++ b/deploy/docker/crawler_pool.py
@@ -22,6 +22,27 @@
BASE_IDLE_TTL = CONFIG.get("crawler", {}).get("pool", {}).get("idle_ttl_sec", 300)
DEFAULT_CONFIG_SIG = None # Cached... | [
"deploy/docker/crawler_pool.py",
"deploy/docker/monitor.py"
] | [] | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.