instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ArchiveBox__ArchiveBox__1362 | ArchiveBox/ArchiveBox | 1,362 | defect | 31d05d85263aba97da66e030c3695f2f30816129 | 1bc5c13df12c9b98972c0ba8cfecff6255e14253 | Use feedparser for RSS parsing | # Summary
The feedparser packages has 20 years of history and is very good at parsing RSS and Atom, so use that instead of ad-hoc regex and XML parsing.
The medium_rss and shaarli_rss parsers weren't touched because they are probably unnecessary and should be removed. (The special parse for pinboard is just neede... | diff --git a/archivebox/cli/archivebox_add.py b/archivebox/cli/archivebox_add.py
index ed05584c6ca..0d40d8b058b 100644
--- a/archivebox/cli/archivebox_add.py
+++ b/archivebox/cli/archivebox_add.py
@@ -89,7 +89,7 @@ def main(args: Optional[List[str]]=None, stdin: Optional[IO]=None, pwd: Optional
parser.add_argument... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new help text 'Parser used for input on stdin (not valid with URLs).' is inaccurate because --parser still applies to URLs passed as CLI args in some cases (e.g. --depth=0 with --parser=rss), so it would mislead users.", "category": "documentation", "verdict": "supported", "priority": "P1", ... | null |
ArchiveBox__ArchiveBox__1365 | ArchiveBox/ArchiveBox | 1,365 | defect | 31d05d85263aba97da66e030c3695f2f30816129 | 178e676e0f27704b1ead99c554f8a65426bc9ca8 | Fix generic_json parser | # Summary
This fixes the `generic_json` parser by not always assuming the JSON needs special handling and doing a more straightforward workaround when it might.
Also adds support for a tags field.
# Related issues
Fixes #1347.
# Changes these areas
- [X] Bugfixes
- [ ] Feature behavior
- [ ] Command... | diff --git a/archivebox/parsers/generic_json.py b/archivebox/parsers/generic_json.py
index daebb7c473..d8df70c3e1 100644
--- a/archivebox/parsers/generic_json.py
+++ b/archivebox/parsers/generic_json.py
@@ -18,9 +18,16 @@ def parse_generic_json_export(json_file: IO[str], **_kwargs) -> Iterable[Link]:
json_file.s... | 2 | 2 | 1 | [{"id": "G0", "claim": "Tag handling should not blindly replace spaces with commas, since tags may contain spaces; it should detect whether tags are a comma-separated string, a space-separated string, or an array.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"... | null |
ArchiveBox__ArchiveBox__1789 | ArchiveBox/ArchiveBox | 1,789 | defect | b68ff3ed29bc5e71a7974515d7e87b1140180124 | ec9c7c89f44c781f032443400ae2761b5423c3a9 | Remove slug field from Tag model | ## Summary
This PR removes the `slug` field from the Tag model and all related slug generation logic. Tags are now identified and referenced by their name instead of a generated slug, simplifying the data model and reducing complexity.
## Related issues
N/A
## Changes these areas
- [x] Internal architecture
- [x] ... | diff --git a/archivebox/api/v1_core.py b/archivebox/api/v1_core.py
index 8f4b4ae038..cc9a7aa9f3 100644
--- a/archivebox/api/v1_core.py
+++ b/archivebox/api/v1_core.py
@@ -2,6 +2,7 @@
import math
from collections import defaultdict
+from urllib.parse import quote
from uuid import UUID
from typing import Union, Any... | 2 | 2 | 1 | [{"id": "G0", "claim": "Using quote(tag.name, safe=\"\") for the Content-Disposition filename parameter produces percent-encoded filenames (e.g. tag-Alpha%20Research-urls.txt) that browsers do not reliably decode, so a filename-safe sanitizer or an RFC 5987 filename* parameter should be used instead.", "category": "cor... | null |
ArchiveBox__ArchiveBox__356 | ArchiveBox/ArchiveBox | 356 | defect | 1866da3f8acd5c729133de24c5739127837a95cc | c1d8a74e4f2673047e31b96aa303fbd300dccc50 | Depth flag | # Summary
This PR adds the `--depth` flag. The api changes a little with this.
Before: `page | archivebox add`
After: `archivebox add page`
Before: `archivebox add feed`
After `archivebox add feed --depth=1`
There is a slight difference in the second case. Now, the feed page is archived too, as opposed to... | diff --git a/archivebox/cli/archivebox_add.py b/archivebox/cli/archivebox_add.py
index 272fe5cf9a..c692750bf2 100644
--- a/archivebox/cli/archivebox_add.py
+++ b/archivebox/cli/archivebox_add.py
@@ -38,22 +38,50 @@ def main(args: Optional[List[str]]=None, stdin: Optional[IO]=None, pwd: Optional
type=str,
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The --depth argument's help string should read 'URL or path to local file to start the archiving process from. e.g.:' instead of 'URL or path to local file containing a page or list of links to import. e.g.:'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "int... | null |
ArchiveBox__ArchiveBox__378 | ArchiveBox/ArchiveBox | 378 | defect | 0965031d8f5c86e3e89352800f02e38a1a194133 | 949f78aa6549c2909fe8b0f19cf60aa57aff6e87 | fix: Use w3lib to improve the encoding extraction | # Summary
Detecting the right encoding is an issue not only for rss feeds (which had a previous fix) but in general. In this PR I generalize that fix, so the flow is:
- Headers
- Body
- Guess it (requests default behavior)
},
'SAVE_... | 6 | 6 | 3 | [{"id": "G0", "claim": "The SINGLEFILE_BINARY entry in the config dict should have its spacing aligned like the surrounding binary entries.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The comment in save_singlefile points to the Wget CLI docs... | null |
ArchiveBox__ArchiveBox__426 | ArchiveBox/ArchiveBox | 426 | defect | 87ba82ad39036847f79be24ec677af00db9176e2 | c955fefbc40bd4f44b36f9d7ed3c4e5b6d1cee02 | feat: Initial version of readability extractor | # Summary
Initial working version of the readability extractor, using https://github.com/cdvv7788/readability-extractor as wrapper (JSDOM, readability, dompurify).
This has a long way to go, but for now it is functional.
Questions:
- Currently, it accepts the html directly as an arg. When something fails, it wi... | diff --git a/archivebox/config/__init__.py b/archivebox/config/__init__.py
index f6e8e80d7b2..f45dbb4fbe5 100644
--- a/archivebox/config/__init__.py
+++ b/archivebox/config/__init__.py
@@ -75,6 +75,7 @@
'SAVE_WGET': {'type': bool, 'default': True, 'aliases': ('FETCH_WGET',)},
'SAVE_WGE... | 5 | 4 | 1 | [{"id": "G0", "claim": "The comment in save_readability cites the SingleFile CLI docs URL instead of the readability docs and should be fixed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "save_readability should check for an existing HTML downlo... | null |
ArchiveBox__ArchiveBox__452 | ArchiveBox/ArchiveBox | 452 | defect | 73fad928dfed0d7e2bde4633ca6d5ab1f579b4c8 | da277652b3aa93a237069484e046e8e3f5bae028 | Replace index.json with index.sql as the main index | # Summary
After this PR is ready, the json index will not be considered the main source of truth anymore. Instead, the index.sqlite3 will replace it in that role.
The index.json will still be around, but it will only be written at the end of the processes that run. If the archive is old (no index.sqlite3 is present... | diff --git a/archivebox/cli/archivebox_list.py b/archivebox/cli/archivebox_list.py
index 95c5cc4e7cf..504fd270521 100644
--- a/archivebox/cli/archivebox_list.py
+++ b/archivebox/cli/archivebox_list.py
@@ -23,7 +23,7 @@
get_corrupted_folders,
get_unrecognized_folders,
)
-from ..logging_util import SmartFormat... | 6 | 4 | 2 | [{"id": "G0", "claim": "Domain filtering cannot use a domain field because it is not in the database, so the URL-prefix workaround was added as a temporary measure that may need a better solution.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Sorting in l... | null |
ArchiveBox__ArchiveBox__475 | ArchiveBox/ArchiveBox | 475 | defect | 50f3f16203e0e7393b5bb78223fc3061942e034f | ab8456909f15bbc58999b0d81e81f952c78a7548 | Headers extractor | # Summary
This PR adds a headers extractor.
This get the headers and save them in a headers.json file.
It includes a new get_headers util function, the extractor code and its test.
# Changes these areas
- [ ] Bugfixes
- [X] Feature behavior
- [ ] Command line interface
- [ ] Configuration options
- [ ]... | diff --git a/archivebox/extractors/__init__.py b/archivebox/extractors/__init__.py
index d8f1c22915a..144ad481f59 100644
--- a/archivebox/extractors/__init__.py
+++ b/archivebox/extractors/__init__.py
@@ -33,6 +33,7 @@
from .git import should_save_git, save_git
from .media import should_save_media, save_media
from .... | 3 | 2 | 2 | [{"id": "G0", "claim": "The extractor fetches the headers via a requests-based get_headers while the cmd falls back to a curl command, and cdvv7788 asks pirate whether that is ok or whether curl should be used for that too.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id":... | null |
ArchiveBox__ArchiveBox__525 | ArchiveBox/ArchiveBox | 525 | defect | 4bdda4d753f5419e26f94f428534b94d4d1a8cd1 | 8f3c03a0f9f79a88842afcb73d41adb6004cfb2d | Move ArchiveResult from detail index.json history to database model | # Summary
When this PR is ready, archivebox will be able to:
- Save ArchiveResults to the database
- Load ArchiveResults from the filesystem if nothing is found in the database (to ease migration)
- Use ArchiveResults to answer questions about available extractors output per snapshot
# Related issues
https://... | diff --git a/archivebox/core/migrations/0007_archiveresult.py b/archivebox/core/migrations/0007_archiveresult.py
new file mode 100644
index 0000000000..56f4143e85
--- /dev/null
+++ b/archivebox/core/migrations/0007_archiveresult.py
@@ -0,0 +1,27 @@
+# Generated by Django 3.0.8 on 2020-11-03 14:52
+
+from django.db impo... | 8 | 8 | 2 | [{"id": "G0", "claim": "The new ArchiveResult model should also have an `extractor` CharField with a fixed set of choices.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "get_icons should probably also filter out archive results whose status is not 'succe... | null |
ArchiveBox__ArchiveBox__535 | ArchiveBox/ArchiveBox | 535 | defect | 4372cb6eecd32778830c8c531fb7873ac786c0b8 | db523c9d828598e0d768a451e4add32c58fdc58f | feat: Add extract flag to add command | # Summary
The add command now supports the extract flag: `archivebox add https://google.com --extract wget singlefile`
If there has been something configured using the environment, that will take precedence. We can change this behavior,
but all of the `should_use_*` methods will need to be changed.
# Related is... | diff --git a/archivebox/cli/archivebox_add.py b/archivebox/cli/archivebox_add.py
index 5c370fa590..8d2d2af2ca 100644
--- a/archivebox/cli/archivebox_add.py
+++ b/archivebox/cli/archivebox_add.py
@@ -62,10 +62,16 @@ def main(args: Optional[List[str]]=None, stdin: Optional[IO]=None, pwd: Optional
help="Re-archiv... | 2 | 2 | 0 | [{"id": "G0", "claim": "Instead of using nargs, --extract should take a single CSV-list argument so argument parsing is consistently 1 flag + 1 arg (--extract=wget,media,git or --extract wget,media,git).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
ArduPilot__ardupilot__31009 | ArduPilot/ardupilot | 31,009 | defect | 8e90fe12db78f600c7eba657c11ef28409438a00 | abea9326f4579e5f3e1f0060ccbefbda614dc5b4 | Fence margin direction | This provides a new function get_breach_direction_NED() which gives the direction of the closest fence matching the provided bitmask, akin to what get_breach_distance() does. | diff --git a/libraries/AC_Fence/AC_Fence.cpp b/libraries/AC_Fence/AC_Fence.cpp
index 69c5653191eeb1..2c40c38f77a561 100644
--- a/libraries/AC_Fence/AC_Fence.cpp
+++ b/libraries/AC_Fence/AC_Fence.cpp
@@ -679,7 +679,7 @@ bool AC_Fence::check_fence_polygon()
Location loc;
const bool have_location = AP::ahrs().ge... | 8 | 7 | 2 | [{"id": "G0", "claim": "In AC_Fence::check_fence_polygon the breach loader should be called with _polygon_nearest_point (which actually holds a point/nearest location) instead of _polygon_breach_direction, per the reviewer's suggestion block.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "i... | null |
ArduPilot__ardupilot__31971 | ArduPilot/ardupilot | 31,971 | defect | 666b4e0e329db22cfd0892b5a899f56376831c93 | ff356937272b8037946acf7bc15662c308e6f27d | add separate double and float implementations for wrap_PI and wrap_2PI | avoids double promotion when the argument is not double | diff --git a/libraries/AP_Follow/AP_Follow.cpp b/libraries/AP_Follow/AP_Follow.cpp
index 241b9847924888..9a03ba72e17469 100644
--- a/libraries/AP_Follow/AP_Follow.cpp
+++ b/libraries/AP_Follow/AP_Follow.cpp
@@ -289,7 +289,7 @@ void AP_Follow::update_estimates()
// update heading angle separately to maintain pr... | 1 | 1 | 1 | [{"id": "G0", "claim": "Gating the double wrap_2PI and wrap_PI<double> implementations with AP_MATH_ALLOW_DOUBLE_FUNCTIONS in AP_Math.cpp doesn't make sense because that define is per-cpp-file, not project-level.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Arize-ai__phoenix__11696 | Arize-ai/phoenix | 11,696 | defect | 96608d1ea2160927a5b2e88a0b4d1bb5674f77c3 | b66d75e32a62cd91f132fd985edc3fec34f54512 | feat(evals): Add utility to convert Phoenix prompts to evals templates |
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Low Risk**
> Additive utility plus docs/tests with no changes to existing evaluation execution paths; main risk is minor compatibility issues if prompt-version payload shapes differ from assumptions.
>
> **Overview**
> Adds `phoenix_prompt_to_prompt_template` to `phoenix.evals`... | diff --git a/packages/phoenix-evals/src/phoenix/evals/__init__.py b/packages/phoenix-evals/src/phoenix/evals/__init__.py
index 639336f81c3..ae0e633d78d 100644
--- a/packages/phoenix-evals/src/phoenix/evals/__init__.py
+++ b/packages/phoenix-evals/src/phoenix/evals/__init__.py
@@ -86,7 +86,7 @@
llm_generate,
r... | 2 | 2 | 2 | [{"id": "G0", "claim": "The isinstance(raw_messages, Sequence) validation incorrectly accepts strings, which then fail during iteration with a confusing error, unlike the codebase pattern that excludes str/bytes/bytearray.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"... | null |
Arize-ai__phoenix__11851 | Arize-ai/phoenix | 11,851 | defect | 8a9565da14cedf776a15daf202f4af418d5af48c | 05dc995d3475353db00f85063e13e4869a573fdc | feat(auth): add brute force login protection | ## Summary
- Adds user-level brute force login protection via an in-memory rate limiter that blocks login after 5 consecutive failed attempts (configurable) for a 5-minute sliding window
- Uses the same partition-based memory management pattern as the existing `ServerRateLimiter` — no database schema changes needed
- I... | diff --git a/src/phoenix/config.py b/src/phoenix/config.py
index 4caa6b629b9..cbf2e7223da 100644
--- a/src/phoenix/config.py
+++ b/src/phoenix/config.py
@@ -298,6 +298,10 @@
This can be helpful in setups where authentication is handled entirely through OAUTH2.
"""
ENV_PHOENIX_DISABLE_RATE_LIMIT = "PHOENIX_DISABLE_RA... | 1 | 1 | 1 | [{"id": "G0", "claim": "After the initial lockout window expires, `failed_count` is never reset, so a single subsequent `record_failure` call re-locks the user instead of allowing the intended full budget of failed attempts before lockout; either `check` or `record_failure` should reset `failed_count` once `blocked_unt... | null |
Arize-ai__phoenix__11856 | Arize-ai/phoenix | 11,856 | defect | 7feb04fe047670c5121ddd91824328cf521f81d9 | 113f76dd7b26cb3084b2885001745b623b459c6d | perf(db): use bulk inserts for dataset example creation | ## Summary
Anecdotally improves performance of dataset uploads for a 5MB dataset from around 17s to 3s (10,000 rows)
- Replace sequential single-row inserts with batched bulk inserts when adding examples to datasets
- Dramatically reduces database round trips for large dataset uploads
- Add `bulk_insert_dataset... | diff --git a/app/src/components/dataset/DatasetForm.tsx b/app/src/components/dataset/DatasetForm.tsx
index c4cdcb49f61..5e5c0b3f09a 100644
--- a/app/src/components/dataset/DatasetForm.tsx
+++ b/app/src/components/dataset/DatasetForm.tsx
@@ -1,3 +1,4 @@
+import { css } from "@emotion/react";
import { Controller, useFor... | 7 | 3 | 0 | [{"id": "G0", "claim": "The single-row helpers insert_dataset_example and insert_dataset_example_revision are no longer called anywhere now that their callers in add_dataset_examples use the bulk-insert functions, leaving them as dead code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco... | null |
Arize-ai__phoenix__12056 | Arize-ai/phoenix | 12,056 | defect | 68cdcfc14a81f0a540fb093f7aa88a07739ed777 | c762eb3a4662aa590fe175aaee686137d54808dc | feat: add PHOENIX_ALLOWED_PROVIDERS env var to filter model providers in UI | ## Summary
- Adds `PHOENIX_ALLOWED_PROVIDERS` environment variable to control which model providers are visible in the playground UI
- Accepts a comma-separated, case-insensitive list of provider names (e.g., `PHOENIX_ALLOWED_PROVIDERS=OPENAI,ANTHROPIC`)
- Set to `NONE` to hide all providers; leave unset to show all pr... | diff --git a/src/phoenix/config.py b/src/phoenix/config.py
index cbf2e7223da..ff17c4d13fa 100644
--- a/src/phoenix/config.py
+++ b/src/phoenix/config.py
@@ -297,6 +297,17 @@
Forbid login via password and disable the creation of local users, which log in via passwords.
This can be helpful in setups where authenticatio... | 3 | 3 | 1 | [{"id": "G0", "claim": "Validation of PHOENIX_ALLOWED_PROVIDERS should be moved into the verify_server_environment_variables helper in config.py and should error instead of warn.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "get_env_allowed_providers ca... | null |
Arize-ai__phoenix__12429 | Arize-ai/phoenix | 12,429 | defect | 6ae1f777031be0b094e1bc83ca18982c5c180dc6 | bc044f4f382bbac29591301706ed39a099bf3cbd | feat(server): REST endpoint for secrets management | ## Summary
Closes #11989
Adds `PUT /v1/secrets` — a batch upsert/delete endpoint for managing encrypted LLM provider credentials programmatically.
- **Admin-only**: guarded by `require_admin` + `is_not_locked` dependencies
- **Upsert**: `value: "<string>"` creates or updates the secret (Fernet-encrypted before DB wr... | diff --git a/.agents/skills/phoenix-rest-api/references/testing-patterns.md b/.agents/skills/phoenix-rest-api/references/testing-patterns.md
index b670d661ec6..961f15e0e9a 100644
--- a/.agents/skills/phoenix-rest-api/references/testing-patterns.md
+++ b/.agents/skills/phoenix-rest-api/references/testing-patterns.md
@@ ... | 3 | 3 | 0 | [{"id": "G0", "claim": "The secret key validator should be more strict from the start, e.g. rejecting punctuation and whitespace, not just non-ASCII.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The REST API secrets tests should live in tests/inte... | null |
Arize-ai__phoenix__12556 | Arize-ai/phoenix | 12,556 | defect | 1135a3d380ac929a8db0e93e691c5bb1a1c956c2 | 38b33588bf2fa8441c087cecca55c8dc19ac21a1 | feat(agent): backend MCP docs tool via Mintlify integration | ## Summary
Adds server-side tool execution to the PXI chat agent so the LLM can search and retrieve Phoenix documentation from the Mintlify MCP server — no frontend round-trips required.
- **Backend tool loop** — `stream_text()` now detects when the model calls a backend tool (`search_phoenix`, `get_page_phoenix`), e... | diff --git a/app/src/agent/chat/systemPrompt.ts b/app/src/agent/chat/systemPrompt.ts
index 8df0fee1a55..da959b6f7c4 100644
--- a/app/src/agent/chat/systemPrompt.ts
+++ b/app/src/agent/chat/systemPrompt.ts
@@ -1,4 +1,5 @@
import { BASH_TOOL_SYSTEM_PROMPT_LINES } from "@phoenix/agent/tools/bash/bashToolCapabilities";
+i... | 6 | 5 | 4 | [{"id": "G0", "claim": "When the model returns backend and frontend tool calls in the same turn, only the backend calls make it into the conversation history appended to messages, so the frontend tool calls are lost and the loop desynchronizes; the reviewer asks to detect mixed calls and break out of the loop instead o... | null |
Arize-ai__phoenix__12646 | Arize-ai/phoenix | 12,646 | defect | 48554c59898f1df30d04112da4a5294b7a476d48 | 5aa09ca10ecab50208b13a97f3cb14600fba1397 | test: partition integration test ports by xdist worker | ## Summary
- Replace `portpicker` + `diskcache` port allocation with a worker-partitioned scheme in `tests/integration/conftest.py`. Each xdist worker draws ports from a disjoint window inside `[20000, 32768)` — above common service ports and below Linux's default ephemeral range (32768-60999) — so the kernel can ne... | diff --git a/pyproject.toml b/pyproject.toml
index d601ea32257..1ab92210f5e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -93,7 +93,6 @@ dev = [
"boto3",
"debugpy",
"deepdiff==8.6.2",
- "diskcache",
"Faker>=30.1.0",
"freezegun",
"google-genai>=1.0.0",
@@ -121,7 +120,6 @@ dev = [
"opentelemet... | 1 | 1 | 0 | [{"id": "G0", "claim": "The _is_port_free probe binds its socket to '0.0.0.0', which binds to all network interfaces instead of loopback, unnecessarily exposing even a temporary unlistening test socket beyond the local host (CodeQL security alert).", "category": "security", "verdict": "supported", "priority": "P2", "sc... | null |
Arize-ai__phoenix__12679 | Arize-ai/phoenix | 12,679 | defect | bedfd11f943fe7a670a8319ef065582de5e05fc3 | dc715debc0a59f72837a825c19d1e0eb39f0ad91 | fix: make sync-models self-contained and add slack alerts | - Switch sync-models Makefile target to `uv run --with pydantic --no-project` so it works from a clean checkout without requiring a pre-existing .venv/. Previously the bare `uv pip install pydantic` failed in the cost-sync workflow because no venv had been created.
- Add a slack-notification job to cost-sync.yml that ... | diff --git a/.github/workflows/cost-sync.yml b/.github/workflows/cost-sync.yml
index 85965b8e685..08fbd9dbb8e 100644
--- a/.github/workflows/cost-sync.yml
+++ b/.github/workflows/cost-sync.yml
@@ -4,6 +4,9 @@ permissions:
contents: write
pull-requests: write
+env:
+ ACTIONS_RUN_URL: ${{ github.server_url }}/${... | 1 | 1 | 0 | [{"id": "G0", "claim": "The sync-models target should just `uv run` the script, and the `--no-project` flag is probably unnecessary.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Arize-ai__phoenix__12709 | Arize-ai/phoenix | 12,709 | defect | 3f05e80f0d2cd3cb9b02fcb882a2cba472ff3735 | 42b3622170064d21839d54fc9eb9af5c1f469c6e | fix(evals): replace hardcoded model capability lists with runtime fallback | ## Summary
- Removes stale `_supports_structured_output()` and `_supports_tool_calls()` methods from the OpenAI adapter that blocked reasoning models (o1, o3, o3-mini, o4-mini) from using `ClassificationEvaluator`
- Replaces with a runtime try/except fallback pattern: tries structured output first, falls back to tool... | diff --git a/packages/phoenix-evals/src/phoenix/evals/llm/adapters/openai/adapter.py b/packages/phoenix-evals/src/phoenix/evals/llm/adapters/openai/adapter.py
index 33a57681708..fc5525d6015 100644
--- a/packages/phoenix-evals/src/phoenix/evals/llm/adapters/openai/adapter.py
+++ b/packages/phoenix-evals/src/phoenix/eval... | 3 | 2 | 1 | [{"id": "G0", "claim": "The bare `except Exception` around the structured-output discovery attempt (sync at ~line 155 and the async mirror at ~line 206) converts recoverable rate-limit/transient errors into permanent row failures and can cache a downgrade to tool calling, so the catch should be narrowed to openai.BadRe... | null |
Arize-ai__phoenix__12740 | Arize-ai/phoenix | 12,740 | defect | 9f149c62e11c84deefb9438251f437fdeee0cf2a | ca133eac5ff677d7ce9242f1f0a1ba4ce5468309 | feat: Add PXI consent and trace-sharing controls | <img width="822" height="1198" alt="Screenshot 2026-04-17 at 4 15 13 PM" src="https://github.com/user-attachments/assets/23eaf855-57db-4c6e-b08c-5597bb6aaa72" />
## Summary
Adds per-user PXI consent and splits trace collection into two independent opt-ins: local persistence and remote sharing.
- First-use consent ga... | diff --git a/app/src/agent/chat/buildAgentChatRequestBody.ts b/app/src/agent/chat/buildAgentChatRequestBody.ts
index 55d61823080..89b8343bf95 100644
--- a/app/src/agent/chat/buildAgentChatRequestBody.ts
+++ b/app/src/agent/chat/buildAgentChatRequestBody.ts
@@ -6,6 +6,7 @@ import {
buildAgentCapabilitySystemPrompt,
... | 2 | 2 | 2 | [{"id": "G0", "claim": "The `export_remote_traces` field of `_VercelRequest` in data_stream_protocol.py should default to `False` (remote trace export opt-in) instead of `True`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `export_remote_traces` fi... | null |
Arize-ai__phoenix__12820 | Arize-ai/phoenix | 12,820 | defect | e2bc44c010b10697df563852ca10c35595679f9b | 51ec164e197c51c65800f2077f1ba7ddfd3d2eef | feat: aggregate span info on traces | ## Summary
- Add `errorCount`, `errorsByType`, and `spanCountsByKind` aggregate fields to the `Trace` GraphQL type for per-trace span rollups.
- Introduce three new dataloaders (`trace_error_count`, `trace_errors_by_type`, `trace_span_counts_by_kind`) to batch aggregate queries by trace rowid and avoid N+1 loads.
- ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index e6a4c5a9741..90d9d86d508 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@
* **app:** show root span name in session turn list ([#12795](https://github.com/Arize-ai/phoenix/issues/12795)) ([c31fd97](https://github.com/Arize-ai/phoenix/commit/c31fd9783fbfe2340ae... | 2 | 2 | 0 | [{"id": "G0", "claim": "The CHANGELOG.md edits in this pull request should be reverted because the file is generated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Drop the 'Sorted by count descending, then exception type ascending' promise fro... | null |
Arize-ai__phoenix__12897 | Arize-ai/phoenix | 12,897 | defect | f8da5190351d85613ff129d94866bc0ee7a9c30f | 8a76cbc8bc8231e6171f097b89ca300cd1e95b66 | fix(api): include dataset metadata in experiment CSV export | resolves #12896
Experiment CSV exports already include dataset inputs and reference outputs, but they were still dropping per-example dataset metadata. This patch carries the dataset example revision metadata into the CSV using the same `metadata_<key>` column shape as dataset CSV exports.
Validation:
- `uv run ruff ... | diff --git a/src/phoenix/server/api/routers/v1/experiments.py b/src/phoenix/server/api/routers/v1/experiments.py
index 4207a8f80e0..5dad2bf31c0 100644
--- a/src/phoenix/server/api/routers/v1/experiments.py
+++ b/src/phoenix/server/api/routers/v1/experiments.py
@@ -933,6 +933,7 @@ async def get_experiment_csv(
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Move the metadata entry after the output field and serialize it the same way as input and output (as one nested JSON-encoded value), since metadata is intended to be nested like input/output.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Arize-ai__phoenix__12923 | Arize-ai/phoenix | 12,923 | defect | 966e595b5af8b198edbd859e3abfe697f412184e | 73c45e14967a077772e4bce0f3bc541f508cf156 | feat(phoenix-client): add TS trace annotations + clarify note semantics + skills audit | This PR bundles three related changes that all touch the trace/span/session annotation surface:
## 1. New TS client feature — trace annotations (parity with Python)
Adds `addTraceAnnotation` and `logTraceAnnotations` to `@arizeai/phoenix-client/traces`, exposing the existing `/v1/trace_annotations` REST endpoint. Bri... | diff --git a/.agents/skills/phoenix-tracing/references/annotations-python.md b/.agents/skills/phoenix-tracing/references/annotations-python.md
index 73ce277bd52..73f2d02f85f 100644
--- a/.agents/skills/phoenix-tracing/references/annotations-python.md
+++ b/.agents/skills/phoenix-tracing/references/annotations-python.md... | 1 | 1 | 1 | [{"id": "G0", "claim": "The docs' Trace Annotations section (and the RAG Pipeline Example import) use `addTraceAnnotation`, which does not exist in `@arizeai/phoenix-client` — the traces subpath only exports `addTraceNote` and `getTraces` — so the import will fail at runtime; either remove the section until the functio... | null |
Arize-ai__phoenix__12938 | Arize-ai/phoenix | 12,938 | defect | d6a5f90486afdccab9260ed64c804343a3cff446 | 6ab053148251f23b0f76694677a2853adea151ee | feat: enhance filter condition filter | ## Summary
- Adds a single `set_spans_filter` PXI agent tool (server-advertised, client-executed) that drives both the freeform filter condition and the root-vs-all-spans toggle, replacing the previously separate `apply_span_filter_condition` and `set_root_spans_only` tools so the agent can change both pieces of the... | diff --git a/app/src/agent/context/agentContextTypes.ts b/app/src/agent/context/agentContextTypes.ts
index 7b1c277be3e..3c742806201 100644
--- a/app/src/agent/context/agentContextTypes.ts
+++ b/app/src/agent/context/agentContextTypes.ts
@@ -41,9 +41,17 @@
* `spanFilter` carries the project-scoped span filter expressi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The three callbacks in useRegisterSetSpansFilterClientAction should use useEffectEvent rather than being persisted to refs.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Arize-ai__phoenix__13022 | Arize-ai/phoenix | 13,022 | defect | 48156022c05f359cc62d6d370c8fe9be1501c5da | d2d06c31ebe7d654b08b5c09b159c93334578fff | feat(agents): agent set_time_range tool with hardened context injection | ERROR: type should be string, got "\r\n\r\nhttps://github.com/user-attachments/assets/6c6f0a1d-4aa1-403f-978b-b478e2d2ea7c\r\n\r\n\r\n\r\n## Summary\r\n\r\nAdds a `set_time_range` PXI tool that lets the agent change the Phoenix UI time range selector. The tool supports both preset windows (`15m`, `1h`, `12h`, `1d`, `7d`, `30d`) and custom start/end ranges via ISO 8601 timestamps.\r\n\r\n- Server-side tool definition with `AppContext` providing the browser's current date/time and timezone so the LLM can resolve relative phrases like \"today\" or \"last hour\"\r\n- Frontend tool registry entry with input parsing, capability gating, and dispatch to the mounted `TimeRangeContext` action\r\n- Client-supplied context fields are sanitized before injection into the `<phoenix_ui_context>` block (whitespace collapse, tag neutralization, length cap)\r\n- Browser clock formatted as proper ISO 8601 with UTC offset (e.g. `2026-05-05T10:30:00-07:00`) via `toLocalISOWithOffset` utility\r\n- PXI E2E smoke test for time-range tool calls with experiment persistence\r\n- Unit/vitest coverage for context sanitization and date formatting" | diff --git a/.agents/skills/phoenix-pxi-playwright/SKILL.md b/.agents/skills/phoenix-pxi-playwright/SKILL.md
index 37d6c6b3baa..986d41c61bf 100644
--- a/.agents/skills/phoenix-pxi-playwright/SKILL.md
+++ b/.agents/skills/phoenix-pxi-playwright/SKILL.md
@@ -17,6 +17,7 @@ Use this skill when authoring or maintaining Play... | 3 | 3 | 1 | [{"id": "G0", "claim": "When Intl.DateTimeFormat renders midnight as hour \"24\", normalizing the hour to \"00\" without advancing the calendar day leaves both the output date string and the wallAsUtc offset off by exactly 24 hours.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introd... | null |
Arize-ai__phoenix__13047 | Arize-ai/phoenix | 13,047 | defect | 800b75e183165c29a990b278790fe0cf526aad64 | b392f930b9872ba93bf1d8e6383064391aa0b9ec | feat(sandbox): bundle deno and wasmtime into Phoenix container | Resolves #13031
Resolves #13030
The shipped Phoenix container does not currently include the runtimes the local Deno and WASM sandbox providers depend on — `deno` is not on PATH, `wasmtime` is not in the `container` extra, and the CPython WASM binary is downloaded on first use to `~/.cache/phoenix/wasm/` (impossible i... | diff --git a/Dockerfile b/Dockerfile
index 59163225742..78e0c1bda1e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -55,6 +55,25 @@ RUN uv sync \
RUN uv build
RUN uv pip install dist/*.whl --no-deps
+# Pre-download the CPython WASM binary so the WASM sandbox provider works
+# inside the distroless final image without n... | 2 | 2 | 0 | [{"id": "G0", "claim": "The container extra should bundle all of the remote sandbox provider SDKs (e2b-code-interpreter, daytona-sdk, vercel, websockets, modal), not just wasmtime.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Bundle deno and wasmtime i... | null |
Arize-ai__phoenix__13099 | Arize-ai/phoenix | 13,099 | defect | 01146efaefd55a1b80be098324da0fc6675cd4ae | f97c0716c76a0e2117cf2c69c1e0469ef9ad4934 | feat: add trace user feedback annotations | ## Summary
- Add trace-level `user_feedback` annotations with `positive` / `negative` labels, fixed scores, per-user upsert/delete behavior, and a seeded categorical annotation config when absent.
- Add dedicated GraphQL mutations and REST endpoints for setting and deleting trace user feedback.
- Reserve `user_feedb... | diff --git a/app/schema.graphql b/app/schema.graphql
index 8b99f856bea..8ef86569359 100644
--- a/app/schema.graphql
+++ b/app/schema.graphql
@@ -1186,6 +1186,15 @@ input DeletePromptVersionTagInput {
promptVersionTagId: ID!
}
+input DeleteTraceUserFeedbackInput {
+ traceId: ID!
+}
+
+type DeleteTraceUserFeedback... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new guard that rejects trace annotations named 'user_feedback' is a breaking change to the public annotate-traces API and should be removed (the change was later scaled back to minimize the user feedback annotation changes).", "category": "design", "verdict": "supported", "priority": "P1", "... | null |
Arize-ai__phoenix__13104 | Arize-ai/phoenix | 13,104 | defect | 68e1ca294b5770022406a7ffcee25b2a940f549f | 992ff124d1ff8a1e1da7593aa42d78ee5695f1bf | fix(evaluators): preserve built-in evaluator on dataset evaluator delete | ## Summary
- Stop `deleteDatasetEvaluators` from deleting the underlying `Evaluator` row. Removing one dataset's link to a shared built-in was CASCADE-deleting the global `BuiltinEvaluator` plus every other dataset's link to it (#13090). The mutation now deletes only the `DatasetEvaluators` row; LLM/CODE evaluator def... | diff --git a/app/schema.graphql b/app/schema.graphql
index 8b99f856bea..28fd0cd1e77 100644
--- a/app/schema.graphql
+++ b/app/schema.graphql
@@ -1135,15 +1135,6 @@ type DeleteDatasetSplitsMutationPayload {
query: Query!
}
-input DeleteEvaluatorsInput {
- evaluatorIds: [ID!]!
-}
-
-type DeleteEvaluatorsPayload {
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The code comment at src/phoenix/server/api/mutations/evaluator_mutations.py line ~746 should spell out \"garbage collect\" instead of the \"GC\" abbreviation.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Arize-ai__phoenix__13107 | Arize-ai/phoenix | 13,107 | defect | b342096c9683eed785a95189a03fb6ffb2872dd1 | 7af91f06391e51603c92bd37945aa6c8275dc469 | feat(client): support ATIF v1.7 trajectory upload | ## Summary
Adds [ATIF v1.7](https://github.com/harbor-framework/harbor/blob/main/rfcs/0001-trajectory-format.md) support to the Phoenix client ATIF upload helper.
This updates validation, conversion, docs, and tests so Phoenix can upload ATIF v1.7 trajectories with embedded subagents, deterministic dispatch steps... | diff --git a/docs/phoenix/tracing/how-to-tracing/importing-and-exporting-traces/importing-atif-trajectories.mdx b/docs/phoenix/tracing/how-to-tracing/importing-and-exporting-traces/importing-atif-trajectories.mdx
index d355bd331ce..588c3c46c28 100644
--- a/docs/phoenix/tracing/how-to-tracing/importing-and-exporting-tra... | 2 | 2 | 2 | [{"id": "G0", "claim": "The validator accepts subagent_trajectory_ref entries with only trajectory_path while _subagent_ref_lookup_keys in _convert.py only resolves by trajectory_id (and session_id pre-v1.7), so such refs return an empty key list and the subagent silently becomes a disconnected root trace; the reviewer... | null |
Arize-ai__phoenix__13156 | Arize-ai/phoenix | 13,156 | defect | 2e0f55fbddef7e760c7ab2113d7f9d7c0e0a7894 | c095cb5efaa6b0f2272ea90fd8da62000768448c | feat(evaluators): trace sandbox code evaluators | Resolves #13108.
Sandbox-executed code evaluators previously emitted no traces: `CodeEvaluatorRunner.evaluate` accepted a `tracer: Tracer | None = None` parameter that was never used, and every returned `EvaluationResult` carried `trace_id=None`. This PR ships the receiver-side fix as a four-span tree (root EVALUATOR ... | diff --git a/src/phoenix/server/api/evaluators.py b/src/phoenix/server/api/evaluators.py
index bd6e02664e7..8c558e68d0f 100644
--- a/src/phoenix/server/api/evaluators.py
+++ b/src/phoenix/server/api/evaluators.py
@@ -3,10 +3,11 @@
import json
import logging
import re
+import traceback as _traceback
from abc import ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The evaluator spans should not capture the evaluator source code (code.value / code.mime_type) because storing it in telemetry feels wasteful.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Mutating the backend through the pr... | null |
Arize-ai__phoenix__13182 | Arize-ai/phoenix | 13,182 | defect | 0a400ae5af6a48ba1d4d82877876c6d803d0d9a9 | 614047413141134257bdb2c64ad2583efda76e1c | refactor(agents): move chat model selection from query params to request body | Closes #13183
## Summary
- Replace the `provider_type` / `provider` / `provider_id` / `model_name` / `openai_api_type` query params on the `/chat` and `/summary` agent endpoints with a single `model` field on the request body, typed as a discriminated `AgentModelSelection` union (`custom` vs `builtin`).
- Drop `src/ph... | diff --git a/app/src/agent/chat/__tests__/buildAgentChatRequestBody.test.ts b/app/src/agent/chat/__tests__/buildAgentChatRequestBody.test.ts
index 6ff8311b1e8..45f93256b7c 100644
--- a/app/src/agent/chat/__tests__/buildAgentChatRequestBody.test.ts
+++ b/app/src/agent/chat/__tests__/buildAgentChatRequestBody.test.ts
@@ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "After this refactor, chatApiUrl depends only on activeSessionId, so changing the model mid-session leaves the cached Chat's URL unchanged and the new model selection is silently ignored for the rest of the session.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
Arize-ai__phoenix__13185 | Arize-ai/phoenix | 13,185 | defect | 0a400ae5af6a48ba1d4d82877876c6d803d0d9a9 | 72736ae603efc7fd22ffe30965e4160d81ac0908 | feat(agents): backfill TOOL spans for external tool returns | ## Summary
- The agent wrapper now backfills synthetic TOOL spans for external tools (pydantic-ai's `ExternalToolset`) whose results arrive on trailing `ModelRequest`s as `ToolReturnPart`s — including the mixed case where a fresh `UserPromptPart` accompanies the returns. Args are recovered from the matching prior `Tool... | diff --git a/src/phoenix/server/agents/pydantic_ai/openinference_agent_wrapper.py b/src/phoenix/server/agents/pydantic_ai/openinference_agent_wrapper.py
index 9bef6036f14..55337adb6a4 100644
--- a/src/phoenix/server/agents/pydantic_ai/openinference_agent_wrapper.py
+++ b/src/phoenix/server/agents/pydantic_ai/openinfere... | 1 | 1 | 1 | [{"id": "G0", "claim": "The TOOL spans emitted for external tool returns should include the tool.parameters attribute (the tool's JSON schema), which the reviewer says can be matched up and grabbed from the request's tool definitions instead of being left absent.", "category": "correctness", "verdict": "supported", "pr... | null |
Arize-ai__phoenix__13187 | Arize-ai/phoenix | 13,187 | defect | 0a400ae5af6a48ba1d4d82877876c6d803d0d9a9 | 61a46390fd8d30d4b7e0632b03c45896e15a925d | feat(agents): populate project_sessions for /chat and /summary traces | ## Summary
- `Tracer.get_db_traces` (used by `/chat` and `/summary`) now attaches an in-memory `ProjectSession` to each `Trace` whenever its spans carry `SpanAttributes.SESSION_ID` (set via `using_session`).
- A new `_persist_db_traces_with_sessions` helper in `agents.py` upserts those `ProjectSession` rows with `inser... | diff --git a/.agents/skills/phoenix-server/SKILL.md b/.agents/skills/phoenix-server/SKILL.md
index a008ff4d557..cdf69b68db7 100644
--- a/.agents/skills/phoenix-server/SKILL.md
+++ b/.agents/skills/phoenix-server/SKILL.md
@@ -70,6 +70,16 @@ tests/unit/server/api/
unauthenticated by default — this has been exploited a... | 3 | 2 | 1 | [{"id": "G0", "claim": "The DO_UPDATE upsert in _upsert_project_sessions overwrites existing ProjectSession start_time/end_time instead of widening the stored time range on conflict.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The persistence hel... | null |
Arize-ai__phoenix__13220 | Arize-ai/phoenix | 13,220 | defect | f0a2f9e9d9c8be02db120e407447ba4a79e7ea2f | 30b07aba82c5db50a26b18a7afa5a6c3023ddff5 | feat: cap agent session retention | ## Summary
- add the `session.storeRecentSessions` experimental agent capability
- replace chat sessions by default and retain only the newest 3 when enabled
- hide the chat history control while recent-session retention is off and size the history popover to its contents
## Testing
- `make schema-openapi codegen-ts-a... | diff --git a/app/src/agent/extensions/capabilities.ts b/app/src/agent/extensions/capabilities.ts
index 776e7ead9fb..7021ff4efc7 100644
--- a/app/src/agent/extensions/capabilities.ts
+++ b/app/src/agent/extensions/capabilities.ts
@@ -30,6 +30,7 @@ export type AgentCapabilities = Record<AgentCapabilityKey, boolean>;
con... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test should set the simpler \"session.storeSessions\" capability key instead of \"session.storeRecentSessions\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In createSession, the retention logic should use plain if... | null |
Arize-ai__phoenix__13226 | Arize-ai/phoenix | 13,226 | defect | 35c8f3d3fe167474960f463d4a990b29f043deb7 | 5015dab55128ec914a910311cbf73a1f9faca58e | feat(agents): eval harness improvements | ## Summary
Four improvements to the PXI eval harness, no dataset content changes.
- **Split the args evaluator by tool.** `tool_call_args_match` is now strictly generic (exact value comparison, skips tools listed in `_TOOLS_WITH_SPECIALIZED_ARG_EVALUATORS`). A new `set_spans_filter_args_match` owns the Phoenix sp... | diff --git a/tests/pxi/evals/datasets.py b/tests/pxi/evals/datasets.py
index 7916caa8536..a8e9a01f128 100644
--- a/tests/pxi/evals/datasets.py
+++ b/tests/pxi/evals/datasets.py
@@ -14,6 +14,7 @@ class EvalDataset(BaseModel):
dataset_name: str
description: str | None = None
+ evaluators: list[str]
ex... | 3 | 3 | 1 | [{"id": "G0", "claim": "The experiment URL printed at the bottom of the summary output is wrong, while the link printed above it is correct, so the bottom one should be fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR should print a clea... | null |
Arize-ai__phoenix__13258 | Arize-ai/phoenix | 13,258 | defect | 8e3c16e55824e6add533bca437be2f1c9d783b74 | 33a3cd54b307643d62150e12600ad22f939a5585 | fix(sandbox): remove adapter-introduced noise from sandbox spans | ## Summary
Sandbox-executed code evaluators previously leaked adapter mechanics into trace UI attributes: escape-heavy JSON strings produced by a `repr()`-of-JSON layer in the Python harness, raw stdout (mixing user `print()` calls with the harness's result line) on the `Sandbox` span's output attribute, and ANSI esca... | diff --git a/src/phoenix/server/api/evaluators.py b/src/phoenix/server/api/evaluators.py
index f3af63578ed..cbfc05ac336 100644
--- a/src/phoenix/server/api/evaluators.py
+++ b/src/phoenix/server/api/evaluators.py
@@ -21,6 +21,7 @@
from sqlalchemy import select
from sqlalchemy.ext.asyncio import AsyncSession
from sql... | 6 | 5 | 0 | [{"id": "G0", "claim": "The comment above the Sandbox span metadata should be shortened because it contains lots of LLM reasoning.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The verbose comment above _ANSI_ESCAPE_RE and the invariant prose i... | null |
Arize-ai__phoenix__13364 | Arize-ai/phoenix | 13,364 | defect | b56c0d661ee2a1e989cba885cc28c15c1a2f8d3a | 789d8e6e15a0a23d77d687ad2564e811e80953d2 | fix(sandbox): cap concurrent Deno subprocesses to bound host resource use | ## Summary
`DenoSandboxBackend.execute()` spawns a `deno` child process **on the Phoenix server host**, consuming the server's own CPU and memory. Because `DenoAdapter.build_backend()` mints a fresh `DenoSandboxBackend` per call, nothing bounded how many Deno subprocesses could run at once. A large experiment fan-out ... | diff --git a/src/phoenix/server/sandbox/deno_backend.py b/src/phoenix/server/sandbox/deno_backend.py
index b48c5f059ff..5a94ff0ffbf 100644
--- a/src/phoenix/server/sandbox/deno_backend.py
+++ b/src/phoenix/server/sandbox/deno_backend.py
@@ -5,6 +5,11 @@
Executes code through the local ``deno`` CLI with a default-deny ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The subprocess variable should be named `process` instead of the abbreviated `proc` throughout execute(), including the `asyncio.create_subprocess_exec(...)` assignment and the `if proc is not None: proc.kill()` cleanup.", "category": "maintainability", "verdict": "supported", "priority": "P3", ... | null |
Arize-ai__phoenix__13370 | Arize-ai/phoenix | 13,370 | defect | 8c3007d35b6f37fb5f9cabf6eadf99060e5531f3 | 2e1d305371a8157ef06b81fe4737d0014cbb83cf | fix(sandbox): bound a WASM execution's host-memory footprint | ## Summary
A single WASM sandbox execution could exhaust the Phoenix host's RAM via two unbounded vectors:
1. **Guest linear memory** — nothing bounded the guest's WebAssembly linear memory, so it could `memory.grow` toward the wasm32 maximum (up to 4 GiB).
2. **Host-side output capture** — the WASI `stdout_custom` /... | diff --git a/src/phoenix/server/sandbox/wasm_backend.py b/src/phoenix/server/sandbox/wasm_backend.py
index bfc50568f7a..8db9cf7b434 100644
--- a/src/phoenix/server/sandbox/wasm_backend.py
+++ b/src/phoenix/server/sandbox/wasm_backend.py
@@ -5,7 +5,11 @@
``wasmtime`` runtime. Stateless — inherits BaseNoSessionBackend.
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The explanatory comments added above the new memory-cap constants are unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
ArroyoSystems__arroyo__312 | ArroyoSystems/arroyo | 312 | defect | a9f11e4f30c7ce3ad8b24619814deaa6bad21ab6 | 14308c5e688e30abfe6b2b07ba8e9b08cf1c1897 | implement UDAF support | Summary
This PR introduces User-Defined Aggregate Function (UDAF) support to the Arroyo stream processing system. Users can now write Rust UDAFs by defining rust functions with Vec arguments. This includes support for multiple-argument UDF, but does not currently support sorting, due to https://github.com/apache/arrow... | diff --git a/arroyo-sql-macro/src/lib.rs b/arroyo-sql-macro/src/lib.rs
index 4cf59afe1..e37457c2a 100644
--- a/arroyo-sql-macro/src/lib.rs
+++ b/arroyo-sql-macro/src/lib.rs
@@ -118,7 +118,11 @@ pub fn full_pipeline_codegen(input: TokenStream) -> TokenStream {
fn full_pipeline_codegen_internal(input: proc_macro2::Tok... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `info!` log lines added inside the UDF/UDAF argument-parsing loop are noisy and should be downgraded to debug or removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ArthurSonzogni__FTXUI__583 | ArthurSonzogni/FTXUI | 583 | defect | d301fab1f4ecdd3544ed99b9c98e647d5804c341 | dc871e0533f65558bd6906715a6d4b348e6b38b9 | Feature resizable spilt with custom separator | Create from: https://github.com/ArthurSonzogni/FTXUI/pull/581
This resolves:
https://github.com/ArthurSonzogni/FTXUI/issues/580 | diff --git a/cmake/ftxui_set_options.cmake b/cmake/ftxui_set_options.cmake
index d60898024e..78f6d54325 100644
--- a/cmake/ftxui_set_options.cmake
+++ b/cmake/ftxui_set_options.cmake
@@ -43,9 +43,9 @@ function(ftxui_set_options library)
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
)
- # C++17 is ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The ResizableSplit* example code in the documentation should be reverted to not use the extra separator parameter, leaving the public interface unpolluted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ArthurSonzogni__FTXUI__832 | ArthurSonzogni/FTXUI | 832 | defect | ce5ac6b12fccd4a451fceaf65ca95951ed4cf468 | 1a56b8f3f718ee55f8479ed7ef8cba44ed750d2d | Enable raw keyboard input | In order for applications to receive all keyboard inputs, including the Ctrl-C and Ctrl-Z, the raw input mode has been enabled.
As result the SIGINT will no longer be used, instead the keyboard Ctrl-C event is used for exiting the framework, but only if no components has made use of it. | diff --git a/.gitignore b/.gitignore
index 735ed65b7c..67373d6404 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,6 @@
# Ignore all the files, except the ones we expect.
# See https://jasonstitt.com/gitignore-whitelisting-patterns
*
-!*/
# Allowed top-level files:
!.clang-format
diff --git a/README.md b/READ... | 6 | 3 | 2 | [{"id": "G0", "claim": "The pull request stops handling SIGINT, and SIGINT handling is important to restore the terminal state after exiting FTXUI.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The raw terminal mode options should each be put on th... | null |
ArtifexSoftware__pdf2docx__253 | ArtifexSoftware/pdf2docx | 253 | defect | 4d7dab09349e94d3fcd611f8386b8a8d443a396c | cadacf5e5b9adf52107ce5448010a38ed6c979d9 | Adjustments for upstream upgrades | Some adjustments to handle the side effects of upgrading `PyMuPDF` from 1.23.8 to 1.23.14+, e.g.,
- behavior change of `fitz.Rect()` -> adjusted from `pdf2docx` side. #250
- behavior issue of `fitz.Pixmap()` -> downgrade `pymupdf` for now. https://github.com/pymupdf/PyMuPDF/issues/3058
And some other tweaks, e... | diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
deleted file mode 100644
index 0e73bd57..00000000
--- a/.github/workflows/doc.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-name: pdf2docx-doc
-
-on:
- push:
- branches:
- - master
-
-jobs:
- publish_doc:
- runs-on: ubuntu-latest
- steps:
- -... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docstring wording for `text_direction` in `vertically_align_with` and `horizontally_align_with` ('True by default, from left to right if False') is confusing, and the reviewer asks that everything after 'True by default' be deleted to avoid the confusion.", "category": "documentation", "verd... | null |
ArtifexSoftware__pdf2docx__365 | ArtifexSoftware/pdf2docx | 365 | defect | dabbd22875e5fedb1d6c3635cce1ffd16f6cf963 | f23caa037f4068664ecf180e250e8ef9f1b6f754 | added updates to fix issue #358 | https://github.com/ArtifexSoftware/pdf2docx/issues/358
While testing with the document from issue #358 using this code, I encountered an error. I’ve added some fixes to address it.
```
cv = Converter('err_table.pdf')
tables = cv.extract_tables()
cv.close()
``` | diff --git a/pdf2docx/table/Cell.py b/pdf2docx/table/Cell.py
index 1b7d421a..bd01ea87 100644
--- a/pdf2docx/table/Cell.py
+++ b/pdf2docx/table/Cell.py
@@ -19,6 +19,16 @@ def __init__(self, raw:dict=None):
self.border_width = raw.get('border_width', (0,0,0,0)) # type: tuple [float]
self.merged_cells = ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request has a failing test in CI that needs to be dealt with.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
AsahiLinux__m1n1__447 | AsahiLinux/m1n1 | 447 | defect | 66573afd74f0218efdcc03078a493b496a7ebecf | c45ce30d674129fe5138000a5dde41a25f09877c | Proxyclient asm toolchain refactor | Proxyclient toolchain is slightly broken with recent macOS/brew systems with llvm / lld packages.
In the process of fixing it I tried to untangle the logic but I quickly over-engineered the thing :
- kept existing interface for environment variables override and tool variable names
- tried to isolate platform/path... | diff --git a/proxyclient/m1n1/asm.py b/proxyclient/m1n1/asm.py
index 0092d9250..5a86bd3bd 100644
--- a/proxyclient/m1n1/asm.py
+++ b/proxyclient/m1n1/asm.py
@@ -1,61 +1,26 @@
# SPDX-License-Identifier: MIT
import os, tempfile, shutil, subprocess, re
from . import sysreg
+from .toolchain import Toolchain
__all__ =... | 2 | 1 | 0 | [{"id": "G0", "claim": "The generated compiler command strings in asm.py start with an odd leading space that should be removed.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new test workflow's macOS jobs might incur CI costs, as macOS runners can b... | null |
AstarNetwork__Astar__1056 | AstarNetwork/Astar | 1,056 | defect | 3a5d9fdfccf4704421213cf748945fec138f5d6a | e25aad9fd9ddaeadb69e122b7b7c6901660c82ea | XVM: default account mapping for Wasm contracts | **Pull Request Summary**
A quick fix for [the first part](https://github.com/AstarNetwork/Astar/issues/1033#issue-1914817309) of #1033. A default EVM address mapping would be added for the Wasm contract if:
- It's a payable call.
- There is no mapping yet.
**Check list**
- [ ] added or updated unit tests
- [ ... | diff --git a/Cargo.lock b/Cargo.lock
index 2f81d10f4..d04343ab1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7472,6 +7472,7 @@ dependencies = [
"num-traits",
"pallet-contracts",
"pallet-contracts-primitives",
+ "pallet-unified-accounts",
"parity-scale-codec",
"scale-info",
"sp-core",
diff --git a/chain-exte... | 5 | 2 | 2 | [{"id": "G0", "claim": "The weight consumed by the new claim-default-address logic should be accounted for in gas/weight consumption, with benchmarks or re-run weights considered.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `UA::to_h160` call... | null |
AstarNetwork__Astar__1120 | AstarNetwork/Astar | 1,120 | defect | 2fd4460e01df31e9acb2bab76ddee2f7bf8a8ba3 | bd01d5d62b5eb5629aa75d19191d0f27a79fd1ff | dApp Staking v3 - Legacy Ledger Support | **Pull Request Summary**
Adds _legacy wrapper_ into `dApp staking v3` to support two `dApps staking v2` calls:
* `unbond_and_unstake`
* `withdraw_from_unregistered`
This will allow users of the legacy Astar Native Ledger app to withdraw their funds after the v3 launch.
From the Ledger app:
```C
#define PD_... | diff --git a/pallets/dapp-staking-v3/src/lib.rs b/pallets/dapp-staking-v3/src/lib.rs
index 9af355b25c..1d6fbca5c9 100644
--- a/pallets/dapp-staking-v3/src/lib.rs
+++ b/pallets/dapp-staking-v3/src/lib.rs
@@ -561,6 +561,30 @@ pub mod pallet {
#[pallet::call]
impl<T: Config> Pallet<T> {
+ /// Wrapper ar... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add tests for the new unbond_and_unstake and withdraw_unbonded wrapper extrinsics, simple ones reused from the unlock/claim tests, to make sure they keep working as expected.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AstarNetwork__Astar__1123 | AstarNetwork/Astar | 1,123 | defect | 7be527015d3a73c3a5271c18b96896f2f5958cae | bafc0ad9aa8e9d3061d0ca848fc6b1b8e54cfce7 | dApp Staking v3 - Rewards As Tree | **Pull Request Summary**
Replaces the _sorted vector_ for rewards, with a `BTreeMap`.
This allows for efficient removal of entries from the tree, once reward has been claimed.
Error `DAppRewardAlreadyClaimed` has been removed.
Once dApp reward has been claimed for an era, further claim calls will result in
`No... | diff --git a/pallets/dapp-staking-v3/src/lib.rs b/pallets/dapp-staking-v3/src/lib.rs
index 9af355b25c..a9f9d0c08b 100644
--- a/pallets/dapp-staking-v3/src/lib.rs
+++ b/pallets/dapp-staking-v3/src/lib.rs
@@ -66,6 +66,8 @@ mod benchmarking;
mod types;
pub use types::*;
+pub mod migrations;
+
pub mod weights;
pub us... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc comment on `DappStakingV3TierRewardAsTree` should say it migrates the DApp tiers storage item to BTreeMap instead of saying it sets & configures init dApp staking v3 storage items.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AstarNetwork__Astar__1125 | AstarNetwork/Astar | 1,125 | defect | 1fa3c7bd9231ef9b69905bedee6fe8868f9de4c6 | 6b7c319bdef226dd358bcab02170323e85251c1b | Basic static price provider pallet | **Pull Request Summary**
Introduces a basic pallet to handle active native currency price setting.
This is used when calculating dApp tier slots & rewards.
The proper solution will be done in the future via oracle, but for now, a privileged
call for price setting is enabled.
| diff --git a/Cargo.lock b/Cargo.lock
index 7eb99fcf53..930482cc2f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -531,6 +531,7 @@ dependencies = [
"pallet-xc-asset-config",
"parity-scale-codec",
"scale-info",
+ "sp-arithmetic",
"sp-core",
"sp-io",
"sp-runtime",
@@ -6061,6 +6062,7 @@ dependencies = [
"pallet-... | 1 | 1 | 0 | [{"id": "G0", "claim": "The static price provider pallet should have a docstring describing what the pallet does.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
AstarNetwork__Astar__1215 | AstarNetwork/Astar | 1,215 | defect | 3003bce6d2b733252cdd1d95169b7cd7ef438df5 | eeea8b7a861cf6561cf3ad619e8bd8b7f527aa51 | Added assets chain extension and lockdrop precompile to Shiden | **Pull Request Summary**
Adds:
- assets chain extension
- lockdrop precompile
to Shiden runtime.
I keep the chain extension `id = 2` even if it's the first chain extension of Shiden. The reason is that this Id is used as function identifier and is hardcoded in ink! contract side.
Keeping the same `id` ac... | diff --git a/Cargo.lock b/Cargo.lock
index 548d1996a..6f1405446 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -14074,6 +14074,7 @@ dependencies = [
"pallet-aura",
"pallet-authorship",
"pallet-balances",
+ "pallet-chain-extension-assets",
"pallet-collator-selection",
"pallet-collective",
"pallet-contracts",
@@... | 4 | 3 | 1 | [{"id": "G0", "claim": "The recursive WhitelistedLockdropCalls::contains, which recurses into itself for Utility batch/batch_all calls, looks like unbounded recursion.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The wasm contract helper functions... | null |
AstarNetwork__Astar__1226 | AstarNetwork/Astar | 1,226 | defect | 8846dae72e702fce8419d755516ea435f4a86b79 | 688880e9bdc284f9ee9f57d27bbf83a9f29c550f | feat: v5.37.0 release prep | **Pull Request Summary**
- remove all previous migrations from only SHIDEN & SHIBUYA
- bump semver and spec version
Closes: #1225 (checklist)
| diff --git a/Cargo.lock b/Cargo.lock
index d3e973af31..bbf711f3ed 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -619,7 +619,7 @@ dependencies = [
[[package]]
name = "astar-collator"
-version = "5.36.0"
+version = "5.37.0"
dependencies = [
"astar-primitives",
"astar-runtime",
@@ -753,7 +753,7 @@ dependencies = [
... | 3 | 3 | 2 | [{"id": "G0", "claim": "The astar lockdrop precompile should be registered at AddressU64<20487> instead of 20485, so that all precompiles have the same address in every network.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The release should also ... | null |
AstarNetwork__Astar__1231 | AstarNetwork/Astar | 1,231 | defect | 19b60fa2b831d4b5c5a935ee29233c0727150d45 | 5fc20b1af40a02ad3dc04936144083aaa9372b4d | Oracle Solution Integration - Astar&Shiden | **Pull Request Summary**
Integrates dApp staking oracle solution into `Shiden` and `Astar` runtime.
Removes redundant `static-price-provider` from parachain runtimes.
| diff --git a/Cargo.lock b/Cargo.lock
index 70a42fd8df..c886fecc62 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -786,6 +786,8 @@ dependencies = [
"moonbeam-rpc-primitives-debug",
"moonbeam-rpc-primitives-txpool",
"num_enum 0.5.11",
+ "oracle-benchmarks",
+ "orml-oracle",
"orml-xcm-support",
"orml-xtokens",
"p... | 2 | 1 | 0 | [{"id": "G0", "claim": "The question asks why OracleIntegrationLogic needs to set the storage version of the membership pallet here.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "InitPrice should simply use the parameter_types! macro instead of a han... | null |
AstarNetwork__Astar__1248 | AstarNetwork/Astar | 1,248 | defect | 088f2c915a25709517a845908c36eec8a603261f | a6875ccadef6f118007d3e55a292d7a0d6157eee | introduce new field in struct and update genesis file used explicitly in DEV | **Pull Request Summary**
- Allow disabling safe guard in DEV
**Check list**
- [x] added or updated unit tests
- [x] updated Astar official documentation
- [ ] added OnRuntimeUpgrade hook for precompile revert code registration
- [ ] added benchmarks & weights for any modified runtime logics.
**To Reviewers... | diff --git a/bin/collator/src/local/chain_spec.rs b/bin/collator/src/local/chain_spec.rs
index bccedb1d2b..de8dcf904c 100644
--- a/bin/collator/src/local/chain_spec.rs
+++ b/bin/collator/src/local/chain_spec.rs
@@ -179,6 +179,7 @@ fn testnet_genesis(
TierThreshold::FixedTvlAmount { amount: 10 * AST },
... | 4 | 3 | 2 | [{"id": "G0", "claim": "Storing a disable_safeguard flag in the genesis config does not scale if the default value of Safeguard ever changes (e.g. Safeguard false by default with disable_safeguard set to false gives an ambiguous result), so perhaps the storage value should be set directly instead.", "category": "design... | null |
AstarNetwork__Astar__1252 | AstarNetwork/Astar | 1,252 | defect | 009303ae0306bc98c4b104415b78db4b86f8aa58 | cf8ffd442352b035b3de9775c325a73a40d4ee09 | Base native currency price for dApp Staking | ## Pull Request Summary
Fixes an issue with threshold calculation in dApp staking.
The issue happens because the formula for tier threshold update did not account for threshold value saturation.
As `ASTR` price increased, so did the number of available slots, and as a result, thresholds saturated at the minimum ... | diff --git a/pallets/dapp-staking-v3/src/benchmarking/utils.rs b/pallets/dapp-staking-v3/src/benchmarking/utils.rs
index 4a690ba9eb..a211234228 100644
--- a/pallets/dapp-staking-v3/src/benchmarking/utils.rs
+++ b/pallets/dapp-staking-v3/src/benchmarking/utils.rs
@@ -197,13 +197,14 @@ pub(super) fn init_tier_settings<T:... | 2 | 1 | 0 | [{"id": "G0", "claim": "The test should also assert the resulting number of slots itself (e.g. against an expected value), not only compare it with the base number of slots.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Shiden BaseNativeCurrencyPri... | null |
AstarNetwork__Astar__1276 | AstarNetwork/Astar | 1,276 | defect | b76b0a9566bd33ada4b327619c5c1b1e3ec5da49 | 84e7752bf54dc39d412fcb80bc6580abe34c203a | Fix account call for freeze/lock inconsistency | **Pull Request Summary**
Provide an approach to fix the account within an incosistent freeze state.
The approach is as simple as possible, reusing the `claim_unlocked` logic to clear unlocking chunks which are forcefully set to be immediately claimable.
| diff --git a/pallets/dapp-staking-v3/src/lib.rs b/pallets/dapp-staking-v3/src/lib.rs
index efd59cf16b..dcf9286a1e 100644
--- a/pallets/dapp-staking-v3/src/lib.rs
+++ b/pallets/dapp-staking-v3/src/lib.rs
@@ -928,31 +928,7 @@ pub mod pallet {
#[pallet::call_index(9)]
#[pallet::weight(T::WeightInfo::clai... | 1 | 1 | 0 | [{"id": "G0", "claim": "`internal_claim_unlocked` should take the account as a parameter instead of an origin, so `claim_unlocked` keeps its own signed checks and `fix_account` need not construct a `RawOrigin::Signed` just to re-dispatch.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intro... | null |
AstarNetwork__Astar__1302 | AstarNetwork/Astar | 1,302 | defect | 1e452e575dd47b892a28344c671ba111752d4796 | a9d65b7100c789facce825d1366b3df167d4ecae | Async backing client ready | Update client to support async backing and apply necessary changes to runtime without enabling async-backing | diff --git a/Cargo.lock b/Cargo.lock
index 98c3112147..04e1246f84 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -623,6 +623,7 @@ dependencies = [
"cumulus-client-consensus-relay-chain",
"cumulus-client-network",
"cumulus-client-service",
+ "cumulus-primitives-aura",
"cumulus-primitives-core",
"cumulus-primitive... | 4 | 1 | 1 | [{"id": "G0", "claim": "Consider moving the new backing constants under primitives (e.g. paired mods with the same const names, such as async-backing and sequential-backing) instead of defining them in each runtime's lib.rs.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": ... | null |
AstarNetwork__Astar__926 | AstarNetwork/Astar | 926 | defect | 3077c9698f61863572ce9a30d513ac12968333f7 | 333590aaa29009d610f6b7059c027c746f1ada31 | feat: add pallet proxy to astar | # Pull Request Summary
This PR adds pallet-proxy to Astar.
## Added Proxy Types
```
/// Allows all runtime calls for proxy account
Any,
/// Allows only NonTransfer runtime calls for proxy account
/// To know exact calls check InstanceFilter implementation for ProxyTypes
NonTransfer,
... | diff --git a/Cargo.lock b/Cargo.lock
index 234af0ebd1..e43c68c5e0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -500,6 +500,7 @@ dependencies = [
"pallet-identity",
"pallet-multisig",
"pallet-precompile-dapps-staking",
+ "pallet-proxy",
"pallet-session",
"pallet-sudo",
"pallet-timestamp",
diff --git a/runtime... | 2 | 2 | 1 | [{"id": "G0", "claim": "Extend the ProxyType enum with an additional type allowing only reward claiming (claim_staker) calls.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Update the runtime spec_version and the crate semver to reflect this change befor... | null |
AstrBotDevs__AstrBot__4110 | AstrBotDevs/AstrBot | 4,110 | defect | 5f531c9be570e28499ca094cdf09c28926644e66 | cc824266ca5b26cbd2bd24065eff3baeea3e3fb1 | perf(agent): add max step limit to prevent infinite tool call loops | ## Pull Request 描述
### 改动动机
本 PR 解决了一个致命性问题:当 Agent 调用工具超过次数之后,是直接失败而不是立刻汇报。
### 改动点
**核心改动:**
1. **`astrbot/core/agent/runners/tool_loop_agent_runner.py` (+19行)**
- 在 `step_until_done()` 方法中添加最大步数限制处理逻辑(第233-248行)
- 达到最大步数时自动禁用工具调用
- 注入系统提示,强制生成最终响应
- 防止无限工具调用循环,同时确保用户始终能收到回复
2. **`te... | diff --git a/astrbot/core/agent/runners/tool_loop_agent_runner.py b/astrbot/core/agent/runners/tool_loop_agent_runner.py
index 069de144f3c..dbbbe9ead81 100644
--- a/astrbot/core/agent/runners/tool_loop_agent_runner.py
+++ b/astrbot/core/agent/runners/tool_loop_agent_runner.py
@@ -230,6 +230,25 @@ async def step_until_d... | 4 | 1 | 1 | [{"id": "G0", "claim": "The normal-completion test's check for max-step messages filters role == \"system\" while the injected warning is a user message, so the assertion can never see the warning and passes even when the max-step logic fires, verifying nothing.", "category": "testing", "verdict": "supported", "priorit... | null |
AstrBotDevs__AstrBot__5109 | AstrBotDevs/AstrBot | 5,109 | defect | 0faf109c2ad7c875a06f184cd14bc1f3a8b25d91 | 263e078c10cca998bfe9ab887dc127c0d0b347db | feat: add fallback chat model chain in tool loop runner | ## Summary
- add fallback chat provider chain support in
- add config key
- wire fallback providers from main agent builder into runner
- add dashboard with ordered multi-select UI
- fallback requests now omit in payload for non-primary providers
## Validation
- ruff format/check passed
- ...... ... | diff --git a/astrbot/core/agent/runners/tool_loop_agent_runner.py b/astrbot/core/agent/runners/tool_loop_agent_runner.py
index d6aed6dfa3..8309e66743 100644
--- a/astrbot/core/agent/runners/tool_loop_agent_runner.py
+++ b/astrbot/core/agent/runners/tool_loop_agent_runner.py
@@ -91,6 +91,7 @@ async def reset(
c... | 5 | 1 | 0 | [{"id": "G0", "claim": "Exceptions raised after streaming output has started still trigger fallback, so the caller may receive partial output from provider A followed by a full response from provider B; the except path should use has_stream_output to stop or skip fallback once chunks were emitted.", "category": "correc... | null |
AstrBotDevs__AstrBot__5594 | AstrBotDevs/AstrBot | 5,594 | defect | d561046ba30658ef0f5fdc980330ee3dc917bd37 | fc2af1f615f76068d1955dc4e34a5aa1526fbc00 | fix: harden backup import for duplicate platform stats | Closes #5584
- 修复 replace 模式下主库清空失败仍继续导入的问题。
- 导入前对 platform_stats 重复键做聚合(count 累加),并统一时间戳判重格式。
- 非法 count 按 0 处理并告警(限流),补充对应测试。
<!--Please describe the motivation for this change: What problem does it solve? (e.g., Fixes XX issue, adds YY feature)-->
<!--请描述此项更改的动机:它解决了什么问题?(例如:修复了 XX issue,添加了 YY 功能)-->
#... | diff --git a/astrbot/core/backup/importer.py b/astrbot/core/backup/importer.py
index 2e67f85e5c..6102dbf92a 100644
--- a/astrbot/core/backup/importer.py
+++ b/astrbot/core/backup/importer.py
@@ -12,7 +12,7 @@
import shutil
import zipfile
from dataclasses import dataclass, field
-from datetime import datetime
+from d... | 15 | 13 | 5 | [{"id": "G0", "claim": "The existing-count and incoming-count parsing blocks in `_merge_platform_stats_rows` are almost identical; extract the parsing-plus-warning logic into a helper (e.g. `_parse_count`) to follow DRY.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ... | null |
AstrBotDevs__AstrBot__5737 | AstrBotDevs/AstrBot | 5,737 | defect | bbc8c62d433131edfb8ebbae0df904a730e56b32 | f365501a9620e642d9ea5939063ad2bcbea7fe58 | feat: optimize async io performance and benchmark coverage | ## Summary
This PR targets performance regressions introduced during the ASYNC230/ASYNC240 cleanup and expands benchmark coverage so we can track async I/O costs continuously.
The main goal is to reduce unnecessary thread-pool context switches in hot async paths while preserving non-blocking behavior and lint complia... | diff --git a/astrbot/core/backup/exporter.py b/astrbot/core/backup/exporter.py
index d65ac7a843..81f4a8a385 100644
--- a/astrbot/core/backup/exporter.py
+++ b/astrbot/core/backup/exporter.py
@@ -161,10 +161,10 @@ async def export_all(
# 3. 导出配置文件
if progress_callback:
... | 16 | 12 | 6 | [{"id": "G0", "claim": "When content-length is missing or zero the download progress percentage can exceed 100% because progress_total falls back to max(total_size, 1); suppress the percentage for unknown lengths and show only downloaded size and speed.", "category": "correctness", "verdict": "supported", "priority": "... | null |
AstrBotDevs__AstrBot__5743 | AstrBotDevs/AstrBot | 5,743 | defect | 78fa58714c0b2d0b99ba44c85e9e72a32bebc065 | be441cb7076e97379104a808ad2c49002c57711e | [codex] fix mcp init timeout keyword mismatch | ## Summary
This PR fixes an MCP initialization regression where `init_mcp_clients` passed the wrong keyword argument to `_start_mcp_server`.
## User Impact
When MCP servers are initialized from `mcp_server.json`, startup could fail with a runtime `TypeError` (`unexpected keyword argument 'timeout'`). In that case MCP ... | diff --git a/astrbot/core/provider/func_tool_manager.py b/astrbot/core/provider/func_tool_manager.py
index 22e9a0766c..b7cd7ea025 100644
--- a/astrbot/core/provider/func_tool_manager.py
+++ b/astrbot/core/provider/func_tool_manager.py
@@ -413,7 +413,7 @@ async def init_mcp_clients(
name=name,
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a test that exercises a non-default `init_timeout` value (e.g. `await manager.init_mcp_clients(init_timeout=3.5)`) and asserts that `called[\"demo\"][\"timeout_seconds\"]` equals that value, so forwarding when callers override the timeout is covered.", "category": "testing", "verdict": "supp... | null |
AstrBotDevs__AstrBot__5774 | AstrBotDevs/AstrBot | 5,774 | defect | af581e7f213c7dccff5ca133083fdf4be317dcc9 | e64038e6a36922648765d0e70f9e82c73fc217b9 | fix: 修复 asyncio 事件循环相关问题 | Fixes #5464
Fixes https://github.com/AstrBotDevs/AstrBot/issues/4559
### Modifications / 改动点
修复 `asyncio.get_event_loop()` 弃用警告和相关问题:
- 将 `get_event_loop()` 迁移到 `get_running_loop()`,消除 Python 3.10+ 弃用警告
- 修复 `components.py` 中文件下载逻辑,使用 `asyncio.run()` 安全地创建和关闭事件循环
- 修复 `session_lock.py` 跨事件循环 Lock 绑定问题,使用 `W... | diff --git a/astrbot/core/agent/runners/dashscope/dashscope_agent_runner.py b/astrbot/core/agent/runners/dashscope/dashscope_agent_runner.py
index 1aaf6e3b9c..8169a678c3 100644
--- a/astrbot/core/agent/runners/dashscope/dashscope_agent_runner.py
+++ b/astrbot/core/agent/runners/dashscope/dashscope_agent_runner.py
@@ -3... | 12 | 10 | 6 | [{"id": "G0", "claim": "The `file` property in components.py creates and globally installs a new event loop via asyncio.set_event_loop() and never restores the previous one, which can interfere with other asyncio usage in the thread.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
AstrBotDevs__AstrBot__5850 | AstrBotDevs/AstrBot | 5,850 | defect | 7ac169c5e81cee0acc1416d22d7ee4464a507a8d | f736adf54cc844bfa3bc711e437693dd73cfdc89 | fix(core): interrupt subagent tool waits on stop | Fixes #5668
## Summary
- make pending tool execution waits stop-aware so `/stop` can interrupt subagent handoff/tool waits
- preserve partial assistant output when interruption happens during tool execution
- centralize runner stop state on the shared `abort_signal` and pass it through consistently
- add regression te... | diff --git a/astrbot/core/agent/runners/tool_loop_agent_runner.py b/astrbot/core/agent/runners/tool_loop_agent_runner.py
index 743b280070..61efc7307d 100644
--- a/astrbot/core/agent/runners/tool_loop_agent_runner.py
+++ b/astrbot/core/agent/runners/tool_loop_agent_runner.py
@@ -4,6 +4,7 @@
import time
import tracebac... | 4 | 4 | 0 | [{"id": "G0", "claim": "Replace the polling-based `_iter_tool_executor_results`/`_cancel_tool_iteration` pair with a single helper that races `anext(executor)` directly against the abort signal, removing the poll interval and the `tool_executor_poll_interval` knob.", "category": "design", "verdict": "supported", "prior... | null |
AstrBotDevs__AstrBot__5923 | AstrBotDevs/AstrBot | 5,923 | defect | 5dd30f9a45f3c52ae27551d33fe578c5d5ccd81d | 4c37e43b1544cd32d7251cf6f476ddc4b1b4295b | feat(extension): add filtering and sorting for installed plugins in WebUI | <!--Please describe the motivation for this change: What problem does it solve? (e.g., Fixes XX issue, adds YY feature)-->
Closes #5896.
This PR improves the plugin management experience in the WebUI when many plugins are installed. It adds basic filtering and sorting capabilities so users can more easily find en... | diff --git a/astrbot/dashboard/routes/plugin.py b/astrbot/dashboard/routes/plugin.py
index bb7769926a..d151bbe6f6 100644
--- a/astrbot/dashboard/routes/plugin.py
+++ b/astrbot/dashboard/routes/plugin.py
@@ -5,7 +5,8 @@
import ssl
import traceback
from dataclasses import dataclass
-from datetime import datetime
+from... | 8 | 6 | 0 | [{"id": "G0", "claim": "Harden the installed-plugin name/author comparators against missing values by passing defaults such as normalizeStr(left?.name ?? \"\") before calling normalizeStr, to avoid possible runtime errors when left/right or their name/author fields are missing.", "category": "correctness", "verdict": "... | null |
AstrBotDevs__AstrBot__5925 | AstrBotDevs/AstrBot | 5,925 | defect | 5dd30f9a45f3c52ae27551d33fe578c5d5ccd81d | 2b1e816c6eb35592d6b832e7f84555540c76ae44 | fix: prevent accidental removal of MCP external tools due to name collisions with disabled built-in tools | <!--此 PR 修复了 MCP 外接工具与内置工具重名时,因清洗规则导致工具彻底失效的问题。-->
**Fixes #5821**
### Modifications / 改动点
**问题根因**:
当 MCP 外接工具(如 web_search)与内置工具重名时,如果内置工具被禁用(active=False),`get_full_tool_set()` 会将所有同名工具都加入 ToolSet,随后 `remove_tool()` 会把所有同名工具全部移除,导致 MCP 工具也被"连坐"清除。
**修复内容**:
1. **`func_tool_manager.py` - `get_func` 方法**
- 优先返... | diff --git a/astrbot/core/agent/tool.py b/astrbot/core/agent/tool.py
index c2536708e6..d8089cf3e2 100644
--- a/astrbot/core/agent/tool.py
+++ b/astrbot/core/agent/tool.py
@@ -89,11 +89,17 @@ def empty(self) -> bool:
return len(self.tools) == 0
def add_tool(self, tool: FunctionTool) -> None:
- """... | 7 | 6 | 3 | [{"id": "G0", "claim": "get_func returns the first active same-name tool while get_full_tool_set/ToolSet.add_tool prefer the last active one, so the tool shown to the LLM may differ from the one executed (tool hijacking); get_func should use the same last-active-wins logic.", "category": "correctness", "verdict": "supp... | null |
AstrBotDevs__AstrBot__6077 | AstrBotDevs/AstrBot | 6,077 | defect | e254caf82d69ff48f14651b0816b2e835f8801f6 | 1a2cc0476dd9a65f031a55ffac1ad2870331de65 | fix: normalize invalid MCP required flags in MCP schemas | ## Summary
- normalize non-standard MCP property-level `required: true/false` flags into the parent object's `required` array before validating tool schemas
- keep validation strict for real schema errors instead of disabling it entirely
- add focused regression coverage for top-level and nested MCP input schemas
## T... | diff --git a/astrbot/core/agent/mcp_client.py b/astrbot/core/agent/mcp_client.py
index a8ff0fdb90..e514410a2b 100644
--- a/astrbot/core/agent/mcp_client.py
+++ b/astrbot/core/agent/mcp_client.py
@@ -1,8 +1,9 @@
import asyncio
+import copy
import logging
from contextlib import AsyncExitStack
from datetime import tim... | 4 | 3 | 1 | [{"id": "G0", "claim": "The `seen: set[str] = set()` / `if not (name in seen or seen.add(name))` de-duplication idiom for `required_list` is hard to read and should be replaced with a clearer order-preserving approach such as `list(dict.fromkeys(required_list))`.", "category": "maintainability", "verdict": "supported",... | null |
AstrBotDevs__AstrBot__6160 | AstrBotDevs/AstrBot | 6,160 | defect | 3914d766db5d8bb873e744b57d3750a8598dda8c | 27472bed76bd012de125dfca3fc14d1d48464e28 | feat: add conversation batch deletion for webchat | <!--Please describe the motivation for this change: What problem does it solve? (e.g., Fixes XX issue, adds YY feature)-->
<!--请描述此项更改的动机:它解决了什么问题?(例如:修复了 XX issue,添加了 YY 功能)-->
issue #6142
为webchat添加批量删除对话功能。
### Modifications / 改动点
删除处理与前端实现:
astrbot/dashboard/routes/chat.py
dashboard/src/components/chat/Ch... | diff --git a/astrbot/dashboard/routes/chat.py b/astrbot/dashboard/routes/chat.py
index a914f3cbf0..682a78d719 100644
--- a/astrbot/dashboard/routes/chat.py
+++ b/astrbot/dashboard/routes/chat.py
@@ -51,6 +51,7 @@ def __init__(
"/chat/get_session": ("GET", self.get_session),
"/chat/stop": ("POS... | 4 | 2 | 1 | [{"id": "G0", "claim": "Using str(e) as the failure reason returned to the client in batch_delete_sessions exposes internal details; errors should be mapped to a small set of generic client-safe reasons (e.g. internal_error) and the full exception logged only on the server.", "category": "security", "verdict": "support... | null |
AstrBotDevs__AstrBot__6442 | AstrBotDevs/AstrBot | 6,442 | defect | 7733ccc54aa5de525b5da9700c944cf06af70ac5 | f7f70c528e76675ad2311bd026f20038bd3fb542 | feat(web-search): add provider routing aliases and explicit-engine selection while preserving default engine behavior | • ### Motivation / 动机
当前 `websearch_provider` 的配置值与工具路由/引擎选择逻辑存在不一致,导致:
1. `duckduckgo/ddg` 等配置在不同路径下行为不稳定;
2. provider alias 兼容不足,迁移配置时易出现“配置看似生效但实际路由偏差”;
3. Dashboard 可选项与实际支持的 provider 不完全对齐。
本 PR 解决上述问题,同时严格保证兼容性:
- **不改变 dev 分支原有 default 搜索主链路行为**(仍保持 `bing -> sogo` 为前两级);
- 将 DDG 作为兼容增强的次... | diff --git a/astrbot/builtin_stars/web_searcher/engines/__init__.py b/astrbot/builtin_stars/web_searcher/engines/__init__.py
index 55d2abffd7..16a4761fad 100644
--- a/astrbot/builtin_stars/web_searcher/engines/__init__.py
+++ b/astrbot/builtin_stars/web_searcher/engines/__init__.py
@@ -95,6 +95,7 @@ async def search(se... | 10 | 10 | 3 | [{"id": "G0", "claim": "Calling _set_selector(\"text\") unconditionally in the shared SearchEngine.search can break engines that do not implement a text selector (KeyError), so it needs a try/except or a base-class default.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {... | null |
AstrBotDevs__AstrBot__6460 | AstrBotDevs/AstrBot | 6,460 | defect | 96cafe001dae17a40809bfd8b7700df88d1def67 | 6e12ed57d881128e9fbbd40afbc3ba712da61764 | fix: parse multiline frontmatter description in SKILL.md | 修复 #6451
## 问题说明
当前 `SkillManager` 在解析 `SKILL.md` 的 YAML Frontmatter 时,`description` 字段使用了简单的字符串分割逻辑。
因此当 `description` 使用 YAML 多行语法时,例如:
- `description: |`
- `description: >`
系统只能提取到起始符号本身,最终技能描述会显示为 `|` 或 `>`,导致注入到 System Prompt 中的技能说明失真,影响模型判断技能触发时机。
## 根因
问题出在两处描述解析逻辑都没有真正按 YAML 解析:
- `astrbot/core... | diff --git a/astrbot/core/computer/computer_client.py b/astrbot/core/computer/computer_client.py
index 6e80ac3ab7..b63da1be9d 100644
--- a/astrbot/core/computer/computer_client.py
+++ b/astrbot/core/computer/computer_client.py
@@ -213,13 +213,21 @@ def parse_description(text: str) -> str:
break
if end... | 3 | 1 | 0 | [{"id": "G0", "claim": "Catching bare `Exception` in `computer_client.parse_description` can mask unrelated runtime errors (e.g. ImportError, AttributeError) as a silent empty description and differs from `skill_manager`'s `yaml.YAMLError`; the handling should be split into a separate `ImportError` guard for the option... | null |
AstrBotDevs__AstrBot__6559 | AstrBotDevs/AstrBot | 6,559 | defect | 412e2e07cc263a2519a384d5031d2c0a87a9c49a | a8fc22ceaf065ad5d5bc472d05cf0761c7671df3 | feat: add Kimi Coding Plan provider with Anthropic API compatibility | <!--Please describe the motivation for this change: What problem does it solve? (e.g., Fixes XX issue, adds YY feature)-->
<!--请描述此项更改的动机:它解决了什么问题?(例如:修复了 XX issue,添加了 YY 功能)-->
### Motivation
Existing Moonshot chat provider (with OpenAI API) does not support Kimi Coding Plan, which only accepts Anthropic Message ... | diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py
index 5b4ea7686a..66c95d46d5 100644
--- a/astrbot/core/config/default.py
+++ b/astrbot/core/config/default.py
@@ -1112,6 +1112,20 @@ class ChatProviderTemplate(TypedDict):
"api_base": "https://api.anthropic.com/v1",
... | 4 | 4 | 1 | [{"id": "G0", "claim": "The custom_headers handling block in ProviderKimiCode.__init__ duplicates the string-conversion normalization that the parent class ProviderAnthropic already performs in _normalize_custom_headers, and should be refactored to remove the redundant logic.", "category": "maintainability", "verdict":... | null |
AstrBotDevs__AstrBot__6643 | AstrBotDevs/AstrBot | 6,643 | defect | 7008a461589ebc2a313f96b4109775473ae0fa42 | d519daf9b4647c76a061b436317340c260437bbb | feat: add xiaomi MiMo TTS & STT providers | 为 AstrBot 增加 MiMo STT / TTS 提供商支持,并补充 Dashboard 中 MiMo 配置项的展示文案。
本 PR 对齐以下 issue 的需求:
- Resolves #6592
- Resolves #6594
本次改动同时支持:
- 使用 `mimo-v2-omni` 作为语音转文字(STT)提供商
- 使用 `mimo-v2-tts` 作为文字转语音(TTS)提供商
同时补充了 Dashboard 中新增 MiMo 配置项的说明文案,提升配置可读性。
### Modifications / 改动点
- 在 `astrbot/core/config/default.... | diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py
index 58c1726814..afba850193 100644
--- a/astrbot/core/config/default.py
+++ b/astrbot/core/config/default.py
@@ -1461,6 +1461,23 @@ class ChatProviderTemplate(TypedDict):
"timeout": "20",
"pro... | 6 | 4 | 1 | [{"id": "G0", "claim": "Indexing into `choices[0]` can raise an uncaught IndexError when the MiMo API returns an empty `choices` list, before the `if not audio_data` guard runs; handle the empty-list case explicitly as suggested.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
AstrBotDevs__AstrBot__6713 | AstrBotDevs/AstrBot | 6,713 | defect | d2e0bc778ab151b4ba6fb78eae23ca1e2997834c | 9f82a5ed16bf78506215eb7044a6b1c39aeeed11 | fix(agent): pass tool_call_timeout to subagent handsoff, cron and background task execution, and increase default timeout from 60 to 120 | ## Summary
Fixes #6711 - SubAgent MCP tool call timeout now respects the configured `tool_call_timeout` from provider settings.
## Changes
- Add `tool_call_timeout` parameter to `_execute_handoff` method in `astrbot/core/astr_agent_tool_exec.py`
- Pass `run_context.tool_call_timeout` to `ctx.tool_loop_agent` call
- ... | diff --git a/astrbot/core/astr_agent_tool_exec.py b/astrbot/core/astr_agent_tool_exec.py
index 0dc8b9eeb7..9ec62bc35e 100644
--- a/astrbot/core/astr_agent_tool_exec.py
+++ b/astrbot/core/astr_agent_tool_exec.py
@@ -294,6 +294,7 @@ async def _execute_handoff(
prov_settings: dict = ctx.get_config(umo=umo).get("p... | 3 | 3 | 2 | [{"id": "G0", "claim": "The assertion changed to expect an empty list contradicts the test's name and setup (an existing extensionless file in an allowed path), which could conceal an unintended change in the behavior of _collect_handoff_image_urls.", "category": "correctness", "verdict": "supported", "priority": "P1",... | null |
AstrBotDevs__AstrBot__6824 | AstrBotDevs/AstrBot | 6,824 | defect | f984bced06d94c56ebf3c2a06f44ff4a6926de87 | f4c2e59436a08996db6a0f2cfae10208591416eb | fix(t2i): sync active template across all configs | apply template activation and reset to every config profile instead of only the default one, and reload each pipeline scheduler so changes take effect consistently in multi-config setups
add a dashboard test that creates extra configs and verifies active template updates and scheduler reload coverage across all conf... | diff --git a/astrbot/dashboard/routes/t2i.py b/astrbot/dashboard/routes/t2i.py
index 8d06826be3..99891a5655 100644
--- a/astrbot/dashboard/routes/t2i.py
+++ b/astrbot/dashboard/routes/t2i.py
@@ -38,6 +38,13 @@ def __init__(
]
self.register_routes()
+ async def _sync_active_template_to_all_configs... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add tests covering the multi-config behavior of `reset_default_template` and `update_template` (asserting all configs are reset to `base` and that every scheduler is reloaded), since only the `set_active` path is currently tested.", "category": "testing", "verdict": "supported", "priority": "P2"... | null |
AstrBotDevs__AstrBot__6977 | AstrBotDevs/AstrBot | 6,977 | defect | d6b170910867eff38b9c53f37dab8acdd7a5387d | 7fa87ce18e813f930852f44a8b639ef231b96317 | feat: Add "typing" ("对方正在输入...") state control for weixin_oc plateform | 根据 Issue #6974 , 为个人微信渠道增加了"对方正在输入中..."状态控制的实现.
### Modifications / 改动点
#### 改动文件
- `astrbot/core/platform/astr_message_event.py`
- `astrbot/core/pipeline/process_stage/method/agent_sub_stages/internal.py`
- `astrbot/core/platform/sources/weixin_oc/weixin_oc_client.py`
- `astrbot/core/platform/sources/weixi... | diff --git a/astrbot/core/pipeline/process_stage/method/agent_sub_stages/internal.py b/astrbot/core/pipeline/process_stage/method/agent_sub_stages/internal.py
index 523d758a0a..3620124ea3 100644
--- a/astrbot/core/pipeline/process_stage/method/agent_sub_stages/internal.py
+++ b/astrbot/core/pipeline/process_stage/metho... | 7 | 6 | 2 | [{"id": "G0", "claim": "Iterating directly over `_typing_states` in `_cleanup_typing_tasks` can raise `RuntimeError: dictionary changed size during iteration` when the dict is mutated concurrently, so the loop should iterate over a `list(...)` snapshot instead.", "category": "correctness", "verdict": "supported", "prio... | null |
AstrBotDevs__AstrBot__7004 | AstrBotDevs/AstrBot | 7,004 | defect | eab3298d423629ca2eff2b7e2c1b4e014e17fb75 | c469166bc0a44e34d98253b09fe36596978c006f | fix: harden OpenAI attachment recovery | ## Summary
- materialize historical `image_url` context parts into data URLs without mutating caller-owned context payloads
- retry `INVALID_ATTACHMENT` image failures in text-only mode and preserve original image parts when local materialization cannot prove they are stale
- add regression coverage for HTTP, file URI,... | diff --git a/astrbot/core/provider/sources/openai_source.py b/astrbot/core/provider/sources/openai_source.py
index 73f22925a1..1a79eebca5 100644
--- a/astrbot/core/provider/sources/openai_source.py
+++ b/astrbot/core/provider/sources/openai_source.py
@@ -1,11 +1,14 @@
import asyncio
import base64
+import copy
import... | 6 | 5 | 2 | [{"id": "G0", "claim": "File-URI to path conversion mishandles Windows-style URIs like file://C:/path/to/file, because urlparse puts the drive letter in netloc, so the code returns //C/path/to/file instead of C:/path/to/file; the reviewer asks to normalize single-letter netlocs as drive letters before UNC handling.", "... | null |
AstrBotDevs__AstrBot__7020 | AstrBotDevs/AstrBot | 7,020 | defect | 22e24e5f7b55d82d9fdf1febad62f5e24f519e29 | b5ed8c4f20b21458ff83850707707d620bae0921 | fix(telegram): preserve attachment captions | ## Summary
这次 PR 修复了 Telegram 附件消息 caption 处理不一致的问题。
之前 `photo` 会保留 caption,但 `document` 和 `video` 不会,导致用户在 Telegram 中给文件或视频填写的说明文字不会进入 `message_str` 和 `Comp.Plain(...)`,上层依赖这些字段的逻辑拿不到用户说明。
## Changes
- 为 Telegram `document` 和 `video` 消息补上 caption 注入
- 将 caption 写入 `message.message_str`
- 追加对应的 `Comp.Plai... | diff --git a/astrbot/core/platform/sources/telegram/tg_adapter.py b/astrbot/core/platform/sources/telegram/tg_adapter.py
index 5f44913573..c801150a62 100644
--- a/astrbot/core/platform/sources/telegram/tg_adapter.py
+++ b/astrbot/core/platform/sources/telegram/tg_adapter.py
@@ -335,6 +335,18 @@ async def convert_messag... | 1 | 1 | 1 | [{"id": "G0", "claim": "Tighten the caption-entity handling so that `caption_entities` are processed only when `update.message.caption` exists, and slice the mention `name` from `update.message.caption` instead of `message.message_str`, to avoid unintended slicing off an empty string and make the logic more robust.", "... | null |
AstrBotDevs__AstrBot__7048 | AstrBotDevs/AstrBot | 7,048 | defect | 55ed0289c2233c83d3861d3416ad07f120aab694 | 055bbed6a80eaf252074b2f91b90d6e935d711b5 | fix(core): Record.path was incorrectly treated as required under Pydantic v2 | 修复 `Record` 在 Python 3.14 / Pydantic v2 环境下的一个核心校验问题。
`Record.path` 虽然被标注为可选类型,但没有设置默认值,因此在 Pydantic v2 中仍然会被当成必填字段处理。
这会导致某些平台适配器或插件在构造 `Record(...)` 时,如果没有显式传入 `path`,就会触发 `ValidationError`。
Telegram 语音消息是一个已经确认的复现场景:
- Telegram 语音会先被下载并转换为 wav
- 适配器随后构造 `Comp.Record(file=path_wav, url=path_wav)`
- 由于没有传入... | diff --git a/astrbot/core/message/components.py b/astrbot/core/message/components.py
index 6311681cd6..29bb478da3 100644
--- a/astrbot/core/message/components.py
+++ b/astrbot/core/message/components.py
@@ -122,7 +122,7 @@ class Record(BaseMessageComponent):
# Original text content (e.g. TTS source text), used as ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new Telegram voice-message regression test should also assert the url and path fields of the created Record component so it would fail if those fields stop being populated correctly.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
AstrBotDevs__AstrBot__7093 | AstrBotDevs/AstrBot | 7,093 | defect | 7ac169c5e81cee0acc1416d22d7ee4464a507a8d | 5a7f470b3cee7fdeabe086f60dc0cd1777d6528d | fix: bundle httpx SOCKS proxy support | ## Summary
- add a direct `httpx[socks]` dependency so SOCKS proxies from environment variables work for AstrBot's `httpx` clients
- keep `requirements.txt` and `pyproject.toml` aligned with a regression test that guards the missing dependency
## Testing
- `uv run ruff format tests/test_httpx_socks_dependency.py`
- `u... | diff --git a/pyproject.toml b/pyproject.toml
index 463da49556..0b2d66d8db 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -27,6 +27,7 @@ dependencies = [
"faiss-cpu>=1.12.0",
"filelock>=3.18.0",
"google-genai>=1.56.0",
+ "httpx[socks]>=0.28.1",
"lark-oapi>=1.4.15",
"lxml-html-clean>=0.4.2",
"mcp>... | 3 | 3 | 1 | [{"id": "G0", "claim": "Please add a test that compares the httpx[socks] spec from requirements.txt and pyproject.toml and asserts they are identical (or otherwise compatible), since the tests only assert each file independently contains httpx[socks].", "category": "testing", "verdict": "supported", "priority": "P1", "... | null |
AstrBotDevs__AstrBot__7202 | AstrBotDevs/AstrBot | 7,202 | defect | 2ffda752ad662876d2c7f42041b87e9e3cdfbc75 | 1da6b87b2763da8fcd4a92fa4374c7c4cb565672 | 修复:过滤空助手消息,以防止在严格API上出现400错误(fix: filter empty assistant messages to prevent 400 error on strict APIs) | ## 描述
修复调用 Moonshot (Kimi K2.5) API 时,因对话历史中存在空 assistant 消息而导致的 400 错误。
**错误信息:**
```
[2026-03-30 21:32:10.426] [Core] [WARN] [v4.22.2] [runners.tool_loop_agent_runner:350]: Chat Model moonshot/kimi-k2.5 request error: Error code: 400 - {'error': {'message': "Invalid request: the message at position 8 with role ... | diff --git a/astrbot/core/provider/sources/openai_source.py b/astrbot/core/provider/sources/openai_source.py
index 39bfc69dbf..3f9127de73 100644
--- a/astrbot/core/provider/sources/openai_source.py
+++ b/astrbot/core/provider/sources/openai_source.py
@@ -457,6 +457,34 @@ async def _query(self, payloads: dict, tools: To... | 3 | 1 | 0 | [{"id": "G0", "claim": "The message cleanup only treats `content == \"\"` and `content is None` as empty; consider also handling whitespace-only strings or other non-string/complex `content` types (e.g. list/array content) to avoid leaving structurally empty assistant messages that strict providers might still reject."... | null |
AstrBotDevs__AstrBot__7243 | AstrBotDevs/AstrBot | 7,243 | defect | 328748bd63fb0de9aaeb9b16a5b9d08c70eb94b1 | a3fba97b7148f38f136705cb057b6f4acf79a0b2 | fix: 改进知识库的初始化错误处理 | 本次修改主要解决知识库在模型加载失败时的错误降级问题(对应 issue #7218)。
此前当模型提供方异常时,知识库可能出现不理想行为: 因重排序模型异常导致知识库整体不可用。
本次改动将行为调整为更符合预期且更易排查:重排序模型不可用时,跳过重排序并继续检索(知识库仍可用),在日志中输出清晰的警告/错误信息,便于定位问题。
### Modifications / 改动点
<!--Please summarize your changes: What core files were modified? What functionality was implemented?-->
<!--请总结你的改动:哪... | diff --git a/astrbot/core/knowledge_base/kb_helper.py b/astrbot/core/knowledge_base/kb_helper.py
index 1e9127d72a..5cf47dcb0d 100644
--- a/astrbot/core/knowledge_base/kb_helper.py
+++ b/astrbot/core/knowledge_base/kb_helper.py
@@ -108,6 +108,7 @@ async def _repair_and_translate_chunk_with_retry(
class KBHelper:
v... | 8 | 5 | 4 | [{"id": "G0", "claim": "Calling `await kb_manager.get_kb(kb.kb_id)` inside the list_kbs loop creates an N+1 async I/O pattern that adds latency to the list endpoint; fetch the helpers in bulk or in parallel instead.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
AstrBotDevs__AstrBot__7388 | AstrBotDevs/AstrBot | 7,388 | defect | b0b6816039b25122fbcd7b5d21acd3bcc871da9b | f25f2ca35cbbf9d1943e93cfbf838f1fee02a48b | feat: implement llm guidance for repetition tool call | fixes: #7387
fixes: #6259
<!--Please describe the motivation for this change: What problem does it solve? (e.g., Fixes XX issue, adds YY feature)-->
<!--请描述此项更改的动机:它解决了什么问题?(例如:修复了 XX issue,添加了 YY 功能)-->
### Modifications / 改动点
<!--Please summarize your changes: What core files were modified? What functiona... | diff --git a/astrbot/core/agent/runners/tool_loop_agent_runner.py b/astrbot/core/agent/runners/tool_loop_agent_runner.py
index 3fb487cbe6..a6f89dd792 100644
--- a/astrbot/core/agent/runners/tool_loop_agent_runner.py
+++ b/astrbot/core/agent/runners/tool_loop_agent_runner.py
@@ -209,6 +209,8 @@ async def reset(
... | 3 | 2 | 1 | [{"id": "G0", "claim": "The `if streak < 3: return \"\"` early return in `_build_same_tool_guidance` makes the final low-streak return branch unreachable, so the intended guidance for low streaks (starting at the 2nd consecutive call) can never be emitted; the threshold checks should be adjusted or reordered so all tie... | null |
AstrBotDevs__AstrBot__7400 | AstrBotDevs/AstrBot | 7,400 | defect | 8c6c00ae62b6aa9321b9ce5f45511aa53c0ca7ec | 7fbc192fcbd08eb20c930c0aebc2fca5d5299558 | fix: defer faiss imports during startup | ### Motivation / 动机
Fixes the startup crash described in https://github.com/AstrBotDevs/AstrBot/issues/7343.
On macOS, enabling local `Whisper(Local)` could cause AstrBot to crash during startup because `faiss` was imported
eagerly through the knowledge base and dashboard import chain, even when the user w... | diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py
index ee42ca99d0..83d86fbcc1 100644
--- a/astrbot/core/config/default.py
+++ b/astrbot/core/config/default.py
@@ -1556,6 +1556,7 @@ class ChatProviderTemplate(TypedDict):
"enable": False,
"id":... | 6 | 3 | 3 | [{"id": "G0", "claim": "Because FaissVecDB is now imported only under TYPE_CHECKING, the bare runtime annotation `vec_db: FaissVecDB | None` in sparse_retriever.py (line 79) and similar bare annotations (e.g. dashboard/utils.py) will raise NameError when evaluated; quote the annotations, enable `from __future__ import ... | null |
AstrBotDevs__AstrBot__7432 | AstrBotDevs/AstrBot | 7,432 | defect | 38b1b4d4ea94989ff6bf0c918a9392d1215be939 | ec11eab8d323e88e5dc36e8ee35ba3d3232ecf6d | fix: split long telegram final segments | ## Summary
- add a shared helper to split Telegram text by the 4096-character limit before sending
- reuse the helper for regular plain text sends and streaming final segments
- add regression tests for both Markdown and plain-text fallback paths
## Problem
Telegram streaming replies could fail with `Message is too ... | diff --git a/astrbot/core/platform/sources/telegram/tg_event.py b/astrbot/core/platform/sources/telegram/tg_event.py
index 8d86570739..6054e082e2 100644
--- a/astrbot/core/platform/sources/telegram/tg_event.py
+++ b/astrbot/core/platform/sources/telegram/tg_event.py
@@ -105,6 +105,28 @@ def _split_message(cls, text: st... | 3 | 3 | 1 | [{"id": "G0", "claim": "The test helpers `_load_telegram_adapter` and `_load_telegram_platform_event` duplicate the same mocked module setup; extract a shared helper to build the patched `sys.modules` dict so future updates to the mock set don't need to be made in multiple places.", "category": "maintainability", "verd... | null |
AstrBotDevs__AstrBot__7446 | AstrBotDevs/AstrBot | 7,446 | defect | e34d9504e4577ccde328ed04a7c256cddf876e36 | 34954f40b5be2123a13b2aa8a040bbe8e68b0d42 | fix: make desktop plugin dependency loading safer on Windows | ## Summary
- keep packaged desktop `data/site-packages` behind bundled runtime imports by default so stale user-installed packages no longer override core dependencies on startup
- only preload plugin site-packages for non-reserved plugins when requirements precheck shows no version mismatch, and preserve target upgrad... | diff --git a/astrbot/core/star/star_manager.py b/astrbot/core/star/star_manager.py
index 25df73f642..f7163d2d25 100644
--- a/astrbot/core/star/star_manager.py
+++ b/astrbot/core/star/star_manager.py
@@ -137,7 +137,10 @@ async def _install_requirements_with_precheck(
requirements_path,
fallback... | 12 | 7 | 3 | [{"id": "G0", "claim": "Add a test that check_env does not append a duplicate site_packages_path when it is already present in sys.path.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The guard used for preloading also gates the recovery branch, so depe... | null |
AstrBotDevs__AstrBot__7500 | AstrBotDevs/AstrBot | 7,500 | defect | e34d9504e4577ccde328ed04a7c256cddf876e36 | 946a6cb8b318cae9b17fe7d67edd04289c73a251 | fix: align deerflow runner with deerflow 2.0 | ## Summary
This PR aligns AstrBot's DeerFlow integration with the current DeerFlow 2.0 runtime contract on the `main` branch.
Previously AstrBot only sent runtime overrides through the legacy top-level `context` field and only cleared its local session marker when users reset or recreated a DeerFlow conversation. Tha... | diff --git a/astrbot/builtin_stars/builtin_commands/commands/conversation.py b/astrbot/builtin_stars/builtin_commands/commands/conversation.py
index 5190a363eee..155fae5c340 100644
--- a/astrbot/builtin_stars/builtin_commands/commands/conversation.py
+++ b/astrbot/builtin_stars/builtin_commands/commands/conversation.py... | 5 | 4 | 1 | [{"id": "G0", "claim": "The URL in delete_thread is inconsistent with the other LangGraph API endpoints in this client and it is highly likely that delete_thread should include the /langgraph segment to correctly target the DeerFlow/LangGraph backend.", "category": "correctness", "verdict": "uncertain", "priority": "P1... | null |
AstrBotDevs__AstrBot__7506 | AstrBotDevs/AstrBot | 7,506 | defect | 533a0bde6aec9241439e4b46b5c33cc79d635b28 | 14ebde93486fb39aafb96a20391a717f1c57b850 | perf: update FileReadTool description to mention image, PDF and docx support, and enhance modality checking in tool result case | ## Summary
Update the FileReadTool description to explicitly mention support for:
- Text files (existing behavior)
- Image files (OCR extraction)
- PDF files (text extraction)
This improves discoverability of the tool's multimodal capabilities.
## Changes
- Modified in
## Related
This is a documentation/UX impr... | diff --git a/astrbot/core/tools/computer_tools/fs.py b/astrbot/core/tools/computer_tools/fs.py
index 8d3160ff5d..b48db0a4f1 100644
--- a/astrbot/core/tools/computer_tools/fs.py
+++ b/astrbot/core/tools/computer_tools/fs.py
@@ -171,7 +171,7 @@ def _decode_escaped_text(value: str) -> str:
@dataclass
class FileReadTool(... | 1 | 1 | 1 | [{"id": "G0", "claim": "The FileReadTool description should be updated to mention DOCX support, drop the misleading \"image (OCR)\" wording since the tool returns the image rather than doing OCR, and clarify that PDF/DOCX text extraction is limited to the local runtime.", "category": "documentation", "verdict": "suppor... | null |
AstrBotDevs__AstrBot__7513 | AstrBotDevs/AstrBot | 7,513 | defect | 533a0bde6aec9241439e4b46b5c33cc79d635b28 | 9e9e63020b076eb9497735c6516c4552228d1443 | fix: return an explicit erro from the cron tool when scheduling a task fails instead of processing silently | <!--Please describe the motivation for this change: What problem does it solve? (e.g., Fixes XX issue, adds YY feature)-->
<!--请描述此项更改的动机:它解决了什么问题?(例如:修复了 XX issue,添加了 YY 功能)-->
fix #7439
### Modifications / 改动点
_schedule_job() 原本在调度失败时仅记录错误后静默返回,现改为重新抛出异常;FutureTaskTool.call() 新增 try/except
- [x] This is NOT a b... | diff --git a/astrbot/core/cron/manager.py b/astrbot/core/cron/manager.py
index c86fc160fae..39dd315c162 100644
--- a/astrbot/core/cron/manager.py
+++ b/astrbot/core/cron/manager.py
@@ -183,6 +183,7 @@ def _schedule_job(self, job: CronJob) -> None:
)
except Exception as e:
logger.error... | 4 | 4 | 3 | [{"id": "G0", "claim": "Catching broad Exception in FutureTaskTool.call and returning the raw exception message exposes internal details to users and may change the return type of call; it should catch more specific exception types and return a sanitized, generic error message (or re-raise as a domain-specific exceptio... | null |
AstrBotDevs__AstrBot__7534 | AstrBotDevs/AstrBot | 7,534 | defect | b342cf99972962635eea808a22fa7cb639d118f4 | 22c34abe46e3b8f6769df849b0a2dc85e0cc385e | fix: improve knowledge base upload error messages | <!--Please describe the motivation for this change: What problem does it solve? (e.g., Fixes XX issue, adds YY feature)-->
<!--请描述此项更改的动机:它解决了什么问题?(例如:修复了 XX issue,添加了 YY 功能)-->
Closes #7530
### Modifications / 改动点
<!--Please summarize your changes: What core files were modified? What functionality was imple... | diff --git a/astrbot/core/db/vec_db/faiss_impl/vec_db.py b/astrbot/core/db/vec_db/faiss_impl/vec_db.py
index bc729aac8c..5de2ce9b61 100644
--- a/astrbot/core/db/vec_db/faiss_impl/vec_db.py
+++ b/astrbot/core/db/vec_db/faiss_impl/vec_db.py
@@ -4,6 +4,7 @@
import numpy as np
from astrbot import logger
+from astrbot.c... | 5 | 1 | 1 | [{"id": "G0", "claim": "If insert_batch still supports omitting ids (e.g. ids is None for auto-generated IDs), the new len(ids) length check will raise a TypeError and may break existing callers, so the check should be guarded (e.g. `if ids is not None and len(ids) != content_count:`).", "category": "correctness", "ver... | null |
AstrBotDevs__AstrBot__7594 | AstrBotDevs/AstrBot | 7,594 | defect | 469f4984282fa44847c3f4e5680ba01d682aa7b9 | f936c79a5cc22476eeb28b33886e3565c28ea6c6 | feat: add epub support for knowledge base document upload | ### Motivation
想上传一些小说,发现格式不支持,遂增加一个 epub 支持
### Modifications / 改动点
- Added EPUB support to the knowledge base document parsing pipeline
- Added a new `EpubParser` and registered it in the parser selection flow
- Added EPUB detection to `astrbot/core/computer/file_read_utils.py`, including ZIP conta... | diff --git a/astrbot/core/computer/file_read_utils.py b/astrbot/core/computer/file_read_utils.py
index 0f4d0811cf7..8eb97e63492 100644
--- a/astrbot/core/computer/file_read_utils.py
+++ b/astrbot/core/computer/file_read_utils.py
@@ -73,7 +73,7 @@ class FileProbe:
@dataclass(frozen=True)
class ParsedDocument:
- k... | 11 | 8 | 4 | [{"id": "G0", "claim": "A missing beautifulsoup4 dependency raises a raw ImportError instead of the clearer RuntimeError used for EbookLib, so the local BeautifulSoup import should be moved to module level or wrapped to raise a descriptive RuntimeError.", "category": "maintainability", "verdict": "supported", "priority... | null |
AstrBotDevs__AstrBot__7615 | AstrBotDevs/AstrBot | 7,615 | defect | e34d9504e4577ccde328ed04a7c256cddf876e36 | 8b4185ecf35c1056ac7e12163cc55d932e1de927 | fix: support SOCKS proxies in updater requests | Fixes #7584
## Summary
The updater started failing in environments that expose a global `socks5://` proxy through system environment variables. Users could no longer fetch release metadata, and the update flow would surface `Server disconnected` errors in the console.
## Root Cause
`RepoZipUpdator.fetch_release_inf... | diff --git a/astrbot/core/updator.py b/astrbot/core/updator.py
index df2cfb82cd..6a7608666f 100644
--- a/astrbot/core/updator.py
+++ b/astrbot/core/updator.py
@@ -7,7 +7,6 @@
from astrbot.core import logger
from astrbot.core.config.default import VERSION
from astrbot.core.utils.astrbot_path import get_astrbot_path
-... | 7 | 6 | 2 | [{"id": "G0", "claim": "The new httpx-based fetch_release_info drops the previous detailed logging of non-200 responses, so it should catch httpx.HTTPStatusError, log the status code and a truncated response body, and re-raise or wrap the exception.", "category": "correctness", "verdict": "supported", "priority": "P1",... | null |
AstrBotDevs__AstrBot__7648 | AstrBotDevs/AstrBot | 7,648 | defect | 47f78be3784a7d79c73ebe3cd270dc9f8e59bbfd | b8baf76ea8b7ee20c1ede882db10bcc96114b778 | feat: implement FTS5 support in knowledge base sparse retrieving stage | When a knowledge base contains a large number of chunks, such as 100k-level data, sparse retrieval becomes very slow. The previous BM25 implementation loaded all chunks on every retrieval, ran jieba tokenization over the entire corpus, rebuilt the BM25 index, and then scored all chunks in memory. This made each retriev... | diff --git a/astrbot/core/db/vec_db/faiss_impl/document_storage.py b/astrbot/core/db/vec_db/faiss_impl/document_storage.py
index 2adae69ccc..e27f893f92 100644
--- a/astrbot/core/db/vec_db/faiss_impl/document_storage.py
+++ b/astrbot/core/db/vec_db/faiss_impl/document_storage.py
@@ -2,6 +2,7 @@
import os
from contextl... | 9 | 4 | 0 | [{"id": "G0", "claim": "Guard FTS index rebuilds with a shared async primitive (e.g. an asyncio.Lock or cached task) so concurrent calls to ensure_fts_index do not all see _fts_index_ready == False and perform overlapping DROP TABLE / CREATE VIRTUAL TABLE and full reindexing.", "category": "correctness", "verdict": "un... | null |
AstrBotDevs__AstrBot__7685 | AstrBotDevs/AstrBot | 7,685 | defect | 00689604b4d54bc8a88c87652c8e78f293f976e2 | 616e9ac54fb03e09c0b36e126b0f1203444cdc30 | fix: 修复了国内配置一些模型不可用问题 | 1. 常见的openai和anthropic协议,如 智谱的codingpan https://open.bigmodel.cn/api/coding/paas/v4
2. 新出的一些没有模型列表的自定义模型提供商,如科大讯飞 https://maas-coding-api.cn-huabei-1.xf-yun.com/v2
<!--Please describe the motivation for this change: What problem does it solve? (e.g., Fixes XX issue, adds YY feature)-->
<!--请描述此项更改的动机:它解决了什么问题?(例如:... | diff --git a/astrbot/core/provider/sources/anthropic_source.py b/astrbot/core/provider/sources/anthropic_source.py
index 7644577594..8a8984f832 100644
--- a/astrbot/core/provider/sources/anthropic_source.py
+++ b/astrbot/core/provider/sources/anthropic_source.py
@@ -1,5 +1,6 @@
import base64
import json
+import ssl
... | 6 | 5 | 1 | [{"id": "G0", "claim": "The create_proxy_client return description is misleading when no proxy is provided; reword it to say the client is always created with the system SSL context and the proxy is applied only when one is provided.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "int... | null |
AstrBotDevs__AstrBot__7706 | AstrBotDevs/AstrBot | 7,706 | defect | 08392c9184253154f7f08c13dd4226366e5e58d1 | f9321b45c3f645035e484355c749aa5150a9f400 | fix: drop legacy documents_fts table if exists | ## 概要
这个 PR 修复了 AstrBot `v4.23.2` 引入的一个 SQLite FTS5 兼容性问题。
当用户本地数据库中已经存在一个普通表 `documents_fts` 时,执行:
```sql
CREATE VIRTUAL TABLE IF NOT EXISTS documents_fts USING fts5(...)
```
SQLite 不会报错,但也不会把这个普通表替换成 FTS5 虚表。随后 AstrBot 会误认为 FTS5 已可用,并在后续写入时触发错误:
```text
sqlite3.OperationalError: table documents_fts has no column... | diff --git a/astrbot/core/db/vec_db/faiss_impl/document_storage.py b/astrbot/core/db/vec_db/faiss_impl/document_storage.py
index 116c43be17..ee67f0d17e 100644
--- a/astrbot/core/db/vec_db/faiss_impl/document_storage.py
+++ b/astrbot/core/db/vec_db/faiss_impl/document_storage.py
@@ -96,36 +96,29 @@ async def initialize(... | 1 | 1 | 1 | [{"id": "G0", "claim": "The check for `contentless_delete=1` in the SQL string is fragile because it depends on exact formatting, so the string should be normalized by removing whitespace (or checked more flexibly) to stay compatible with tables created manually or by different SQLite versions.", "category": "correctne... | null |
AstrBotDevs__AstrBot__7751 | AstrBotDevs/AstrBot | 7,751 | defect | 9f8ce247266e1ab2a2075845cd50fc0b59e94cdb | 8145ba639341ec4ec9645863b6e2433d2d9cbdfb | fix: prevent path traversal in file uploads | Fixes #7745.
- Sanitize uploaded filename (handles both / and \\ separators)
- Enforce that the resolved save path stays within attachments_dir
- Add unit tests for filename sanitization
## Summary by Sourcery
Harden file upload handling to prevent directory traversal and ensure attachments are stored within the con... | diff --git a/astrbot/dashboard/routes/chat.py b/astrbot/dashboard/routes/chat.py
index d4174ffb58..6820d5226a 100644
--- a/astrbot/dashboard/routes/chat.py
+++ b/astrbot/dashboard/routes/chat.py
@@ -5,6 +5,7 @@
import uuid
from contextlib import asynccontextmanager
from copy import deepcopy
+from pathlib import Path... | 2 | 1 | 1 | [{"id": "G0", "claim": "Null bytes should be removed from all positions of the upload filename (e.g. with replace(\"\\x00\", \"\")), not just stripped from the ends, so embedded NULs like \"evil\\x00.txt\" cannot survive sanitization; the accompanying unit tests should also be added.", "category": "security", "verdict"... | null |
Asymmetric-al__core__130 | Asymmetric-al/core | 130 | defect | 5c74264c8bade4fdf3df9c86b03f3d4749f81f75 | 07e84409cb5e20413e18c8459d8e621f1ded8b14 | docs(ts): TypeScript 6/7 readiness prep (no compiler bump) | <!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary
Conservative preparation for future TypeScript 6 / 7 adoption: documentation, optional audit script, and small tsconfig adjustments that preserve TypeScript 5.9 behavior for options whose defaults change in 6.0.
## Changes
- Added `docs/guides/typescript-6-readiness.md`... | diff --git a/AGENTS.md b/AGENTS.md
index 64d54c687..f9a6e734a 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -159,6 +159,7 @@ Load rulebooks before editing files in their domain.
- **Backend/Supabase/auth/data access/migrations:** `docs/ai/rules/backend.md`
- **When touching API routes or data access patterns:** `docs/gui... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `findings` object keys in scripts/tsconfig-future-audit.mjs should be renamed (e.g. `moduleResolutionNode` -> `moduleResolutionModern`, `moduleResolutionNode10` -> `moduleResolutionDeprecated`) because their names are inverted from what they hold, which could lead a future contributor to rou... | null |
Asymmetric-al__core__146 | Asymmetric-al/core | 146 | defect | 95844b344e5a96b6676b7b67234c33e7fddc8c30 | d11961148fa7947203c04c63b9edf6b590779630 | fix(api): tenant-scope admin comment PATCH and list | ## Summary
Fixes a **cross-tenant authorization gap** on admin comment APIs: PATCH could update any comment by UUID, and GET could include comments from other tenants when the join returned null posts.
## Technical
- **Bug:** `packages/api/src/admin/comments/comment.ts` `PATCH` loaded `post_comments` by `commentId` ... | diff --git a/apps/admin/app/feed/org-updates/page.tsx b/apps/admin/app/feed/org-updates/page.tsx
index 116649e06..8bc9955c6 100644
--- a/apps/admin/app/feed/org-updates/page.tsx
+++ b/apps/admin/app/feed/org-updates/page.tsx
@@ -33,6 +33,11 @@ import {
RadioGroup,
RadioGroupItem,
} from "@asym/ui/components/shad... | 14 | 2 | 1 | [{"id": "G0", "claim": "GET /admin/comments applies limit/offset (.range) before the in-memory tenant filter, so pages can come back short or empty and later offsets can skip in-tenant comments; the tenant predicate should be applied in the query before pagination.", "category": "correctness", "verdict": "supported", "... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.