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
accomplish-ai__accomplish__413
accomplish-ai/accomplish
413
defect
3568eb8dfd6945a0fdac76c5a26084e773db964f
131344bd3fdd2ac906ff68fd16d28f41f7cd70f2
feat: disable send button and show tooltip when message exceeds max length
## Summary Jira: [ENG-152](https://accomplish-ai.atlassian.net/jira/software/c/projects/ENG/boards/150?selectedIssue=ENG-152) - Reflects the 60k character prompt limit (`PROMPT_DEFAULT_MAX_LENGTH`) in the UI by disabling the send button and showing a tooltip when the user's message is too long - Applies to both the *...
diff --git a/apps/desktop/__tests__/integration/renderer/components/TaskInputBar.integration.test.tsx b/apps/desktop/__tests__/integration/renderer/components/TaskInputBar.integration.test.tsx index fc31c6433..d4916748c 100644 --- a/apps/desktop/__tests__/integration/renderer/components/TaskInputBar.integration.test.ts...
5
2
2
[{"id": "G0", "claim": "Guard all submit paths in TaskInputBar against over-limit input: Enter key and auto-submit still call onSubmit() when the message exceeds the max length, so a shared canSubmit guard should be added and used in key handling, auto-submit and the button disabled state.", "category": "correctness", ...
null
accomplish-ai__accomplish__452
accomplish-ai/accomplish
452
defect
243234fdd36e2aba6dd8e70e756b4338b70a6e84
302ec0d38243db6b46b3baf47517f56f21ecfc0e
fix(agent-core): prevent infinite completion loop on incomplete todos
https://accomplish-ai.atlassian.net/browse/ENG-159 ## Summary When an agent calls `complete_task(status="success")` but has incomplete todos, the completion enforcer downgrades to `partial` and prompts continuation. Previously, the continuation prompt was generic — it didn't mention the incomplete todos or tell the...
diff --git a/packages/agent-core/src/opencode/completion/completion-enforcer.ts b/packages/agent-core/src/opencode/completion/completion-enforcer.ts index aacb2f8c4..8d7c9e40c 100644 --- a/packages/agent-core/src/opencode/completion/completion-enforcer.ts +++ b/packages/agent-core/src/opencode/completion/completion-enf...
2
1
0
[{"id": "G0", "claim": "Remove the step-by-step comments in completion-enforcer.test.ts that restate the test flow instead of explaining why.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The downgrade counter increments on every handleComplete...
null
accomplish-ai__accomplish__469
accomplish-ai/accomplish
469
defect
ee6cbfdc6ac1ebaad71ca6a444e790783d76eabc
01f26afdd2488e995bf40af57d1457bba7027d1a
fix(agent-core): serialize non-string error values in TaskResult
## Summary - **Serialize non-string TaskResult.error**: The OpenCode stream parser casts `JSON.parse` output to `OpenCodeMessage` without runtime validation. When the CLI emits an error message with a non-string `error` field (e.g. `{name: "APIError", data: {message: "...", statusCode: 400}}`), the raw object flowed t...
diff --git a/.changeset/serialize-task-error.md b/.changeset/serialize-task-error.md new file mode 100644 index 000000000..64c0be53b --- /dev/null +++ b/.changeset/serialize-task-error.md @@ -0,0 +1,14 @@ +--- +"@accomplish_ai/agent-core": patch +--- + +fix(agent-core): serialize non-string error values in TaskResult t...
4
1
0
[{"id": "G0", "claim": "JSON.stringify can throw a TypeError on circular references or BigInt values, so a non-string error containing either would crash the error path instead of gracefully falling back to 'Unknown error'; wrap the serialization in try/catch and return the fallback.", "category": "correctness", "verdi...
null
accomplish-ai__accomplish__478
accomplish-ai/accomplish
478
defect
0c555bf0168c3509ae67c9d9ed46897747ab631a
c7bb2635d46b2fda940c9f1e8211d06843ae1099
feat(agent-core): sanitize internal agent text from user-facing logs
## Summary - Filter internal blocks (`<instruction>`, `<nudge>`, `<thought>`) from assistant messages before UI display - Map internal tool names to user-friendly display names and hide context management tools - Strip accessibility snapshot artifacts (`[ref=eNN]`, `[cursor=pointer]`) from tool output and collapse extr...
diff --git a/packages/agent-core/src/index.ts b/packages/agent-core/src/index.ts index 711d89310..7c39b2b25 100644 --- a/packages/agent-core/src/index.ts +++ b/packages/agent-core/src/index.ts @@ -122,6 +122,8 @@ export { buildProviderConfigs, syncApiKeysToOpenCodeAuth } from './opencode/conf export { getOpenCodeAut...
4
3
3
[{"id": "G0", "claim": "UNCLOSED_INTERNAL_TAG_RE matches any tag whose name merely starts with 'thought' or 'nudge' (e.g. <thoughtful>), so non-internal markup and everything after it is removed, which can truncate legitimate assistant replies or code examples.", "category": "correctness", "verdict": "supported", "prio...
null
accomplish-ai__accomplish__540
accomplish-ai/accomplish
540
defect
51325c71463b3f7f1e86ca1041cec2c17aca7649
42bbebf43cf535530d12ac71f520e8790382c403
feat(dev-browser-mcp): enhance aria tree snapshots with new options and z-index
## Summary - Add `preserveSubtrees` and `includeAllTextNodes` snapshot options to give callers finer control over aria tree generation — `preserveSubtrees` retains generic roles and subtree structure, `includeAllTextNodes` keeps text nodes even in interactive-only mode - Add z-index in element bounding box info - Refa...
diff --git a/packages/agent-core/mcp-tools/dev-browser-mcp/src/index.ts b/packages/agent-core/mcp-tools/dev-browser-mcp/src/index.ts index 6806a756e..7cb42aa19 100644 --- a/packages/agent-core/mcp-tools/dev-browser-mcp/src/index.ts +++ b/packages/agent-core/mcp-tools/dev-browser-mcp/src/index.ts @@ -33,6 +33,7 @@ const...
4
1
0
[{"id": "G0", "claim": "Add braces to the new single-line braceless if statements (the SNAPSHOT_SCRIPT normalization calls, the generic-role filter, and the visitText guard), because they violate the enforced curly ESLint rule and will fail linting.", "category": "maintainability", "verdict": "supported", "priority": "...
null
accomplish-ai__accomplish__544
accomplish-ai/accomplish
544
defect
134d26f11da2871cdb8c5d83a5b2eafebb33c92f
5b02d5757277a17d8d7cd1f8fc04685033257e48
fix(agent-core): suppress duplicate messages during completion continuation
## Summary - Add `isInContinuation()` flag to `CompletionEnforcer` to track when a continuation session is active - Gate text message and reasoning emission in `OpenCodeAdapter` on `!isInContinuation()` to prevent duplicate summary messages - Gate `complete_task` summary emission on `shouldComplete()` to only emit when...
diff --git a/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts b/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts index 92abde0dc..8454ed6c9 100644 --- a/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts +++ b/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts @@ -462,7 +462,9 @@...
2
2
1
[{"id": "G0", "claim": "Clear `inContinuation` when `shouldComplete()` is true rather than only when `isDone()` is, so that a continuation ending in BLOCKED or MAX_RETRIES terminal states does not leave the flag set and keep suppressing text/reasoning emissions for that turn.", "category": "correctness", "verdict": "su...
null
accomplish-ai__accomplish__548
accomplish-ai/accomplish
548
defect
de4fc9cbf0ba5d1c812d58909e1e1854d020dd5a
a844587d1fda01794dcac3337d297114cac08b82
fix(agent-core): use direct Windows spawn for .exe
## Summary - add a centralized PTY spawn argument builder for CLI process startup and session resume - on Windows, direct-spawn `.exe` commands to avoid cmd quoting edge cases - on Windows, keep `cmd.exe /s /c` fallback for non-`.exe` commands (for `.cmd` and PATH wrappers) - keep existing shell-based behavior on non-W...
diff --git a/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts b/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts index 8454ed6c9..a0355fcd2 100644 --- a/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts +++ b/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts @@ -237,19 +237,13 ...
2
1
1
[{"id": "G0", "claim": "The win32 cmd.exe fallback in buildPtySpawnArgs passes fullCommand without the extra outer quotes, so for non-.exe wrapper commands (e.g. opencode.cmd) whose path contains spaces cmd.exe /s /c can strip/misparse the leading quote and fail to start the CLI, regressing the Issue #354 behavior.", "...
null
accomplish-ai__accomplish__556
accomplish-ai/accomplish
556
defect
9107311dda2165c94a68dcbb1387a22a0a548a3d
3907346419ef44c8396f7494b57f4e2c2d70e5ab
fix(agent-core): bump opencode-dcp to v2 for Claude 4.6 compatibility
## Summary - Bump `@tarquinen/opencode-dcp` from `^1.2.7` to `^2.0.0` to fix Claude 4.6 models (Opus 4.6, Sonnet 4.6) failing with "assistant message prefill" error ## Root Cause The opencode-dcp plugin v1.x uses assistant message prefill, which Claude 4.6 models no longer support (returns 400 error). Fixed in plugin ...
diff --git a/packages/agent-core/src/opencode/config-generator.ts b/packages/agent-core/src/opencode/config-generator.ts index 28dbb4330..02ca2c890 100644 --- a/packages/agent-core/src/opencode/config-generator.ts +++ b/packages/agent-core/src/opencode/config-generator.ts @@ -585,7 +585,7 @@ Example bad narration (too ...
1
1
1
[{"id": "G0", "claim": "Changing the generated plugin string to '@tarquinen/opencode-dcp@^2.0.0' leaves the unit test at tests/unit/opencode/config-generator.test.ts:377 still expecting '^1.2.7', so that test fails and the package test suite is red until the expectation (or a shared version constant) is updated alongsi...
null
accomplish-ai__accomplish__623
accomplish-ai/accomplish
623
defect
a66480aa4706780ffef2ea98b8e69ed90e9290cd
dd97bb8486c1c74ff61f198fd5cf1aae62b22aed
fix: auto-recover browser MCP connections during tasks
## Summary - Add automatic browser connection recovery so tasks can continue after transient `dev-browser-mcp` transport failures. - Keep desktop-side recovery as fallback, while moving MCP connection state/retry logic into a dedicated manager. ## Changes - Added `BrowserManager` in MCP to centralize browser state, re...
diff --git a/apps/desktop/src/main/ipc/task-callbacks.ts b/apps/desktop/src/main/ipc/task-callbacks.ts index 079831789..ee63d8513 100644 --- a/apps/desktop/src/main/ipc/task-callbacks.ts +++ b/apps/desktop/src/main/ipc/task-callbacks.ts @@ -1,10 +1,29 @@ import type { BrowserWindow } from 'electron'; import type { Ta...
5
5
3
[{"id": "G0", "claim": "The recovery path is gated on toolName.startsWith('dev-browser-mcp_'), but the MCP server declares tools as browser_* (and upstream names are often underscore-normalized), so browser tool completions never enter the branch and the new failure-counter/reconnect logic never runs.", "category": "co...
null
accomplish-ai__accomplish__735
accomplish-ai/accomplish
735
defect
bd10014ca5a96586a58c1044b5f726fa4a6b858b
e24a8288291dccbbdfd25a5986d0624a451f42f6
feat(providers): add GLM-5 model support and Linux packaging (ENG-686)
## Summary Adds GLM-5 model support to the Z.AI provider and improves Linux packaging infrastructure. ### Changes - **GLM-5 model**: Added to Z.AI provider with 128K context window - **Linux packaging**: Added `package:linux` script for building AppImage + deb artifacts - **Electron builder**: Linux target config (Ap...
diff --git a/README.ar.md b/README.ar.md index 66bd3a284..e95e2937d 100644 --- a/README.ar.md +++ b/README.ar.md @@ -256,15 +256,17 @@ pnpm dev <details> <summary><strong>جميع الأوامر</strong></summary> -| الأمر | الوصف | -| --------------------------...
4
4
1
[{"id": "G0", "claim": "The download URLs in README.ta.md reference version 0.3.10 while other locale READMEs use 0.4.0, an inconsistency that may confuse users who switch between language versions.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": ...
null
accomplish-ai__accomplish__764
accomplish-ai/accomplish
764
defect
30f4f3f58965473af10e2b8ebefb204669d211df
b93fa8d6443f231b6b86fde578f163ab1ea34bec
fix: resolve stale window reference causing AskUserQuestion 503 (ENG-597)
## Summary Fixes ENG-597 — AskUserQuestion MCP tool returns 503 'Question API not initialized'. ## Root Cause `initPermissionApi()` captured a single `BrowserWindow` reference at initialization time. If the window was reloaded or recreated between tasks, the captured reference became stale (destroyed), causing the que...
diff --git a/apps/desktop/src/main/ipc/handlers/permission-ipc.ts b/apps/desktop/src/main/ipc/handlers/permission-ipc.ts index 5c6a1ad2b..cf78c34f6 100644 --- a/apps/desktop/src/main/ipc/handlers/permission-ipc.ts +++ b/apps/desktop/src/main/ipc/handlers/permission-ipc.ts @@ -32,7 +32,15 @@ function createPermissionApi...
6
6
3
[{"id": "G0", "claim": "The Permission API server startup log still uses console.log although the Question API startup log was switched to getLogCollector().logEnv(), so it should use the log collector for consistent production logging.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope":...
null
accomplish-ai__accomplish__766
accomplish-ai/accomplish
766
defect
30f4f3f58965473af10e2b8ebefb204669d211df
5dbb8e349fbbe95910fe250b38f5f24511c70c60
fix: handle Windows STATUS_CONTROL_C_EXIT in PTY exit handler (ENG-247)
## Summary Fixes ENG-247 — On Windows, pressing Ctrl+C to interrupt a task surfaced as an error ("OpenCode CLI exited with code -1073741510") instead of being treated as a normal user interrupt. ## Root Cause Windows sends exit code `-1073741510` (0xC000013A, `STATUS_CONTROL_C_EXIT`) when a process is terminated via C...
diff --git a/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts b/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts index 036205e07..a0ae35c8a 100644 --- a/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts +++ b/packages/agent-core/src/internal/classes/OpenCodeAdapter.ts @@ -24,6 +24,14 @@ ...
4
3
2
[{"id": "G0", "claim": "isNormalExit keys off process.platform while the class otherwise uses this.options.platform, so injected-platform flows and cross-platform tests can diverge; consider keying it off the adapter's configured platform.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scop...
null
accomplish-ai__accomplish__794
accomplish-ai/accomplish
794
defect
d0f8a930a0e91b670d4569d813e0c78c0b4600cb
9ac71b344e8ace8d6a342d38c2e104e2d00267da
fix: resolve pre-existing degradations (dock activate, formatting, locale, tests)
## Summary - **macOS dock activate bug**: clicking the dock icon after closing (hiding) the window now correctly shows the existing window instead of doing nothing - **Prettier formatting**: fixed 5 files that were failing `prettier --check` - **Locale alignment**: added missing `tabs.daemon` key to fr/ru settings, mis...
diff --git a/apps/desktop/scripts/download-nodejs.cjs b/apps/desktop/scripts/download-nodejs.cjs index ab0762196..d93111cec 100644 --- a/apps/desktop/scripts/download-nodejs.cjs +++ b/apps/desktop/scripts/download-nodejs.cjs @@ -39,14 +39,14 @@ const PLATFORMS = [ }, ]; -const platformFlag = process.argv.find(a =...
3
3
1
[{"id": "G0", "claim": "The console.log added at line 364 in the dock-activate handler is production console.log and should be replaced with the app's existing logger (getLogCollector().logEnv), per the no-console.log coding guideline.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": ...
null
accomplish-ai__accomplish__821
accomplish-ai/accomplish
821
defect
7d0b240de156f544b738764524a340465940714d
74c9216cb84943d70d8309006fe2e21f3225e689
fix: clear stale task state after task removal
## Summary - clear task-scoped UI state when deleting the currently open task - clear current task and related derived state when task history is wiped - add integration coverage for both the deleted-current-task case and the unrelated-task case ## Testing - `corepack pnpm --filter @accomplish/web exec vitest run __te...
diff --git a/apps/web/__tests__/integration/renderer/taskStore.integration.test.ts b/apps/web/__tests__/integration/renderer/taskStore.integration.test.ts index b3b9f5bdf..6b0e08d1e 100644 --- a/apps/web/__tests__/integration/renderer/taskStore.integration.test.ts +++ b/apps/web/__tests__/integration/renderer/taskStore...
4
4
3
[{"id": "G0", "claim": "Clear `error` when the active task is removed or all history is wiped, because a task-specific failure message survives both new reset helpers and the UI can keep showing stale error text after the task that produced it is gone.", "category": "correctness", "verdict": "supported", "priority": "P...
null
accomplish-ai__accomplish__902
accomplish-ai/accomplish
902
defect
111671f1a459a126916985ae47d4703150d30fb4
ccae86e355cf1aa4b9064ccab16a267bfcf14d12
feat(ui): inline model switching in ModelIndicator dropdown
## Summary - **Same-provider switching**: The ModelIndicator dropdown now lists all other models from the active provider below the current model, allowing 1-click switching without going to Settings - **Cross-provider switching**: All other connected providers appear as expandable sub-menus; selecting a model from on...
diff --git a/apps/desktop/package.json b/apps/desktop/package.json index fd88d67cd..964f60a1b 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -170,13 +170,6 @@ "from": "../../apps/daemon/dist", "to": "daemon" }, - { - "from": "resources/nodejs", - "t...
10
9
5
[{"id": "G0", "claim": "When activeProviderId is set but no model is selected, siblingModels returns an empty list and the model items are gated by hasModel, so after removing the settings action a connected active provider has no way to pick its first model from the dropdown.", "category": "correctness", "verdict": "s...
null
accomplish-ai__accomplish__937
accomplish-ai/accomplish
937
defect
5f87932f6a04338fb50bc70c99429312cbd85587
88da5892c6cabfb065d18b73536ac2bafa8b0916
fix(ui): catch loadTasks error when daemon is not bootstrapped
## Summary - **Browser cold-start fix**: Replace `localhost` with `127.0.0.1` in the dev-browser HTTP server binding, health checks, and MCP connection URL. This fixes a macOS-specific issue where `localhost` mDNS resolution triggered the Local Network permission dialog, causing the "already running" pre-check to be s...
diff --git a/apps/web/src/client/components/settings/google-accounts/GoogleAccountsSection.tsx b/apps/web/src/client/components/settings/google-accounts/GoogleAccountsSection.tsx index ec2410fdd..4a0c5cad3 100644 --- a/apps/web/src/client/components/settings/google-accounts/GoogleAccountsSection.tsx +++ b/apps/web/src/...
1
1
1
[{"id": "G0", "claim": "The catch around `accomplish.listTasks()` labels every failure as daemon-unavailable and returns, which can silently suppress unrelated failures; narrow it to daemon-bootstrap failures only and rethrow the rest.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int...
null
ace-step__ACE-Step-1.5__1044
ace-step/ACE-Step-1.5
1,044
defect
2e786dcfccaecf0666ddf4337d02c89c11c91ef2
89a9229ebcd8a14288d741bfd773f4d78484ade4
fix: fixed-training CLI
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Standalone fixed-training CLI for direct invocation without a subcommand * Preprocessing mode for audio validation and tensor output (--preprocess) * Convenience flags for plain output and a...
diff --git a/acestep/training_v2/cli/args.py b/acestep/training_v2/cli/args.py index 6b4fd39ea..77f0407ef 100644 --- a/acestep/training_v2/cli/args.py +++ b/acestep/training_v2/cli/args.py @@ -1,8 +1,9 @@ """ Argparse construction for ACE-Step Training V2 CLI. -Contains ``build_root_parser`` and all ``_add_*`` argu...
6
2
2
[{"id": "G0", "claim": "args.py exceeds the 200 LOC module hard cap and gained responsibilities in this PR; it should be split by responsibility or a concrete follow-up split plan added to the PR notes.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
ace-step__ACE-Step-1.5__1059
ace-step/ACE-Step-1.5
1,059
defect
051a4ddf4f076e48a87861c7b8fbc32f52025eff
c688130b7509584dafce9621cce4f17ec0ba3fbd
feat: make MLX VAE decode chunk size configurable with auto-tuning
## Summary Closes #1058 - Add auto-detection of optimal MLX VAE chunk size based on unified memory (256/512/1024/2048 for ≤16GB/≤36GB/≤64GB/>64GB) - Support `ACESTEP_MLX_VAE_CHUNK` env var override (highest priority) - Add Gradio UI slider for runtime adjustment (visible only on MPS/Apple Silicon) - Integrate `mlx_va...
diff --git a/acestep/core/generation/handler/mlx_vae_decode_native.py b/acestep/core/generation/handler/mlx_vae_decode_native.py index 23b5c21ea..e0d215e7d 100644 --- a/acestep/core/generation/handler/mlx_vae_decode_native.py +++ b/acestep/core/generation/handler/mlx_vae_decode_native.py @@ -87,7 +87,16 @@ def _mlx_dec...
4
1
1
[{"id": "G0", "claim": "Validate or clamp the externally configurable chunk size before the tiling math, because values like 64 or 128 can produce a non-positive stride and break the decode flow.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The ne...
null
ace-step__ACE-Step-1.5__1139
ace-step/ACE-Step-1.5
1,139
defect
d61c7acb9565624de77d88415195c11823d1ec0d
bf42f9114d62d28a40ad576dce33a6a6882d2db0
feat(vae): swap-in support for community VAEs (ScragVAE)
## Summary - Adds first-class swap-in support for community-finetuned VAEs, with [**ScragVAE**](https://huggingface.co/scragnog/Ace-Step-1.5-ScragVAE) as the first registered variant (MIT, by @scragnog). - New ways to select the VAE at inference time: - Gradio dropdown next to the model-variant selector - `ACE...
diff --git a/acestep/core/generation/handler/init_service_downloads.py b/acestep/core/generation/handler/init_service_downloads.py index 2d193b7be..c158c1d0f 100644 --- a/acestep/core/generation/handler/init_service_downloads.py +++ b/acestep/core/generation/handler/init_service_downloads.py @@ -6,10 +6,13 @@ from log...
5
5
2
[{"id": "G0", "claim": "ensure_vae_model does not handle absolute paths, so a user-supplied absolute VAE path that is not already on disk (or lacks weights) is rejected with a misleading 'Unknown VAE variant' error instead of skipping the download flow or returning a clear path-specific diagnostic.", "category": "corre...
null
ace-step__ACE-Step-1.5__1163
ace-step/ACE-Step-1.5
1,163
defect
6acb121810f82da8afb24077946f1c1436f5f10a
f59943308ed7b19ff9171cdc7b3b5f897de656e8
feat(flow-edit): plumb task_type=edit through handler/service/inference (PR-B)
## Summary Builds on the merged #1162 math layer. Adds the dispatch path so flow-edit (#1156) is reachable end-to-end via the Python API. Gradio UI is **PR-C**. After this lands a developer can: \`\`\`python from acestep.inference import GenerationParams, generate_music params = GenerationParams( task_type=\"e...
diff --git a/acestep/constants.py b/acestep/constants.py index 06aebea03..3acf56ef3 100644 --- a/acestep/constants.py +++ b/acestep/constants.py @@ -71,11 +71,11 @@ # ============================================================================== # All supported generation tasks across different model variants -TASK...
8
2
1
[{"id": "G0", "claim": "The new comment in acestep/constants.py uses the ambiguous Unicode multiplication sign, which Ruff flags as RUF003; it should use plain ASCII x to keep lint clean.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new co...
null
ace-step__ACE-Step-1.5__725
ace-step/ACE-Step-1.5
725
defect
bf14992c655cf8120c43e74915f7112441901ccb
7b6d75681d288e1404334c30173cb9e3deff819e
refactor(api): decompose sample/query/release task routes
## Summary This PR continues the API decomposition by extracting four route slices from `acestep/api_server.py` into focused modules while preserving existing client contracts. The branch includes four decomposition commits: - `refactor(api): extract sample/format and audio routes` - `refactor(api): extract query_resu...
diff --git a/acestep/api/http/audio_route.py b/acestep/api/http/audio_route.py new file mode 100644 index 000000000..ab409c70c --- /dev/null +++ b/acestep/api/http/audio_route.py @@ -0,0 +1,37 @@ +"""HTTP route for serving generated audio files by path.""" + +from __future__ import annotations + +import os +from typing...
21
9
7
[{"id": "G0", "claim": "CodeQL flags uncontrolled user-provided data used in path expressions in the /v1/audio route, where the request's path parameter flows into the file checks and FileResponse.", "category": "security", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 403 p...
null
ace-step__ACE-Step-1.5__745
ace-step/ACE-Step-1.5
745
defect
11cb44fdc41d4378af21dc284635e1934b9db3fa
c16a562bb136ed1bb247e46f70b44ca373a88860
refactor(api): extract lifespan runtime and worker orchestration
## Summary This PR extracts the remaining low-risk runtime orchestration from `acestep/api_server.py` into focused modules, while preserving existing API behavior. - `acestep/api_server.py` reduced from 1023 LOC to 881 LOC in this slice. - Extracted lifespan/bootstrap state setup into `acestep/api/lifespan_runtime.py`...
diff --git a/acestep/api/lifespan_runtime.py b/acestep/api/lifespan_runtime.py new file mode 100644 index 000000000..c72c907b2 --- /dev/null +++ b/acestep/api/lifespan_runtime.py @@ -0,0 +1,147 @@ +"""Lifespan bootstrap helpers for API server runtime state initialization.""" + +from __future__ import annotations + +imp...
3
1
0
[{"id": "G0", "claim": "Remove the unused local assignments `cache_root = runtime.cache_root` and `tmp_root = runtime.tmp_root` in acestep/api_server.py flagged by Ruff F841.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The blanket `except Exc...
null
ace-step__ACE-Step-1.5__819
ace-step/ACE-Step-1.5
819
defect
d6331d493bae1f37bce9b1e1039ecc03e3f5051d
cdf12324143d07fcec83f4589a0123d7b448677b
Add extract_codes_only fast path to /release_task
The `/release_task` endpoint had no way to extract raw audio codes without also triggering LLM metadata inference, forcing unnecessary latency when only codes are needed. ## Changes - **`release_task_models.py`** — new `extract_codes_only: bool = False` field - **`release_task_param_parser.py`** — alias entry `extrac...
diff --git a/acestep/api/http/release_task_models.py b/acestep/api/http/release_task_models.py index f8cd5dd0f..87042c01d 100644 --- a/acestep/api/http/release_task_models.py +++ b/acestep/api/http/release_task_models.py @@ -83,6 +83,7 @@ class GenerateMusicRequest(BaseModel): ) analysis_only: bool = False ...
4
2
1
[{"id": "G0", "claim": "The downstream serializers in query_result_service.py and local_cache_updates.py only pass through \"Full Hardware Analysis Success\" results, so the \"Audio Codes Extraction Success\" payload loses its audio_codes field and the codes never reach the /query_result response; both should also acce...
null
ace-step__ACE-Step-1.5__827
ace-step/ACE-Step-1.5
827
defect
0aabbcee162587abc9691e820e7884975c833d14
a89ecaf49ab826b841785efac2a842047150cc2d
Improve legacy NVIDIA / Quadro compatibility
## Summary This is the isolated Quadro / legacy NVIDIA compatibility slice split out from the broader PR-808 work. Scope is intentionally limited to legacy CUDA / pre-Ampere compatibility and the startup paths needed to support it. Partially address #486, #149, #245 ## Included - launcher probe for unsupported C...
diff --git a/acestep/acestep_v15_pipeline.py b/acestep/acestep_v15_pipeline.py index e609aa036..efb4e27ee 100644 --- a/acestep/acestep_v15_pipeline.py +++ b/acestep/acestep_v15_pipeline.py @@ -43,6 +43,7 @@ try: # When executed as a module: `python -m acestep.acestep_v15_pipeline` + from .cli_args import par...
21
6
2
[{"id": "G0", "claim": "Relocate the CLI quantization-default probe into gpu_config.py, or log its failures, instead of silently swallowing exceptions in acestep_v15_pipeline.py.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Catch only import e...
null
ace-step__ACE-Step-1.5__828
ace-step/ACE-Step-1.5
828
defect
0aabbcee162587abc9691e820e7884975c833d14
db5712306ba99464b55cf594738cdecf5da5efed
Detect missing model weights before skipping downloads
## Summary - guard against treating partially present checkpoints as fully available - verify required model weights exist before skipping downloader work - add focused downloader regression tests for missing-weights cases ## Validation - uv run python -m unittest acestep.model_downloader_test <!-- This is an auto-ge...
diff --git a/acestep/model_downloader.py b/acestep/model_downloader.py index b9f719ba7..2c0070509 100644 --- a/acestep/model_downloader.py +++ b/acestep/model_downloader.py @@ -329,12 +329,32 @@ def get_checkpoints_dir(custom_dir: Optional[str] = None) -> Path: return get_project_root() / "checkpoints" +def _c...
4
1
1
[{"id": "G0", "claim": "The weight_filenames list in _contains_model_weights() omits the Diffusers-style VAE names such as diffusion_pytorch_model.safetensors (and its index/shard variants), so after this PR merges check_main_model_exists() would return False even when all components including the VAE are fully downloa...
null
ace-step__ACE-Step-1.5__847
ace-step/ACE-Step-1.5
847
defect
7f845eeabfbae94655ed6a875184fe0eb859bb9e
2a13dbb410d933277ede2098395445edbc3bf131
fix(llm): clear CUDA cache after LLM generation to prevent VRAM fragm…
## Summary - Added `torch.cuda.empty_cache()` after both vLLM and PyTorch generation paths in `generate_from_formatted_prompt()` to return freed CUDA memory to the driver between generations - Prevents progressive VRAM fragmentation that causes later allocations to spill into slower shared memory, degrading perform...
diff --git a/acestep/llm_inference.py b/acestep/llm_inference.py index 8fdcd29a7..38da95e50 100644 --- a/acestep/llm_inference.py +++ b/acestep/llm_inference.py @@ -2266,6 +2266,11 @@ def generate_from_formatted_prompt( lyrics=lyrics, cot_text=cot_text, ) + ...
1
1
1
[{"id": "G0", "claim": "VRAM cleanup is still bypassed for batch Phase 2 generation: generate_with_stop_condition() calls _run_vllm/_run_pt directly without clearing the cache, so chunked runs can still carry allocator residue across iterations.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc...
null
ace-step__ACE-Step-1.5__848
ace-step/ACE-Step-1.5
848
defect
7f845eeabfbae94655ed6a875184fe0eb859bb9e
d2bc477b5cad49ff6d49a5a9be70a6f85f6d7ff1
fix(nanovllm): make torch.compile conditional on Triton availability
## Summary - Replaced all five `@torch.compile` decorators in vendored nanovllm with a conditional `@maybe_compile` that checks for Triton availability before compiling - Unlocks the full nanovllm/vLLM inference path on Blackwell GPUs (RTX 5090/5080/5070) and any system without Triton installed ## Problem On ...
diff --git a/acestep/third_parts/nano-vllm/nanovllm/layers/activation.py b/acestep/third_parts/nano-vllm/nanovllm/layers/activation.py index 041ee2008..49c472d54 100755 --- a/acestep/third_parts/nano-vllm/nanovllm/layers/activation.py +++ b/acestep/third_parts/nano-vllm/nanovllm/layers/activation.py @@ -2,13 +2,15 @@ ...
4
4
1
[{"id": "G0", "claim": "compat.py should use loguru instead of the stdlib logging module, per the project coding guidelines.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "maybe_compile should gain type hints for improved IDE support and documen...
null
ace-step__ACE-Step-1.5__872
ace-step/ACE-Step-1.5
872
defect
8b58da12a2b750845dfabb16824b54fd03169106
219ece98bcf6ff0adb9a07230fab4d00b4f2e1bf
fix(llm): restore GPU synchronization in _clear_accelerator_cache
The refactor in 9ea78c1 (renamed _clear_cuda_cache to _clear_accelerator_cache) dropped the critical torch.cuda.synchronize() call. Without it, empty_cache() releases memory while the GPU still has async writes in flight, causing cross-generation memory races. - Add synchronize() before empty_cache() on CUDA, XPU, a...
diff --git a/acestep/llm_inference.py b/acestep/llm_inference.py index 81d9144c4..6fe58ec84 100644 --- a/acestep/llm_inference.py +++ b/acestep/llm_inference.py @@ -82,17 +82,34 @@ def __init__(self, persistent_storage_path: Optional[str] = None): def _clear_accelerator_cache(self) -> None: """Release fre...
1
1
1
[{"id": "G0", "claim": "Two statements are concatenated onto single lines (lines 28 and 54 of acestep/llm_inference_cache_cleanup_test.py) in the rewritten tests, which is invalid Python syntax and causes a SyntaxError that prevents all tests in the file from running.", "category": "correctness", "verdict": "supported"...
null
ace-step__ACE-Step-1.5__878
ace-step/ACE-Step-1.5
878
defect
eafe29118a80287a0e28ef9fe785d6a20a8d61b6
fba391a5e3d2312a4bb7ce4dee04717472ea9d66
fix: add thread-safe locking to i18n, API key, and cache singletons
## Summary - Added missing thread synchronization to singleton initializers and shared globals flagged in Discussion #870. ## Problem Several module-level singletons and shared globals lacked synchronization, creating race conditions when accessed from concurrent threads (e.g., FastAPI request handlers, Gradio worke...
diff --git a/acestep/local_cache.py b/acestep/local_cache.py index 9e74a32e4..5bf29bac0 100644 --- a/acestep/local_cache.py +++ b/acestep/local_cache.py @@ -119,11 +119,14 @@ def close(self): # Lazily initialized global instance _local_cache: Optional[LocalCache] = None +_local_cache_lock = Lock() def get_loca...
10
7
3
[{"id": "G0", "claim": "get_local_cache() silently returns the already-initialized instance even when a later call passes a different cache_dir, so with the dynamically constructed path at acestep/api/lifespan_runtime.py:37 the wrong directory may be used; the reviewer asked for a warning, an error, or at least documen...
null
ace-step__ACE-Step-1.5__879
ace-step/ACE-Step-1.5
879
defect
89d53791dcaca6a705ab9f7e532bce013dd3940b
f281a2d3cfa0f6116a991ed2df1a9899c4366a2d
fix: close fd on error and flush diskcache at shutdown
## Summary - Fix potential file descriptor leak in `save_upload_to_temp()` and register `atexit` handler for the diskcache result cache ## Problem Two resource cleanup gaps identified during code review ([Discussion #870](https://github.com/ace-step/ACE-Step-1.5/discussions/870)): 1. **fd leak in `save_upload_to_te...
diff --git a/acestep/api/http/release_task_audio_paths.py b/acestep/api/http/release_task_audio_paths.py index fb3217d86..22d4bcb5e 100644 --- a/acestep/api/http/release_task_audio_paths.py +++ b/acestep/api/http/release_task_audio_paths.py @@ -62,7 +62,15 @@ async def save_upload_to_temp(upload: StarletteUploadFile, *...
3
2
1
[{"id": "G0", "claim": "Replace the hard-coded \"/tmp\" paths in release_task_audio_paths_test.py (lines 65 and 74) with tempfile.gettempdir() so the test avoids Ruff S108 and stays platform-neutral.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
ace-step__ACE-Step-1.5__932
ace-step/ACE-Step-1.5
932
defect
7f18549b2153c8525568456fd1124e3d30f17d70
c59a27214e1b610ea048bf2a5ec8daaa789c4fdf
fix(llm): force pt backend on legacy CUDA GPUs
## Summary This isolates a legacy Pascal/Titan LM backend compatibility fix on top of current `main`. Older pre-Volta CUDA cards can still run the main CUDA generation path, but they should not default the 5Hz LM path to `vllm`. This patch detects legacy CUDA capability and forces the LM backend recommendation/...
diff --git a/acestep/acestep_v15_pipeline.py b/acestep/acestep_v15_pipeline.py index b665618d7..b5cc9d245 100644 --- a/acestep/acestep_v15_pipeline.py +++ b/acestep/acestep_v15_pipeline.py @@ -145,7 +145,7 @@ def main(): and gpu_memory_gb > 0 and gpu_memory_gb < VRAM_AUTO_OFFLOAD_THRESHOLD_GB ) -...
1
1
1
[{"id": "G0", "claim": "Changing only the argparse default does not enforce compatibility at init time: the ACESTEP_LM_BACKEND env path, the SERVICE_MODE_BACKEND reset to \"vllm\", and args.backend passed straight into llm_handler.initialize() can still bypass the new compatibility rule and re-enable the incompatible b...
null
ace-step__ACE-Step-1.5__978
ace-step/ACE-Step-1.5
978
defect
ea91cb8c93e303c1a64e7f9dfceaabf570309f23
f0060f0bc970f3ad99547d72076d21631386f3af
feat: enhanced sampler modes for cleaner audio output
## Summary Addresses #957 — Implements three sampling improvements from community research (Scromfy sampler, MDMAchine's AMED) that produce cleaner audio, especially with 8-step turbo inference where CFG is not used: - **Heun (second-order) solver**: Evaluates the model twice per step and averages predictions via tra...
diff --git a/acestep/core/generation/handler/diffusion.py b/acestep/core/generation/handler/diffusion.py index 66cf067f1..228beaf70 100644 --- a/acestep/core/generation/handler/diffusion.py +++ b/acestep/core/generation/handler/diffusion.py @@ -35,6 +35,9 @@ def _mlx_run_diffusion( encoder_attention_mask_non_c...
7
4
4
[{"id": "G0", "claim": "test_heun_differs_from_euler only asserts shape equality, so it would still pass if Heun and Euler produced identical outputs; add an assertion that the two samplers' target_latents actually differ.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
ace-step__ACE-Step-1.5__981
ace-step/ACE-Step-1.5
981
defect
f867608e51180a835b50008197b67255b5260b7e
f128b32151da4257438e591f0c6a5fc0910a4505
feat: model-aware lyric alignment config for 4B DiT support
## Summary - Add `lyric_alignment_layers_config` field to `AceStepConfig` (base, sft, turbo) so each DiT model can define its own attention head mapping for lyric alignment and scoring - Add `_sync_alignment_config()` to `LyricAlignmentCommonMixin` that reads the config from the loaded model, with automatic string-to-i...
diff --git a/acestep/core/generation/handler/init_service_loader.py b/acestep/core/generation/handler/init_service_loader.py index 99527c186..040c5ce11 100644 --- a/acestep/core/generation/handler/init_service_loader.py +++ b/acestep/core/generation/handler/init_service_loader.py @@ -191,6 +191,7 @@ def _load_main_mode...
2
1
1
[{"id": "G0", "claim": "_sync_alignment_config casts lyric_alignment_layers_config keys and values directly, so a present-but-malformed payload can raise and fail model initialization; it should validate the type/shape and fall back to the default with a warning.", "category": "correctness", "verdict": "supported", "pr...
null
acepanel__panel__1267
acepanel/panel
1,267
defect
0e958cbd780d81cfed26c7a5bcbbd622cd12717f
35b5206ba9bb9b9d58838ca86a5bb65f46461ad5
Add redirect and advanced settings tabs to website editor
Website editor lacked redirect configuration despite backend webserver parser already supporting it. Also missing Rate Limiting and Basic Auth settings UI. ## Changes ### Backend (`internal/data/website.go`, `pkg/types/website.go`, `internal/http/request/website.go`) - Added `Redirects`, `RateLimit`, `BasicAuth` fiel...
diff --git a/go.sum b/go.sum index a2951e156b..c7e7f561d1 100644 --- a/go.sum +++ b/go.sum @@ -164,8 +164,6 @@ github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXi github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/g...
11
1
1
[{"id": "G0", "claim": "In Apache's RateLimit(), GetDirectiveValue(\"SetEnv\") returns only the first argument (\"rate-limit\") instead of the actual rate value, so the rate is never parsed; it should use GetDirectiveValues(\"SetEnv\"), check that the first argument is \"rate-limit\", and parse the rate from the second...
null
acidanthera__OpenCorePkg__358
acidanthera/OpenCorePkg
358
defect
714fc69f96ceffc06fec3347bab66d31314bebfb
6db820e887e1dfcc6c95474f73f790cf9caa4454
OcAppleKernelLib: Optionally set kext bundle version
Closes https://github.com/acidanthera/bugtracker/issues/2048
diff --git a/Include/Acidanthera/Library/OcAppleKernelLib.h b/Include/Acidanthera/Library/OcAppleKernelLib.h index f91574ab83e..6755fc4b998 100644 --- a/Include/Acidanthera/Library/OcAppleKernelLib.h +++ b/Include/Acidanthera/Library/OcAppleKernelLib.h @@ -866,6 +866,7 @@ PrelinkedReserveKextSize ( @param[in,out] Ex...
3
2
1
[{"id": "G0", "claim": "The added OUT BundleVersion parameter line in Include/Acidanthera/Library/OcAppleKernelLib.h is indented inconsistently with the surrounding parameter list.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The CFBundleVersi...
null
acidanthera__OpenCorePkg__437
acidanthera/OpenCorePkg
437
defect
bd7f1c0545ec0daaf4b21176b24286391726f74e
77f741594edacd94796e7e7ad23ad4a648ccd16b
OcConsoleLib: Add `GopBurstMode` quirk
Enable write-combining caching (aka gfx memory-specific burst mode) on GOP memory, where CPU supports it but firmware has not set it (e.g. EFI-era Macs). Produces significantly faster rendering with `DirectGopRendering` (but also applies to GOP even when `DirectGopRendering` is not set, as it is the GOP memory itsel...
diff --git a/Changelog.md b/Changelog.md index af50bbf34fb..22de2a09644 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,8 @@ OpenCore Changelog ================== #### v0.9.1 - Fixed long comment printing for ACPI patches, thx @corpnewt +- Added GOP memory caching report to `SysReport` +- Implemented `GopBur...
8
7
1
[{"id": "G0", "claim": "The PAT cache types are defined twice, as an enum and as macros for the same values, and there is no reason to have both.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Partially defining the PAT_INDEX bitfield is unsafe; the rema...
null
acidanthera__OpenCorePkg__440
acidanthera/OpenCorePkg
440
defect
f7f12a7d5a5343e71cc6fe9f02d9132eee855f65
c29e3eec5d5fd7bcb9c7b34c7f9997a76c553508
Add kernel quirk 'FixAppleVTD'
In macOS 13.3, WiFi and most Ethernet devices stop working when AppleVTD is enabled and system has more than 16GB memory. This affects motherboards that have one or more *Reserved Memory Regions* in their DMA Remap table (DMAR). The problem exists even if *Reserved Memory Regions* are removed and a substitute `SSDT-DMA...
diff --git a/Docs/Configuration.tex b/Docs/Configuration.tex index 963ae8606e6..4c5419f328c 100755 --- a/Docs/Configuration.tex +++ b/Docs/Configuration.tex @@ -2703,6 +2703,22 @@ \subsection{Quirks Properties}\label{kernelpropsquirks} \emph{Note}: This option should be avoided whenever possible. Modern firmware ...
7
5
1
[{"id": "G0", "claim": "Patching the driver may break VT-d even more, so correcting the DMA table would be a more efficient way to resolve the issue.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The patch should mask the call value out - find E8 xx xx xx...
null
acidanthera__OpenCorePkg__577
acidanthera/OpenCorePkg
577
defect
e04b9e2292bdbd176a60ee24e9b9462eb72a0bd2
49bf917a6cc37b31137570cd39c00fde506dda2a
Added minimal EFI Event support into userspace
- **Added minimal UEFI Event subsystem support into userspace** - **Added Yummy support into UEFI in userspace** - **Added demonstration test of working YummyEvents** # Description This feature added minimal support EFI Events into UEFI in userspace Linked PR: https://github.com/acidanthera/audk/pull/77
diff --git a/User/Include/Yummy.h b/User/Include/Yummy.h new file mode 100644 index 000000000000..b36a60b6bb10 --- /dev/null +++ b/User/Include/Yummy.h @@ -0,0 +1,198 @@ +#ifndef YUMMY_H +#define YUMMY_H + +#include <Uefi.h> +#include <Library/BaseMemoryLib.h> +#include <Library/MemoryAllocationLib.h> +#include <Librar...
27
26
3
[{"id": "G0", "claim": "clock_gettime is unavailable on older macOS versions that the project may still support, so the code should use a more widely available time source.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new files should carry th...
null
aclindsa__ofxgo__24
aclindsa/ofxgo
24
defect
677a09295a26521f4ad424f54a624153cd4fb9cf
d558940bdf15964c49076fd5da7671db51e6ed81
Rename ofxgo_test package to ofxgo and remove self-imports/references
It turned out that [removing the self-imports](https://github.com/aclindsa/ofxgo/pull/23#issuecomment-606048408) was more involved than I previously thought! This PR renames the test package to use the same name (`ofxgo`) so imports aren't required to run the tests. I've also un-exported `ErrInvalid` so it is no longer...
diff --git a/bank_test.go b/bank_test.go index 389bfc7..0f1b46b 100644 --- a/bank_test.go +++ b/bank_test.go @@ -1,7 +1,6 @@ -package ofxgo_test +package ofxgo import ( - "github.com/aclindsa/ofxgo" "strings" "testing" "time" @@ -42,24 +41,24 @@ func TestMarshalBankStatementRequest(t *testing.T) { </BANKMSGS...
1
1
1
[{"id": "G0", "claim": "generate_constants.py should also be updated to reflect the package rename, since the reviewer uses it to regenerate constants.go and constants_test.go when the constants change.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
aclindsa__ofxgo__38
aclindsa/ofxgo
38
defect
56ca46714bc75b75a54dee7e4e4b2d01034b9628
2c755f95cede5d480fd486a1d905a3fbd21ba833
support SGML OFX responses with no line breaks
Some financial institutions (*cough* Wells Fargo *cough*) export OFX files as a single line, which is technically valid according to the v1 spec. In order to parse them correctly, this PR changes `readSGMLHeaders` to use a regular expression that allows for all whitespace/line breaks to be optionally excluded. The ...
diff --git a/README.md b/README.md index 0a4e81e..7299262 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ library. The main purpose of this project is to provide a library to make it easier to query financial information with OFX from the comfort of Golang, without having -to marshal/unmarshal to SGML or X...
3
2
1
[{"id": "G0", "claim": "The header-parsing code would be more strict if it checked the number of regex matches against the expected value instead of accepting zero matches.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new sample file belongs in the b...
null
aclysma__rafx__156
aclysma/rafx
156
defect
e8bd4374e9ac94240396cb00f176613debc34047
cba8757b7429dd98510d5840a22b7261a7722993
Remove compute test
I don't think this is useful to have around right now and it's blocking the GLES3 backend from working with the demo. (We can always bring this back later if we want!)
diff --git a/demo/Cargo.toml b/demo/Cargo.toml index b2e0c4cc7..7a69b9f1c 100644 --- a/demo/Cargo.toml +++ b/demo/Cargo.toml @@ -62,10 +62,10 @@ default = [ "sdl2-bundled", "sdl2-static-link", "profile-with-puffin", - #"profile-with-stats-alloc", # Cannot be enabled with "profile-with-tracy-memory". W...
1
1
1
[{"id": "G0", "claim": "The pull request mixes the compute-test removal with several other unrelated changes and should be minimized to just the compute removal.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
acoomans__flask-autodoc__14
acoomans/flask-autodoc
14
defect
486ad476ebd0d1888e55146f7be709d03b7061b0
02eaf0d4ba7c7139f4a10abb1020a6e50696e5c6
Custom Function Properties
Added variable args to the doc decorator that add custom variables to a route's documentation. These variables are passed into the documentation that is generated and can be used in the template to have more customized and structured data (e.g. query string parameters, post form data, expected content types, etc.) wit...
diff --git a/flask_autodoc/autodoc.py b/flask_autodoc/autodoc.py index 579c0cc..2c81a8b 100644 --- a/flask_autodoc/autodoc.py +++ b/flask_autodoc/autodoc.py @@ -25,6 +25,10 @@ class Autodoc(object): def __init__(self, app=None): self.app = app self.func_groups = defaultdict(set) + self.fun...
1
1
0
[{"id": "G0", "claim": "The indentation of the reworked markup in the default template's mapping section is off.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
acornjs__acorn__111
acornjs/acorn
111
defect
73a890d6bed288aa18e64594c328f4d1863ad878
1bf8c1420fe4c976594aee6937e9e7b89129fc0a
onToken callback and comments support
Added optional `onToken` callback and provided an example for preserving comments in the code generated with [Escodegen](https://github.com/Constellation/escodegen).
diff --git a/README.md b/README.md index 06fb2c67d..b7d2e239f 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,9 @@ object referring to that same position. one-based line and zero-based column numbers in `{line, column}` form. Default is `false`. +- **onToken**: If a function is passed for this option, each ...
1
1
1
[{"id": "G0", "claim": "Since the pull request changes the tokenizer interface so getToken returns a fresh token object each call, the token copying logic in acorn_loose.js should also be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
acornjs__acorn__1218
acornjs/acorn
1,218
defect
bb9de9959e2d7e817faf205406e2f3c6f7e6f126
990916164f1f7b337f546ec268e3f1a5087078e3
Add support for ES2024 Regex v flag
This PR adds support for the regex v flag. close #1216
diff --git a/acorn/src/regexp.js b/acorn/src/regexp.js index 2a1d54825..9d9409d7b 100644 --- a/acorn/src/regexp.js +++ b/acorn/src/regexp.js @@ -8,17 +8,19 @@ const pp = Parser.prototype export class RegExpValidationState { constructor(parser) { this.parser = parser - this.validFlags = `gim${parser.options....
5
4
3
[{"id": "G0", "claim": "Use brackets, not a semicolon, for empty if branches in the new class-set-expression code.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Tracking may-contain-strings via the lastMayContainStrings property seems verbose and hard to...
null
acornjs__acorn__341
acornjs/acorn
341
defect
09acfbd5880f600ce44feed0fd9bd39c1c51af6b
e918a3e3d5dcfa5af321fc02176ef0014f05107c
Ensure arrow functions are in parens for call
I'm using the trick Espree currently uses (Esprima did away with it) in order to track parentheses while parsing. This is reasonably clean (IMO) and doesn't involve significant refactoring. Fixes #333
diff --git a/src/expression.js b/src/expression.js index f34823d0c..d387edd22 100644 --- a/src/expression.js +++ b/src/expression.js @@ -206,7 +206,7 @@ pp.parseExprSubscripts = function(refShorthandDefaultPos) { let startPos = this.start, startLoc = this.startLoc let expr = this.parseExprAtom(refShorthandDefault...
3
2
1
[{"id": "G0", "claim": "Avoid the new separate `parenthesesCount` state tracked in several places by detecting unparenthesized arrow functions another way, e.g. via the last-token check the reviewer proposed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
acornjs__acorn__606
acornjs/acorn
606
defect
d54b3a5926631f159078ef7c47a1a3072827964a
2e331189b9beb5ec8ba1aa59280defd9ccb5c232
Make isLet more permissive
This leads to better error messages, fixes #544. See #553 for discussion.
diff --git a/src/statement.js b/src/statement.js index 5d6cd1d75..972cfcc7c 100644 --- a/src/statement.js +++ b/src/statement.js @@ -41,7 +41,7 @@ pp.isLet = function() { let pos = next + 1 while (isIdentifierChar(this.input.charCodeAt(pos), true)) ++pos let ident = this.input.slice(next, pos) - if (!...
1
1
0
[{"id": "G0", "claim": "Lift the inline [\"instanceof\", \"in\"] array out of isLet so it can be reused (or show that major engines optimize it away).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
acornjs__acorn__624
acornjs/acorn
624
defect
8baca9920fd0f31950f0db554976347e91b96c04
1915f0c419d4c55b8cca5dd0e4a5cf6718382312
Don't accept static methods called prototype
Closes #623.
diff --git a/src/statement.js b/src/statement.js index ed94968b9..9d04fbf79 100644 --- a/src/statement.js +++ b/src/statement.js @@ -555,6 +555,8 @@ pp.parseClass = function(node, isStatement) { if (isAsync) this.raise(key.start, "Constructor can't be an async method") method.kind = "constructor" ...
1
1
1
[{"id": "G0", "claim": "The new test should also cover the `static prototype()` method form and the `static set prototype()` setter form, not just the static getter.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
acornjs__acorn__889
acornjs/acorn
889
defect
9675cfae693a0bc34ae7dc0c2ba20989603eb4a3
3543b79f1dd031eef13e127d40d90b063a670ffd
add `export * as ns from "source"`
This PR adds a new syntax `export * as ns from "source"`. - Language Spec: https://github.com/tc39/ecma262/pull/1174 - ESTree Spec: https://github.com/estree/estree/pull/205 Please mind the ESTree spec is on discussing. It might changes.
diff --git a/acorn-loose/src/statement.js b/acorn-loose/src/statement.js index a5b574044..40230d2ee 100644 --- a/acorn-loose/src/statement.js +++ b/acorn-loose/src/statement.js @@ -358,6 +358,13 @@ lp.parseExport = function() { let node = this.startNode() this.next() if (this.eat(tt.star)) { + if (this.opti...
1
1
1
[{"id": "G0", "claim": "The exported identifier of an ExportAllDeclaration should not be walked with the callback type \"Pattern\", since it is a very different construct from patterns (doesn't bind locally, etc.) and other exports don't walk their identifiers as patterns.", "category": "correctness", "verdict": "suppo...
null
acornjs__acorn__943
acornjs/acorn
943
defect
078e2cc761c0e4ff9d86963aea43efa34b7bbc59
da8adc03ffee14cf0ecdb001ffaa4229734b66e9
add `import.meta`
This PR adds `import.meta` support into acorn. It represents `import.meta` as a `MetaProperty` node. Upstreams: - [x] https://github.com/tc39/proposal-import-meta - [x] https://github.com/tc39/test262/pull/1888 - [x] https://github.com/tc39/ecma262/pull/1892 - [x] https://github.com/estree/estree/pull/210
diff --git a/acorn-loose/src/expression.js b/acorn-loose/src/expression.js index dbc41bd60..d2507f435 100644 --- a/acorn-loose/src/expression.js +++ b/acorn-loose/src/expression.js @@ -310,10 +310,13 @@ lp.parseExprAtom = function() { lp.parseExprImport = function() { const node = this.startNode() - this.next() ...
1
1
1
[{"id": "G0", "claim": "The new `import.meta` error messages should be aligned with the corresponding `new.target` error messages so the two meta properties stay internally consistent.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
acrlabs__simkube__207
acrlabs/simkube
207
defect
20060facba477574f8e2e405ab5c90ea8792d538
223f8dbb565b50384a6da0299cc9b9000219ef1b
sk-120/sk-32 fix: Add ca_bundle validation for MutatingWebhookConfiguration
## Related Links <!-- include a link to the issue(s) this resolves and/or any related design docs --> - https://linear.app/acrl/issue/SK-120/sk-ctrl-fail-closed-wait-for-webhook-to-get-cert - https://linear.app/acrl/issue/SK-32/restrict-mutation-webhook-to-only-virtual-namespaces ## What <!-- a short bulleted li...
diff --git a/.gitignore b/.gitignore index 25c4cb8a..534dba00 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .build .vendor generated-api +mise.toml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ef404cfc..2bbc2786 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ ...
8
7
0
[{"id": "G0", "claim": "The matchCondition expression should ideally match against the virtual_ns_prefix defined in the driver options instead of the hardcoded 'virtual-' prefix.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ca_bundle existence...
null
acryldata__mcp-server-datahub__84
acryldata/mcp-server-datahub
84
defect
31b9e5648718cc6d76969e7d505e2607a812fddd
69de43244e37c0a78fd31e1ae013c24c992500ca
feat: add health simple route
Creates a simple health route. Notice that there is a test failing (non-related). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Adds an isolated read-only route plus a small test; no changes to auth, data access, or core tool execution paths. > > **Overview** > Adds a lightweight `GET /health` custom route...
diff --git a/src/mcp_server_datahub/mcp_server.py b/src/mcp_server_datahub/mcp_server.py index 28959ec..b547d80 100644 --- a/src/mcp_server_datahub/mcp_server.py +++ b/src/mcp_server_datahub/mcp_server.py @@ -49,9 +49,12 @@ from json_repair import repair_json from loguru import logger from pydantic import BaseModel ...
5
5
1
[{"id": "G0", "claim": "The /health endpoint treats environment variables set to empty strings as missing because `if not os.getenv(var)` is falsy on empty strings, so valid OSS deployments with DATAHUB_GMS_TOKEN=\"\" get a 503 from a healthy server.", "category": "correctness", "verdict": "supported", "priority": "P1"...
null
acryldata__mcp-server-datahub__98
acryldata/mcp-server-datahub
98
defect
54d8886a10e28d69b714b81f5f04bab019f5f41d
749fc9d5099132f0fd6f03f97d62e2d20cb4fc11
Fixes: The MCP code fails with a 400 INVALID_ARGUMENT error when calling the Google Gemini GenAI API.
- error: google.genai.errors.ClientError: 400 INVALID_ARGUMENT. Unable to submit request because list_schema_fields functionDeclaration parameters.keywords schema didn't specify the schema type field. - fix: Function definition updated for list_schema_fields, now the model able to properly figure out the json s...
diff --git a/src/mcp_server_datahub/tools/entities.py b/src/mcp_server_datahub/tools/entities.py index db6b8b7..c686b5e 100644 --- a/src/mcp_server_datahub/tools/entities.py +++ b/src/mcp_server_datahub/tools/entities.py @@ -136,7 +136,7 @@ def get_entities(urns: List[str] | str) -> List[dict] | dict: def list_schem...
2
2
0
[{"id": "G0", "claim": "Add a unit test covering a single keyword passed as a string, since string input is still supported even though the PR no longer advertises it in the schema (basically the old version of the rewritten test).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
act-now-coalition__covid-data-model__1011
act-now-coalition/covid-data-model
1,011
defect
4c4776c000c368e3f998ba47344d919a3359642f
670845d990b34f18e6ddd1be3fd497037884c953
MultiRegionDataset.geo_data
This PR addresses https://trello.com/c/cmh0RhsA/1071-remove-geo-data-from-multiregiondatasetsstatic A MultiRegionDataset needs level,state (aka geo data columns) etc for making subsets of it to work consistently. Before this change subset may or may not work depending on how the MultiRegionDataset was created. This ...
diff --git a/data/geo-data.csv b/data/geo-data.csv new file mode 100644 index 000000000..92de45d67 --- /dev/null +++ b/data/geo-data.csv @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4bf98287d0e2d57241bcb7c6556c24a808bba4edeec1c597558579378f09e717 +size 246123 diff --git a/libs/datasets/combin...
5
4
0
[{"id": "G0", "claim": "The location_ids member should be a property rather than a method.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer suggests loading geo_data on init, or providing a helper static function that loads it and passes it to...
null
act-now-coalition__covid-data-model__1016
act-now-coalition/covid-data-model
1,016
defect
cbe83d64a9b11707b1ad13d7ad8242b058e0b9b7
781f1748e865b021c1a270dc3d4ddd4dc824dafc
Chris fixes for PR
Adds fixes for PR static value aggregation + adds a helper flag that skips all dataset filters
diff --git a/cli/data.py b/cli/data.py index d0de7e7ea..bfacf8fa2 100644 --- a/cli/data.py +++ b/cli/data.py @@ -66,6 +66,37 @@ def main(): pass +def _run_dataset_filters( + multiregion_dataset: timeseries.MultiRegionDataset, +) -> timeseries.MultiRegionDataset: + + multiregion_dataset = outlier_detectio...
2
1
0
[{"id": "G0", "claim": "Longer term the reviewer would prefer a way to keep a copy of the data before and after the filters, so that what changed at those pipeline points can be seen as input data and/or code changes.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1",...
null
act-now-coalition__covid-data-model__1037
act-now-coalition/covid-data-model
1,037
defect
dccc8eb6cb87da09655d01907db95447911510c0
ab86eed48c098c0b4b6bb4649729e3a64e2f00a6
Truncate old dates. Add test_helpers.read_csv_str.
* Expands `DataSource._check_data` to truncate data from before 2020-01-01 and rename it to `_check_and_removed_unexpected_data` * Expands DataSource.IGNORED_FIELDS to include more fields that are okay to be ignored now that geo data is loaded from elsewhere * Adds `test_helpers.read_csv_str` to produce data for test...
diff --git a/data/multiregion-wide-dates.csv b/data/multiregion-wide-dates.csv index c2ce422b8..025d5957c 100644 --- a/data/multiregion-wide-dates.csv +++ b/data/multiregion-wide-dates.csv @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c706a11f8d11eee67dcfe7c0ba0b146b955388ef305aa2ca37e57d2125a...
1
1
0
[{"id": "G0", "claim": "The name `_check_data` is misleading because the method modifies the data; it should be renamed (e.g. to `_check_and_remove_unexpected_data`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
act-now-coalition__covid-data-model__1062
act-now-coalition/covid-data-model
1,062
defect
6c2bd4e8e343fb1818adc9e1dfb6f85ffb43c7fc
5adcb88a6a9512ec045ca098537c95537dfae2d9
Add country to the API with hacky fips='0'
This PR addresses https://trello.com/c/dckJRBsA/574-add-usa-aggregation-to-api Schema auto-generated files updated with `./run.py api update-schemas` ## Tested This change has a unittest which passes. I also ran `python pyseir/cli.py build-all --generate-api-v2 --location-id-matches 'iso1:us$'` and browsed the...
diff --git a/libs/build_api_v2.py b/libs/build_api_v2.py index 55da89776..d18c2482e 100644 --- a/libs/build_api_v2.py +++ b/libs/build_api_v2.py @@ -115,7 +115,7 @@ def build_region_summary( distributions = one_region.demographic_distributions_by_field actuals = _build_actuals(latest_values, distributions_by_...
1
1
1
[{"id": "G0", "claim": "Use the country code as the key for the individual country output files (e.g. /country/US.json) instead of the hacky fips '0', since it is clearer and potentially more stable if the key ever changes.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
act-now-coalition__covid-data-model__1080
act-now-coalition/covid-data-model
1,080
defect
1feb0d3cdd24e4ec815e448c16c1eba4aae728ae
951d48153647974cd845e55311d5232bf2e70034
apply region-overrides in data pipeline
This PR addresses https://trello.com/c/f27O08ea/1266-make-it-possible-to-block-in-the-backend-using-the-cms * Copies `https://raw.githubusercontent.com/covid-projections/covid-projections/develop/src/cms-content/region-overrides/region-overrides.json` to `data/region-overrides.json` * Adds support for changing regi...
diff --git a/cli/data.py b/cli/data.py index 3b07ef8b4..ccacebccc 100644 --- a/cli/data.py +++ b/cli/data.py @@ -30,6 +30,7 @@ from libs.datasets import combined_datasets from libs.datasets import new_cases_and_deaths from libs.datasets import vaccine_backfills +from libs.datasets.dataset_utils import DATA_DIRECTORY...
12
10
3
[{"id": "G0", "claim": "Add a comment to the manual-overrides stanza in cli/data.py update() saying it applies manual overrides from region-overrides.json (the function could also stand to be split into sub-functions).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id...
null
act-now-coalition__covid-data-model__1218
act-now-coalition/covid-data-model
1,218
defect
fd27aeeba2699602ba5eb33c4e7276c6dd5a3619
f541d9038e9775514e1e165c4cc8555b00b60da0
Migrate NYT and HHS sources from covid-data-public to can-scrapers
[snapshot 299](https://covid-projections-git-bump-snapshot-2801-1692-covidactnow.vercel.app/internal/compare/?left=2799&locations=0&metric=5&right=2801&sort=3) was generated off this branch and appears to have not caused any unwanted changes I think the `test_pyseir_end_to_end_idaho` test is failing because the Ida...
diff --git a/.github/workflows/update_repo_datasets.yml b/.github/workflows/update_repo_datasets.yml index efc584f94..c0d59ebc2 100644 --- a/.github/workflows/update_repo_datasets.yml +++ b/.github/workflows/update_repo_datasets.yml @@ -52,6 +52,11 @@ jobs: lfs: true ref: '${{env.COVID_DATA_PUBLIC_REF...
1
1
1
[{"id": "G0", "claim": "Before merging, build scheduling should be thought through so that the parquet file is updated in time for the scheduled builds to pick it up.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
act-now-coalition__covid-data-model__1274
act-now-coalition/covid-data-model
1,274
defect
aef341459cb164604aa95c926c9040dd61c24de9
a91db9e13477aa079720390d3b2dd2cc80aed222
Add HSA actuals to API
This PR addresses https://trello.com/c/mQAfsaWF/399-add-cdc-community-level-related-metrics-to-api Snapshot 3132 was built off of this PR and can be previewed at: https://data.covidactnow.org/snapshot/3132/v2/county/25017.timeseries.json https://data.covidactnow.org/snapshot/3132/v2/state/MA.timeseries.json https...
diff --git a/api/can_api_v2_definition.py b/api/can_api_v2_definition.py index a70985092..62f2121be 100644 --- a/api/can_api_v2_definition.py +++ b/api/can_api_v2_definition.py @@ -121,6 +121,19 @@ class Actuals(base_model.APIBaseModel): description=""" Information about acute bed utilization details. +Fiel...
1
1
0
[{"id": "G0", "claim": "The descriptions of the new hsaHospitalBeds and hsaIcuBeds fields should say something about them only being available for (populated on) county endpoints.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
act-now-coalition__covid-data-model__1315
act-now-coalition/covid-data-model
1,315
defect
3b8afd42b860898cc805dde65dfd4a22d2f5000a
ddbb3fb36ff2af0624ceb31dac3608ec6c078ce5
Parallelize Update Combined Datasets
Update datasets in parallel by partitioning the bulk MultiRegionDataset into individual state shards. Currently, this runs the "Update Combined Datasets" action in ~38 minutes (with refreshing datasets) compared to the previous ~80-100 minutes. Snapshot built using this PR: https://covid-projections-git-bump-snaps...
diff --git a/cli/data.py b/cli/data.py index dde032fb9..7957c0c0c 100644 --- a/cli/data.py +++ b/cli/data.py @@ -1,69 +1,38 @@ -import dataclasses -import datetime -from typing import List -from typing import Mapping -from typing import Optional +import click import logging import pathlib -import json import structl...
15
14
2
[{"id": "G0", "claim": "The commented-out monotonic-increasing assertion and its TODO in _check_timeseries_wide_vars_index should be resolved before merging - either get to the bottom of why it fails during manual_filter runs or, if the check doesn't matter, remove the assert and the TODO.", "category": "correctness", ...
null
act-now-coalition__covid-data-model__669
act-now-coalition/covid-data-model
669
defect
d844761519a85f3e44c0351de4188dd940b36a6d
e3451b26b1fa06980755fb5be84847e76defadc4
Small tweaks to daily new cases and interpolation
A few changes: * Not taking mean of rolling window when there is no new data on the last day of the window * Taking the floor of the interpolated value - this pushes values back a bit, fixing up a few minor discrepancies * Removing a lot of the daily cases interpolation shenanigans in favor of just using the diff...
diff --git a/libs/series_utils.py b/libs/series_utils.py index cc3fca14b..c9db8b08f 100644 --- a/libs/series_utils.py +++ b/libs/series_utils.py @@ -35,7 +35,14 @@ def smooth_with_rolling_average( series = series.copy() series.loc[series < 0] = None - rolling_average = series.rolling(window, min_...
1
1
0
[{"id": "G0", "claim": "Add a link to the pandas Rolling.apply documentation near the new rolling-average apply call in libs/series_utils.py.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
act-now-coalition__covid-data-model__683
act-now-coalition/covid-data-model
683
defect
836757c86d8a2cf5589a20c2a1c83cf91becc141
0a4531f566c9125c2df2304f849b1f22d68ec9ab
Use location_id multiregion combined data and add CBSA aggregator
This PR is part of https://trello.com/c/nYgDEl3M/385-ability-to-query-raw-data-by-msa * Adds `CountyToCBSAAggregator` and test which is first attempt at aggregating counties to MSAs. * Removes unused `libs.qa.dataset_summary.get_summaries` * Adds `xlrd` to requirements.txt * Changes combined_dataset to be saved a...
diff --git a/libs/datasets/statistical_areas.py b/libs/datasets/statistical_areas.py new file mode 100644 index 000000000..60e8e653f --- /dev/null +++ b/libs/datasets/statistical_areas.py @@ -0,0 +1,55 @@ +from dataclasses import dataclass +from typing import Mapping +import pandas as pd + +from libs import pipeline +f...
9
7
2
[{"id": "G0", "claim": "Add a docstring to cbsa_to_location_id giving a bit more context about the CBSA code.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Region.fips would preferably be Optional instead of using an empty-string placeholder for ...
null
act-now-coalition__covid-data-model__728
act-now-coalition/covid-data-model
728
defect
bb4975efb458191e05c8a6d7951681a9feec3cff
fd05c6448f434b4b4179c0ed205d788db0de2b42
test positivity from multiregion object to api
## This PR This PR is part of https://trello.com/c/6ZPv7k9T/477-revamp-test-positivity-calculation * Harden `test_positivity.AllMethods.run` to raise particular exceptions when data is missing, avoid exceptions coming from deep within pandas * Change top_level_metrics.py to use the current positive_tests and neg...
diff --git a/cli/api.py b/cli/api.py index 27168eeeb..8451c75b6 100644 --- a/cli/api.py +++ b/cli/api.py @@ -203,9 +203,21 @@ def generate_api_v2(model_output_dir, output, aggregation_level, state, fips): rt_data_path = model_output_dir / SummaryArtifact.RT_METRIC_COMBINED.value rt_data = MultiRegionTimeserie...
11
8
1
[{"id": "G0", "claim": "Catching TestPositivityException and silently passing in generate_api_v2 fails silently; the reviewer asks to log it (e.g. to sentry) or not catch the exception.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The double-under...
null
act-now-coalition__covid-data-model__736
act-now-coalition/covid-data-model
736
defect
0e385815c070c88cc54038b31448e7d32e4e678d
991a2ebfbbf7a3d1750560c41c9d5e187d78ffcd
Un revert infert rt nola patch
## This PR This unreverts https://github.com/covid-projections/covid-data-model/pull/735, in other words it is a second attempt at https://github.com/covid-projections/covid-data-model/pull/731 this time with fix for `KeyError <CommonFields.ICU_BEDS: 'icu_beds'>` reported at https://sentry.io/organizations/covidactn...
diff --git a/libs/datasets/dataset_base.py b/libs/datasets/dataset_base.py index 91a0f86b3..2fa7d46f8 100644 --- a/libs/datasets/dataset_base.py +++ b/libs/datasets/dataset_base.py @@ -38,8 +38,7 @@ def get_subset(self, aggregation_level: AggregationLevel, **filters) -> "Dataset raise NotImplementedError("Subs...
1
1
0
[{"id": "G0", "claim": "The LOCATION_ID/DATE column assertions should live in the input data validation (__post_init__) rather than in get_subset, so the dataset is easier to reason about elsewhere.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
act-now-coalition__covid-data-model__757
act-now-coalition/covid-data-model
757
defect
3750419e5beeeb189b1a3a66301f79b47667585e
d6d50af947e6290a1706f1ac57321112778c981d
provenance read and write
This PR is the timeseries part of https://github.com/covid-projections/covid-data-model/pull/737 * Adds provenance to OneRegionTimeseriesDataset * Changes `MultiRegionTimeseriesDataset.from_csv` to read provenance data if `to_csv` wrote it. ## Tested Tests pass. Only change introduced by `python ./run.py...
diff --git a/libs/datasets/timeseries.py b/libs/datasets/timeseries.py index 69b1b5023..6fbccc879 100644 --- a/libs/datasets/timeseries.py +++ b/libs/datasets/timeseries.py @@ -1,3 +1,4 @@ +import dataclasses import datetime import pathlib import warnings @@ -70,6 +71,12 @@ class OneRegionTimeseriesDataset: l...
3
3
1
[{"id": "G0", "claim": "append_provenance_csv should have a docstring.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The provenance parameter on from_csv is unnecessary API surface: loading from a csv should not require callers to think about sup...
null
act-now-coalition__covid-data-model__783
act-now-coalition/covid-data-model
783
defect
6ac0415887f8fa003f20624f797854dea3c92fdd
d5c49432d5dc0c60c095e43dc4feb2df397d054d
MultiRegion append_regions preserves provenance
* change `MultiRegionTimeseriesDataset.provenance` to never be None and always sorted, simplifying code that uses it * in `MultiRegionTimeseriesDataset.append_regions` also append the provenance data. This PR addresses https://trello.com/c/7tgdgPUV/547-provenance-file-stopped-updating-oct-28
diff --git a/data/Valorum-wide-dates.csv b/data/Valorum-wide-dates.csv index c91b075e3..85ffc3c47 100644 --- a/data/Valorum-wide-dates.csv +++ b/data/Valorum-wide-dates.csv @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c543df31230e1b6b69bd3ad3e34c32ccbf2999b2261fd50c5bd114758886f1cf -size 1300...
2
2
0
[{"id": "G0", "claim": "The concatenated dataframes in append_regions could be assigned to their own variables to make the block more concise.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer would prefer that the files in data/ be up...
null
act-now-coalition__covid-data-model__797
act-now-coalition/covid-data-model
797
defect
b6ac87175df4c7fddf8b08c105e9e11f3bda2558
90649cf47e69efeff1122a57627e41e9f43885cf
MultiRegion regional attributes
## This PR * Instead of calculating the latest value for each timeseries before combining data do it when the latest value is read from MultiRegionDataset * Replace MultiRegionDataset data (geo data and timeseries together) and latest_values (timeseries latest values and constants such as population together) with ...
diff --git a/libs/datasets/combined_datasets.py b/libs/datasets/combined_datasets.py index c741489d3..1f485119b 100644 --- a/libs/datasets/combined_datasets.py +++ b/libs/datasets/combined_datasets.py @@ -106,7 +106,6 @@ class RegionLatestNotFound(IndexError): } ALL_FIELDS_FEATURE_DEFINITION: FeatureDataSourceMap =...
5
4
0
[{"id": "G0", "claim": "The new `_regional_attributes` attribute could be named `_static_data` (using the `static` name from the reviewer's similar branch), offered with no need to change.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `data` propert...
null
act-now-coalition__covid-data-model__813
act-now-coalition/covid-data-model
813
defect
63262bf0c5844def08247c45f7e71f3d3f20828b
5bca845e82e1076c5f4afaa8249861831beeaa30
add _apply_scaling_factor and test
This PR builds on the un-merged https://github.com/covid-projections/covid-data-model/pull/811 to add scaling of certain timeseries using certain static values. Not hard-coding the fields may be making this code more flexible than we need, but does make writing small unit tests easier. This development direction ...
diff --git a/cli/data.py b/cli/data.py index 4b84bb371..db181111b 100644 --- a/cli/data.py +++ b/cli/data.py @@ -11,6 +11,7 @@ from libs import google_sheet_helpers, wide_dates_df from libs import pipeline +from libs.datasets import AggregationLevel from libs.datasets import statistical_areas from libs.datasets.c...
7
6
2
[{"id": "G0", "claim": "Consider using total tests, if available, as the preferable key to scale test positivity on instead of population.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "CUMULATIVE_HOSPITALIZED should not have a scaling factor; the fields...
null
act-now-coalition__covid-data-model__828
act-now-coalition/covid-data-model
828
defect
f6a79df622807594a7aa2c908123ed62a159a08e
f994677dff680ae9a2f74a41fc018239c94b889a
adding can location page urls to api output
Adds in the location page url to API output Here's the data public PR https://github.com/covid-projections/covid-data-public/pull/171 This seems to do alright, but need to figure out a less hacky way for filtering out the numeric column
diff --git a/api/can_api_v2_definition.py b/api/can_api_v2_definition.py index f9d499cb6..29ddb38d3 100644 --- a/api/can_api_v2_definition.py +++ b/api/can_api_v2_definition.py @@ -240,13 +240,16 @@ class RegionSummary(base_model.APIBaseModel): population: int = pydantic.Field( ..., description="Total Pop...
1
1
1
[{"id": "G0", "claim": "The dtype-based numeric-column detection in _merge_attributes should be dropped in favour of explicitly listing the columns that can be non-numeric, because relying on dtypes lets non-numeric values slip past the pd.to_numeric guard and break other code in hard-to-debug ways.", "category": "desi...
null
act-now-coalition__covid-data-model__855
act-now-coalition/covid-data-model
855
defect
bc53905e6e81713660b2b3179bdfb6eef873e24e
780e702e617901d1849302b92d91a74b786fe9dc
Drop stalled timeseries tails
## This PR This PR addresses https://trello.com/c/UKy1yEtd/664-hhs-test-positivity-handle-bad-data-in-recent-days-better and https://trello.com/c/W96ocnI5/663-daily-new-cases-handle-anomalous-trailing-zeros-better and is a first basic attempt at https://trello.com/c/Cq2zNk2M/674-annotate-data-outliers-that-weve-flag...
diff --git a/cli/data.py b/cli/data.py index 79db5a845..5f3b3c6a7 100644 --- a/cli/data.py +++ b/cli/data.py @@ -30,6 +30,18 @@ import pyseir.icu.utils from pyseir.icu import infer_icu +CUMULATIVE_FIELDS_TO_FILTER = [ + CommonFields.CASES, + CommonFields.DEATHS, + CommonFields.POSITIVE_TESTS, + CommonFi...
4
1
0
[{"id": "G0", "claim": "The magic numbers used by _filter_one_series should either be passed in as kwargs or set as constants.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider also filtering TEST_POSITIVITY_7D and TEST_POSITIVITY_14D, whi...
null
act-now-coalition__covid-data-model__856
act-now-coalition/covid-data-model
856
defect
bc53905e6e81713660b2b3179bdfb6eef873e24e
8c31f1a35558a75ec9ce68dad73ac6c31c1c8bcc
More lenient daily new cases
this makes a couple changes to new cases calculation: - Before we were setting all values < 0 to nan. Looking at the data, a lot of counties have days of -1, but setting the -1s to zero as opposed to nan, we have a whole lot of nans. I think this is an alright change because it's a very small adjustment and it ma...
diff --git a/data/multiregion-wide-dates.csv b/data/multiregion-wide-dates.csv index bfa78b9ba..98a2d883f 100644 --- a/data/multiregion-wide-dates.csv +++ b/data/multiregion-wide-dates.csv @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:070b392b320d6f748bdc48ae109408738d59912388b79e423cca14465bf...
2
2
2
[{"id": "G0", "claim": "Setting all days before the first day to zero may cause a wacky Rt around the first date for timeseries that start midway through the pandemic, and TomGoBravo asks the author to check the location with the largest cases[first_date] that is modified by this change.", "category": "correctness", "v...
null
act-now-coalition__covid-data-model__878
act-now-coalition/covid-data-model
878
defect
51c75805019f289f6e25ca736480d376ac6c45f6
7fc3791c71cc5e513648b8839d091e12b937cb1f
Use wide dates / static / annotation csv for combined data
This PR is part of https://trello.com/c/Cq2zNk2M/674-annotate-data-outliers-that-weve-flagged-in-the-ui * Changes MultiRegionDataset to use DatasetPointer to get path of the various files it reads and writes. * Changes default MultiRegionDataset reading and writing to use wide dates format. These are ~30MB instead ...
diff --git a/cli/data.py b/cli/data.py index d8c193575..8b99ff4b0 100644 --- a/cli/data.py +++ b/cli/data.py @@ -8,7 +8,6 @@ import structlog import click -from covidactnow.datapublic import common_df from covidactnow.datapublic.common_fields import CommonFields from libs import google_sheet_helpers, wide_dates...
4
3
0
[{"id": "G0", "claim": "Pull the `self.tag.index.get_level_values(TagField.TYPE) == TagType.PROVENANCE` expression into a variable like `is_provenance_tag` so the provenance property might fit onto one line (about 2 lines total).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "intro...
null
act-now-coalition__covid-data-model__879
act-now-coalition/covid-data-model
879
defect
10460d70821aaac081d8ba1fafd08820e2e8ce68
7d85a420165eda08206f39de0f8db91ff935b736
Replace DC County Data with DC State data
Uses similar aggregation to NYC boroughs to replace DC county data with state data
diff --git a/cli/data.py b/cli/data.py index d8c193575..910cefd0c 100644 --- a/cli/data.py +++ b/cli/data.py @@ -114,6 +114,7 @@ def update( ) multiregion_dataset = timeseries.aggregate_puerto_rico_from_counties(multiregion_dataset) multiregion_dataset = custom_aggregations.aggregate_to_new_york_city(mul...
2
2
1
[{"id": "G0", "claim": "In test_replace_dc_county, read the cases column via timeseries[CommonFields.CASES] instead of the .timeseries.cases attribute.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the new MultiRegionDataset.regions property to ...
null
act-now-coalition__covid-data-model__906
act-now-coalition/covid-data-model
906
defect
96d06010642360bb80c07b3717b5412659548092
3efd91a5b3060a3b12ae78c08a8fff6ab48dc460
Add ratio vaccinated metric
Adds `vaccinationsInitiatedRatio` and `vaccinationsCompletedRatio` to metrics API fields
diff --git a/api/can_api_v2_definition.py b/api/can_api_v2_definition.py index 6f3097b4c..71bf43324 100644 --- a/api/can_api_v2_definition.py +++ b/api/can_api_v2_definition.py @@ -241,6 +241,13 @@ class Metrics(base_model.APIBaseModel): icuHeadroomDetails: Optional[ICUHeadroomMetricDetails] = pydantic.Field(None)...
3
1
0
[{"id": "G0", "claim": "Rename the `timeseries_df` parameter because it isn't really just a timeseries or DataFrame (e.g. `one_region` or `ds`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Drop the docstrings (the Args and Returns sections) s...
null
act-now-coalition__covid-data-model__935
act-now-coalition/covid-data-model
935
defect
fef3f1b5403e994bda382b51c10129607dfadf43
eabdd16724bcba9f630aac38336b101575c5af35
Add source_url tag
This PR is a big part of https://trello.com/c/lbiZpKwH/849-proposal-improve-the-provenance-link-so-that-we-can-show-a-source-urls-instead-of-a-data-class * Adds `class SourceUrl(TagInTimeseries)` and an property to get them in `OneRegionTimeseriesDataset` * Changes `test_helper.TimeseriesLiteral` to a frozen datacl...
diff --git a/libs/datasets/taglib.py b/libs/datasets/taglib.py index 8c5ff13fb..f8df327a7 100644 --- a/libs/datasets/taglib.py +++ b/libs/datasets/taglib.py @@ -50,6 +50,7 @@ class TagType(GetByValueMixin, ValueAsStrMixin, str, enum.Enum): ZSCORE_OUTLIER = "zscore_outlier" PROVENANCE = PdFields.PROVENANCE +...
1
1
0
[{"id": "G0", "claim": "source_url should be modeled as a property on the provenance annotation (e.g. {\"data_source\": \"CANScraper\", \"url\": \"<source url>\"}) rather than as a separate tag, since the reviewer thinks the source url falls under the scope of the provenance of the timeseries.", "category": "design", "...
null
act-now-coalition__covid-data-model__956
act-now-coalition/covid-data-model
956
defect
e9e77c3b3a8352758a9af043252959ffb23955ff
d5f42eb3a2ce2ff8f37402817ba5393365d54f33
Add `source` tag, holding provenance and source_url
This PR is progress on https://trello.com/c/hSJN82y9/927-pipe-through-source-names-to-fe * Adds new `Source` tag type that holds provenance and source_url * Adds make_source_tags that copies the old tags to new `source` * Changes API code to make FieldSource from new tag when set ## Tested `./run.py data upd...
diff --git a/cli/data.py b/cli/data.py index 6840e73b2..264eb9434 100644 --- a/cli/data.py +++ b/cli/data.py @@ -97,6 +97,7 @@ def update(aggregate_to_country: bool, state: Optional[str], fips: Optional[str] timeseries_field_datasets, static_field_datasets ) _logger.info("Finished combining datasets"...
1
1
0
[{"id": "G0", "claim": "The make_source_tags call in cli/data.py's update() could eventually move to the make_dataset function on the data source classes, intercepting tags at the source instead of converting two different types of tags into one.", "category": "design", "verdict": "supported", "priority": "P2", "scope"...
null
act-now-coalition__covid-data-model__987
act-now-coalition/covid-data-model
987
defect
4c4776c000c368e3f998ba47344d919a3359642f
487e46fa19af76ef4e669a88d1a936b4d3c0f6a6
Buckets from CanScraperLoader
This PR is part of https://trello.com/c/lvRFxC5y/932-get-dei-vaccination-data-into-api * Changes CanScraperLoader to return rows of observations identified by location_id. It returns all buckets but getting buckets that are not "all" to work further downstream is a WIP * Adds a check that `location_id` in parquet f...
diff --git a/libs/datasets/data_source.py b/libs/datasets/data_source.py index b172107a3..038952843 100644 --- a/libs/datasets/data_source.py +++ b/libs/datasets/data_source.py @@ -108,22 +108,25 @@ def _get_covid_county_dataset() -> ccd_helpers.CanScraperLoader: def make_dataset(cls) -> timeseries.MultiRegionData...
2
2
0
[{"id": "G0", "claim": "The variable name `all_ares` in `indexed_df` is cryptic and should be renamed (and explained) so readers can tell what it refers to.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dropped/returned variables could be i...
null
actionbook__ascent-research__8
actionbook/ascent-research
8
defect
c7af418d27cb5e4b065adbcd58e30f1346a365ec
e842621f8977a8bc6790f01bad7fa4b948d3230f
feat: rename to ascent-research + README positioning rewrite (v0.3.0)
## Summary Rename the project from \`research-rs\` to **\`ascent-research\`** — "your agent's next step up" — to foreground its defining property: every session resumes, every turn goes higher. No on-disk format change; v0.2 sessions auto-resolve via a legacy-path fallback. ## What's in the rebrand - **Crate + binar...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9880203..ba858b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,39 @@ # Changelog +## 0.3.0 — ascent-research rebrand + +Project renamed from `research-rs` to `ascent-research` to foreground +the incremental-research story. No breaking changes to the on-disk +s...
2
2
2
[{"id": "G0", "claim": "research_root() returns the legacy ~/.actionbook/research path whenever it exists and ~/.actionbook/ascent-research does not, so new and other write paths keep creating/updating sessions in the legacy tree forever for upgraded users, making the v0.3 default-path rename effectively non-functional...
null
actionless__pikaur__347
actionless/pikaur
347
defect
fbb4e85847101f5ae936ba50440f37c7d0cba77b
f3f8c41fbc5c09d76c314b4b74902a18c85d4218
--pkgbuild enchancements
1. Default value (`PKGBUILD`) 2. Fail on PKGBUILD absence or ill-format
diff --git a/locale/da.po b/locale/da.po index 6c85931a0..7f28b640a 100644 --- a/locale/da.po +++ b/locale/da.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-14 20:22+0100\n" +"POT-Creation-Date: 2019-02-02 16:40+0300\n" "PO-Revision-Date: 2018-...
2
1
0
[{"id": "G0", "claim": "The exit code 6 (ENXIO) raised when .SRCINFO generation fails is an odd choice and a more fitting errno-style code should be used instead.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Not copying the PKGBUILD and its sources to ...
null
actionless__pikaur__663
actionless/pikaur
663
defect
7ec651857100e91e45db2c7962cf4eb6f615e098
7abd95e850e460c8be9f6606a9c79ec3232ab3e9
Update to pass GNUPGHOME environmental variable as part of makepkg builds
Initialize GNUPGHOME from new config file option, build.GnupgHome. This PR should provide a minimal resolution for https://github.com/actionless/pikaur/issues/340 If the changes seem reasonable, I'll add test case(s). I'm also open to adding a related command line argument, but don't require it for my own use ca...
diff --git a/README.md b/README.md index e50ac2ab7..5fe8e31c7 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,10 @@ When doing sysupgrade ignore AUR packages which have `outofdate` mark. #### [build] +##### GnupgHome (default: None) +Provides an override path for the `GNUPGHOME` to use when building packages...
6
5
2
[{"id": "G0", "claim": "flake8 is failing the style check on this pull request's code (spacing in pikaur/core.py), so the linting errors need to be fixed.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Instead of making build.GnupgHome default t...
null
actions__actions-runner-controller__2502
actions/actions-runner-controller
2,502
defect
ba1ac0990b865b6503c902a5235e048ff1ebdf5b
0b5f9d9b930454e64610374143998c207fcfd977
Update unconsumed HRA capacity reservation's expiration more frequently and consistently
This is in response to #2466. This PR mainly updates `batchScale` and the documentation about how HRA webhook scaling works. This improves on the fix for #2254 and might fix #2073 and #2306. The existing code has a number of issues, particularly in the case where capacity reservations exceeded `maxReplicas`, th...
diff --git a/apis/actions.summerwind.net/v1alpha1/horizontalrunnerautoscaler_types.go b/apis/actions.summerwind.net/v1alpha1/horizontalrunnerautoscaler_types.go index 138d8da1dbd..e49d90695ac 100644 --- a/apis/actions.summerwind.net/v1alpha1/horizontalrunnerautoscaler_types.go +++ b/apis/actions.summerwind.net/v1alpha1...
5
3
2
[{"id": "G0", "claim": "The scale-down removal was changed from FIFO to FILO, which would remove the newest instead of the earliest capacity reservations on every scale down.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "If the PR supports amounts ot...
null
actions__actions-runner-controller__3157
actions/actions-runner-controller
3,157
defect
47dfed3ced786c117a58cbacedd8b5fb90777882
1d6b5e1db18e734e19ee756c7f0ac3506ccdcea9
propogate arbitrary labels from runnersets to all created resources
Within our organization we have policies in place that require all resources to have specific labels for security and cost attribution purposes (e.g. team, business unit, etc.). In order to support such a requirement, this change would have any arbitrary labels that are set at the AutoscalingRunnerSet level also b...
diff --git a/controllers/actions.github.com/resourcebuilder.go b/controllers/actions.github.com/resourcebuilder.go index 18f588407cc..824f722a6d4 100644 --- a/controllers/actions.github.com/resourcebuilder.go +++ b/controllers/actions.github.com/resourcebuilder.go @@ -85,14 +85,14 @@ func (b *resourceBuilder) newAutoSc...
1
1
0
[{"id": "G0", "claim": "The mergeLabels helper should take two named parameters (base, overwrites) instead of a variadic map, so the signature is easier to understand when read.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
actions__actions-runner-controller__3260
actions/actions-runner-controller
3,260
defect
c03fac8fdd487e8934b3a45c89326f7615947c85
c3432d9edb4f40f026d37a96572ef76252b5da76
Expose volumeMounts and volumes in gha-runner-scale-set-controller
My team needs to be able to mount our cert chain into these containers so they can trust our GHE deployment certs.
diff --git a/charts/gha-runner-scale-set-controller/templates/deployment.yaml b/charts/gha-runner-scale-set-controller/templates/deployment.yaml index 1b857b37de..ce7b85968f 100644 --- a/charts/gha-runner-scale-set-controller/templates/deployment.yaml +++ b/charts/gha-runner-scale-set-controller/templates/deployment.ya...
2
2
1
[{"id": "G0", "claim": "Render the user-supplied volumeMounts and volumes with toYaml instead of toJson so the rendered chart is easier to read.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add tests covering the new volumes and volumeMounts t...
null
actions__actions-runner-controller__3310
actions/actions-runner-controller
3,310
defect
309b53143e55d4ff7b1777561c20a70bc09c8da1
13e8de1a9c43eeb17acd9acb66149dc937925d92
Update metrics to include repository on job-based label
When creating labels used for the job-related metrics, apply repository name based on the job message, instead of `githubConfigUrl`. Also, fix the comment in listener_test. Partially addresses #3185
diff --git a/cmd/ghalistener/listener/listener_test.go b/cmd/ghalistener/listener/listener_test.go index 28e13ebf81..c4d01bb6f8 100644 --- a/cmd/ghalistener/listener/listener_test.go +++ b/cmd/ghalistener/listener/listener_test.go @@ -37,7 +37,6 @@ func TestNew(t *testing.T) { assert.Nil(t, err) assert.NotNil(t, ...
1
1
0
[{"id": "G0", "claim": "`b.organization` is empty for runners assigned to an enterprise, so the organization label should be taken from `jobBase.OwnerName`, the same treatment the PR gives the repository label.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
actions__actions-runner-controller__3371
actions/actions-runner-controller
3,371
defect
48706584fd8987730a58cbb1e0ceb59d93f111b3
d86653faf2d80eeb61079117aef42783baa885b8
Fix overscaling when the controller is much faster then the listener
When the ephemeral runner finishes, the listener issues a scale-down patch to the ephemeral runner set. But if ephemeral runner set reacts quicker than the listener, it may re-create the ephemeral runner, and quickly remove it. To avoid this problem, this PR introduces the following changes: 1. Ephemeral runner clea...
diff --git a/apis/actions.github.com/v1alpha1/ephemeralrunner_types.go b/apis/actions.github.com/v1alpha1/ephemeralrunner_types.go index 631abde385..1bb74c8247 100644 --- a/apis/actions.github.com/v1alpha1/ephemeralrunner_types.go +++ b/apis/actions.github.com/v1alpha1/ephemeralrunner_types.go @@ -42,6 +42,10 @@ type E...
3
3
0
[{"id": "G0", "claim": "The Go comment should read \"PatchID is the unique identifier for the patch issued by the listener app\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The chart CRD description should read \"PatchID is the unique identifi...
null
actions__actions-runner-controller__3405
actions/actions-runner-controller
3,405
defect
5b9b9f7ca221aec73d4de07d27a24470862f4580
5e68aa8662ca87c809dd56ba85d471ac3fdc4271
Add topologySpreadConstraint to gha-runner-scale-set-controller chart
Adds `topologySpreadConstraint` to `gha-runner-scale-set-controller` so that we can spread replicas across AZs like so: ``` topologySpreadConstraints: - labelSelector: matchLabels: app.kubernetes.io/name: gha-rs-controller # Or "nameOverride" if defined maxSkew: 1 topologyKey: topology....
diff --git a/charts/gha-runner-scale-set-controller/templates/deployment.yaml b/charts/gha-runner-scale-set-controller/templates/deployment.yaml index 2a32f525b1a..e0dd8297228 100644 --- a/charts/gha-runner-scale-set-controller/templates/deployment.yaml +++ b/charts/gha-runner-scale-set-controller/templates/deployment....
2
2
1
[{"id": "G0", "claim": "The default value of topologySpreadConstraints in values.yaml should be changed from an empty object {} to an empty list [].", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Go code should be formatted with go fmt.", "categ...
null
actions__actions-runner-controller__3430
actions/actions-runner-controller
3,430
defect
86f171435427fff1f4e1163844a7aee91b9bc449
2bdde301dfad5c3a8efb079f03a6b35e08e6219c
Refactor actions client error to include request id
This PR aims to change the actions error, and introduce a `GitHubAPIError` to log the request ID whenever we receive a response from the server. This can help diagnose problems such as the one described here: https://github.com/actions/actions-runner-controller/issues/3204
diff --git a/controllers/actions.github.com/ephemeralrunner_controller.go b/controllers/actions.github.com/ephemeralrunner_controller.go index d90f6459f5..ce7ea824fe 100644 --- a/controllers/actions.github.com/ephemeralrunner_controller.go +++ b/controllers/actions.github.com/ephemeralrunner_controller.go @@ -21,7 +21,...
2
2
0
[{"id": "G0", "claim": "After the error-handling block in cleanupRunnerFromService there is an empty line with trailing context that should be removed, per the reviewer's empty suggestion block.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "cle...
null
actions__actions-runner-controller__3575
actions/actions-runner-controller
3,575
defect
894732732a5a414deea5e47c9793caaa05d641b4
62ccfa58d59c89ee88502ba794761f1c094d3aec
chore: Added `OwnerReferences` during resource creation for `EphemeralRunnerSet`, `EphemeralRunner`, and `EphemeralRunnerPod`
Remove the "argocd.argoproj.io/instance" label from resources created by the controller. This prevents ArgoCD from pruning and deleting these resources when syncing.
diff --git a/controllers/actions.github.com/resourcebuilder.go b/controllers/actions.github.com/resourcebuilder.go index 49bdcac0f2b..5bfa70433ff 100644 --- a/controllers/actions.github.com/resourcebuilder.go +++ b/controllers/actions.github.com/resourcebuilder.go @@ -102,12 +102,25 @@ func (b *resourceBuilder) newAuto...
8
7
3
[{"id": "G0", "claim": "Add OwnerReferences to the AutoscalingListener's ObjectMeta (as in the suggested snippet) so the AutoscalingListener shows up in ArgoCD as a child resource of the AutoscalingRunnerSet.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim...
null
actions__actions-runner-controller__3891
actions/actions-runner-controller
3,891
defect
7ccc177b84a20e10af55845c405defc4c06ee4bc
115fd18d1533fd524ad16634d7146b29fcfd106f
Use Ready from the pod conditions when setting it to the EphemeralRunner
Fixes #3823
diff --git a/controllers/actions.github.com/ephemeralrunner_controller.go b/controllers/actions.github.com/ephemeralrunner_controller.go index b39d35dafb..005f621c16 100644 --- a/controllers/actions.github.com/ephemeralrunner_controller.go +++ b/controllers/actions.github.com/ephemeralrunner_controller.go @@ -712,22 +7...
1
1
0
[{"id": "G0", "claim": "The new error return in patchEphemeralRunnerStatus should wrap the error with %w instead of formatting it with %v.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
actions__actions-runner-controller__3981
actions/actions-runner-controller
3,981
defect
eaa3f2a3a0ebb843cf41908064ea27145f7ff3b3
a2f85680d324cd40e43245bc4fbeccc1701ef133
Pin third party actions
### String Formatting: * Standardized the use of double quotes for strings in multiple workflow files to ensure consistency. (`.github/actions/setup-arc-e2e/action.yaml`, [[1]](diffhunk://#diff-00e7225de0abc0dd153c04e52694b8ee32780ebb3a7f19157a4e68b4705f74bdL1-R6); `.github/workflows/arc-publish-chart.yaml`, [[2]](dif...
diff --git a/.github/actions/setup-arc-e2e/action.yaml b/.github/actions/setup-arc-e2e/action.yaml index 0cccd4650a..b4877a283a 100644 --- a/.github/actions/setup-arc-e2e/action.yaml +++ b/.github/actions/setup-arc-e2e/action.yaml @@ -1,9 +1,9 @@ -name: 'Setup ARC E2E Test Action' -description: 'Build controller image,...
2
2
0
[{"id": "G0", "claim": "Add a comment above each pinned third-party action SHA referencing the version it points to, since upgrading is a nightmare when the target version is unknown.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rewritten ...
null
actions__actions-runner-controller__4057
actions/actions-runner-controller
4,057
defect
32f19acc66da617f57cf6960b9ca283958d40768
1c3ea34ca4739dbef424e29926f6583701fc1a3b
Allow use of client id as an app id
This change allows client ID not to be an integer only, but also to be a client ID (see https://github.blog/changelog/2024-05-01-github-apps-can-now-use-the-client-id-to-fetch-installation-tokens/). This change is backwards-compatible. Fixes #3667
diff --git a/cmd/ghalistener/config/config.go b/cmd/ghalistener/config/config.go index b2fa0acde0..09f72d764e 100644 --- a/cmd/ghalistener/config/config.go +++ b/cmd/ghalistener/config/config.go @@ -18,7 +18,7 @@ import ( type Config struct { ConfigureUrl string `json:"configure_url...
2
1
0
[{"id": "G0", "claim": "The direct conversion of secret.Data[\"github_app_id\"] without checking the key's existence may lead to a runtime issue; add a check that the key exists before converting its value.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
actions__actions-runner-controller__4080
actions/actions-runner-controller
4,080
defect
a1a8dc5606d7d4e5532994f7c4a245354384d8b3
d393d2721c58e8540ef74f19e50ec43ae3acdcd7
Relax version requirements to allow patch version mismatch
This change reduces the version requirements to allow for a patch version mismatch. Previously, the resource version of each `AutoscalingRunnerSet` had to match the build version. This change allows the patch version mismatch.
diff --git a/apis/actions.github.com/v1alpha1/version.go b/apis/actions.github.com/v1alpha1/version.go new file mode 100644 index 0000000000..3ebe0ccfdf --- /dev/null +++ b/apis/actions.github.com/v1alpha1/version.go @@ -0,0 +1,70 @@ +package v1alpha1 + +func IsVersionAllowed(resourceVersion, buildVersion string) bool ...
3
2
1
[{"id": "G0", "claim": "Add a comment clarifying that patch version differences are intentionally ignored.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use 'v' directly instead of 'v[:]' in the parseInt call, since 'v[:]' is just the whole strin...
null
actions__actions-runner-controller__4240
actions/actions-runner-controller
4,240
defect
0a0be027fd3eb5c5b029f8f3a74b11ab12c48e1e
6f300de61069f71d59dcfccf60dfb97232d36aa5
Add workflow name and target labels
Hey team 👋 Thank you very much for maintaining this awesome project! This is for https://github.com/orgs/community/discussions/172708. This PR adds `job_workflow_name` and `job_workflow_target` labels to all job-related Prometheus metrics, making it possible to track metrics by workflow name and differentiate be...
diff --git a/charts/gha-runner-scale-set/values.yaml b/charts/gha-runner-scale-set/values.yaml index c602dd2280d..794f71dfb88 100644 --- a/charts/gha-runner-scale-set/values.yaml +++ b/charts/gha-runner-scale-set/values.yaml @@ -154,7 +154,7 @@ githubConfigSecret: # counters: # gha_started_jobs_total: # ...
3
1
0
[{"id": "G0", "claim": "The condition `idx > 0` should be `idx >= 0` so that a PR ref whose separator is at the start of `prPart` still sets a target.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The spacing of the last three label-assignment lines ...
null
actions__actions-runner-controller__4250
actions/actions-runner-controller
4,250
defect
088e2a3a9029f1c85e7bd3d2539f8b8ead5947f9
8f90f27b2da26a63426af638b72b0efa2cdadb8a
Introduce new kubernetes-novolume mode
As part of the effort to remove volumes on the hook side, we are introducing a new mode. The purpose is to ship the new feature, but also keep the old way the hook worked. The new way of not having volumes is risky in a sense that we are not certain they are covering 100% of the cases, and will impose new limitations w...
diff --git a/charts/gha-runner-scale-set/templates/_helpers.tpl b/charts/gha-runner-scale-set/templates/_helpers.tpl index 8428c29aee..9dfb615f98 100644 --- a/charts/gha-runner-scale-set/templates/_helpers.tpl +++ b/charts/gha-runner-scale-set/templates/_helpers.tpl @@ -377,6 +377,101 @@ volumeMounts: {{- end }} {{- ...
3
3
0
[{"id": "G0", "claim": "The values.yaml documentation comment shows the container hooks path as /home/runner/k8s/index.js while the implementation uses /home/runner/k8s-novolume/index.js, which could confuse users.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "...
null
actions__actions-runner-controller__4336
actions/actions-runner-controller
4,336
defect
82d5579696faef22965b3bedf9056be957d5372f
71e9f54fda595f6bc3ca5985afead260421cf6fb
Re-schedule if the failed reason starts with `OutOf`
Retry on `OutOf...` These issues are likely transient, so we should re-schedule the pod. Fixes #4168
diff --git a/controllers/actions.github.com/ephemeralrunner_controller.go b/controllers/actions.github.com/ephemeralrunner_controller.go index 80a012be05..e841861a1a 100644 --- a/controllers/actions.github.com/ephemeralrunner_controller.go +++ b/controllers/actions.github.com/ephemeralrunner_controller.go @@ -312,26 +3...
4
3
0
[{"id": "G0", "claim": "The test name \"It should re-create pod on OutOfsomething\" is unclear and awkwardly concatenated; consider a more descriptive name reflecting the OutOf failure reasons being tested.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
actions__actions-runner-controller__4340
actions/actions-runner-controller
4,340
defect
3fd1048576883d9660fe02cec2a1556cb1387d17
d776f27ed83b45c395258b8f7852147d7e20ae43
Make restart pod more flexible to different failure scenarios
Instead of testing known retryable errors (Evicted, OutOf...), this change checks for pod failed state. If the pod is in the failed state, that means that all containers exited. If all containers are done, we need to inspect the state. If the state of the runner is not yet updated, the we delete the pod as failed un...
diff --git a/controllers/actions.github.com/ephemeralrunner_controller.go b/controllers/actions.github.com/ephemeralrunner_controller.go index 40d25ad339..4d0d978f8a 100644 --- a/controllers/actions.github.com/ephemeralrunner_controller.go +++ b/controllers/actions.github.com/ephemeralrunner_controller.go @@ -313,37 +3...
3
2
0
[{"id": "G0", "claim": "The error message passed to errors.New and the log.Error message on the non-zero exit code path are redundant and should be simplified or made more distinct.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There is no test...
null
actions__actions-runner-controller__4400
actions/actions-runner-controller
4,400
defect
9de09f56ebe234502a503878c232255a4bc1676e
1db8869caa421580b5d55dce3b571a7d9b9b21e4
Allow users to apply labels and annotations to internal resources
Fixes #4293
diff --git a/apis/actions.github.com/v1alpha1/autoscalinglistener_types.go b/apis/actions.github.com/v1alpha1/autoscalinglistener_types.go index 3943c6f600..201b1e4899 100644 --- a/apis/actions.github.com/v1alpha1/autoscalinglistener_types.go +++ b/apis/actions.github.com/v1alpha1/autoscalinglistener_types.go @@ -69,6 ...
5
5
4
[{"id": "G0", "claim": "The ResourceMeta schema should not require both annotations and labels: the fields should be optional (omitempty/+optional) and the generated CRDs regenerated so users can set only one of them.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
actions__actions-runner-controller__4404
actions/actions-runner-controller
4,404
defect
dc7c858e683fa85801d9d133c753983e9cb6e9fc
2a8056e62845784f98224c813feb00509233c660
Shutdown the scaleset when runner is deprecated
The runner PR exiting with exit code 7 when `ACTIONS_RUNNER_RETURN_VERSION_DEPRECATED_EXIT_CODE=1`: https://github.com/actions/runner/pull/4285 This should propagate stops to the scaleset and set it to outdated, cleaning up resources.
diff --git a/apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go b/apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go index 90049d27bc..23ff3d5b5d 100644 --- a/apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go +++ b/apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go @@ -3...
5
4
3
[{"id": "G0", "claim": "Errors from markAsOutdated are logged but not returned, so reconciliation returns nil and controller-runtime will not requeue to retry the outdated transition and cleanup under transient failures.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
actions__actions-runner-controller__4413
actions/actions-runner-controller
4,413
defect
802dc28d389acd968715fb488bf979f467bf2510
83c67e9bc5a07bf45ea5df5d342fbc4489363807
Prepare 0.14.0 release
#### Major changes 1. Fix AcivityId typo in error strings [#4359](https://github.com/actions/actions-runner-controller/pull/4359) 1. Include the HTTP status code in jit error [#4361](https://github.com/actions/actions-runner-controller/pull/4361) 1. Fix tests and generate mocks [#4384](https://github.com/actions/a...
diff --git a/.github/workflows/gha-publish-chart.yaml b/.github/workflows/gha-publish-chart.yaml index d7b4f51155..a4f104e63e 100644 --- a/.github/workflows/gha-publish-chart.yaml +++ b/.github/workflows/gha-publish-chart.yaml @@ -23,11 +23,21 @@ on: required: true type: boolean default: fals...
4
3
1
[{"id": "G0", "claim": "The new 0.14.0 changelog entry uses the misspelling \"AcivityId\" in the human-readable text and should be corrected to \"ActivityId\" to avoid propagating the typo into release notes and search results.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
actions__actions-runner-controller__4475
actions/actions-runner-controller
4,475
defect
13a03302c8207e3c02d6a9021bb6acbc94d084cc
33b7280fa6139e2e6838c25e797e5fb0fd9ab4b2
Fix empty GVK in OwnerReferences for modern controllers
## What - Replace `GetObjectKind().GroupVersionKind()` with `v1alpha1.GroupVersion.String()` and static Kind strings when constructing OwnerReferences ## Why Objects fetched from the Kubernetes API server have their `TypeMeta` (`apiVersion`, `kind`) stripped by controller-runtime's typed client. As a result, ...
diff --git a/controllers/actions.github.com/resourcebuilder.go b/controllers/actions.github.com/resourcebuilder.go index 14a89cbaa1..45ccf1245c 100644 --- a/controllers/actions.github.com/resourcebuilder.go +++ b/controllers/actions.github.com/resourcebuilder.go @@ -319,8 +319,8 @@ func (b *ResourceBuilder) newScaleSet...
2
1
1
[{"id": "G0", "claim": "Unit tests should be added/extended to assert the OwnerReference APIVersion and Kind values (not just Name/UID), because without explicit assertions regressions back to an empty GVK would still pass the current ownership relationship tests.", "category": "testing", "verdict": "supported", "prior...
null