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
Hessesian__kotlin-lsp__55
Hessesian/kotlin-lsp
55
defect
e5ed9f4cc838fc9cd64af99acc4167881ddc0fb0
17324970b12c3a4a830df16f0a4b13654e91a9f0
refactor(infer): replace manual text parsing with CST node walks
Migrates manual char-by-char text scanning in `infer/args.rs` and `infer/it_this.rs` to use tree-sitter CST node traversal. ## What changed ### New `NodeExt` primitives (`node_ext.rs`) - `lambda_param_names` — extract param names from a `lambda_literal`'s parameter list - `lambda_param_position` — position of a named...
diff --git a/src/indexer.rs b/src/indexer.rs index a2ffcc12..56a0114a 100644 --- a/src/indexer.rs +++ b/src/indexer.rs @@ -217,6 +217,9 @@ impl crate::indexer::infer::InferDeps for Indexer { fn find_fun_return_type(&self, fn_name: &str) -> Option<String> { crate::resolver::infer::find_fun_return_type_by_n...
3
3
3
[{"id": "G0", "claim": "cursor_node_at treats pos.utf16_col == 0 as a sentinel meaning end-of-line, but column 0 is a valid start-of-line LSP cursor position, so it can resolve the wrong CST node and produce incorrect inference results on the CST fast path; interpret utf16_col literally (0 to byte 0) and pass an explic...
null
Hessesian__kotlin-lsp__6
Hessesian/kotlin-lsp
6
defect
acf3f04ec34aabf8ea65aa20902bdba0276a9a00
186d642f35397ee0d75cf5b0e07d40eddb91718f
refactor: extract indexer/cache.rs (phase 3, step 8)
## Summary Extracts all disk-cache persistence logic from `indexer.rs` (~233 lines removed) into a new `src/indexer/cache.rs` module. ## What moved | Symbol | Was in | Now in | |--------|--------|--------| | `CACHE_VERSION` | `indexer.rs` | `cache.rs` | | `FileCacheEntry` | `indexer.rs` | `cache.rs` | | `IndexCache`...
diff --git a/src/indexer.rs b/src/indexer.rs index dea708b0..d0b328a7 100644 --- a/src/indexer.rs +++ b/src/indexer.rs @@ -5,7 +5,6 @@ use std::sync::atomic::{AtomicU64, Ordering}; use std::sync::{Arc, RwLock}; use dashmap::{DashMap, DashSet}; -use serde::{Deserialize, Serialize}; use tower_lsp::lsp_types::*; /...
7
7
5
[{"id": "G0", "claim": "CACHE_VERSION is imported into indexer.rs but not used there after the cache tests moved out, which triggers an unused-import warning; drop it from the `use self::cache::{...}` list.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
Hessesian__kotlin-lsp__68
Hessesian/kotlin-lsp
68
defect
4163edf14762678587edb764dbf026c5ab21b387
ea1b42bede4cea09940b68ccb52adbe1607ceb55
feat: zero-config source root discovery (workspace.json + build layout + CLI)
## Summary Auto-discovers Kotlin/Java source roots without manual `sourcePaths` configuration. ## Discovery chain On LSP init (and via new CLI subcommand), source roots are resolved in order: 1. **`workspace.json`** — JetBrains Gradle/Maven plugin format. Reads `modules[].contentRoots[].sourceRoots[]` for types `ja...
diff --git a/src/backend/mod.rs b/src/backend/mod.rs index 189a8f96..61080ca7 100644 --- a/src/backend/mod.rs +++ b/src/backend/mod.rs @@ -271,13 +271,35 @@ impl Backend { } } - if let Some(source_paths) = + let mut all_source_paths: Vec<String> = Self::collect_indexin...
4
4
3
[{"id": "G0", "claim": "The module docs mention a `<MAVEN_REPO>` placeholder substitution that `load_source_paths` never implements, so the doc comment is misleading; either implement it or update the docs to match actual behavior.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "intro...
null
Hessesian__kotlin-lsp__70
Hessesian/kotlin-lsp
70
defect
1cec4cc986289697973a2da9f1c2d08bb0d9f233
2c275f1df8dbbb5f9a999c4f67477ab175aace24
feat(workspace): WorkspaceConfig + WorkspaceEvent + WorkspaceActor (Wave 1 MVI)
## Summary Wave 1 of the MVI architecture refactor. Establishes the **write-path infrastructure** for workspace lifecycle management. ## What's added ### `src/workspace/mod.rs` — WorkspaceConfig - `WorkspaceConfig { root, explicit_source_paths, ignore_patterns }` - `resolve_sources()`: **canonical source discovery**...
diff --git a/src/main.rs b/src/main.rs index 0970a861..69e2205a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,6 +15,7 @@ mod stdlib_tail; mod str_ext; mod task_runner; mod types; +mod workspace; mod workspace_json; pub(crate) use lines_ext::LinesExt; diff --git a/src/workspace/actor.rs b/src/workspace/actor....
13
11
6
[{"id": "G0", "claim": "handle_initialize only writes source_paths_raw when sources is non-empty, so a later Initialize with empty resolve_sources() leaves stale source paths, contradicting the documented discard-on-Initialize behavior; it should always write source paths.", "category": "correctness", "verdict": "suppo...
null
Hessesian__kotlin-lsp__72
Hessesian/kotlin-lsp
72
defect
1cec4cc986289697973a2da9f1c2d08bb0d9f233
538ab48038b23ccd1f45b21a05717e2090875171
feat(indexer): add WorkspaceRead trait extending IndexRead (Wave 2C)
## Summary Adds `WorkspaceRead: IndexRead` — a minimal read-only trait over the workspace/index state — to decouple request handlers from `Arc<Indexer>` and enable lightweight test stubs. This is Wave 2C of the MVI workspace refactor. ## Changes ### `src/indexer/resolution.rs` - `WorkspaceRead` trait with a single ...
diff --git a/src/indexer/resolution.rs b/src/indexer/resolution.rs index ab5604cd..2582faa4 100644 --- a/src/indexer/resolution.rs +++ b/src/indexer/resolution.rs @@ -2,8 +2,9 @@ // Phase 2: Core `resolve_symbol_info` pipeline implementation. use std::collections::HashMap; +use std::path::PathBuf; use std::sync::A...
2
2
1
[{"id": "G0", "claim": "Avoid `#[allow(dead_code)]` on the intentionally unused `WorkspaceRead` trait by introducing a small non-test usage (e.g. migrating one handler/helper signature to `&impl WorkspaceRead`) or gating the trait where it is actually used, so `-D warnings` can stay meaningful.", "category": "maintaina...
null
Hessesian__kotlin-lsp__75
Hessesian/kotlin-lsp
75
defect
5b711a9fdd1d70d2c7ed56fe9b63a40467e53a2c
3a6abb3d69d2b4ba4b117e959dcb34c139456de3
Wave 4: ScanQueue OpQueue + FileChanged coalescing
## Changes ### ScanQueue (OpQueue pattern) - New `scan_queue.rs`: `ScanQueue` with last-write-wins semantics; pending scan supersedes any previously queued one - `ScanArgs` captures `source_paths` at request time — fixes a real race where rapid Initialize events would cause scan1 to finalize using scan3's source paths...
diff --git a/src/backend/mod.rs b/src/backend/mod.rs index fbb63edf..a1028204 100644 --- a/src/backend/mod.rs +++ b/src/backend/mod.rs @@ -7,7 +7,6 @@ use tower_lsp::jsonrpc::Result; use tower_lsp::lsp_types::*; use tower_lsp::{async_trait, Client, LanguageServer}; -use self::helpers::syntax_diagnostics; use crate...
3
2
2
[{"id": "G0", "claim": "The assertion in completion_tx_dropped_when_superseded does not specifically verify that the completion_tx was dropped due to being superseded — it would also pass if the sender were still alive but had not sent — so the test should match the specific Closed error variant.", "category": "testing...
null
Hessesian__kotlin-lsp__8
Hessesian/kotlin-lsp
8
defect
9bb7a7df171de6cf2f230fa7fb2553bf77479614
6d6b95f67cd004ef33274d5d610a61980cf13f31
refactor: extract indexer/discover.rs (phase 3, step 9)
## Summary Extracts all source-file discovery logic from `indexer.rs` (~290 lines) into `src/indexer/discover.rs`. ## What moved | Function | Description | |----------|-------------| | `find_source_files` | Full workspace scan via `fd` with `walkdir` fallback | | `walkdir_find` | `ignore`-crate walker with user glob...
diff --git a/src/indexer.rs b/src/indexer.rs index b9f60c5f..a13ec5e7 100644 --- a/src/indexer.rs +++ b/src/indexer.rs @@ -1,4 +1,4 @@ -use std::collections::{HashMap, HashSet}; +use std::collections::HashMap; use std::path::{Path, PathBuf}; use std::process::Command; use std::sync::atomic::{AtomicU64, Ordering}; @@...
4
4
3
[{"id": "G0", "claim": "The warm_discover_files tests never create the on-disk cache file at workspace_cache_path, so warm_discover_files falls back to the cold-scan path and the warm-start behavior is not actually exercised; the reviewer asks to create (and clean up) the cache file so the tests cover it.", "category":...
null
Hessesian__kotlin-lsp__81
Hessesian/kotlin-lsp
81
defect
499ea83f8bf4973350d443b089f589bafbe904dd
36603311235b531471270a22a5cef4f69b620ee5
perf(cache): Arc<FileData> + pre-computed qualified map keys
Two cache-layer optimisations that together eliminate the main bottlenecks in the `complete` hot path (measured on Moneta: 12k workspace + 65k library files). ## Changes ### 1. `Arc<FileData>` in `FileCacheEntry` - `file_data: FileData` → `file_data: Arc<FileData>` - `save_library_cache` wraps in `Arc::new()` at save...
diff --git a/src/cli/run.rs b/src/cli/run.rs index a5ba6ac4d..8131bbeff 100644 --- a/src/cli/run.rs +++ b/src/cli/run.rs @@ -202,8 +202,21 @@ fn collect_cli_source_paths(root: &Path, no_stdlib: bool) -> Vec<String> { } } - // If workspace.json declares explicit sourcePaths, use those and skip the - ...
4
2
1
[{"id": "G0", "claim": "The fast path still clones the key string for every qualified entry, so if the goal is to remove allocations in this path the qualified key storage should use a shared string type (e.g. Arc<str>) as the map key so keys can be moved rather than cloned.", "category": "performance", "verdict": "unc...
null
Hessesian__kotlin-lsp__88
Hessesian/kotlin-lsp
88
defect
6ae76dd9cf1290ab939a16cfee19ffba67c69715
e2d48a6da18d81ed3ef43ac46a4ce8d9ac175e97
refactor(G1.5): split resolver/infer.rs — pure line-scanners → infer_lines.rs
## Summary Splits `resolver/infer.rs` (929 lines) into two focused files based on a clear boundary: - **`resolver/infer_lines.rs`** (NEW, ~350 lines) — pure line-scanning functions with zero index access - **`resolver/infer.rs`** (~280 lines, down from 929) — index-backed inference functions only ## Changes ### New...
diff --git a/src/lines_ext.rs b/src/lines_ext.rs index 5383919e..180daac1 100644 --- a/src/lines_ext.rs +++ b/src/lines_ext.rs @@ -98,15 +98,15 @@ impl LinesExt for [String] { } fn infer_type(&self, var_name: &str) -> Option<String> { - crate::resolver::infer::infer_type_in_lines(self, var_name) + ...
1
1
0
[{"id": "G0", "claim": "find_declaration_range_in_lines builds LSP Range columns using byte counts (pos as u32, name.len()), so the returned ranges are incorrect for identifiers appearing after non-ASCII characters on a line; the start/end character values should be computed as UTF-16 code units, including at line 489....
null
Hessesian__kotlin-lsp__91
Hessesian/kotlin-lsp
91
defect
03b38280c3207617d55b734d6526b3fe53c6c1b3
0d63c98de2a97766ab76aa610077a056bf58eb22
fix(rg): scope rg searches to sourceRoots when configured (issue #78)
## Problem When `sourceRoots` is set in `workspace.json`, all rg-based searches (go-to-definition, references, rename) still searched the entire workspace root, ignoring the configured source paths. Fixes #78. ## Solution - Added `RgTarget::SourcePaths` variant to `RgSearch` - Added `RgSearch::scoped(source_paths, ...
diff --git a/src/backend/handlers.rs b/src/backend/handlers.rs index 27cc1685..d774c5d2 100644 --- a/src/backend/handlers.rs +++ b/src/backend/handlers.rs @@ -177,7 +177,7 @@ impl Backend { } async fn rg_reference_locations(&self, search: &ReferenceSearch) -> Vec<Location> { - let (workspace_root, ig...
12
11
10
[{"id": "G0", "claim": "The rg scope list is built from the combined source_paths_raw (external library/default/Android SDK sources, and after the S2 filter also auto-detected build-layout roots) instead of a separate set of user-configured workspace source roots, so rg fallbacks can search external directories and sta...
null
Hessesian__kotlin-lsp__98
Hessesian/kotlin-lsp
98
defect
43ec194e3261e9956d44a0f7fa78385d013f0435
b1f3181cc3753b2bf5e2b0e718cbdad3552cc09d
feat: fill missing when branches — code action + diagnostics
## Summary Code action and warning diagnostic for incomplete `when` expressions over sealed classes, enums, and Booleans. ### Features - **Code action** (quick-fix): "Fill missing 'X' branches" — generates missing `when` arms with `TODO()` body - **Warning diagnostic**: `'when' is missing branches: A, B` on the `when...
diff --git a/.gitignore b/.gitignore index 59097d68..09a4b719 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ contrib/**/target __pycache__/ copilot-rename-args-worktree src/lib.rs +perf.data diff --git a/src/backend/actions.rs b/src/backend/actions.rs index ecf1e12c..0951eea9 100644 --- a/src/backend/actio...
12
9
4
[{"id": "G0", "claim": "collect_when_nodes returns immediately after a when_expression, so nested when expressions get no diagnostics; remove the early return or recurse into children.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The hardcoded tre...
null
HewlettPackard__PacketRusher__55
HewlettPackard/PacketRusher
55
defect
1c66eba3bb7d7acd2dccebf540e3b7a99c5ecbc8
196177064a2427451433893433125f475ec4c789
Add support for NGAP Handover
## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [X] New feature (non-breaking change which adds functionality) - Huge new feature: Support for NGAP Handover - Tested alongside [Open5GS](https://github.com/open5gs/open5gs), to be tested with Pro...
diff --git a/cmd/packetrusher.go b/cmd/packetrusher.go index e3ec9176..e076c516 100644 --- a/cmd/packetrusher.go +++ b/cmd/packetrusher.go @@ -89,7 +89,8 @@ func main() { &cli.IntFlag{Name: "number-of-ues", Value: 1, Aliases: []string{"n"}}, &cli.IntFlag{Name: "timeBetweenRegistration", Value: 500, Aliases:...
1
1
0
[{"id": "G0", "claim": "Remove the two debug error logs of simConfig.TimeBeforeNgapHandover and simConfig.TimeBeforeXnHandover added in SimulateSingleUE.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Hexastack__Hexabot__1126
Hexastack/Hexabot
1,126
defect
629a07fef81bc360ef72a6777be30ec4b79870d2
89d86743bb5d24dda79abee6486038c7526763e4
refactor: block fallback options
# Motivation Performing a refactoring on the fallback option usage. # Type of change: Please delete options that are not relevant. - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would caus...
diff --git a/api/src/chat/constants/block.ts b/api/src/chat/constants/block.ts new file mode 100644 index 0000000000..d8c36afe0a --- /dev/null +++ b/api/src/chat/constants/block.ts @@ -0,0 +1,17 @@ +/* + * Copyright © 2025 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0...
9
3
1
[{"id": "G0", "claim": "Casting the incomplete default user object `as Subscriber` bypasses the compiler and can lead to runtime `undefined` access when other code expects mandatory subscriber fields; make the typing truthful (e.g. `Partial<Subscriber> as Subscriber` or narrow the `Subscriber` interface) — the incorrec...
null
Hexastack__Hexabot__1135
Hexastack/Hexabot
1,135
defect
3034ca07a17ae4766d67b125857e81e6f9d8fcc1
1efecb90f094e27e29aaceeac8435b9aab43a175
fix(api): resolve predefined update hooks bug
# Motivation The main motivation of this PR is to use base-repository predefined hooks. Fixes #1134 # Type of change: - [x] Bug fix (non-breaking change which fixes an issue) # Checklist: - [x] I have performed a self-review of my own code - [x] New and existing unit tests pass locally with my changes <!-...
diff --git a/api/src/nlp/repositories/nlp-entity.repository.ts b/api/src/nlp/repositories/nlp-entity.repository.ts index e39acaf05..e27041fd4 100644 --- a/api/src/nlp/repositories/nlp-entity.repository.ts +++ b/api/src/nlp/repositories/nlp-entity.repository.ts @@ -8,7 +8,7 @@ import { Injectable } from '@nestjs/comm...
7
2
0
[{"id": "G0", "claim": "The JSDoc of the new handleEntityPostUpdate and handleValuePostUpdate handlers should be updated to account for the newly added method arguments (_query and updated).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TODO ...
null
Hexastack__Hexabot__360
Hexastack/Hexabot
360
defect
81a507d0913c582367c52b6b8f728b2b19fd812a
dc336630875891e91604e286aa776672a21f8c7e
fix: display translatable settings only in translations UI #360
# Motivation The issue was that some plugin settings, which are not translatable, were being returned from the backend alongside translatable ones. The fix ensures that only the translatable settings are included in the backend response for the translations UI, preventing non-translatable settings from being unneces...
diff --git a/api/src/chat/schemas/types/message.ts b/api/src/chat/schemas/types/message.ts index 8d1edbcdc9..f39afaa08e 100644 --- a/api/src/chat/schemas/types/message.ts +++ b/api/src/chat/schemas/types/message.ts @@ -8,6 +8,7 @@ import { Attachment } from '@/attachment/schemas/attachment.schema'; import { Content...
4
4
0
[{"id": "G0", "claim": "The mocked setting object in the SettingService.find mock carries a property that settings do not have ('key' in S1, then 'global_fallback' in S2) instead of `label: 'global_fallback'`.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
Hexastack__Hexabot__983
Hexastack/Hexabot
983
defect
43c7161777db5fd10c837f5fc88739e6074cb3f3
f972cc15dd9d9e7a035fa4933730ff65ad9f903b
fix: revert eventemitter updates
# Motivation The main motivation is to revert eventemitter updates Fixes #982 # Type of change: - [x] Bug fix (non-breaking change which fixes an issue) # Checklist: - [x] I have performed a self-review of my own code - [x] New and existing unit tests pass locally with my changes <!-- This is an auto-gen...
diff --git a/api/src/analytics/services/bot-stats.service.ts b/api/src/analytics/services/bot-stats.service.ts index 4d87f64b7..36913f8d5 100644 --- a/api/src/analytics/services/bot-stats.service.ts +++ b/api/src/analytics/services/bot-stats.service.ts @@ -107,11 +107,7 @@ export class BotStatsService extends BaseServi...
1
1
0
[{"id": "G0", "claim": "In bot.service.ts the 'hook:stats:entry' emissions at ~311-312 and ~392-393 pass the string literal 'popular' instead of the BotStatsType enum, and should be switched to BotStatsType.popular for type safety and consistency.", "category": "maintainability", "verdict": "supported", "priority": "P2...
null
HeyPuter__puter__1369
HeyPuter/puter
1,369
defect
e14e1acd953a597b93bb19143ded8a43ef43d2dc
5ab54e446fffd5dba01baa221ea14259cbe59757
fs: adapt to different mkdir api, block write to root dir, add tests
- fix #1367 - adapt to different `mkdir` APIs - add tests for `create_missing_parents` arg - add tests for "mkdir in root directory" test: ``` > node ./tools/api-tester/apitest.js --config=./tools/api-tester/config.yml --unit === Test Results === ┌─────────────────────────────────┬────────┬────────┬───────┐...
diff --git a/src/backend/src/filesystem/hl_operations/hl_mkdir.js b/src/backend/src/filesystem/hl_operations/hl_mkdir.js index 2dc72716d3..ce4ef64a91 100644 --- a/src/backend/src/filesystem/hl_operations/hl_mkdir.js +++ b/src/backend/src/filesystem/hl_operations/hl_mkdir.js @@ -271,8 +271,32 @@ class HLMkdir extends HL...
2
2
1
[{"id": "G0", "claim": "The root-write guard now tests `parent_node` instead of `top_parent`, which may reject mkdir calls in cases beyond creating a directory immediately under `/`; the reviewer asks what changed and contends `top_parent` was the correct choice.", "category": "correctness", "verdict": "supported", "pr...
null
HeyPuter__puter__1376
HeyPuter/puter
1,376
defect
bfd1f8faab5364343435003484aae62007027c0f
6d34949f00be9b8e552a87af905f251934fb99c1
fix failed tests in apitest (`move_cart` and `stat`)
This is a continuation of PR https://github.com/HeyPuter/puter/pull/1369 Originally, there were 5 failed test in apitest: ``` > node ./tools/api-tester/apitest.js --config=./tools/api-tester/config.yml --unit === Test Results === ┌─────────────────────────────────┬────────┬────────┬───────┐ │ (index) ...
diff --git a/src/backend/src/filesystem/hl_operations/hl_move.js b/src/backend/src/filesystem/hl_operations/hl_move.js index 340fe089c4..ecbe659421 100644 --- a/src/backend/src/filesystem/hl_operations/hl_move.js +++ b/src/backend/src/filesystem/hl_operations/hl_move.js @@ -147,7 +147,7 @@ class HLMove extends HLFilesy...
1
1
1
[{"id": "G0", "claim": "The added `subject.entry.permissions = [];` line appears to have no effect because FSNodeContext.fetchShares does not access or create any `permissions` property on the raw entry, so it is unclear how this change fixes the stat test.", "category": "correctness", "verdict": "supported", "priority...
null
HigherOrderCO-archive__hvm-64__114
HigherOrderCO-archive/hvm-64
114
defect
5f782ea506c10a4c06bc39c9ad500065906e6264
a9a1332ac18da6625274bf50cbfa7c11fd6fbf4b
mixed-width integer operations
Fixes #109 Adds support for mixed-width integer operations. - Operators can now be prefixed with one of `u8`, `u16`, `u32`, `u60`, `i8`, `i16`, `i32`. Omitting a prefix defaults to `u60`. - Numbers are stored as `i64`, so when displayed they include the sign. - Number literals can be prefixed with `-`.
diff --git a/src/ast.rs b/src/ast.rs index 3179dcb1..ad89d1bf 100644 --- a/src/ast.rs +++ b/src/ast.rs @@ -57,7 +57,7 @@ pub enum Tree { /// A nilary eraser node. Era, /// A native 60-bit integer. - Num { val: u64 }, + Num { val: i64 }, /// A nilary node, referencing a named net. Ref { nam: String }, ...
6
5
3
[{"id": "G0", "claim": "Port::num() needs to cast to i64 before shifting, so that the sign bit is sign-extended.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "From<u16> for Op transmutes without validating, which is UB if the value is not a valid o...
null
HigherOrderCO-archive__hvm-64__31
HigherOrderCO-archive/hvm-64
31
defect
fe7ef064a9553c5c0b4cee157a600d9b4c95de13
0f35684328590cdc60d0e9d754747a083787063d
Feature/sc 89/adapt existing benchmark code to benchmark
The majority of the tests does not work on the gpu, need to fix then to be able to benchmark
diff --git a/Cargo.toml b/Cargo.toml index 0fc12325..a3625c95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ insta = "1.34.0" hvm-core = { path = "." } [[bench]] -name = "hvm_cpu" +name = "benches" harness = false [features] diff --git a/benches/hvm_cpu.rs b/benches/benches.rs similarity index 75% r...
1
1
0
[{"id": "G0", "claim": "If more test cases with large outputs accumulate, the inline snapshots should be moved to actual file snapshots instead, though for now keeping it simple is fine.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
HigherOrderCO-archive__hvm-64__66
HigherOrderCO-archive/hvm-64
66
defect
01eb4ffeb384199f692352077d460015e7c6a48e
0b659fc97b3167363956fa7301dcc2b3fe3381b4
[sc-472] Allow passing arguments to program using a new CLI interface.
This PR adds a `clap`-based command-line-argument argument parser to `hvm-core`, adding the following features: - It modifies the `run` subcommand and allows it to take arguments that are then passed to the program. Arguments are passed using the lambda-calculus interpretation of interaction combinators, e.g. if the a...
diff --git a/Cargo.lock b/Cargo.lock index 59ecc7e5..c9a5c9ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -167,9 +167,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.6" +version = "4.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d04704f56c2cde07f43e8e2c154b43f21...
5
5
0
[{"id": "G0", "claim": "The new encoding module should live at `src/host/encode.rs` instead of `src/encode.rs`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The top-level API (`impl Host` with `encode_tree`/`encode_net`) should be placed above...
null
HigherOrderCO-archive__hvm-64__92
HigherOrderCO-archive/hvm-64
92
defect
09a3791cd8194fef28be95305835d4851eb0a854
22a0c89c301a36953a1bfcfd55e26ef113498c96
fix ooms
Fixes #91 - adds some missing calls to `half_free` - switches from a stack to a queue for the redex bag, ensuring that reductions are processed in an memory-friendly order I can now run the program in #91 with 1G of memory for 2^28, and with only 1K of memory when single-threaded. @Janiczek can you confirm t...
diff --git a/cspell.json b/cspell.json index 18d82ff2..832291ba 100644 --- a/cspell.json +++ b/cspell.json @@ -10,6 +10,7 @@ "combinators", "condvar", "ctrs", + "deque", "dereferencable", "dref", "dups", diff --git a/src/run/instruction.rs b/src/run/instruction.rs index 7aaf3787..b0090f...
2
1
1
[{"id": "G0", "claim": "The switch from a stack to a queue for the redex bag is problematic because many tests operating on trees now OOM; probably redexes should be categorized into 'shrinking' and 'growing' and the shrinking ones processed first.", "category": "correctness", "verdict": "supported", "priority": "P0", ...
null
HigherOrderCO-archive__hvm-64__93
HigherOrderCO-archive/hvm-64
93
defect
09a3791cd8194fef28be95305835d4851eb0a854
680a664ef9e1fc7c713f7ccf5437ca6ee310889f
rework heap allocation api
- Fixes UB when heap allocation fails - When no memory cap is passed, attempts to allocate 1 TiB, and steps down the size until the allocation succeeds - Simplifies the heap allocation API; there are now two main functions: - `Heap::new_exact`, which takes a size in words, and is a useful low-level API for testing...
diff --git a/benches/benches.rs b/benches/benches.rs index 7b3e722a..0fb3e8f3 100644 --- a/benches/benches.rs +++ b/benches/benches.rs @@ -59,7 +59,7 @@ fn run_file(path: &PathBuf, group: Option<String>, c: &mut Criterion) { } fn benchmark(file_name: &str, book: Book, c: &mut Criterion) { - let area = Heap::new_wo...
2
2
1
[{"id": "G0", "claim": "The doc comment on `Heap::new` is incorrect: it says the heap allocates at most the given size in bytes, but it allocates exactly that size, and implementing the 'at most' wording would require a fallback that steps down when `new_exact` returns `None`.", "category": "documentation", "verdict": ...
null
HigherOrderCO__Bend__161
HigherOrderCO/Bend
161
defect
c47767ca398695ddca1c1d21657d6779f95bb4e4
a099f63c1b3b30e3228b79521782eab41a1284f8
[sc-306] merge identical functions
Is this pass on the definitions satisfactory or would the pass on the INet/Net level be better?
diff --git a/src/lib.rs b/src/lib.rs index c2afcdffd..7b122e75a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -42,10 +42,7 @@ pub fn compile_book(book: &mut Book, opts: Opts) -> Result<CompileResult, String Ok(CompileResult { core_book, hvmc_names, labels, warnings }) } -pub fn desugar_book( - book: &mut Book, - ...
2
1
1
[{"id": "G0", "claim": "Asked whether all alpha-equivalent terms will really have the same hash, suspecting a catch even after variables are uniquely named and linearized.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Asked the author to add a comp...
null
HigherOrderCO__Bend__232
HigherOrderCO/Bend
232
defect
f79817ce68e9210279efcc6896d05e0714b8e110
c2dca526c5f0bfb9cb5a11f2e524cda6bec44b7f
[sc-500] Add mutual recursion cycle check
Infinite expansion check will be added in a later moment
diff --git a/docs/lazy-definitions.md b/docs/lazy-definitions.md index 31967521a..e3ee947ce 100644 --- a/docs/lazy-definitions.md +++ b/docs/lazy-definitions.md @@ -19,8 +19,6 @@ main = (Nat.add (S (S (S Z))) (S Z)) Because of that, is recommended to use [supercombinator](https://en.wikipedia.org/wiki/Supercombinato...
4
4
2
[{"id": "G0", "claim": "The sentence about the automatic optimization should be reworded (via the given suggestion block) to say 'combinator floating' and 'enabled through the CLI' instead of 'float-combinators ... through the CLI'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr...
null
HigherOrderCO__Bend__618
HigherOrderCO/Bend
618
defect
978162739f3b0b839ae230960b4eab1ad50759d3
81e5dc426a9b7b59c33f762a0b7ebf473a993b2a
Fix bugs with the irrefutable case optimization
Fixes #617.
diff --git a/src/fun/transform/fix_match_terms.rs b/src/fun/transform/fix_match_terms.rs index 5fab79d4b..f655bf35c 100644 --- a/src/fun/transform/fix_match_terms.rs +++ b/src/fun/transform/fix_match_terms.rs @@ -126,8 +126,8 @@ impl Term { } fn fix_match(&mut self, errs: &mut Vec<FixMatchErr>, ctrs: &Construct...
1
1
0
[{"id": "G0", "claim": "Explain this change in the changelog.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
HikaruEgashira__parsentry__257
HikaruEgashira/parsentry
257
defect
7dcbef8d77c4f1dd9d853baf70fc77db6e4bed06
b446433f688554b3ce71f16a961ac19baeaaf412
refactor: rebrand as parallel CLI agent execution platform
## Summary - **Rename** `parsentry-claude-code` → `parsentry-executor` (agent-agnostic parallel executor) - **Update** CLI help, CLAUDE.md, crate descriptions to reflect new identity as parallel agent execution platform - **Remove** "security scanner" references from crate metadata Follows prior commits on main that ...
diff --git a/.gitignore b/.gitignore index 35b171fb..5630b33b 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ analysis_result.json # Mutation testing output mutants.out/ +mutants.out.old/ diff --git a/CLAUDE.md b/CLAUDE.md index 06a60078..6038a05f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,21 +1,31 @@ ...
3
3
0
[{"id": "G0", "claim": "The architecture code fence in CLAUDE.md has no language specifier and violates markdownlint MD040; adding one (e.g. ```text) would resolve the warning.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The Model subcommand'...
null
HikaruEgashira__parsentry__63
HikaruEgashira/parsentry
63
defect
440c46f96831326bd20b9fc735c178ff79497c33
3d406ad9e1788ebead51d408d79c35a534a8aba1
fix: resolve cargo-deny license issues and upgrade tree-sitter
## Summary This PR resolves the CI failures in Security Audit checks that were blocking PR merges by: - Replacing unmaintained `dotenv` with `dotenvy` for better maintenance - Adding `deny.toml` configuration to allow required licenses (Unicode-3.0, AGPL-3.0, CDLA-Permissive-2.0) - Upgrading tree-sitter from 0.24.6 t...
diff --git a/Cargo.lock b/Cargo.lock index b36d0dc3..f941751f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -373,10 +373,10 @@ dependencies = [ ] [[package]] -name = "dotenv" -version = "0.15.0" +name = "dotenvy" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c90b...
3
1
1
[{"id": "G0", "claim": "Add test cases covering the newly supported Language::C and Language::Cpp variants in test_language_from_extension so the mappings for .c, .h, .cpp and similar extensions are verified.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
Hinadt-Inc__miaocha__86
Hinadt-Inc/miaocha
86
defect
e9e2fcb821cd7770b1006fbda3a0b7a6a51b3f1e
515d2ed97d83a892b016e99cc061eb7a6879898d
[ISSUE #85] 修复带注释的 SELECT 语句识别错误问题
Closes #85 ## 变更的目的是什么 修复当执行 SELECT 语句时前面带有 ' -- ' 这样的注释时,无法识别为 SELECT 语句从而导致的普通用户执行 SELECT 语句没有权限问题。 ## 简短的更新日志 正则识别加强,识别 SELECT 语句时,预先清楚SQL语句前面的注释 <!-- 请在每个checkbox前打勾 [x] 来确认已完成,并删除这个注释 --> 请遵循此清单,以帮助我们快速轻松地整合您的贡献: * [x] 一个 PR(Pull Request的简写)只解决一个问题,禁止一个 PR 解决多个问题; * [x] 确保 PR 有对应的 Issue(通...
diff --git a/miaocha-server/src/main/java/com/hinadt/miaocha/application/service/impl/TableValidationServiceImpl.java b/miaocha-server/src/main/java/com/hinadt/miaocha/application/service/impl/TableValidationServiceImpl.java index 854cbf36..4aa771ac 100644 --- a/miaocha-server/src/main/java/com/hinadt/miaocha/applicati...
4
3
1
[{"id": "G0", "claim": "The block-comment handling in removeLeadingCommentsAndBlanks is flawed: when a line contains both /* and */ (e.g. `/* comment */ SELECT`), the single-line block comment is mishandled and the SQL content after it is ignored; the reviewer suggests checking whether the same line contains both the c...
null
Hinadt-Inc__miaocha__99
Hinadt-Inc/miaocha
99
defect
807e53860dc47bd9b5126d84dbbda99dae28cf21
7e5fcd4d443b10002f894464b78e11e47e6a3dea
[ISSUE #96] 修复 where sql 查询时, variant  子字段数值比较查询不准确问题
Closes #96 ## 变更的目的是什么 修复 whereSQL 查询时,variant 子字段数值比较的时候不准确 ## 简短的更新日志 <!-- 请替换下面的XX为实际内容,并删除这个注释 --> XX ## 验证这一变化 <!-- 请替换下面的XXXX为实际内容,并删除这个注释 --> XXXX <!-- 请在每个checkbox前打勾 [x] 来确认已完成,并删除这个注释 --> 请遵循此清单,以帮助我们快速轻松地整合您的贡献: * [x] 一个 PR(Pull Request的简写)只解决一个问题,禁止一个 PR 解决多个问题; * [x] 确保 PR 有对应的 Is...
diff --git a/miaocha-server/src/main/java/com/hinadt/miaocha/application/service/sql/converter/LogSearchDTOConverter.java b/miaocha-server/src/main/java/com/hinadt/miaocha/application/service/sql/converter/LogSearchDTOConverter.java index e74cdc76..01790cdf 100644 --- a/miaocha-server/src/main/java/com/hinadt/miaocha/a...
4
4
1
[{"id": "G0", "claim": "The VARIANT_NUMERIC_PATTERN regex is too complex and lacks detailed comments; it should be decomposed into more understandable parts with comments explaining each capture group.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
Hipparchus-Math__hipparchus__125
Hipparchus-Math/hipparchus
125
defect
12e3a7a1def315f762a9eb030c08a576ca3332aa
8716c364955ddfe69af27e543597d1630bb79c2e
Added Sequential Gauss-Newton optimizer
In order to perform sequential batch least square estimaion, it could be interesting to implement a sequential Gauss Newton optimizer.
diff --git a/hipparchus-optim/src/main/java/org/hipparchus/optim/LocalizedOptimFormats.java b/hipparchus-optim/src/main/java/org/hipparchus/optim/LocalizedOptimFormats.java index 5469547945..acc5f809ec 100644 --- a/hipparchus-optim/src/main/java/org/hipparchus/optim/LocalizedOptimFormats.java +++ b/hipparchus-optim/src...
9
5
0
[{"id": "G0", "claim": "A new UNEQUAL_VECTOR_DIMENSIONS localisation constant (and its French translation) is added although a DIMENSIONS_MISMATCH constant already exists, so the new constant should not be added.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "...
null
Hipparchus-Math__hipparchus__181
Hipparchus-Math/hipparchus
181
defect
852ac0ea9a997929d17b61742029c8c4d0e5013b
075d3d27ad092ef7ab37b7f87c70ac954ea8b34d
Speed up computation of convergent fractions and unify it
This PR has the goal to speed up and to unify the computation of fraction convergents by avoiding the creation of unnecessary (Big-)Fraction objects. Furthermore this change allows to specify arbitrarily precise convergence-tests. Instead of a Stream of converging `(Big-)Fractions` only the last object is returned. Th...
diff --git a/hipparchus-core/src/main/java/org/hipparchus/fraction/BigFraction.java b/hipparchus-core/src/main/java/org/hipparchus/fraction/BigFraction.java index 54b9ea190..75014ba40 100644 --- a/hipparchus-core/src/main/java/org/hipparchus/fraction/BigFraction.java +++ b/hipparchus-core/src/main/java/org/hipparchus/f...
2
2
1
[{"id": "G0", "claim": "Could the PR keep both the existing convergents method, which provides all intermediate convergents, and the new convergent method, which avoids building the intermediates, instead of replacing the former (the constructors needing only the last convergent would still use the new method)?", "cate...
null
Hipparchus-Math__hipparchus__219
Hipparchus-Math/hipparchus
219
defect
58d1fa50720bc474c43840a26466412ccff233ce
a78bfb61f6849a0f913da2fc162922237c5b4cdb
Issue 218 : Add Field version of Erf class (& Gamma)
Hey everyone, This pull request aims to close issue #218. I fieldified ```Erf``` but also ```Gamma``` as it is used in ```Erf```. I also added a ```FieldContinuedFraction``` class as it was used inside ```Gamma```. For the tests, I copied all existing tests and converted them to field. I also added new test...
diff --git a/hipparchus-core/src/changes/changes.xml b/hipparchus-core/src/changes/changes.xml index bc79654a6..e423b6383 100644 --- a/hipparchus-core/src/changes/changes.xml +++ b/hipparchus-core/src/changes/changes.xml @@ -49,6 +49,11 @@ If the output is not quite correct, check for invisible trailing spaces! <t...
8
7
0
[{"id": "G0", "claim": "The license header of FieldContinuedFraction.java should be replaced by the Hipparchus header.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since this file is specific to Hipparchus, the reference to Apache should be remo...
null
Hipparchus-Math__hipparchus__226
Hipparchus-Math/hipparchus
226
defect
d49a5302240ee2fa15ce1226473fd1f4085cdfc9
547865daa1e24d49e57efe18da77932c097a3526
Allow infinite integration span
Hello, This pull request aims at answering #225, which itself originates from an Orekit need expressed in [issue #1005](https://gitlab.orekit.org/orekit/orekit/-/issues/1005).
diff --git a/hipparchus-ode/src/main/java/org/hipparchus/ode/AbstractFieldIntegrator.java b/hipparchus-ode/src/main/java/org/hipparchus/ode/AbstractFieldIntegrator.java index 30acd9d89..baccfede5 100644 --- a/hipparchus-ode/src/main/java/org/hipparchus/ode/AbstractFieldIntegrator.java +++ b/hipparchus-ode/src/main/java...
2
2
2
[{"id": "G0", "claim": "The pull request should add two basic tests for the new infinite integration span behaviour, one for the double version and one for the field version.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new testInfiniteIntegration...
null
Hipparchus-Math__hipparchus__247
Hipparchus-Math/hipparchus
247
defect
bd26e69a55ac4cb4f90c9dcb576b437ff37b6a57
e3022951b1459adbc93e518326b3a1d06d7cd2bb
Fixed issue 244 : Add field version of Blendable interface method + field version of smoothstep function
Hi everyone, Opening this merge request to close issue #244. I added a ```FieldBlendable``` class (equivalent of ```Blendable```) and implemented it in ```FieldMatrix``` and ```FieldVector3D```. Also added the ability to create ```FieldSmoothStepFunction``` from the ```SmoothStepFactory``` class as well as th...
diff --git a/hipparchus-core/src/main/java/org/hipparchus/analysis/polynomials/SmoothStepFactory.java b/hipparchus-core/src/main/java/org/hipparchus/analysis/polynomials/SmoothStepFactory.java index 59ed6fcc0..be8384b7c 100644 --- a/hipparchus-core/src/main/java/org/hipparchus/analysis/polynomials/SmoothStepFactory.jav...
1
1
1
[{"id": "G0", "claim": "The license header of the newly added FieldBlendable.java should carry the copyright owner (CS GROUP) on its first line while the rest of the header retains the license grant to the Hipparchus project, but the header as written has an empty first line and names no copyright owner.", "category": ...
null
Hipparchus-Math__hipparchus__57
Hipparchus-Math/hipparchus
57
defect
cce5df3640c5d955c4ae28c9d38e19308317cfc6
aaf091341b623c610b5366fc047899c6089bb56f
toDegrees() and toRadians methods for RealFieldElements
This merge request aims to add toDegrees() and toRadians methods for any implementation of the RealFieldElements interface.
diff --git a/hipparchus-core/src/main/java/org/hipparchus/RealFieldElement.java b/hipparchus-core/src/main/java/org/hipparchus/RealFieldElement.java index 9aa4add9e4..4ff93b3453 100644 --- a/hipparchus-core/src/main/java/org/hipparchus/RealFieldElement.java +++ b/hipparchus-core/src/main/java/org/hipparchus/RealFieldEl...
1
1
0
[{"id": "G0", "claim": "FieldDerivativeStructure.toDegrees() could use the constant RAD_TO_DEG defined in the RealFieldElement interface instead of its local 180 / FastMath.PI conversion factor.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
Hipparchus-Math__hipparchus__66
Hipparchus-Math/hipparchus
66
defect
b4195d67103fd6007c82fb64c113c7ab78cde05f
175048e9b193427ff32ae2ca6701f1d2fc9014e0
Added equals() method for long, int, byte and short arrays.
Addition of equals(array[], array[]) method for arrays of integers.
diff --git a/hipparchus-core/src/main/java/org/hipparchus/util/MathArrays.java b/hipparchus-core/src/main/java/org/hipparchus/util/MathArrays.java index 2a459d90f1..cd12d02b99 100644 --- a/hipparchus-core/src/main/java/org/hipparchus/util/MathArrays.java +++ b/hipparchus-core/src/main/java/org/hipparchus/util/MathArray...
1
1
1
[{"id": "G0", "claim": "The new long[], int[], byte[] and short[] equals methods should compare elements with x[i] == y[i] instead of Precision.equals(x[i], y[i]), which converts the integers to doubles before comparing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
HiveGamesOSS__Chunker__2060
HiveGamesOSS/Chunker
2,060
defect
1ca2a52a2cfe988ad4b3b66b5811abe7d32fefad
5993bbb355752c6941f75de54568412b20535251
Add custom Biomes to Bedrock
Add custom biomes to Bedrock 1.21.100 and above Add biome mapping/replacement
diff --git a/app/ui/public/schemas/biome_mapping.schema.json b/app/ui/public/schemas/biome_mapping.schema.json new file mode 100644 index 00000000..c1609551 --- /dev/null +++ b/app/ui/public/schemas/biome_mapping.schema.json @@ -0,0 +1,26 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://...
22
22
5
[{"id": "G0", "claim": "The JavaDoc for getNewBiome's @param says \"the input dimension\" where it should say \"the input biome\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "flushLevel should report a writeBiomeList failure through converter.l...
null
Hmbown__aleph__26
Hmbown/aleph
26
defect
ad7b487ef6fbbcacc45e42a01c2f77d5c84120b5
6549629f2a70a55c34a3fbf64974785e778aef59
[codex] fix mcp helper stability and session loading regressions
## Summary This PR fixes three MCP robustness regressions discovered while exercising Aleph end-to-end, and publishes a patch version bump to `0.8.3`. ## User-facing impact Users could hit confusing or broken behavior in real workflows: - `load_session` could silently report success but restore zero sessions from vali...
diff --git a/aleph/__init__.py b/aleph/__init__.py index c517404..05e7c2d 100644 --- a/aleph/__init__.py +++ b/aleph/__init__.py @@ -46,4 +46,4 @@ "BudgetStatus", ] -__version__ = "0.8.2" +__version__ = "0.8.3" diff --git a/aleph/mcp/local_server.py b/aleph/mcp/local_server.py index 45aea32..b7b9662 100644 --- ...
4
1
1
[{"id": "G0", "claim": "In load_session, the new session should be assigned into self._sessions only after it has been fully created and configured, so that a failure in _configure_session cannot leave a partially configured session in the map.", "category": "correctness", "verdict": "supported", "priority": "P1", "sco...
null
Hmbown__aleph__28
Hmbown/aleph
28
defect
ccd96d16451436f344ac6c453f3685a4c59e30e2
a7100a2c1612234996e45f2afa32eeebe007856a
fix: address review findings from PR #27 modularization
## Summary Fixes 7 bugs identified by Devin, Copilot, and Gemini reviewers on PR #27: - **`recipe_runtime.py`** — Parallel `map_sub_query` errors stored at `outputs[0]` instead of the failing task's actual index (Devin + Copilot) - **`action_tools.py`** — `run_tests` lost `sys.executable -m` invocation and default fl...
diff --git a/aleph/mcp/action_tools.py b/aleph/mcp/action_tools.py index 876d8b1..6daa879 100644 --- a/aleph/mcp/action_tools.py +++ b/aleph/mcp/action_tools.py @@ -456,11 +456,14 @@ async def run_tests( ) # Heuristics for test runner + import sys as _sys + runner_bin: str = str(runn...
2
2
1
[{"id": "G0", "claim": "binding_status() calls path.stat() without handling OSError/PermissionError, so a bound file that exists but becomes unreadable would crash get_status instead of returning a stale/refreshable status; wrap path.stat() in try/except OSError and return a status similar to the other error cases.", "...
null
HoangNguyen0403__agent-skills-standard__41
HoangNguyen0403/agent-skills-standard
41
defect
8b7cf98b0d9a3bbea45e6ce4ec6f39036545e22d
6b72305c152580e0292cd44fe3d0ce88959c9e3c
Feat: Improve skill trigger bridge mapping & enhance Flutter and NestJS Framework skill
This pull request introduces several improvements and updates across documentation, changelogs, and CLI internals, focusing on enhanced security transparency, improved documentation structure, and better agent rule file handling. Notably, it updates the Flutter and NestJS skill versions, refines the skills index presen...
diff --git a/AGENTS.md b/AGENTS.md index 13c1d39f..709a600c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,35 +14,33 @@ <!-- SKILLS_INDEX_START --> # Agent Skills Index -## **Rule Zero: Zero-Trust Engineering** +> [!IMPORTANT] +> **Prefer retrieval-led reasoning over pre-training-led reasoning.** +> Before writing a...
6
3
1
[{"id": "G0", "claim": "cli/src/index.ts is set to version '1.6.6' but cli/package.json was bumped to '1.6.7' while the CHANGELOG documents the release as v1.6.6, so either both files should use 1.6.6 or the CHANGELOG should be updated to 1.6.7.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc...
null
HoangNguyen0403__agent-skills-standard__51
HoangNguyen0403/agent-skills-standard
51
defect
eaf6ae009d4c5a7bab85ed7a41a6351b53356372
017aab3c3dabac72a1d8518c7dd2827ec6a0d00d
Enhance/hob/improve agent skill rule trigger
This pull request introduces version 1.9.2 of the Agent Skills Standard, focusing on stricter enforcement of skill activation protocols, improved documentation, and updated benchmarks. The main changes make it much harder for agents to skip loading relevant skills, clarify indirect trigger matching, and update ecosyste...
diff --git a/.agent/rules/agent-skill-standard-rule.md b/.agent/rules/agent-skill-standard-rule.md index e4ecad69..03d9c40a 100644 --- a/.agent/rules/agent-skill-standard-rule.md +++ b/.agent/rules/agent-skill-standard-rule.md @@ -1,6 +1,6 @@ --- description: Rule for Agent Skills Standard - Always consult AGENTS.md ...
5
5
1
[{"id": "G0", "claim": "The two table row strings for File glob/Keyword include leading and trailing double-quote characters, so the generated AGENTS.md header will literally contain quotes at the start/end of those lines; remove the extra quote characters so the markdown rows match the intended table formatting (and t...
null
Holzhaus__rekordcrate__201
Holzhaus/rekordcrate
201
defect
d421bd805a036f3b7de18257b9f056c69db42721
babe66de8d38535870bd3c8fff3f09f2121ad5e1
Correct row count fields
The field num_rows_small was incorrectly interpreted, and is actually a field that spans up to 13 bits. This is followed by 11 bits that count the number of valid rows, previously known as unknown3/unknown4. Fixing this, it becomes apparent that the 13 bit row count is the full row count, and num_rows_large is not a...
diff --git a/src/pdb/bitfields.rs b/src/pdb/bitfields.rs new file mode 100644 index 00000000..f8aa2e08 --- /dev/null +++ b/src/pdb/bitfields.rs @@ -0,0 +1,43 @@ +// Copyright (c) 2025 Jan Holthuis <jan.holthuis@rub.de> +// +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a cop...
1
1
1
[{"id": "G0", "claim": "Marking the new packed_row_counts field #[br(temp)] (and calculating it on write) makes the printed Debug representation omit data read from the binary, and the lowest-level classes should expose the full row-count info read from the disk rather than deriving or abstracting it away.", "category"...
null
Holzhaus__rekordcrate__224
Holzhaus/rekordcrate
224
defect
538b15fc4dc1534e54df96f20676dc59ac105ad6
2828f2b3cee9d951b3e1f52907602144adae011b
feat(pdb): add History row type
This row type doesn't seem to be specifically related to history playlists (as a previous comment seemed to indicate), but instead to tracks or general db updates.
diff --git a/src/pdb/mod.rs b/src/pdb/mod.rs index 3efcbaee..0a5c0a84 100644 --- a/src/pdb/mod.rs +++ b/src/pdb/mod.rs @@ -133,7 +133,7 @@ pub enum PlainPageType { /// Manages the active menus on the CDJ. #[brw(magic = 17u32)] Menu, - /// Holds information used by rekordbox to synchronize history play...
2
2
1
[{"id": "G0", "claim": "The History row type added by this pull request is not yet documented in the djl-analysis exports documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A unit test for the new History row should be added as a basic ...
null
Hopding__pdf-lib__1002
Hopding/pdf-lib
1,002
defect
9168383d88e60b77922d2d031f4f9138eeff7240
2506331dbd832da0f312a664ec8e78f1f5dc6d0d
Find and remove child widgets from the document context
Fixes #1001 When removing a field from the document, we need to remove the children of the field first; otherwise, some renderers will still see the remnants and display these dangling widgets. ## What? Finds and removes child widgets of a field and removes them from the document context before removing fie...
diff --git a/src/api/form/PDFForm.ts b/src/api/form/PDFForm.ts index 74dbde470..dfb7d161c 100644 --- a/src/api/form/PDFForm.ts +++ b/src/api/form/PDFForm.ts @@ -596,6 +596,14 @@ export default class PDFForm { pages.forEach((page) => page.node.removeAnnot(field.ref)); this.acroForm.removeField(field.acroFiel...
2
2
2
[{"id": "G0", "claim": "The author reported in issue #1001 that an integration test was failing with this PR's earlier approach, and Hopding asks whether that is still the case or whether it was fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The...
null
Hopding__pdf-lib__1003
Hopding/pdf-lib
1,003
defect
9168383d88e60b77922d2d031f4f9138eeff7240
4298199281c0f26782faf874f18e2d10746fe8c6
Set page reference for new field Widgets
## What? Sets the page reference for field widgets when they are added to a page ## Why? Currently the library does not set the page reference, causing code intended to find the widget's page to fail. Notably, some internal code is also tripped up by this currently as it uses the same methodology. Ex: ` ...
diff --git a/src/api/form/PDFButton.ts b/src/api/form/PDFButton.ts index 87e2d5a11..721173005 100644 --- a/src/api/form/PDFButton.ts +++ b/src/api/form/PDFButton.ts @@ -181,6 +181,7 @@ export default class PDFButton extends PDFField { // Add widget to the given page page.node.addAnnot(widgetRef); + this....
1
1
1
[{"id": "G0", "claim": "The page reference should be set via an optional `page` property passed to `PDFField.createWidget` so it fits the existing API, instead of calling `updateWidgetPageReference` after adding the widget to the page.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduc...
null
Hopding__pdf-lib__1032
Hopding/pdf-lib
1,032
defect
e0243dbfe9bab847fb0f019d018c690a4a76e143
a936ad3de8df688b9f0830b490e246ee9e11c251
Improved memory usage
We have been using pdf-lib for the last 4 months to generate our PDFs on the WEB and on the server. I noticed that for a PDF with 180 pages and high resolution PNGs, the RAM usage increases a lot (~6GB). My code change ensures that after a `page.drawImage` you can directly call an `image.embed()`. This decodes a...
diff --git a/src/core/embedders/PngEmbedder.ts b/src/core/embedders/PngEmbedder.ts index d01d4a71b..201d2d1da 100644 --- a/src/core/embedders/PngEmbedder.ts +++ b/src/core/embedders/PngEmbedder.ts @@ -18,7 +18,7 @@ class PngEmbedder { readonly width: number; readonly colorSpace: 'DeviceRGB'; - private readonly...
3
3
2
[{"id": "G0", "claim": "Use `undefined` instead of `null`, since the `null` value isn't used in the pdf-lib codebase.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of clearing the `PngEmbedder.image` property, clear the `PDFImage.embedd...
null
Hopding__pdf-lib__275
Hopding/pdf-lib
275
defect
00c8d7706c912bce9615afc087ed7b0afca7e95b
85153201455bde9c9fafeef28cac69f74edf4431
Acroform Field Base Class
Fixes #261 I've added a `PDFAcroFormField` structure with methods to return the values in a form field dictionary. I've also added a lookup method to the context such that `PDFAcroForm.Fields` now returns an array of `PDFAcroFormField` instances
diff --git a/src/core/index.ts b/src/core/index.ts index 0cd1f0f19..733eea195 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -25,7 +25,7 @@ export { default as PDFHexString } from 'src/core/objects/PDFHexString'; export { default as PDFName } from 'src/core/objects/PDFName'; export { default as PDFNull } f...
6
6
1
[{"id": "G0", "claim": "In PDFAcroForm.Fields(), the fields array should be allocated up front with a known length and assigned by index instead of pushed onto (with loop variables standardized to idx, len), since a sized for loop is only worth using when it improves performance.", "category": "performance", "verdict":...
null
Hopding__pdf-lib__294
Hopding/pdf-lib
294
defect
5c408c89e9de7bed90dbebf152403e8e97d378cc
4e023a9d7a0ae3a22a6f8ded38f7ec1465e85e98
Acrotext additional properties
Fixes #293 Requires #300
diff --git a/src/core/objects/PDFName.ts b/src/core/objects/PDFName.ts index cc865eb19..d863e3a25 100644 --- a/src/core/objects/PDFName.ts +++ b/src/core/objects/PDFName.ts @@ -63,6 +63,8 @@ class PDFName extends PDFObject { static readonly Opt = PDFName.of('Opt'); static readonly TI = PDFName.of('TI'); static...
1
1
0
[{"id": "G0", "claim": "The new flag-checking methods in PDFAcroText should use `this.getFlags()` instead of `this.Ff().value()`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Hopding__pdf-lib__300
Hopding/pdf-lib
300
defect
5c408c89e9de7bed90dbebf152403e8e97d378cc
3378c84c0ac6f95559c8ce8a0631fdf9450212a4
Acrofield inherit
Fixes #299 @Hopding I think this one should probably be reviewed before #292 (which this supersedes), #294, and #295. Once the base for inheritable fields is out, I'll update the other fields on outstanding PRs to include heritability where appropriate
diff --git a/src/core/objects/PDFName.ts b/src/core/objects/PDFName.ts index cc865eb19..c036003f0 100644 --- a/src/core/objects/PDFName.ts +++ b/src/core/objects/PDFName.ts @@ -63,6 +63,8 @@ class PDFName extends PDFObject { static readonly Opt = PDFName.of('Opt'); static readonly TI = PDFName.of('TI'); static...
5
4
2
[{"id": "G0", "claim": "The Parent() return type should be refined to PDFNonTerminalField | undefined, since a parent is by definition a non-terminal field.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The redundant own-dict lookup in FT() (and the oth...
null
Hopding__pdf-lib__306
Hopding/pdf-lib
306
defect
cd835376bc98f1a99f21243ed2b558fdcbed4944
6af555653f888d6a98329f3254e316515d5c6254
Checkbox
Fixes #269
diff --git a/src/core/objects/PDFArray.ts b/src/core/objects/PDFArray.ts index 8590c51fa..86723c31d 100644 --- a/src/core/objects/PDFArray.ts +++ b/src/core/objects/PDFArray.ts @@ -49,6 +49,7 @@ class PDFArray extends PDFObject { lookupElements(): Array<PDFObject | undefined>; lookupElements(type: typeof PDFDic...
2
2
0
[{"id": "G0", "claim": "Rename the newly added CheckBox class to PDFAcroCheckBox to follow the acroform naming convention.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the PushButton class to PDFAcroPushButton for naming consistency wit...
null
Hopding__pdf-lib__312
Hopding/pdf-lib
312
defect
4a458d0b8056b633de95f64f7643d27e753e34d1
149f3c21b6e175055d9b3d033a287e73f3c4aded
Annotation dict
Fixes #309
diff --git a/src/core/index.ts b/src/core/index.ts index 4fe0ad6e1..1f9aa12a4 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -32,6 +32,7 @@ export { default as PDFStream } from 'src/core/objects/PDFStream'; export { default as PDFRawStream } from 'src/core/objects/PDFRawStream'; export * from 'src/core/s...
2
2
2
[{"id": "G0", "claim": "The utility of PDFRectangle.getNormalized() is unclear, and the normalized PDFArray it creates is an orphan not attached to its context, so modifications to it may not be reflected in the serialized document; the reviewer suggests exposing rectangle manipulation through a PDFAnnotation.setRectan...
null
Hopding__pdf-lib__323
Hopding/pdf-lib
323
defect
7ee15b4523db27ae8aa1a7b70e22172552be1bfe
a7054f4d0d26e1155ac8e3e1e315593e53bcec69
Radio buttons
Fixes #270 Requires #321
diff --git a/src/core/index.ts b/src/core/index.ts index 4fe0ad6e1..1f9aa12a4 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -32,6 +32,7 @@ export { default as PDFStream } from 'src/core/objects/PDFStream'; export { default as PDFRawStream } from 'src/core/objects/PDFRawStream'; export * from 'src/core/s...
1
1
0
[{"id": "G0", "claim": "If the underscore-prefixed members of PDFRadioButton are meant to be private, mark them with the TypeScript `private` keyword instead of underscore prefixes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Hopding__pdf-lib__336
Hopding/pdf-lib
336
defect
0578530f222db72bf3ca321488d5fccee05793cd
91bf3b8a7da7a12536ec48a2db1e2794583b5c90
Added support to read metadata fields from the pdf.
Added UTF-16 decoding function, getters for the metadata fields and test cases.
diff --git a/src/api/PDFDocument.ts b/src/api/PDFDocument.ts index f4c2ede21..46fd75ebb 100644 --- a/src/api/PDFDocument.ts +++ b/src/api/PDFDocument.ts @@ -210,6 +210,112 @@ export default class PDFDocument { this.fontkit = fontkit; } + /** + * Get this document's title metadata as a string. The title app...
4
4
2
[{"id": "G0", "claim": "The metadata getters should be simplified by adding decode methods (decodeText/decodeDate) to PDFHexString/PDFString and dispatching with an instanceof check instead of converting objects to strings and stripping the angle brackets.", "category": "design", "verdict": "supported", "priority": "P2...
null
Hopding__pdf-lib__348
Hopding/pdf-lib
348
defect
0578530f222db72bf3ca321488d5fccee05793cd
4d70a54829cbe73ee364ddc4035b6ce58d76f4d3
Implement embedded PDFs
Hello dear PDF-creating friends 👋 This is my attempt to allow embedding of PDF pages in other pages. The good news is that it does not crash, the bad news is that it does not work :) This is my first time playing with PDF internals, this project and typescript. I am pretty confident in that there are many things...
diff --git a/apps/node/tests/test1.ts b/apps/node/tests/test1.ts index 40b494689..0baff4a44 100644 --- a/apps/node/tests/test1.ts +++ b/apps/node/tests/test1.ts @@ -29,6 +29,8 @@ const ipsumLines = [ 'Labore nisi officiis quia ipsum qui voluptatem omnis.', ]; +// This test creates a new PDF document and inserts p...
14
14
6
[{"id": "G0", "claim": "PDFPageEmbedder.embedIntoContext puts the source page's Contents entry (an array of stream references) into the XObject stream instead of decoding each content stream and concatenating them, so the embedded page does not render.", "category": "correctness", "verdict": "supported", "priority": "P...
null
Hopding__pdf-lib__499
Hopding/pdf-lib
499
defect
556c73c3c05c8b05cc27e59d779f6fb76166aa6d
f7db92c7ba2ed8ca96deeb403d8832d032b84dc4
Added highlevel ability to provide lineCap style
Similar to #498 , but for lineCap. There was a comment from @Hopding , saying: // TODO: Should assert `options.lineCap` here, but is a breaking change I'm not sure why this would be a breaking change, we can just default to `LineCapStyle.Butt`, or we can ignore this parameter if it's not provided (like this PR d...
diff --git a/apps/deno/tests/test1.ts b/apps/deno/tests/test1.ts index 189aacd05..499f77c41 100644 --- a/apps/deno/tests/test1.ts +++ b/apps/deno/tests/test1.ts @@ -18,7 +18,6 @@ import { popGraphicsState, pushGraphicsState, rgb, - setDashPattern, setLineCap, setLineJoin, StandardFonts, @@ -98,6 +97,...
1
1
0
[{"id": "G0", "claim": "Most usages of `lineCap` should be renamed to `borderLineCap` for the sake of consistency, matching the changes requested on PR #498.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Hopding__pdf-lib__502
Hopding/pdf-lib
502
defect
556c73c3c05c8b05cc27e59d779f6fb76166aa6d
05f58cbb766c4b4df6b8e94326e73a9344166eb2
Fix for #483 - Semi-transparent PNG rendered opaque in PDF
Fixes #483 and #473
diff --git a/src/utils/png.ts b/src/utils/png.ts index b41e81044..60aad74e5 100644 --- a/src/utils/png.ts +++ b/src/utils/png.ts @@ -58,7 +58,7 @@ export class PNG { this.rgbChannel = rgbChannel; - const hasAlphaValues = alphaChannel.some((a) => a < 1); + const hasAlphaValues = alphaChannel.some((a) => a...
1
1
1
[{"id": "G0", "claim": "Add a quick unit test to prevent regressions of the semi-transparent PNG alpha fix, in a new test file tests/utils/png.spec.ts.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Hopding__pdf-lib__511
Hopding/pdf-lib
511
defect
f472c0a50fa2f59e5fbc68139ce37558afbb1255
57e6e1f71b76e4fc36854a7f960bc6cc438e26d7
Rotation for ellipse and svgPath
This PR adds high-level support for rotating svgPaths, and ellipses. Some notes for @Hopding : - I couldn't figure out why the rotating didn't have any effect on the ellipse on my first attempt, but I went on, and implemented the same thing for svgPaths. - For svgPaths, it worked as expected. So, as a workaround...
diff --git a/apps/deno/tests/test1.ts b/apps/deno/tests/test1.ts index 91a2a9998..c1a748a0a 100644 --- a/apps/deno/tests/test1.ts +++ b/apps/deno/tests/test1.ts @@ -113,6 +113,7 @@ export default async (assets: Assets) => { borderWidth: 2, borderColor: rgb(0, 1, 1), borderDashArray: [10], + rotate: de...
10
9
5
[{"id": "G0", "claim": "The reviewer prefers to keep the existing 'standard' operator-based implementation for drawing circles and ellipses rather than routing them through SVG path machinery, even if that means dropping their rotate option.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "in...
null
Hopding__pdf-lib__543
Hopding/pdf-lib
543
defect
a118cd4cfa1e54622c605385aec34095e79095e9
ff111944d0851973cdd3f4818595a604e7ef7c35
Allow custom font name on embed
As discussed in #537 this allows the use of a custom font name so that we can have a predictive binary output when embedding fonts into the pdf. Happy to make any changes you deem necessary.
diff --git a/src/api/PDFDocument.ts b/src/api/PDFDocument.ts index 99663971b..d005da760 100644 --- a/src/api/PDFDocument.ts +++ b/src/api/PDFDocument.ts @@ -792,7 +792,7 @@ export default class PDFDocument { font: StandardFonts | string | Uint8Array | ArrayBuffer, options: EmbedFontOptions = {}, ): Promise...
4
4
1
[{"id": "G0", "claim": "Remove the default value ('') for the customFontName option in embedFont and pass it down as undefined, since the embedders support that type.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the option customFontName to cust...
null
Hopding__pdf-lib__700
Hopding/pdf-lib
700
defect
549c1dd0c0fd6fef7f516f1835e0f1922f877b70
898d147b6d1406f90ee78789b1b6ba7ef60d58ec
Add image stamping for TextField elements
Allows stamping an image on a `TextField` element in addition to `Button` elements. Additionally, it now handles alignment, defaulting to `Center` for `Button` and using `TextAlignment` for `TextField`.
diff --git a/src/api/form/PDFButton.ts b/src/api/form/PDFButton.ts index 91e217e45..725b8fb10 100644 --- a/src/api/form/PDFButton.ts +++ b/src/api/form/PDFButton.ts @@ -2,6 +2,7 @@ import PDFDocument from 'src/api/PDFDocument'; import PDFPage from 'src/api/PDFPage'; import PDFFont from 'src/api/PDFFont'; import PDFI...
2
2
2
[{"id": "G0", "claim": "The PR should update one of the existing integration tests that uses form fields to exercise the new setImage method on TextField.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR should create a new ImageAlignment enum inst...
null
Hopding__pdf-lib__745
Hopding/pdf-lib
745
defect
4be96eb269910bbc6d3ddcd48f2a6382742e179b
ea6a5620bd1a32b0ec05101105fa77bfa5bc3eb6
more ViewerPreferences
address issue #744 and complete the rest of the spec for ViewerPreferences (with the exception of all key-value pairs for which the spec states 'Most conforming readers disregard it.'). includes documentation and unit tests. potential further tests not included (but I can write if you tell me your thoughts & where y...
diff --git a/README.md b/README.md index 73704020b..785df06a1 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,8 @@ - [Add Attachments](#add-attachments) - [Set Document Metadata](#set-document-metadata) - [Read Document Metadata](#read-document-metadata) + - [Set viewer Preferences](#set-viewer-preference...
13
11
4
[{"id": "G0", "claim": "The rollup and tsconfig changes should be reverted and the logic implemented under the current rollup/tsconfig setup, since compiler/config changes can break consumers and belong in a dedicated PR.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "...
null
Hopding__pdf-lib__750
Hopding/pdf-lib
750
defect
4be96eb269910bbc6d3ddcd48f2a6382742e179b
a83581f715ccc22529af3cdb09b5a8276a6408f8
Cleanup all annotations
Most viewers, including `PDF.js` and `Preview` do not seem to mind the annotations but it was preventing `Adobe Acrobat` printing a flattened document: ![](https://cdn.discordapp.com/attachments/776132863992266763/798667554565914664/unknown.png)
diff --git a/src/api/form/PDFForm.ts b/src/api/form/PDFForm.ts index 6fc3e3988..ada528c5d 100644 --- a/src/api/form/PDFForm.ts +++ b/src/api/form/PDFForm.ts @@ -594,11 +594,15 @@ export default class PDFForm { ].filter(Boolean) as PDFOperator[]; page.pushOperators(...operators); - page.node.r...
4
3
2
[{"id": "G0", "claim": "The annotation error is not limited to printing: with a flattened PDF, 'save as' is also impossible in Acrobat Reader/Pro and Datalog PDF Checker validation fails with 'Unable to process document due to PDF Error'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "...
null
Hopding__pdf-lib__97
Hopding/pdf-lib
97
defect
cf3fc97d7baf16ea7d8a6730e20f421dc402da4d
6341ad1a040bc5b1118949863962ffd0f4cb62e2
Filter may be a PDFArray with a single item
To fix #96
diff --git a/src/core/pdf-parser/parseStream.ts b/src/core/pdf-parser/parseStream.ts index 2f189d4cd..2472f6231 100644 --- a/src/core/pdf-parser/parseStream.ts +++ b/src/core/pdf-parser/parseStream.ts @@ -4,6 +4,7 @@ import { PDFName, PDFNumber, PDFRawStream, + PDFArray, } from 'core/pdf-objects'; import { ...
2
2
2
[{"id": "G0", "claim": "Extract the Object Stream Filter check into a dedicated method that catches a couple more edge cases and avoids the type cast, as shown in the reviewer's suggestion block.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a unit ...
null
Hopding__pdf-lib__986
Hopding/pdf-lib
986
defect
e10290ac8503fd5b21f2d895252835e00a1f16b6
30c5a14afd5581be759e70f9c5224d35213079ef
Add the ability to copy a pdf
closes #951 Some badly-made PDF files can be automatically repaired by Adobe Reader, but can't be edited by pdf-lib. Sometimes, working with a copy of these corrupted pdf can fix those issues. Examples: **1- #951** https://github.com/Hopding/pdf-lib/files/6912122/test.pdf ### **opening and saving the orig...
diff --git a/src/api/PDFDocument.ts b/src/api/PDFDocument.ts index d5b307527..4f8b44a36 100644 --- a/src/api/PDFDocument.ts +++ b/src/api/PDFDocument.ts @@ -133,12 +133,14 @@ export default class PDFDocument { throwOnInvalidObject = false, updateMetadata = true, capNumbers = false, + returnCop...
3
3
2
[{"id": "G0", "claim": "The copy logic fits better as a `.copy()` method on `PDFDocument` (used as `PDFDocument.load(...).copy()`) instead of the `returnCopy` option of `PDFDocument.load`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Once the copy logi...
null
Hostzero-GmbH__keycloak-operator__72
Hostzero-GmbH/keycloak-operator
72
defect
36a2496d92a93101305d04ccea1eedc916f707f0
2c608ab8d6bf076974e574de4d07c5ebb5a692b3
Materialize Kubernetes Secret with client-id for public KeycloakClients
## Problem Public OAuth clients (`publicClient: true`) have no client_secret — Keycloak returns an empty string on `GET /clients/{id}/client-secret`. The current operator therefore writes no Kubernetes Secret at all for public clients, but consumers (mobile apps, frontends) still need to inject the `client-id` via `en...
diff --git a/api/v1beta1/keycloakclient_types.go b/api/v1beta1/keycloakclient_types.go index 04477d8..9a33ec2 100644 --- a/api/v1beta1/keycloakclient_types.go +++ b/api/v1beta1/keycloakclient_types.go @@ -29,6 +29,9 @@ type KeycloakClientSpec struct { // ClientSecretRef configures the Kubernetes Secret for client cre...
2
1
1
[{"id": "G0", "claim": "If ClientSecretRef.clientIdKey or clientSecretKey is explicitly set to an empty string, the materialized Secret gets an empty data key and reconciliation fails; the reviewer asks to guard against empty strings (keep defaults) or to validate and return a clear error.", "category": "correctness", ...
null
Hostzero-GmbH__keycloak-operator__74
Hostzero-GmbH/keycloak-operator
74
defect
76e29876d22f4cb2537fc844c4f27e13bd64f4c2
dce70a7e0ace96cb07a55874e9475e2e7b9d38b2
fix(idp-mapper): skip update when in sync to avoid reconcile storms
## Context The `KeycloakIdentityProviderMapper` controller `PUT`s every mapper on every reconcile pass — no drift comparison. With the default 5-minute sync period that's a stream of no-op admin-API calls (one per managed mapper per sync), surfaced as a `updating identity provider mapper` INFO log per mapper per pass....
diff --git a/internal/controller/keycloakidentityprovidermapper_controller.go b/internal/controller/keycloakidentityprovidermapper_controller.go index 4221123..ed7de88 100644 --- a/internal/controller/keycloakidentityprovidermapper_controller.go +++ b/internal/controller/keycloakidentityprovidermapper_controller.go @@ ...
2
1
0
[{"id": "G0", "claim": "The drift-check compares `definition` before merging the server-side `id` into it, so a user-specified or out-of-date `id` in the CR definition can trip the comparator and prevent update-skipping, causing repeated PUTs; the reviewer asks to merge `mapperID` into `definition` (or explicitly remov...
null
HotswapProjects__HotswapAgent__518
HotswapProjects/HotswapAgent
518
defect
46d28636dcb628a279b77daf08eeb30f9ff46f71
78370f9f5527b6246fc068d74d3a383fd2358adf
enhance the spring and spring boot plugin
1. make reloading of beanFactory sequential, the root of beanFactory has hight priority. 2. optimize the event filter: if the parent beanFactory of event is the same as beanFactory of listener, it will trigger the event
diff --git a/plugin/hotswap-agent-spring-boot-plugin/src/main/java/org/hotswap/agent/plugin/spring/boot/SpringBootPlugin.java b/plugin/hotswap-agent-spring-boot-plugin/src/main/java/org/hotswap/agent/plugin/spring/boot/SpringBootPlugin.java index 07ed98661..f6efc42e9 100644 --- a/plugin/hotswap-agent-spring-boot-plugin...
6
6
1
[{"id": "G0", "claim": "Generated synthetic methods should follow the HotswapAgent convention of the method prefix $ha$$ instead of the postfix 0.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "unclear"}, {"id": "G1", "claim": "The local variable createApplicationContextMethod in S...
null
HotswapProjects__HotswapAgent__593
HotswapProjects/HotswapAgent
593
defect
1fbf2e8a04216f7a9c1956b4cafdd5ad3ed71fa8
fcceb17160918cd6a2772748de686718e4ad1d7e
Increase the supported versions for MyBatis-Plus. 3.0~3.1
Increase the supported versions for MyBatis-Plus. After the increase, the supported versions range from 3.0.0 to 3.5.8
diff --git a/hotswap-agent-core/src/main/java/org/hotswap/agent/HotswapAgent.java b/hotswap-agent-core/src/main/java/org/hotswap/agent/HotswapAgent.java index 888b5efc4..1e803bb4a 100644 --- a/hotswap-agent-core/src/main/java/org/hotswap/agent/HotswapAgent.java +++ b/hotswap-agent-core/src/main/java/org/hotswap/agent/H...
2
2
0
[{"id": "G0", "claim": "The comments in the patched code should be written in English instead of Chinese.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Running `mvn test` always fails due to the hotswap-agent-proxy-plugin tests on both Windows ...
null
HotswapProjects__HotswapAgent__657
HotswapProjects/HotswapAgent
657
defect
0b1de998efeb4bcd97b9c48f2868fff495dddc1a
fb458436f14bdc10d2a7437df157f9e07e59b89c
Refactor structure of project and bump plugins
Hello, I've refactored structure of project and bumped maven plugins. Why? Now it's can be build with jdk11,17 (fixed profiles) You can run tests directly from IDE. (only with agent build with jdk 17(change target and source to 17 in pom), with 11 IJ is throwing `Type 'java/io/IOException' (constant pool 55) "is not...
diff --git a/hotswap-agent-core/pom.xml b/hotswap-agent-core/pom.xml index 0f17ebb9b..5fa942ff9 100644 --- a/hotswap-agent-core/pom.xml +++ b/hotswap-agent-core/pom.xml @@ -16,28 +16,6 @@ <profile> <id>default-tools</id> <activation> - <os> - <family>...
4
3
2
[{"id": "G0", "claim": "The hotswap agent could be a security issue, so the 'Loading Hotswap agent' message should stay at LOGGER.info instead of being demoted to LOGGER.debug.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test javaagent argLine s...
null
HoudiniGraphql__houdini__1265
HoudiniGraphql/houdini
1,265
defect
1862f2501bc3f4e2e1918e99934d23ba1a4f9ba6
eb1598274e6f44d73d8c91cbf1b63df924da45c2
Implement cache policy "NoCache"
Fixes #356 Implement the policy "NoCache", mirroring Apollo, which serves a request without reading from or writing to the cache. Tests are failing for me locally with messages like this: ``` TypeError: Cannot read properties of undefined (reading 'on') ❯ vitest.setup.ts:12:1 10| process.env.HOUDINI_T...
diff --git a/.changeset/four-cobras-peel.md b/.changeset/four-cobras-peel.md new file mode 100644 index 0000000000..1e6300795c --- /dev/null +++ b/.changeset/four-cobras-peel.md @@ -0,0 +1,5 @@ +--- +'houdini': minor +--- + +Implement cache policy "NoCache" diff --git a/e2e/kit/src/lib/utils/testsHelper.ts b/e2e/kit/sr...
4
4
3
[{"id": "G0", "claim": "The FINDME comments left in documentStore.ts are confusing and the caching logic should be confined to the cache plugin, so the notes should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test snapshots ne...
null
HoudiniGraphql__houdini__1296
HoudiniGraphql/houdini
1,296
defect
8409c703a79b037a655ac45455d10965aebae681
651deeb7e68df75d4ad1dd9b387602a24be0563f
Fix memory leak in error path
This PR fixes a memory leak in the cache that was found as part of the investigation into #1294. This PR does not fix the original issue since it requires some additional thinking and there is a work-around ### To help everyone out, please make sure your PR does the following: - [x] Update the first line to point...
diff --git a/.changeset/early-pants-kneel.md b/.changeset/early-pants-kneel.md new file mode 100644 index 0000000000..40f0827a50 --- /dev/null +++ b/.changeset/early-pants-kneel.md @@ -0,0 +1,5 @@ +--- +'houdini-svelte': patch +--- + +Fix memory leak in error path diff --git a/packages/houdini-svelte/src/runtime/stores...
1
1
1
[{"id": "G0", "claim": "The new error-path catch handler's assumption may be wrong — the reviewer asks whether unsubscribe already ran or the subscriber count is at least 1 when an error happens, so the subscriberCount === 0 guard may not clean up correctly in every error case.", "category": "correctness", "verdict": "...
null
HoudiniGraphql__houdini__1378
HoudiniGraphql/houdini
1,378
defect
03ede8eca56550f9ae38dd88f87f9581c138b0a8
d0e774cf4f669e19c3af991ef2a8d2595b7dafed
Only dedupe pagination queries if the variables match
This PR adds a new argument to the `@dedupe` directive: `match` which takes 3 values: `Variables`, `Operation`, and `None`. This gives the user more fine-grained control over how the deduping happens. Most importantly, for paginated queries, `@dedupe` comes with `match` set to `Variables`. ### To help everyone out...
diff --git a/.changeset/thin-worms-check.md b/.changeset/thin-worms-check.md new file mode 100644 index 0000000000..b69f569012 --- /dev/null +++ b/.changeset/thin-worms-check.md @@ -0,0 +1,5 @@ +--- +'houdini': patch +--- + +Add match argument to dedupe directive diff --git a/packages/houdini/src/codegen/generators/art...
2
2
2
[{"id": "G0", "claim": "The change does not dedupe pagination requests at all, regardless of what variables are passed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Simultaneous requests to the same paginated page abort with 500 errors, so add a w...
null
HoudiniGraphql__houdini__377
HoudiniGraphql/houdini
377
defect
da78c3a84dccf1de8a3e09e1412a407f67e14641
e29667238938852e2b57d1f146d562250c0f4613
Adding tests for partial data
# Let's add tests for Partial data _and getting familiar with the concept_ - [x] tests added - [x] http://localhost:3000/stores/partial/partial_List - [x] 4 users with id & name - [x] link to detail page - [x] http://localhost:3000/stores/partial/partial_2 - [x] id, name should be displayed in...
diff --git a/integration/api/graphql.mjs b/integration/api/graphql.mjs index e1c2a68da1..04f59fa818 100644 --- a/integration/api/graphql.mjs +++ b/integration/api/graphql.mjs @@ -60,9 +60,16 @@ export const resolvers = { }, user: async (_, args) => { // simulate network delay - // await sleep(1000...
2
2
2
[{"id": "G0", "claim": "The @cache(partial: true) directive sits on the usersList field of the new Partial_List.gql, but it needs to go on the query definition.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The null guard added to the DateTime unma...
null
HoudiniGraphql__houdini__542
HoudiniGraphql/houdini
542
defect
191c7750a33b11cdbc8f5e7b9719641d5b0a21c5
c3c90f18919c7864991f8c42182e75cbffebe407
Empty client layout load
Fixes #541 After working with @endigma, it turns out that the culprit for this issue was a rather innocent looking load function in a `+layout.ts` file: ``` export async function load() { return {} } ``` I poked around this for awhile but everything I found seemed to indicate that only relying on `+la...
diff --git a/.changeset/happy-walls-battle.md b/.changeset/happy-walls-battle.md new file mode 100644 index 0000000000..e962db375c --- /dev/null +++ b/.changeset/happy-walls-battle.md @@ -0,0 +1,5 @@ +--- +'houdini': patch +--- + +Fix bug when loading queries in a layout file diff --git a/integration/package.json b/int...
3
2
1
[{"id": "G0", "claim": "The `import { config } from 'process'` added at the top of src/vite/transforms/kit/load.ts is not needed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fsPatch changes that fake every `+layout.svelte` look like lefto...
null
HoudiniGraphql__houdini__768
HoudiniGraphql/houdini
768
defect
14ab97665de049fba2c9109eb1778af2410c7c7e
adc6b8685fad81e3f710b9bd6a7addee0e3f030f
Fix generated types referencing onError, afterLoad and beforeLoad
Fixes an issue with `AfterLoadReturn`, `BeforeLoadReturn` and `OnErrorReturn` types. ### To help everyone out, please make sure your PR does the following: - [x] Update the first line to point to the ticket that this PR fixes - [x] Add a message that clearly describes the fix - [ ] If applicable, add a test th...
diff --git a/.changeset/new-plums-sing.md b/.changeset/new-plums-sing.md new file mode 100644 index 0000000000..4c7991f680 --- /dev/null +++ b/.changeset/new-plums-sing.md @@ -0,0 +1,5 @@ +--- +'houdini-svelte': patch +--- + +Fix generated types referencing onError, afterLoad and beforeLoad diff --git a/packages/houdin...
1
1
0
[{"id": "G0", "claim": "The generated type declarations should reference the function-name constants exported from packages/houdini-svelte/src/plugin/naming.ts instead of hardcoding the _houdini_afterLoad, _houdini_beforeLoad and _houdini_onError strings.", "category": "maintainability", "verdict": "supported", "priori...
null
Huang-lab__fastVEP__31
Huang-lab/fastVEP
31
defect
2716f031769f1229c83ed166172607ffda841039
e1fbb0e756317165b26e9a8920d0e0af6954627e
Add supplementary annotation columns to tab output format
## Summary This PR adds support for supplementary annotation (fastSA) columns in tab-delimited output, addressing issue #30 where tab output was silently dropping all supplementary annotation sources. The implementation ensures tab and VCF outputs document and emit the same schema for allele-level and gene-level annot...
diff --git a/README.md b/README.md index 376fdef..98b0e67 100644 --- a/README.md +++ b/README.md @@ -293,6 +293,10 @@ fastVEP supports direct integration with clinical and population databases throu | **PrimateAI** | Allele-specific | Primate-based pathogenicity | `--source primateai` | | **dbNSFP** | Allele-specific...
4
4
2
[{"id": "G0", "claim": "The doc comment on LoadedSupplementarySpecs::column_count claims O(1) but iter().filter(...).count() is still O(VCF_PROJECTION_SPECS.len()); the comment should be adjusted to reflect linear time, or the count stored when building LoadedSupplementarySpecs for an actual O(1) accessor.", "category"...
null
Huang-lab__fastVEP__34
Huang-lab/fastVEP
34
defect
044c18e6668fc6748b0e7f66b55a28206b5cba1c
9b653a8a42d00247d031282bc3e4999c7e80f5e1
Add --sa-only mode to skip default CSQ annotation pipeline
## Summary Introduces a new `--sa-only` flag that allows FastVEP to skip the default 49-field CSQ annotation pipeline and emit only supplementary annotations from `--sa-dir`. This enables lightweight annotation workflows where only external databases (ClinVar, gnomAD, etc.) are needed without transcript consequence pre...
diff --git a/README.md b/README.md index 3935bc2..687a19c 100644 --- a/README.md +++ b/README.md @@ -312,6 +312,7 @@ escaping rules, identifiers), see | `--pick` | Report only the most severe consequence per variant | off | | `--distance` | Upstream/downstream distance in bp | `5000` | | `--sa-dir` | Directory conta...
2
2
2
[{"id": "G0", "claim": "In --sa-only mode, setting csq to an empty string stops format_vcf_info_fields from filtering an existing CSQ=... field from the input VCF INFO, which can produce output data rows containing CSQ= with no CSQ header definition; consider explicitly dropping CSQ from fields.info when sa_only is tru...
null
HubSpot__Singularity__1036
HubSpot/Singularity
1,036
defect
c35bc1baf1d930d6cf10075bd84b22808bed60a1
7883a1e19af6e779bdb139663e0df9b2fd24785e
Add a "defaultPortMapping" option which exposes all Mesos provided ports
Our apps generally ask for 1 or 2 ports. It's a pain to repeatedly write ``` "portMappings": [ {"hostPort": 0, "hostPortType": "FROM_OFFER", "containerPort": 0, "containerPortType": "FROM_OFFER"}, {"hostPort": 1, "hostPortType": "FROM_OFFER", "containerPort": 1, "containerPortType": "FROM_OFFER"...
diff --git a/Docs/reference/configuration.md b/Docs/reference/configuration.md index 5ef96f2c61..0038bd85cd 100644 --- a/Docs/reference/configuration.md +++ b/Docs/reference/configuration.md @@ -21,6 +21,7 @@ Singularity (Service) is configured by DropWizard via a YAML file referenced on - [Resource Limits](#resou...
1
1
1
[{"id": "G0", "claim": "The default port mapping branch should also check that the docker network mode is BRIDGE, because specifying port mappings in HOST or NONE mode would cause a TASK_FAILED or TASK_ERROR.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
HubSpot__Singularity__1037
HubSpot/Singularity
1,037
defect
c35bc1baf1d930d6cf10075bd84b22808bed60a1
b9b9f494d16a3aa1a5ae5cab9cdd7f0e1fd966c7
Handle scale during deploy
@stevenschlansker should fix that edge case you ran into the other day when scaling + deploying at the same time
diff --git a/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityDeployChecker.java b/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityDeployChecker.java index 86d8cfd7de..0e011955a3 100644 --- a/SingularityService/src/main/java/com/hubspot/singularity/scheduler/Si...
3
3
3
[{"id": "G0", "claim": "Could you add a unit test for the index-out-of-bounds fix in tasksToShutDown?", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new subList caps toIndex at sortedOtherTasks.size() - 1, wrongly dropping the last task since toInde...
null
HubSpot__Singularity__1071
HubSpot/Singularity
1,071
defect
7cc31cbc322f47f95dad52fd6ddc8e298e7650c6
83a47ee4a3b336a51fe186502cfb92cb208252d6
Reimplementation of RFC5545 Schedule
Realized the branch that @grepsr started had a lot of odd merge artifacts present and was difficult to get into our staging environment. Reimplemented the functionality here based on that work, with a few tweaks + added basic tests. Usage via the api remains the same caveats/changes from #931: - DTSTART functionality ...
diff --git a/SingularityBase/src/main/java/com/hubspot/singularity/ScheduleType.java b/SingularityBase/src/main/java/com/hubspot/singularity/ScheduleType.java index 1adad9b3ee..4eb950c995 100644 --- a/SingularityBase/src/main/java/com/hubspot/singularity/ScheduleType.java +++ b/SingularityBase/src/main/java/com/hubspot...
2
2
1
[{"id": "G0", "claim": "checkForValidRFC5545Schedule could be simplified by just calling badRequest() in the catch block instead of tracking a valid flag and message.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "With MAX_ITERATIONS = 10000 and...
null
HubSpot__Singularity__1150
HubSpot/Singularity
1,150
defect
a5d6d1c72257c8314ccfe583894cebbe676bb6c8
5b7bee21714a6298ce85670e0fa984873160c44f
Singularity Request - Timezone field (API)
This PR extends the Singularity Request code to accept an optional (string) timezone through the API. Local testing passed. Still needs frontend changes to make the timezones accessible to the end user. /cc @ssalinas @Calvinp /fixes #1002
diff --git a/SingularityBase/src/main/java/com/hubspot/singularity/SingularityRequest.java b/SingularityBase/src/main/java/com/hubspot/singularity/SingularityRequest.java index b6df155edd..cae9f631d1 100644 --- a/SingularityBase/src/main/java/com/hubspot/singularity/SingularityRequest.java +++ b/SingularityBase/src/mai...
3
3
1
[{"id": "G0", "claim": "The new field should be named `scheduleTimeZone` instead of `scheduledTimeZone` to keep the naming consistent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The temporary `scheduledTimeZone` variable in the quartz-schedu...
null
HubSpot__Singularity__1304
HubSpot/Singularity
1,304
defect
2ac8a8951d3fd5107287fe7fcbf29c4349f36b65
7ccdfe62b7b52a5d4b7fd6962719e68ea56d0b8f
More even distribution among racks
This PR tackles 2 issues 1. When `# instances` mod `# racks` was not `0`, we could get very uneven placement (e.g. 3,3,1 for 7 instances on 3 racks. I've updated the `SlaveAndRackManager` to make sure we distribute these cases evenly. In this example, no rack would be allowed a third instance until the others all had a...
diff --git a/SingularityBase/src/main/java/com/hubspot/singularity/TaskCleanupType.java b/SingularityBase/src/main/java/com/hubspot/singularity/TaskCleanupType.java index b175922a18..4ee3bdcf6c 100644 --- a/SingularityBase/src/main/java/com/hubspot/singularity/TaskCleanupType.java +++ b/SingularityBase/src/main/java/co...
1
1
0
[{"id": "G0", "claim": "Use the existing `toCleanup` local variable instead of re-reading `matchingTaskIds.get(i)` when removing the task from `remainingActiveTasks`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
HubSpot__Singularity__1344
HubSpot/Singularity
1,344
defect
f57d9af83bb53e9208dcd26691e20fcc3493ec5a
8777294562ae5ae0b3ffac1ae702282cf983abdd
also grab containerId when grabbing directory
We currently already do a call to fetch the directory after a task starts, then save that on the `SingularityTaskHistory` object returned by the api. This extends that a bit to also grab the container id from the executor info (previously only visible by picking apart chunks of the directory name). /fixes #1204 /c...
diff --git a/SingularityBase/src/main/java/com/hubspot/mesos/json/MesosExecutorObject.java b/SingularityBase/src/main/java/com/hubspot/mesos/json/MesosExecutorObject.java index 4182681352..dec18c9625 100644 --- a/SingularityBase/src/main/java/com/hubspot/mesos/json/MesosExecutorObject.java +++ b/SingularityBase/src/mai...
2
2
0
[{"id": "G0", "claim": "The class name SingularityMesosInfoSupport is too vague and should be renamed to SingularityMesosExecutorInfoSupport.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The log lines only reference fetching the task directory...
null
HubSpot__Singularity__1377
HubSpot/Singularity
1,377
defect
bc4c2817cdb5f420dc5c0c2c56c778aebe715da7
67ec24be5c0e3891f47cc1fde954b82a0e183604
Report currentActiveInstances on SingularityDeployProgress
This reports that a canary deploy has completed the first step
diff --git a/SingularityBase/src/main/java/com/hubspot/singularity/SingularityDeployProgress.java b/SingularityBase/src/main/java/com/hubspot/singularity/SingularityDeployProgress.java index 60aeaffa970..a3573b52295 100644 --- a/SingularityBase/src/main/java/com/hubspot/singularity/SingularityDeployProgress.java +++ b/...
3
3
3
[{"id": "G0", "claim": "The force-deploy path added to DeployResource looks incomplete — after cancelling the in-progress deploy it is unclear whether anything restarts or starts the new deploy — so force deploy should be implemented in a separate PR rather than this one.", "category": "correctness", "verdict": "suppor...
null
HubSpot__Singularity__1386
HubSpot/Singularity
1,386
defect
126a1cf9d41ec3aa0aee65c7aa85de22ed58984c
d2da0623b1584a7a6197e21970112e626009e70d
Deleting state
Creates a new request state `DELETING` to better know when a request is still going through cleanup. Request State begins as `DELETING` and is changed to `DELETED` once all tasks for the request are cleaned. Currently using `USER_REQUESTED_DESTROY` to determine if the task is a delete request. @tpetr @ssalinas
diff --git a/Docs/reference/api.md b/Docs/reference/api.md index ed9d21bb56..22d84b9aa9 100644 --- a/Docs/reference/api.md +++ b/Docs/reference/api.md @@ -3808,7 +3808,7 @@ Start a new deployment for a Request | name | type | required | description | |------|------|----------|-------------| | expiringSkipHealthcheck...
8
8
5
[{"id": "G0", "claim": "The new RequestManager methods should be named more like actions — e.g. `markDeleting`/`markDeleted` instead of `deleting`/`deleted`, and `deleteRequest` could maybe be renamed (e.g. `startRequestDelete`) — just to clarify what they do.", "category": "maintainability", "verdict": "supported", "p...
null
HubSpot__Singularity__1407
HubSpot/Singularity
1,407
defect
df0ecdb4e6ae4d0bbb5f824ab0d8d9883cf383e3
c374d6d1c9f972ceb2ae89de9c8338a647f0524b
Forbid more characters from request/deploy IDs
In an effort to prevent attempting to create docker containers with names that docker will refuse, this forbids more characters from being used in request/deploy IDs. This is actually more of a whitelist approach than a blacklist approach; it explicitly says the characters that can be used and forbids anything else...
diff --git a/SingularityService/pom.xml b/SingularityService/pom.xml index ef1c4a558c..417fe34c50 100644 --- a/SingularityService/pom.xml +++ b/SingularityService/pom.xml @@ -359,6 +359,12 @@ <scope>test</scope> </dependency> + <dependency> + <groupId>org.jukito</groupId> + <artifactId>jukito...
3
3
0
[{"id": "G0", "claim": "Avoid wildcard imports (e.g. `import static org.mockito.Mockito.*;`) in the new test class.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Put the new tests into the existing ValidatorTest class instead of a new test clas...
null
HubSpot__Singularity__1428
HubSpot/Singularity
1,428
defect
c9900f210bbb748aa2b802aa0f0021f4ad919aa6
ea64db1ea7913efc16c1198071cfb75550aa83aa
Prevent flapping slave from rejoining cluster
This adds a node to zk (`/singularity/inactive`) that keeps just contains an array of hosts whose slaves have been marked as inactive. When Singularity checks if an offer should be accepted, it grabs the node from zk. If the offer is from a slave on a bad host, Singularity will discard it. /cc @ssalinas Is the r...
diff --git a/SingularityService/src/main/java/com/hubspot/singularity/data/InactiveSlaveManager.java b/SingularityService/src/main/java/com/hubspot/singularity/data/InactiveSlaveManager.java new file mode 100644 index 0000000000..ce586eed89 --- /dev/null +++ b/SingularityService/src/main/java/com/hubspot/singularity/da...
6
6
0
[{"id": "G0", "claim": "The method name `deactiveSlave` is misspelled and should be `deactivateSlave`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of ignoring offers from inactive hosts in checkOffer, the new-slave path should move a ...
null
HubSpot__Singularity__1465
HubSpot/Singularity
1,465
defect
eb4ae83d4ccd64d53889cd2714079b40b6d4bdfc
7a2e209ce5badfe200e345037f8f47e477b8d665
Pass job user as environment variable to task
Pass the user who clicks the "Run Now" button as the value of the environment variable `STARTED_BY_USER` in the task environment. Can provide more granular, task-level permissions or auditability.
diff --git a/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityMesosTaskBuilder.java b/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityMesosTaskBuilder.java index c0b3c968f4..15fa698ecb 100644 --- a/SingularityService/src/main/java/com/hubspot/singularity/mesos/Singular...
3
3
0
[{"id": "G0", "claim": "JOB_USER is not descriptive enough for an env var that is set for services and workers too; use something more like STARTED_BY_USER instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When user is not present on the p...
null
HubSpot__Singularity__1482
HubSpot/Singularity
1,482
defect
927bad4277d86ff545b14fda95706aeacfe4f391
6d8a0b8882dd4e7e1eb6708037a4c94d4395c169
Better task balancing
:construction: This is a WIP for task balancing. The general idea is that a pendingTask will calculate the best offer by scoring each offer and choosing the best score. Right now, the top score is 1.00 assuming the slave has nothing on it. Score is weighted based on 2 real criteria: current resource usage for the...
diff --git a/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityMesosOfferScheduler.java b/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityMesosOfferScheduler.java index 5d1a814c04..702186b5e1 100644 --- a/SingularityService/src/main/java/com/hubspot/singularity/mesos/Si...
6
4
3
[{"id": "G0", "claim": "There should be a score threshold that is definitely good enough so a qualifying offer can be accepted immediately instead of continuing to evaluate the remaining offers.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The time pas...
null
HubSpot__Singularity__1488
HubSpot/Singularity
1,488
defect
057e26aff345e5e8896cbc12c76a99daa4781fa8
32626713f3a7827000ca8ff22a941163a41ec07e
Extend the leader and web caching
Still a WIP, but this will extend the leader and web cache to other frequently used pieces of information. To start with I extended it to requests (`SingularityRequestWithState`) /cc @wsorenson
diff --git a/SingularityService/pom.xml b/SingularityService/pom.xml index e6f8ccd159..fa74a0c27b 100644 --- a/SingularityService/pom.xml +++ b/SingularityService/pom.xml @@ -170,6 +170,16 @@ <artifactId>async-http-client</artifactId> </dependency> + <dependency> + <groupId>com.hubspot</groupId> +...
3
1
0
[{"id": "G0", "claim": "getRequests(Collection<String> requestIds, boolean useWebCache) fetches all requests and repopulates the web cache even though the caller only asks for specific request ids.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A sc...
null
HubSpot__Singularity__1498
HubSpot/Singularity
1,498
defect
6f9c1c2c1dfe2ecba881431152ebffb83864659c
bdb3b02682f0027a22523d338961140104c307c0
Forbid health checks longer than kill time
Singularity is configured to automatically kill tasks which are nonresponsive for a certain amount of time after startup (`killAfterTasksDoNotRunDefaultSeconds`, set in the config file). If a task is configured such that it won't start accepting healthchecks for longer than that interval, Singularity will just kil...
diff --git a/SingularityService/src/main/java/com/hubspot/singularity/data/SingularityValidator.java b/SingularityService/src/main/java/com/hubspot/singularity/data/SingularityValidator.java index cfc2ee4f00..4e9b52277b 100644 --- a/SingularityService/src/main/java/com/hubspot/singularity/data/SingularityValidator.java...
1
1
0
[{"id": "G0", "claim": "The error message should drop the internal 'kill after wait time' wording and just say `Health check startup delay time must be less than {time} seconds (was {time} seconds)`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
HubSpot__Singularity__1515
HubSpot/Singularity
1,515
defect
280a405e4ccc9d4b06526174d300117c88540c35
325ba75f6de9ae65d10325f0eb3f439f89950e7b
Add flag to run scheduled task on deploy
Adds a field in the deploy, `runImmediately`, which takes a `SingularityRunNowRequest`. If that field is present, then the scheduled task (or on-demand task) will be run immediately after deploying. /cc @ssalinas
diff --git a/SingularityBase/src/main/java/com/hubspot/singularity/SingularityDeploy.java b/SingularityBase/src/main/java/com/hubspot/singularity/SingularityDeploy.java index b145aa47bc..ef66e78494 100644 --- a/SingularityBase/src/main/java/com/hubspot/singularity/SingularityDeploy.java +++ b/SingularityBase/src/main/j...
7
7
1
[{"id": "G0", "claim": "The deploy case should imitate to some extent the validations done on a regular run-now request, split between when the request is received and when it is enqueued in the pending queue.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "clai...
null
HubSpot__Singularity__1526
HubSpot/Singularity
1,526
defect
280a405e4ccc9d4b06526174d300117c88540c35
21f0a02ffc6e19e14b1b0be87a2f73b643e05c07
Add skip lb removal flag to DeleteRequestRequest
Add a flag that can be set on the request deletion request to avoid removing the basepath associated with the service from the load balancer. The suggested use case is when the application associated with the service is moving out of Singularity, but will still be running and should remain load-balanced. /cc @ss...
diff --git a/SingularityBase/src/main/java/com/hubspot/singularity/SingularityRequestCleanup.java b/SingularityBase/src/main/java/com/hubspot/singularity/SingularityRequestCleanup.java index 6ad1fbad9b..6155b2299e 100644 --- a/SingularityBase/src/main/java/com/hubspot/singularity/SingularityRequestCleanup.java +++ b/Si...
3
3
2
[{"id": "G0", "claim": "In the bounce endpoint the new local variable removeFromLoadBalancer can be dropped and Optional.absent() put directly in the constructor args.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The removeFromLoadBalancer val...
null
HubSpot__Singularity__1538
HubSpot/Singularity
1,538
defect
7d7add743fb8dff9f7ea0a3bbd2e2f124a384d40
ab29cd286a46445155ac8b66af77800807c13cdd
Allow immediate run in pending queue with deploy
Give immediate run requests in the pending queue a separate key, so they are permitted to be in the pending queue at the same time as a new deploy for the same requestID / deployID. This means that a pending deploy will not block an immediate run from being enqueued. /cc @ssalinas
diff --git a/SingularityService/src/main/java/com/hubspot/singularity/data/CuratorAsyncManager.java b/SingularityService/src/main/java/com/hubspot/singularity/data/CuratorAsyncManager.java index d4821d3bce..153f4a6434 100644 --- a/SingularityService/src/main/java/com/hubspot/singularity/data/CuratorAsyncManager.java ++...
1
1
1
[{"id": "G0", "claim": "The two possible deletes can race with requests being enqueued in between so that scheduled requests pop through without a pending task in place after a successful deploy, and getPendingPath(String, String) returns a different version of the path than getPendingRequest; the reviewer wondered abo...
null
HubSpot__Singularity__1553
HubSpot/Singularity
1,553
defect
7c2e9341a6532123a3da38d049b149b0d80bde14
761db13ea035ccbb4af7f6abc3fd11c3c3a64fa8
Release lock on bounce when bounced with no running instances
Currently the lock on the bounce is released when all the tasks that were running at the time of the bounce have been killed. This means that when a bounce happens when there are no running tasks - like when Singularity is still starting tasks after every task has failed - the expiring bounce can't be removed. This sh...
diff --git a/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityScheduler.java b/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityScheduler.java index 6fde3d208b..cae188a1f2 100644 --- a/SingularityService/src/main/java/com/hubspot/singularity/scheduler/Singularit...
1
1
0
[{"id": "G0", "claim": "The bounce lock-release logic should live in SingularityCleaner rather than in the scheduler's scheduleTasks, since the cleaner is the natural home for cleanup and could verify in-progress bounces, giving a better long-term solution beyond the current edge case.", "category": "design", "verdict"...
null
HubSpot__Singularity__1562
HubSpot/Singularity
1,562
defect
af223b18ad67515564f1ab6cb308739b52b61919
57fe03ba877f7d9b5be24c40210909696d3e08b1
Retry failed client requests
In situations when the client fails with certain error codes, it should be able to retry the request. Ideally, it would retry the request to a different host so that in the event that an instance malfunctioned or was removed, the request wasn't consistently failing. /cc @ssalinas
diff --git a/SingularityClient/pom.xml b/SingularityClient/pom.xml index 1bad3e101e..fef6f7b2e4 100644 --- a/SingularityClient/pom.xml +++ b/SingularityClient/pom.xml @@ -21,6 +21,11 @@ <artifactId>guava</artifactId> </dependency> + <dependency> + <groupId>com.github.rholder</groupId> + <arti...
3
3
1
[{"id": "G0", "claim": "The HttpClient's own built-in retries should be kept in mind when configuring how many times and how often the new retryer attempts requests.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Host selection, currently a random pick, ...
null
HubSpot__Singularity__1569
HubSpot/Singularity
1,569
defect
85dbdf334ddb8514b6c2ff193edf6b78388f338b
38c6709c9ad8cc5c79d5467dd8600c396494f5aa
Remove extra scheduled entries from pending queue
There are now - deliberately - cases when multiple scheduled tasks can enter the pending queue at once. However, scheduled tasks need to be globally unique - there should only ever be one between the pending queue and the active tasks list. Currently any duplicates that reach the pending queue are held there. This ...
diff --git a/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityDeployChecker.java b/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityDeployChecker.java index c0190d788b..30a2acd732 100644 --- a/SingularityService/src/main/java/com/hubspot/singularity/scheduler/Si...
1
1
1
[{"id": "G0", "claim": "Is it possible to write a unit test to prove out this particular case, i.e. what happens if the immediate is first vs the NEW_DEPLOY/TASK_DONE coming first in the queue.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
HubSpot__Singularity__1570
HubSpot/Singularity
1,570
defect
dd72a3104ad058f3a7db3819cea5b1c8b775ef7a
e15bbf4499f61fb8a826e3807d522989e5d36616
resource usage endpoint
- [x] add some unit tests Added endpoint to get resource usage data for each tracked request and the cluster as a whole. Increased the number of points collected form 5 -> 15 and increased the interval between each point (poll frequency x interval) so we have a wider span of data
diff --git a/SingularityBase/src/main/java/com/hubspot/mesos/json/MesosTaskStatisticsObject.java b/SingularityBase/src/main/java/com/hubspot/mesos/json/MesosTaskStatisticsObject.java index 34f29b21bb..bd0ea49feb 100644 --- a/SingularityBase/src/main/java/com/hubspot/mesos/json/MesosTaskStatisticsObject.java +++ b/Singu...
4
4
1
[{"id": "G0", "claim": "The new getClusterUtilization in SingularityClient should follow the format of the other get calls and use the existing getSingle helper instead of hand-rolling the HTTP call and deserialization.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
HubSpot__Singularity__1681
HubSpot/Singularity
1,681
defect
ce5b60b561f71ba217b0580e4a940a92c27afba1
cba971958e9304d4c6807f9f08f4941015b4e4ed
Provide option to prevent emails for scale events
This updates the scaleRequest object to include another optional boolean `skipEmailNotification`. By default, we'll send emails for scale events, but users can toggle their request to prevent email notifications.
diff --git a/SingularityBase/src/main/java/com/hubspot/singularity/api/SingularityScaleRequest.java b/SingularityBase/src/main/java/com/hubspot/singularity/api/SingularityScaleRequest.java index 2982c9ce80..84db911a75 100644 --- a/SingularityBase/src/main/java/com/hubspot/singularity/api/SingularityScaleRequest.java ++...
1
1
1
[{"id": "G0", "claim": "The old 7-argument SingularityScaleRequest constructor should be kept so that removing/adding a parameter does not break downstream builds that construct the request directly.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
HubSpot__Singularity__1711
HubSpot/Singularity
1,711
defect
bd4d2ff399df6314b8868963eeda92cbac01fc9c
e01e862e4f8234b433eb193bfded3c1972e00bc6
Take system usage into account when scoring offers
- Also collect system usage for mesos slaves - Ability to score on system vs task usage on the slave - fix a missing lock in drainPendingQueue - fix bug in grabbing slave usage by id
diff --git a/SingularityBase/src/main/java/com/hubspot/mesos/json/MesosSlaveMetricsSnapshotObject.java b/SingularityBase/src/main/java/com/hubspot/mesos/json/MesosSlaveMetricsSnapshotObject.java new file mode 100644 index 0000000000..7d5ccb8b58 --- /dev/null +++ b/SingularityBase/src/main/java/com/hubspot/mesos/json/Me...
1
1
1
[{"id": "G0", "claim": "In the SPREAD_SYSTEM_USAGE scoring branch, the system memory free score should be computed as getSystemMemTotalBytes() - getSystemMemFreeBytes() over total bytes; the added code subtracts getSystemMemTotalBytes() from itself, which always yields 0 and makes systemMemFreeScore a constant 1.", "ca...
null