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
ChromeDevTools__chrome-devtools-mcp__1845
ChromeDevTools/chrome-devtools-mcp
1,845
defect
f8142e2d7e11549b51a00caba33c69f6cc34797a
f6a7c804cc5eaefad9d5635ea897f674eb418f6f
feat(webmcp): Add experimental tool to list WebMCP tools page exposes
<img width="1305" height="735" alt="image" src="https://github.com/user-attachments/assets/ea154d81-c1cf-4758-98c2-7dce25d6ad8b" /> ``` npx @modelcontextprotocol/inspector node build/src/bin/chrome-devtools-mcp.js --channel=canary --experimentalWebmcp --chrome-arg='--enable-features=WebMCPTesting,DevToolsWebMCPSu...
diff --git a/src/McpContext.ts b/src/McpContext.ts index 32b7413e6..fcdc91fc9 100644 --- a/src/McpContext.ts +++ b/src/McpContext.ts @@ -13,6 +13,7 @@ import {McpPage} from './McpPage.js'; import { NetworkCollector, ConsoleCollector, + WebMcpCollector, type ListenerMap, type UncaughtError, } from './Page...
5
5
1
[{"id": "G0", "claim": "The Context type should not add getWebMcpTools if the method is not used by tools/*.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should not use CDP and should not add a collector; it should just use the Puppete...
null
ChromeDevTools__chrome-devtools-mcp__1848
ChromeDevTools/chrome-devtools-mcp
1,848
defect
728d90208d9f1fdd1266dbecd4939acd1271004d
323d821019417afa5a26a4059a768bdfb5332f32
feat: support DevTools header redactions as an option
This PR adds a CLI flag to enable redacting network headers in the same way they are redacted in DevTools. Note that sometimes it might prevent the agent from properly analysing network issues. Pass `--redact-headers=false` to revert to the previous behavior.
diff --git a/README.md b/README.md index 41743ac90..b6eeb4d71 100644 --- a/README.md +++ b/README.md @@ -620,6 +620,11 @@ The Chrome DevTools MCP server supports the following configuration option: Exposes a "slim" set of 3 tools covering navigation, script execution and screenshots only. Useful for basic browser ta...
3
2
1
[{"id": "G0", "claim": "When redaction is enabled and there is no response, toJSONDetailed sets responseHeaders to an empty object (instead of leaving it undefined as before), which may behave differently when the request is shown as text.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": ...
null
ChromeDevTools__chrome-devtools-mcp__1852
ChromeDevTools/chrome-devtools-mcp
1,852
defect
728d90208d9f1fdd1266dbecd4939acd1271004d
7bbfcee488048e9c58c769296eec82475f839d56
fix: ignore unmapped PerformanceIssue events
## Summary - ignore Audits `PerformanceIssue` events before passing them to the DevTools IssuesManager mapper, which currently has no handler for that issue code - preserve the existing mapper/logging path for other issue codes - add regression coverage that `PerformanceIssue` is ignored without collecting an issue or...
diff --git a/src/PageCollector.ts b/src/PageCollector.ts index d943baa540..751395184a 100644 --- a/src/PageCollector.ts +++ b/src/PageCollector.ts @@ -342,6 +342,11 @@ class PageEventSubscriber { #onIssueAdded = (data: Protocol.Audits.IssueAddedEvent) => { try { const inspectorIssue = data.issue; + ...
1
1
0
[{"id": "G0", "claim": "Use the supported list from the reviewer's upstream DevTools change instead of hard-coding the 'PerformanceIssue' code check, removing the hard-coded bit once the DevTools version is updated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ChromeDevTools__chrome-devtools-mcp__1922
ChromeDevTools/chrome-devtools-mcp
1,922
defect
86ffd58c2f768dc92a4a66a15f369875273f0652
f726f7947386b0c190c1c7af21f29aab21fdf00b
feat: support Chrome extensions debugging
Adds ability to install, uninstall and reload extensions, trigger extension actions and inspect extension pages, service workers and content scripts. Specify `--categoryExtensions` to enable. Closes https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1173 Closes https://github.com/ChromeDevTools/chrome-dev...
diff --git a/README.md b/README.md index b63ac7376..3d8bdc7cf 100644 --- a/README.md +++ b/README.md @@ -511,6 +511,12 @@ If you run into any issues, checkout our [troubleshooting guide](./docs/troubles - [`list_console_messages`](docs/tool-reference.md#list_console_messages) - [`take_screenshot`](docs/tool-refer...
5
5
1
[{"id": "G0", "claim": "The `categoryExtensions` CLI option should declare an explicit `default: false`.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tool reference should note that the Extensions tools are only available when `--category-exte...
null
ChromeDevTools__chrome-devtools-mcp__1934
ChromeDevTools/chrome-devtools-mcp
1,934
defect
82b67b07d3c7b5a1ec22d21c2376d24d7393cb82
e1e167652a3da7ec5d979ff4921c74f2286487ca
feat: support webm format in screencast
Modifies the experimental screencast command to support `.webm` in addition to `.mp4`. Renamed `path` to `filePath` to align with other tools.
diff --git a/src/telemetry/tool_call_metrics.json b/src/telemetry/tool_call_metrics.json index 14d8c13bf4..f04bf0f9df 100644 --- a/src/telemetry/tool_call_metrics.json +++ b/src/telemetry/tool_call_metrics.json @@ -419,6 +419,11 @@ "args": [ { "name": "path_length", + "argType": "number", + ...
3
2
2
[{"id": "G0", "claim": "The extension-detection loop tests the hardcoded `enforcedExtension` (always '.mp4') instead of the user-provided `filePath`, so the loop never selects a supported extension and achieves nothing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
ChromeDevTools__chrome-devtools-mcp__1939
ChromeDevTools/chrome-devtools-mcp
1,939
defect
b53752d244bfe4c7fade002a60a5468da62fa9b3
46d187bbd8e9828188f29ee61fe25b97b06b115e
feat: group identical consecutive console messages in list_console_messages
## Summary Group consecutive identical console messages in `list_console_messages`, similar to Chrome DevTools' console grouping behavior. Fixes #904 ## Changes - Introduce `GroupedConsoleFormatter` subclass that extends `ConsoleFormatter` and overrides `toString()` / `toJSON()` for count-aware formatting - Add `Co...
diff --git a/src/McpResponse.ts b/src/McpResponse.ts index 45e587354a..f75314230a 100644 --- a/src/McpResponse.ts +++ b/src/McpResponse.ts @@ -1031,17 +1031,25 @@ Call ${handleDialog.name} to handle it before continuing.`); response.push('## Console messages'); if (messages.length) { + const grou...
1
1
1
[{"id": "G0", "claim": "Instead of defining new methods (toStringGrouped/toJSONGrouped) on the formatter interfaces, a GroupedConsoleFormatter subclass holding a group of messages should be created, using the first message's ID since identical messages need no lastId, so ConsoleFormatter and GroupedConsoleFormatter are...
null
ChromeDevTools__chrome-devtools-mcp__1984
ChromeDevTools/chrome-devtools-mcp
1,984
defect
7ee5e867ef5961ba26d5e7405b2ccb6ca655e12d
c1f7b3f877ecd81ca6d08dc0ff20fc7cf169c318
fix: always allow tmpdir access with client roots
This PR changes the implementation to allow access to tmpdir even if the client is not configured it explicitly because several tools default to the tmpdir for outputs. Many clients like gemini-cli/claude do not configure the tmp dir as a root by default.
diff --git a/src/McpContext.ts b/src/McpContext.ts index b4fecf3632..0b81076938 100644 --- a/src/McpContext.ts +++ b/src/McpContext.ts @@ -5,8 +5,9 @@ */ import fs from 'node:fs/promises'; +import os from 'node:os'; import path from 'node:path'; -import {fileURLToPath} from 'node:url'; +import {fileURLToPath, pat...
1
1
0
[{"id": "G0", "claim": "The second sentence of the outside-path comment is redundant given the first sentence, and the directory it describes does not look like a sibling, so that comment line should be dropped.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ChromeDevTools__chrome-devtools-mcp__362
ChromeDevTools/chrome-devtools-mcp
362
defect
0624029e0f8735345d202d29dde446b8869d9561
cd0eef676a2f14ca77d148a0eb6d954b3e23c881
fix: add an option value to the snapshot
Fixes #185 The standard selector value is not included in the AXNode, so add it separately.
diff --git a/src/McpContext.ts b/src/McpContext.ts index d10379357b..5b29ce097b 100644 --- a/src/McpContext.ts +++ b/src/McpContext.ts @@ -272,6 +272,10 @@ export class McpContext implements Context { return page.getDefaultNavigationTimeout(); } + getAXNodeByUid(uid: string) { + return this.#textSnapshot?...
2
2
2
[{"id": "G0", "claim": "Use node.name for an option's value when building snapshots instead of fetching textContent through an element handle, so that building snapshots requires no evals; if evals cannot be avoided, it must be fixed in the chromium code.", "category": "design", "verdict": "supported", "priority": "P1"...
null
ChromeDevTools__chrome-devtools-mcp__366
ChromeDevTools/chrome-devtools-mcp
366
defect
dc9a78483d2a997e11b610cbbc91edf50f103686
d3195fb76424373f9354b4468a18c88a32287dcd
fix: return the default dialog value correctly
Closes https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/364 Closes https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/361
diff --git a/src/McpResponse.ts b/src/McpResponse.ts index bf7603bfa..27983a519 100644 --- a/src/McpResponse.ts +++ b/src/McpResponse.ts @@ -193,7 +193,7 @@ export class McpResponse implements Response { const dialog = context.getDialog(); if (dialog) { response.push(`# Open dialog -${dialog.type()}: $...
2
2
1
[{"id": "G0", "claim": "Wrap the dialog's default value in double quotes so that an empty default value is distinguishable in the response text.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default-value segment should be included only when it...
null
ChromeDevTools__chrome-devtools-mcp__37
ChromeDevTools/chrome-devtools-mcp
37
defect
b8d99a6edb8a6748a80454c7542a2e479cc9f36e
412a5e632faa3a9b349bf3848e0a593c7d459999
feat: validate uids
- generate snapshot IDs. - change uid to be a string. - validate that uid is not coming from a stale snapshot.
diff --git a/docs/tool-reference.md b/docs/tool-reference.md index 4dc46392a5..eb73a5274a 100644 --- a/docs/tool-reference.md +++ b/docs/tool-reference.md @@ -43,7 +43,7 @@ **Parameters:** - **dblClick** (boolean) _(optional)_: Set to true for double clicks. Default is false. -- **uid** (number) **(required)**: The...
1
1
0
[{"id": "G0", "claim": "The inline snapshot-id syntax is hard to read; extract it into a variable, e.g. hoist `const snapshotId = this.#nextSnapshotId++` in createTextSnapshot.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ChromeDevTools__chrome-devtools-mcp__387
ChromeDevTools/chrome-devtools-mcp
387
defect
579819b5e76f7a34c7c5c0877ac1e5e284beb328
f6e67b435f0afa3136cff225dfb5ad0f6dd423a2
feat: add filters and pagination to the console messages tool
In the next pr, we will add ids to messages and another tool to get more details by id
diff --git a/src/McpResponse.ts b/src/McpResponse.ts index 98a979dbc..366cca1b1 100644 --- a/src/McpResponse.ts +++ b/src/McpResponse.ts @@ -33,15 +33,18 @@ export class McpResponse implements Response { #includePages = false; #includeSnapshot = false; #attachedNetworkRequestData?: NetworkRequestData; - #incl...
2
2
2
[{"id": "G0", "claim": "The change of the console tool's category annotation from DEBUGGING to NETWORK looks unintended and unrelated to the network, so it should be reverted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "format should not be made ...
null
ChromeDevTools__chrome-devtools-mcp__388
ChromeDevTools/chrome-devtools-mcp
388
defect
579819b5e76f7a34c7c5c0877ac1e5e284beb328
856c4f35762cdaf85195409fa8c51667a7964650
feat: support verbose snapshots
As an option allow verbose snapshots https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/363
diff --git a/docs/tool-reference.md b/docs/tool-reference.md index 216a37fa3..1836c924c 100644 --- a/docs/tool-reference.md +++ b/docs/tool-reference.md @@ -320,9 +320,11 @@ so returned values have to JSON-serializable. ### `take_snapshot` -**Description:** Take a text snapshot of the currently selected page. The ...
1
1
1
[{"id": "G0", "claim": "The new test uses `it.only`, which focuses this test and prevents the file's other tests from running in a normal run; it should be a plain `it`.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ChromeDevTools__chrome-devtools-mcp__440
ChromeDevTools/chrome-devtools-mcp
440
defect
873088f6bd69600872e5fcc63fbc1fb1926dc803
34995f047d473a2102cf5709a97ca04f9110da95
chore: improve console message format
I checked Puppeteer implementation and it computes the text based on all args so we should treat the first arg in a special way. Also, changes the format to print count of args in the list and full args in the details only.
diff --git a/src/McpResponse.ts b/src/McpResponse.ts index 5826bed52..e9a9c59db 100644 --- a/src/McpResponse.ts +++ b/src/McpResponse.ts @@ -444,7 +444,6 @@ Call ${handleDialog.name} to handle it before continuing.`); return response; } - response.push(`## Console Message ${data.consoleMessageStableId}...
2
1
1
[{"id": "G0", "claim": "Remove the describe.only so the consoleFormatter tests do not run in isolation.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new formatter output seems to sneak in one extra newline by accident.", "category": "correctness",...
null
ChromeDevTools__chrome-devtools-mcp__462
ChromeDevTools/chrome-devtools-mcp
462
defect
21af8daf04f8936b78fadd5e93c9ab2c6c6cfa31
28f27087c8e18cfe4d952b9c08997cc37f25dc16
feat: support page reload
- merges navigation tools into a single tool. - adds reload functionality. - in a follow-up we will add options to reload.
diff --git a/README.md b/README.md index e0429202b..78c37c182 100644 --- a/README.md +++ b/README.md @@ -247,11 +247,10 @@ If you run into any issues, checkout our [troubleshooting guide](./docs/troubles - [`hover`](docs/tool-reference.md#hover) - [`press_key`](docs/tool-reference.md#press_key) - [`upload_file...
1
1
0
[{"id": "G0", "claim": "The navigation handler would be easier to read with a single switch where each type's case has its own try/catch, keeping the logic for each type close together.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ChromeDevTools__chrome-devtools-mcp__463
ChromeDevTools/chrome-devtools-mcp
463
defect
21af8daf04f8936b78fadd5e93c9ab2c6c6cfa31
f121016f562f90c55e35b4c46ae6cd89e2e31a41
feat: support saving snapshots to file
Refs https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/153
diff --git a/docs/tool-reference.md b/docs/tool-reference.md index 4872226c9..1a6b66dc1 100644 --- a/docs/tool-reference.md +++ b/docs/tool-reference.md @@ -353,6 +353,7 @@ identifier (uid). Always use the latest snapshot. Prefer taking a snapshot over **Parameters:** +- **filePath** (string) _(optional)_: The abs...
1
1
1
[{"id": "G0", "claim": "The success message should say the accessibility snapshot was saved, not 'Saved screenshot to ...', since the saved artifact is a snapshot.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ChromeDevTools__chrome-devtools-mcp__466
ChromeDevTools/chrome-devtools-mcp
466
defect
fc2f0586f49145229ae3269fe65f2f50536ed60a
9ea96e79b9ccc7b263a0c5ea8466237505787cb7
refactor: connect to DevTools targets by default
in preparation for integration with DevTools, this PR moves the pages filtering to the MCP context.
diff --git a/src/McpContext.ts b/src/McpContext.ts index eb12e7da8..e4c5d605a 100644 --- a/src/McpContext.ts +++ b/src/McpContext.ts @@ -39,6 +39,11 @@ export interface TextSnapshot { snapshotId: string; } +interface McpContextOptions { + // Whether the DevTools windows are exposed as pages. + devtools: boolean...
1
1
0
[{"id": "G0", "claim": "The page filter in createPagesSnapshot would be a tiny bit clearer if it checked page.url().startsWith('devtools://') first and returned this.#options.devtools, keeping all other pages unconditionally.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
ChromeDevTools__chrome-devtools-mcp__52
ChromeDevTools/chrome-devtools-mcp
52
defect
22755533b85bc8618f2dad01b257e6022e5f6cfc
ff4231ec975d799127ef7624f7aefc26a13ceb2c
fix: support node20
Initially, we started with the support of Node22+ but since Node20 is an LTS that is still in the maintenance mode it makes sense to support it.
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 47b2e958bd..54dd4cfd2c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -20,6 +20,7 @@ jobs: - windows-latest - macos-latest node: + - 20 - 22 ...
2
2
1
[{"id": "G0", "claim": "A trace insight test fails on Node 20, and the author asks the reviewer what should be done about it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks why the workflow pins the first setup-node step to node-ve...
null
ChromeDevTools__chrome-devtools-mcp__564
ChromeDevTools/chrome-devtools-mcp
564
defect
c1e41189923e65063d3bbf1866ae89f19a9998fb
bb4ffab6d84582555328e4a96501593a72df6af3
refactor: simplify issue management
follow-up for https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/505
diff --git a/src/PageCollector.ts b/src/PageCollector.ts index 1212f996f..62b28055c 100644 --- a/src/PageCollector.ts +++ b/src/PageCollector.ts @@ -14,7 +14,7 @@ import { import {FakeIssuesManager} from './DevtoolsUtils.js'; import {logger} from './logger.js'; -import type {ConsoleMessage, Protocol} from './third_...
1
1
0
[{"id": "G0", "claim": "The old createCDPSession helper in the test mock, left unused by this change's switch to the internal _client() API, probably needs to be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ChromeDevTools__chrome-devtools-mcp__568
ChromeDevTools/chrome-devtools-mcp
568
defect
c42d81a4101e64fc4f2d6dce5d06470829f8ea80
dbc210901a2d09f093b78c25ebf3f3b8ee8cba8f
feat: Add ability to inject script to run on page load
Adds a parameter "initScript" to be used to inject a script into the page load before other scripts execute. [Page.evaluateOnNewDocument](https://pptr.dev/api/puppeteer.page.evaluateonnewdocument) See #567
diff --git a/docs/tool-reference.md b/docs/tool-reference.md index 0e126b8c30..64054697c8 100644 --- a/docs/tool-reference.md +++ b/docs/tool-reference.md @@ -149,6 +149,7 @@ **Parameters:** - **ignoreCache** (boolean) _(optional)_: Whether to ignore cache on reload. +- **initScript** (string) _(optional)_: (option...
3
2
1
[{"id": "G0", "claim": "Consider whether the new_page tool, or passing an init script for all pages via a CLI argument, would be a better place for the initScript capability than the navigate tool.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The init ...
null
ChromeDevTools__chrome-devtools-mcp__651
ChromeDevTools/chrome-devtools-mcp
651
defect
4cd294fcc717384f9ebbf647366d2ea05b17aa59
18980036b5d7eb2bf0ca659f472193f2624ca114
feat: support --auto-connect to a Chrome instance
This PR adds a new connection mode called `--auto-connect`. To activate it, add the `--auto-connect` flag to the chrome-devtools-mcp server configuration. With this, chrome-devtools-mcp will automatically connect to the running Chrome instance by looking up the port and the URL in the user data dir for the specified `-...
diff --git a/README.md b/README.md index a51a92ca2a..c1b162de1c 100644 --- a/README.md +++ b/README.md @@ -350,6 +350,10 @@ The Chrome DevTools MCP server supports the following configuration option: <!-- BEGIN AUTO GENERATED OPTIONS --> +- **`--autoConnect`** + If specified, automatically connects to a browser r...
2
2
0
[{"id": "G0", "claim": "The --autoConnect documentation should mention that this requires Chrome 145.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The --auto-connect example descriptions in the CLI help should mention that this requires Chrome 1...
null
ChromeDevTools__chrome-devtools-mcp__758
ChromeDevTools/chrome-devtools-mcp
758
defect
e8c9192dbdea70b7bc2d9607d955a6e711af8160
1323d09ea42f1ceb377e7bb8f3582e5969b194bd
chore: implement ClearcutLogger and ClearcutSender dummy
This PR implements the core logging infrastructure for the telemetry system. It introduces the `ClearcutLogger` class, integrates it into the server lifecycle events, and establishes the `ClearcutSender` abstraction. **Implementation Roadmap:** This is the second in a series of PRs designed to implement a robust, p...
diff --git a/src/main.ts b/src/main.ts index c488419af..6097112cd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -15,6 +15,7 @@ import {loadIssueDescriptions} from './issue-descriptions.js'; import {logger, saveLogsToFile} from './logger.js'; import {McpContext} from './McpContext.js'; import {McpResponse} from './Mc...
2
2
2
[{"id": "G0", "claim": "The license headers of the new telemetry files state 'Copyright 2025 Google LLC' but should state 2026.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "logServerStart should be started with all CLI args, logging them generic...
null
ChromeDevTools__chrome-devtools-mcp__788
ChromeDevTools/chrome-devtools-mcp
788
defect
f028f8c07562999b01458124e9ae8bd8b1d4cf2f
c9b4f71d6e67b45838f9b83344ed8dc2c7a7fa93
fix: handle beforeunload dialogs in navigations
Closes https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/713
diff --git a/docs/tool-reference.md b/docs/tool-reference.md index ac8ab1f53..c6720a602 100644 --- a/docs/tool-reference.md +++ b/docs/tool-reference.md @@ -148,6 +148,7 @@ **Parameters:** +- **handleBeforeUnload** (enum: "accept", "decline") _(optional)_: Whether to auto accept, decline or ignore potential before...
1
1
0
[{"id": "G0", "claim": "The handleBeforeUnload parameter description should state that the default behavior is 'accept'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ChromeDevTools__chrome-devtools-mcp__802
ChromeDevTools/chrome-devtools-mcp
802
defect
6854d474c043e39fe667262d95779857e2c84c10
cd703d15f9e8cef5b993d54b497d659b16736492
chore: create a console formatter class
This cleans up the McpResponse and helps with returning the structured content.
diff --git a/src/McpResponse.ts b/src/McpResponse.ts index 4f628c7afb..d3f386862c 100644 --- a/src/McpResponse.ts +++ b/src/McpResponse.ts @@ -4,12 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -import {createStackTraceForConsoleMessage} from './DevtoolsUtils.js'; -import type {ConsoleMessageData} from './form...
1
1
0
[{"id": "G0", "claim": "The stackTrace option on ConsoleFormatterOptions looks unused since the stack trace is calculated in #loadDetailedData, and should be removed or clarified.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ChromeDevTools__chrome-devtools-mcp__809
ChromeDevTools/chrome-devtools-mcp
809
defect
b0d041a0b23915709f13fc4df65a5bf3f3d94049
de481ffafb3787cdd13144027bb4392298785fa4
chore: structured performance responses
This PR moves formatting out of the tools and to the McpResponse. Drive-by: clears up past trace results.
diff --git a/src/McpContext.ts b/src/McpContext.ts index 5c5f510c3..8187e0eb3 100644 --- a/src/McpContext.ts +++ b/src/McpContext.ts @@ -667,6 +667,8 @@ export class McpContext implements Context { } storeTraceRecording(result: TraceResult): void { + // Clear the trace results because we only consume the lat...
1
1
0
[{"id": "G0", "claim": "The test description should be updated to reflect that only the latest trace is stored (e.g. \"stores the latest trace only\"), since the pull request changed the test to keep only the latest trace while its title still reads \"can store and retrieve performance traces\".", "category": "document...
null
ChromeDevTools__chrome-devtools-mcp__837
ChromeDevTools/chrome-devtools-mcp
837
defect
849c59071c324dac6196131ea188ed195f1bea30
8dd42a4644c8ebddae063c727ede91a42bfcef19
feat: add background parameter to new_page tool
## Summary - Add `background` boolean parameter to the `new_page` tool - When set to `true`, the new page opens in the background without bringing it to the front - Uses Puppeteer's existing `background` option for `browser.newPage()` Fixes #826
diff --git a/docs/tool-reference.md b/docs/tool-reference.md index a8605b837..f0f901c99 100644 --- a/docs/tool-reference.md +++ b/docs/tool-reference.md @@ -170,6 +170,7 @@ **Parameters:** - **url** (string) **(required)**: URL to load in a new page. +- **background** (boolean) _(optional)_: Whether to open the pag...
1
1
0
[{"id": "G0", "claim": "The background parameter's description should inform clients about the default behavior, i.e. that it defaults to false (foreground).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ChromeDevTools__chrome-devtools-mcp__991
ChromeDevTools/chrome-devtools-mcp
991
defect
c9691c6250e6415981dbf55b08d37a8b1a920836
af249c25821ce164ef40d5fb60be7e7966e6aa77
feat: add storage-isolated browser contexts
## Summary Adds storage-isolated browser contexts via an optional `isolatedContext` parameter on the `new_page` tool, following the simplified design proposed by @OrKoN in #926. Pages created with the same `isolatedContext` name share cookies, localStorage, and storage. Pages in different isolated contexts (or the de...
diff --git a/package-lock.json b/package-lock.json index a6394ec912..584dd72985 100644 --- a/package-lock.json +++ b/package-lock.json @@ -498,6 +498,7 @@ "integrity": "sha512-Y5RmPncpiDtTXDbLKswIJzTqu2hyBKxTNsgKqKclDbhIgg1wgtf1fRuvxgTnRfcnxtvvgbIEcqUOzZrJ6iSReg==", "dev": true, "license": "MIT", +...
6
5
2
[{"id": "G0", "claim": "The pull request can implement browser-context isolation without adding new tools, following the approach suggested in issue #926.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The pull request should not need to modify src/Devto...
null
ChuckHend__pg_vectorize__126
ChuckHend/pg_vectorize
126
defect
c8feceeda80ea4f5109dd6dfebbbd6f2353ed7e5
5525a305901d1d7aa171bee4024349e2d5a1edc2
Add support for DiskANN, and HNSW inner product, L2
Add abstractions for index creation for DiskANN (depends on vectorscale) and HNSW + inner product and L2 (from vector).
diff --git a/.github/workflows/extension_upgrade.yml b/.github/workflows/extension_upgrade.yml index b7b8052b..72569f88 100644 --- a/.github/workflows/extension_upgrade.yml +++ b/.github/workflows/extension_upgrade.yml @@ -22,7 +22,7 @@ on: jobs: test: name: Upgrade Test - runs-on: ubuntu-22.04 + runs-on...
1
1
0
[{"id": "G0", "claim": "The 'Running on arm64, no variable set' message in the install-vectorscale target is vague and could be made clearer/more specific.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ChuckHend__pg_vectorize__162
ChuckHend/pg_vectorize
162
defect
4a365d3aaafa3965a3eae5f11a78d039e6ea54f8
db2ad8a32ff9c1fca6ee2ae170d0557a28d29b0e
Add chunking support to vectorize.table()
Closes #142 /claim #142
diff --git a/extension/src/api.rs b/extension/src/api.rs index d2efa9c9..a37db908 100644 --- a/extension/src/api.rs +++ b/extension/src/api.rs @@ -167,3 +167,40 @@ fn env_interpolate_guc(guc_name: &str) -> Result<String> { .unwrap_or_else(|| panic!("no value set for guc: {guc_name}")); env_interpolate_string(...
6
6
5
[{"id": "G0", "claim": "When vectorize.table() chunks an existing table into multiple rows, the chunked rows should live in a separate table.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should add a test or two showing how the new chu...
null
ChuckHend__pg_vectorize__166
ChuckHend/pg_vectorize
166
defect
4a365d3aaafa3965a3eae5f11a78d039e6ea54f8
ea7f18c082e295a3007f104ac053679ccd7db7d3
added function that chunks text inputs in vectorize.table() function #142
/claim #142 /closes #142 @ChuckHend can you please review this function any new changes are welcome!
diff --git a/extension/src/api.rs b/extension/src/api.rs index d2efa9c9..16337076 100644 --- a/extension/src/api.rs +++ b/extension/src/api.rs @@ -10,6 +10,77 @@ use anyhow::Result; use pgrx::prelude::*; use vectorize_core::types::Model; +fn chunk_text(text: &str, max_chunk_size: usize) -> Vec<String> { + let mu...
2
2
2
[{"id": "G0", "claim": "Make `chunk_table()` a stand-alone function and remove the chunking integration (the `chunk_input`/`max_chunk_size` parameters and the `if chunk_input { chunk_table(...) }` call) from `vectorize.table` in this PR.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introd...
null
ChuckHend__pg_vectorize__178
ChuckHend/pg_vectorize
178
defect
aac399976470e96543a49e4efd9d9d27b38761f2
7d61d1355060c859a9774462539564f612ebb16b
feat: Add event trigger to handle job cleanup on table drop in vectorize schema
fixes #148 /claim #148
diff --git a/extension/sql/meta.sql b/extension/sql/meta.sql index 0570668f..79d92c7c 100644 --- a/extension/sql/meta.sql +++ b/extension/sql/meta.sql @@ -20,6 +20,24 @@ GRANT SELECT ON ALL SEQUENCES IN SCHEMA vectorize TO pg_monitor; ALTER DEFAULT PRIVILEGES IN SCHEMA vectorize GRANT SELECT ON TABLES TO pg_monitor; ...
2
2
2
[{"id": "G0", "claim": "The pull request must add a test covering the new event-trigger job-cleanup feature.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Dropped tables can be in any schema and the vectorize.job record points to the dropped table via ...
null
ChuckHend__pg_vectorize__199
ChuckHend/pg_vectorize
199
defect
11bb77e97f622f93b2fd7ada305fcaec9420fc39
da567bf9fd75dcf786c028886ee9f30a08d418f2
feat: Support Importing Precomputed Embeddings
/claim #149 closes #149
diff --git a/README.md b/README.md index d40fb6fb..006a5549 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ pg_vectorize powers the [VectorDB Stack](https://tembo.io/docs/product/stacks/ai - [RAG Example](#rag-example) - [Updating Embeddings](#updating-embeddings) - [Directly Interact with LLMs](#directly-i...
6
6
4
[{"id": "G0", "claim": "Importing embeddings into a project whose schedule is realtime is problematic because vectorize.table() immediately starts generating embeddings, which could conflict with import_embeddings(); the PR should provide a way to load pre-computed embeddings before triggers or cron are set up, e.g. a ...
null
ChuckHend__pg_vectorize__256
ChuckHend/pg_vectorize
256
defect
dd46b364dfac2d25c8c59d3d512a8a64cb3047dd
035fdde40fa6bfb7979754d9f0ec67b7611a93fe
query operator support in server filters
To search such as `query=iphones&product_category=eq.electronics&price=lte.1000` for iphones in electronics less than or equal to 1000 price.
diff --git a/core/src/query.rs b/core/src/query.rs index 3cc32af..fa06b5e 100644 --- a/core/src/query.rs +++ b/core/src/query.rs @@ -10,54 +10,166 @@ use tiktoken_rs::cl100k_base; pub const VECTORIZE_SCHEMA: &str = "vectorize"; static TRIGGER_FN_PREFIX: &str = "vectorize.handle_update_"; -#[derive(Serialize, Debug,...
3
3
2
[{"id": "G0", "claim": "The timeout error message is hardcoded to '10 seconds' while the actual timeout comes from the timeout_duration variable, which could mislead if the timeout value changes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
ChuckHend__pg_vectorize__260
ChuckHend/pg_vectorize
260
defect
f8a8bd86270b36fd7ad52e125a5af2c2d1e74361
c794e9d6c3c0d3b7c5f3cddcf3cd01b8f6ece9ca
search w/ POST
URL query parameters can get unwieldy, so provide an equivalent way to search using POST w/ json in body.
diff --git a/.gitignore b/.gitignore index e66ed64..1565a80 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ test.sql META.json /vectorize-* site/ -uv.lock \ No newline at end of file +uv.lock +.vscode \ No newline at end of file diff --git a/core/src/init.rs b/core/src/init.rs index 239a242..94525df 10064...
5
2
1
[{"id": "G0", "claim": "The `path` attribute in the utoipa::path macro for the POST endpoint should be `/api/v1/search` to match the actual endpoint path instead of `/api/v1`.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `request_body` paramet...
null
ChuckHend__pg_vectorize__262
ChuckHend/pg_vectorize
262
defect
e9d980506e43407652faf8f8465565c46fdf9e67
adf69dba3fe9427b2aa27a2aca71dac361a9efeb
improve search query
- remove redundant operations in query to improve query perf - add standalone worker binary to build for scaling out worker count - fix delete job bug (wrong pgmq table name)
diff --git a/core/src/init.rs b/core/src/init.rs index 94525df..1b20ca3 100644 --- a/core/src/init.rs +++ b/core/src/init.rs @@ -330,7 +330,7 @@ pub async fn cleanup_job(pool: &PgPool, job_name: &str) -> Result<(), VectorizeE // Delete pending PGMQ messages for this job // We search for messages where the job...
2
1
0
[{"id": "G0", "claim": "Remove the trailing whitespace at the end of the added 'RUN cargo build --bin vectorize-worker --release' line in server/Dockerfile.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Removing the subquery causes the expensiv...
null
ChuckHend__pg_vectorize__86
ChuckHend/pg_vectorize
86
defect
0fa65e92cc7eedee660fdddbf5a6efe62ea780e7
8420c280174e8dd59285886c8846683b8a86b86a
Improve pg vectorize indexes
## `api.rs` ; `search.rs` - Define parameters: `index_type` and `distance_function` ## `search.rs` - [ ] TODO update `init_table` funciton
diff --git a/core/src/types.rs b/core/src/types.rs index 84e99dd0..0f8d34df 100644 --- a/core/src/types.rs +++ b/core/src/types.rs @@ -9,6 +9,7 @@ pub const VECTORIZE_SCHEMA: &str = "vectorize"; #[allow(non_camel_case_types)] #[derive(Clone, Debug, Serialize, Deserialize)] +// SimilarityAlg is now deprecated pub e...
3
3
2
[{"id": "G0", "claim": "The migration's ADD COLUMN default should be one of pgv_hnsw_l2, pgv_hnsw_ip, or pgv_hnsw_cosin, not the placeholder 'your_default_value'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Because the extension functions' signat...
null
CindyJS__CindyJS__775
CindyJS/CindyJS
775
defect
57ee7f4d67b60885545ddcc3da5dc390de9e49b0
c5003bedc4284f574bf79439bda33b5b87a990a1
Guess operator
Hi, I just finished the guess operator :-). It follows closely the implementation of Cinderella, so it should be bulletproof. I backed most of the code with tests.
diff --git a/make/sources.js b/make/sources.js index d346a39cc..2483eea4a 100644 --- a/make/sources.js +++ b/make/sources.js @@ -19,6 +19,7 @@ exports.libcs = [ "src/js/libcs/Render2D.js", "src/js/libcs/RenderBackends.js", "src/js/libcs/Tools.js", + "src/js/libcs/PSLQ.js", ]; exports.libgeo = [ di...
1
1
1
[{"id": "G0", "claim": "Guessing complex numbers is broken: guess(i*pi) returns the garbage 'NaN/NaN-i*1/NaN*sqrt(NaN)' instead of a proper result, so the reviewer asks that guesses of complex numbers be debugged and fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Cinnamon__kotaemon__144
Cinnamon/kotaemon
144
defect
971ffcc9d0b2a031ffcc9a0c54da2f1f674884c1
877783695f547ff22d44ee275e8135a860d5ef49
fix: update setup instructions
## Description - Please include a summary of the changes and the related issue. I added documentation to the readme that adds the steps I took to get the app running locally without docker. I also edited the `run_macos.sh` script to include the installation of dependencies like homebrew and libmagic. I adde...
diff --git a/.env b/.env.example similarity index 78% rename from .env rename to .env.example index 6f42b4c78..fd89f86b7 100644 --- a/.env +++ b/.env.example @@ -1,8 +1,10 @@ +# this is an example .env file, use it to create your own .env file and place it in the root of the project + # settings for OpenAI OPENAI_API...
6
5
4
[{"id": "G0", "claim": "The new System requirements list should mark Docker and Homebrew as optional, since Kotaemon can be installed from source without them.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The run_macos.sh change making Miniconda...
null
Cinnamon__kotaemon__260
Cinnamon/kotaemon
260
defect
cbe45a4395b2ce10573ba24b6794863f099bb3d4
a22103f028effd8390ecf2808e869c4644ba9135
feat: Qdrant vectorstore support
## Description - This PR adds support for Qdrant - https://qdrant.tech/ to be used as a vectorstore. ## Type of change - [x] New features (non-breaking change).
diff --git a/flowsettings.py b/flowsettings.py index cd487ceb8..b4f9d7628 100644 --- a/flowsettings.py +++ b/flowsettings.py @@ -81,6 +81,7 @@ # "__type__": "kotaemon.storages.LanceDBVectorStore", "__type__": "kotaemon.storages.ChromaVectorStore", # "__type__": "kotaemon.storages.MilvusVectorStore", + ...
2
2
1
[{"id": "G0", "claim": "Move the llama-index-vector-stores-qdrant dependency from the core dependencies into the [adv] extra, since adding another vectorstore variant increases installation time and storage for basic users who may not use it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "i...
null
CircleCI-Public__circleci-cli__1095
CircleCI-Public/circleci-cli
1,095
defect
cb22920806ed205be1bb4000e1ccc370244a4b97
5f7ef812d4725cbb949fa408e68d06fa4621844a
SC-1895 add new pipeline values to the list of values used for local config validation
# Checklist ========= - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have checked for similar issues and haven't found anything relevant. - [x] This is not a security issue (which should be reported here: https://circleci.com...
diff --git a/config/pipeline.go b/config/pipeline.go index 66c86e3bf..dcdf4be6c 100644 --- a/config/pipeline.go +++ b/config/pipeline.go @@ -34,6 +34,7 @@ func LocalPipelineValues(parameters Parameters) Values { vals := map[string]interface{}{ "pipeline.id": "00000000...
2
1
1
[{"id": "G0", "claim": "The new pipeline values this PR adds also need their documentation updated (the reviewer asks whether the docs need updating too, citing that the pipeline.git.commit values are undocumented).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
CircleCI-Public__circleci-cli__114
CircleCI-Public/circleci-cli
114
defect
249a3d6893d7bc7f9ed19fd9f77117b78b372b53
685ef93f3bdc1f4d46ce6c815e738ab218b115ac
Circle 13454 machine readable output
Modifies 3 subcommands to support a `--json` flag: `circleci orb list --json`, `circleci orb list --uncertified --json`, `circleci orb list <namespace> --json`. Examples included in a follow-up comment.
diff --git a/api/api.go b/api/api.go index 7d487726f..240fc684b 100644 --- a/api/api.go +++ b/api/api.go @@ -101,14 +101,39 @@ type CreateOrbResponse struct { GQLResponseErrors } +// OrbCollection is a container type for multiple orbs to share formatting +// functions on them. +type OrbCollection struct { + Orbs ...
3
2
0
[{"id": "G0", "claim": "The new --json flag should be marked hidden for now, in case the design changes later.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new --json flag does not need the -j shorthand; the long form alone is enough.", "category":...
null
CircleCI-Public__circleci-cli__141
CircleCI-Public/circleci-cli
141
defect
5629f549ddff106978abcccda7e878903444e2fa
1a279b9864fc6fb87150e8045c9345d72d688d7a
[CIRCLE-13803]: Improve the error message when an orb cannot be found.
Before: $ circleci orb publish gradle/orb.yml marcomorain/gradle@1.0.0 Error: the marcomorain/gradle orb could not be found After: $ go run main.go orb publish gradle/orb.yml marcomorain/gradle@1.0.0 Error: the 'gradle' orb does not exist in the 'marcomorain' namespace. Did you mispell the n...
diff --git a/api/api.go b/api/api.go index 9e06ce35b..dbb3e6fca 100644 --- a/api/api.go +++ b/api/api.go @@ -397,15 +397,17 @@ func OrbID(ctx context.Context, logger *logger.Logger, namespace string, orb str err = graphQLclient.Run(ctx, request, &response) - if err != nil { - return "", err + // If there is an e...
1
1
0
[{"id": "G0", "claim": "Instead of running a separate `getNamespace` request when the orb request fails, ask for both the orb and the registry namespace in a single GraphQL request to reduce round-trip time in the failure case.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
CircleCI-Public__circleci-cli__143
CircleCI-Public/circleci-cli
143
defect
3c7b7eb2a8d436efa2881fb930760a7876210f9b
4359da8782e386b6cb8ae8a746183c4a057f6d0d
[CIRCLE-13846 & 13847] Messaging & Unpublished orbs
- Listing orbs with a namespace will show any orbs that have not been published - Added example usage to promote and updated result wording. - Added example usage to increment and update result wording.
diff --git a/api/api.go b/api/api.go index ff4b971e1..59fc7fa38 100644 --- a/api/api.go +++ b/api/api.go @@ -986,12 +986,12 @@ query namespaceOrbs ($namespace: String, $after: String!) { for i := range result.RegistryNamespace.Orbs.Edges { edge := result.RegistryNamespace.Orbs.Edges[i] currentCursor = edge.C...
1
1
0
[{"id": "G0", "claim": "The placeholder text \"Unpublish\" shown for orbs with no published versions would be clearer as \"Not published\" or \"No published versions\".", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
CircleCI-Public__circleci-cli__175
CircleCI-Public/circleci-cli
175
defect
215b0f9af7b3f82361ce1ba77022afa59c5d89ee
1d7b2cb8a5a19296cea35d82b2d83d2109415d9d
Fail earlier when HTTP calls fail
Add debug logging for HTTP responses. If API calls return non-200 responses, then fail earlier with a more clear message. Error before: Error: Unable to validate config: decoding response: invalid character '<' looking for beginning of value Error after: Error: Unable to validate config: failure...
diff --git a/CONgit b/CONgit new file mode 100644 index 000000000..e69de29bb diff --git a/client/client.go b/client/client.go index 9b6d07ed0..d98989955 100644 --- a/client/client.go +++ b/client/client.go @@ -192,6 +192,12 @@ func (cl *Client) Run(ctx context.Context, log *logger.Logger, request *Request, } }() ...
2
2
2
[{"id": "G0", "claim": "The accidentally committed files `CONgit` and `st` should be removed from the pull request.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A test should be added for the new non-200 status handling that fails the call ear...
null
CircleCI-Public__circleci-cli__181
CircleCI-Public/circleci-cli
181
defect
073b0ec67d318841a91cd22e627facf8b01f4ff0
e11cc2872090b3b496f30d333ae65cd5f18e5c7d
[CIRCLE-14052]: Add `orb info` which reports meta-data about an orb
## Help text ``` $ go run main.go help orb info Show the meta-data of an orb Usage: circleci orb info <orb> [flags] Examples: circleci orb info circleci/python@0.1.4 circleci orb info my-ns/foo-orb@dev:latest ``` ## Usage ``` $ go run main.go orb info circleci/orb-tools Latest: circleci...
diff --git a/api/api.go b/api/api.go index ca6b865a7..8d94b18c7 100644 --- a/api/api.go +++ b/api/api.go @@ -206,15 +206,25 @@ type OrbListResponse struct { } } -// OrbSourceResponse wraps the GQL result used by OrbSource -type OrbSourceResponse struct { +// OrbVersionResponse wraps the GQL result used by OrbSourc...
5
4
1
[{"id": "G0", "claim": "OrbInfo uses both a `cl` variable and the `client` package, and the reviewer asks why the function has these two similarly named things.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "orbInfo decodes the orb source with y...
null
CircleCI-Public__circleci-cli__186
CircleCI-Public/circleci-cli
186
defect
1dca9bca890201f12c6229d28aa9987a989a7eb4
740fee7dc1058ac9e8345dd244fc2765ee745173
Show help for "local execute"
We use `DisableFlagParsing: true` for `circleci local execute`, so add manual checks of the user-provided flags for `-h` or `--help`. Still needed: [ ] Tests
diff --git a/cmd/build.go b/cmd/build.go index a48f29727..f139ab1f9 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -61,7 +61,13 @@ func newLocalExecuteCommand(config *settings.Config) *cobra.Command { opts.log = logger.NewLogger(config.Debug) opts.cl = client.NewClient(config.Host, config.Endpoint, config.Toke...
1
1
0
[{"id": "G0", "claim": "The manual loop over raw flags should be replaced with the standard pflag parsing mechanism (parse the flags and show help when the error is pflag.ErrHelp) so help handling is resilient and consistent with the rest of the codebase.", "category": "design", "verdict": "supported", "priority": "P2"...
null
CircleCI-Public__circleci-cli__267
CircleCI-Public/circleci-cli
267
defect
5896baa95dad1b66f9c4a5b0a14571717c92aa55
04f93055e69f46cf9dacf262806575bc975294be
[CIRCLE-15483]: Catch all 400s from GitHub release api in `update`
We want to make sure we cover all bases and catch every 4** error GitHub might return to us and display a verbose message for how to treat these kinds of errors. Since the majority of the the time this error occurs when the user hits the API without setting a GITHUB_TOKEN, and results in a rate limit for their I...
diff --git a/cmd/update_test.go b/cmd/update_test.go index 871040956..ac2068580 100644 --- a/cmd/update_test.go +++ b/cmd/update_test.go @@ -141,4 +141,46 @@ var _ = Describe("Update", func() { Eventually(session).Should(gexec.Exit(0)) }) }) + + Describe("When Github returns a 403 error", func() { + BeforeEac...
5
5
1
[{"id": "G0", "claim": "The condition `ghErr.Response.StatusCode >= 400 || ghErr.Response.StatusCode < 500` should use `&&` so it means 'at least 400 but less than 500' instead of matching every status code.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
CircleCI-Public__circleci-cli__294
CircleCI-Public/circleci-cli
294
defect
82d3083a4bdc5b845246453b2bf37dd2496dc60d
162738a361c15dcd435eddcaca12e5060cde2fd6
[CIRCLE-17397] Bugfix setup diagnostic check
- [X] I have read [Contribution Guidelines](https://github.com/CircleCI-Public/circleci-cli/blob/master/CONTRIBUTING.md). - [X] I have checked for similar issues and haven't found anything relevant. - [X] This is not a security issue (which should be reported here: https://circleci.com/security/) **Here are some h...
diff --git a/cmd/setup.go b/cmd/setup.go index 63bb31da3..cc928262f 100644 --- a/cmd/setup.go +++ b/cmd/setup.go @@ -209,8 +209,11 @@ func setupDiagnosticCheck(opts setupOptions) { fmt.Printf("Trying to query your username given the provided token... ") responseWho, err := api.WhoamiQuery(opts.cl) - if err != nil...
2
2
0
[{"id": "G0", "claim": "The error message printed when the whoami query fails is the exact same message as the one printed above for the introspection query, so a user cannot tell which check failed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
CircleCI-Public__circleci-cli__32
CircleCI-Public/circleci-cli
32
defect
435663080ec9272badca368aea324acb9ed6a28b
4622b337403526e902327d27ca7136a0f004a0ad
Create orb
I had accidentally merged #28 before #31 so going full circle here... :)
diff --git a/api/api.go b/api/api.go index ac1477141..1a2d7b5e2 100644 --- a/api/api.go +++ b/api/api.go @@ -54,6 +54,17 @@ type CreateNamespaceResponse struct { GQLResponseErrors } +// CreateOrbResponse type matches the data shape of the GQL response for +// creating an orb +type CreateOrbResponse struct { + Orb ...
7
7
2
[{"id": "G0", "claim": "The ToError method should use the errors package rather than fmt.Errorf for a joined message, since no string formatting is happening.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Replacing errors.Wrap with fmt.Errorf i...
null
CircleCI-Public__circleci-cli__369
CircleCI-Public/circleci-cli
369
defect
5303915c60c6d16c6344ced57ce2a712fc3f5efb
08404de4beb715b1510795ec8fc85a3d6d6f7b15
CIRCLE-25004 Support Config Version 2.1 in Local Builds
Allow using any version of config in local builds. Remove our config-version guards and instead use the API to process config. - find which config file is specified - process the config using the API - write the processed config to a temp file - mount the temp file into the docker container so that the build can...
diff --git a/cmd/build.go b/cmd/build.go index af94d5c30..be936c885 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -6,61 +6,17 @@ import ( "github.com/spf13/cobra" ) -// These options are purely here to retain a mock of the structure of the flags used by `build`. -// They don't reflect the entire structure or ava...
2
1
0
[{"id": "G0", "claim": "The removed TODO questioned whether defaulting DOCKER_API_VERSION (the old bash script set it to `1.23` when not explicitly set) is OK; the author notes no issues have arisen and it was indeed OK.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"...
null
CircleCI-Public__circleci-cli__432
CircleCI-Public/circleci-cli
432
defect
a7a3bc984bc32848662cc9d21cdea26f41ea565e
2ca7ab09b4971e80608fc28c1a1383d40768f197
Orb pack
* New `orb pack` command, which behaves similar to the `config pack`, but with a stricter project structure. * Added `<<include([filepath])>>` syntax to Orb packing to include scripts and files. * Add ability to enforce directories walked with `NewTree()` (backwards-compatible) * Move everything to `yaml.v3` to ...
diff --git a/.circleci/config.yml b/.circleci/config.yml index 32503a267..e62f4c103 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -166,7 +166,7 @@ jobs: path: coverage.txt - slack-notify-on-failure - docs: + docs: executor: go steps: - checkout diff --git a/api/...
9
8
3
[{"id": "G0", "claim": "Remove the trailing whitespace after `docs:` in .circleci/config.yml that the PR added.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The packOrb pipeline of repeated YAML/Node transforms (filetree Node -> yaml string ->...
null
CircleCI-Public__circleci-cli__516
CircleCI-Public/circleci-cli
516
defect
edd023da7ad86cd17cfb230ab0f389168d1c1b7f
57f3a7d45d30e710eb5c0c112e444471edc00613
Properly deserialize graphQL response when creating an imported orb
This PR fixes a bug where we weren't deserializing graphQL responses properly when importing orbs. The response struct name was changed to match that of the mutation being performed: `ImportOrb`
diff --git a/api/api.go b/api/api.go index a49c10776..0898883e5 100644 --- a/api/api.go +++ b/api/api.go @@ -203,6 +203,15 @@ type CreateOrbResponse struct { } } +// ImportOrbResponse type matches the data shape of the GQL response for +// creating an orb +type ImportOrbResponse struct { + ImportOrb struct { + Or...
1
1
0
[{"id": "G0", "claim": "The test fixture variable `createOrbResp` in cmd/orb_import_test.go should be renamed to `importOrbResp` to match the importOrb response it now holds.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CircleCI-Public__circleci-cli__535
CircleCI-Public/circleci-cli
535
defect
1667a8d1e7173c4547007881507867b2dc7d05df
9a1566e86367cef0d4ede4a3378ad9b189ef69b1
[CIRCLE-30179] Create Private Orbs
This PR makes the following changes: - orb commands now accept an optional `--private` flag - `createOrb` now propagates a `selectPrivate` flag into the api-service mutation This PR should not be merged until api-service has been updated to optionally accept the isPrivate flag: https://github.com/circleci/api-serv...
diff --git a/api/api.go b/api/api.go index 0898883e5..d8c9a643a 100644 --- a/api/api.go +++ b/api/api.go @@ -995,13 +995,14 @@ func RenameNamespace(cl *graphql.Client, oldName, newName string) (*RenameNamesp return renameNamespaceWithNsID(cl, getNamespaceResponse.RegistryNamespace.ID, newName) } -func createOrbWit...
2
1
0
[{"id": "G0", "claim": "The new orbOptions field selectPrivate could be named private or isPrivate instead, per convention.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added \"isPrivate\": false line in orb_test.go is indented with tabs w...
null
CircleCI-Public__circleci-cli__611
CircleCI-Public/circleci-cli
611
defect
ba6fe81ece6b6d70ce4788dea3de1d8981234319
5454b2fe822790ddd9fbd3fc9ac81af818d1d2e1
Don't panic on bad semver versions
Homebrew versions may look like `0.1.1234_5` if there is a revision made to the homebrew formula. This won't parse with semver.MustParse, so the update check panics in this case. This makes two changes. First, if we can't parse a version as semver, return an error with normal go error handling, rather than using ...
diff --git a/cmd/root.go b/cmd/root.go index cf361529b..f107de366 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -181,7 +181,14 @@ func prepare() { } func rootCmdPreRun(rootOptions *settings.Config) error { - return checkForUpdates(rootOptions) + // If an error occurs checking for updates, we should print the error ...
1
1
0
[{"id": "G0", "claim": "The parse-error message in checkFromHomebrew should include the value of `o.InstalledVersions[0]`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CircleCI-Public__circleci-cli__67
CircleCI-Public/circleci-cli
67
defect
14d21088f6a74767858961953421898b243a5424
91fd0ec4bc81805a4626c416da42c684d21e0c2a
CLI should use host instead of asking user for endpoint
We still expose endpoint as a flag and set it in config, but we want to limit its visibility to the user.
diff --git a/api/api.go b/api/api.go index cf73811b9..dd18dd3b5 100644 --- a/api/api.go +++ b/api/api.go @@ -3,6 +3,7 @@ package api import ( "context" "io/ioutil" + "net/url" "os" "strings" @@ -77,6 +78,31 @@ func (response GQLResponseErrors) ToError() error { return errors.New(strings.Join(messages, ": "...
3
2
1
[{"id": "G0", "claim": "The \"endpoint\" and \"host\" string literals in GraphQLServerAddress should be pulled into constants.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fmt.Printf(\"Connecting to the following server address: %s\\n\", add...
null
CircleCI-Public__circleci-cli__690
CircleCI-Public/circleci-cli
690
defect
341e493ddf086d512040cc0e98024af45963fad3
76b846633f6d04849b64c14008075fcc8359a109
[EXT-278] Support org id in namespace create command
Co-authored-by: @ruben1 <ruben1@users.noreply.github.com> Co-authored-by: @corinnesollows <corinnesollows@users.noreply.github.com> Co-authored-by: @rykimcircle <rykimcircle@users.noreply.github.com> - Supported `org-id` in namespace create command as a flag - Included `vcs-type` and `org-name` as optional argume...
diff --git a/api/api.go b/api/api.go index 1d54b2e67..313b834c9 100644 --- a/api/api.go +++ b/api/api.go @@ -802,7 +802,7 @@ func CreateImportedNamespace(cl *graphql.Client, name string) (*ImportNamespaceR return &response, nil } -func createNamespaceWithOwnerID(cl *graphql.Client, name string, ownerID string) (*C...
4
4
2
[{"id": "G0", "claim": "On invalid arguments the command should return cmd.Help() to print the whole help output instead of the error message.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code should check for len == 3 before using opts.args[2...
null
CircleCI-Public__circleci-cli__738
CircleCI-Public/circleci-cli
738
defect
a65cbb5d5d6df7d78628d241ffeb9c9e0c1d23d5
111aaa7b902829a56bf25205711248ab537d1922
added make decision policy command
# Checklist ========= - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have checked for similar issues and haven't found anything relevant. - [x] This is not a security issue (which should be reported here: https://circleci.com...
diff --git a/api/policy/policy.go b/api/policy/policy.go index 5f14da223..275743998 100644 --- a/api/policy/policy.go +++ b/api/policy/policy.go @@ -273,6 +273,48 @@ func (c Client) GetDecisionLogs(ownerID string, request DecisionQueryRequest) ([ return body, nil } +type DecisionRequest struct { + Input string `...
1
1
0
[{"id": "G0", "claim": "The pull request should add comments to the code, particularly in hard-to-understand areas, per the checklist item.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CircleCI-Public__circleci-cli__769
CircleCI-Public/circleci-cli
769
defect
ec7d8d3bff677e0bdce7830fdefaee6dcab64da7
304ccb1333fcd79c36bc7f992e20bebfaa335c29
Added examples for policy commands
# Checklist ========= - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have checked for similar issues and haven't found anything relevant. - [x] This is not a security issue (which should be reported here: https://circleci.com...
diff --git a/cmd/policy/policy.go b/cmd/policy/policy.go index 864671a80..68d4f7262 100644 --- a/cmd/policy/policy.go +++ b/cmd/policy/policy.go @@ -41,7 +41,7 @@ func NewCommand(config *settings.Config, preRunE validator.Validator) *cobra.Com cmd := &cobra.Command{ Short: "push policy bundle", - Use: "pus...
1
1
0
[{"id": "G0", "claim": "The added command examples use `./config` as the folder to push/diff/eval, which is confusing with the `--context config` flag; the examples should use a folder like `./policies` instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CircleCI-Public__circleci-cli__791
CircleCI-Public/circleci-cli
791
defect
f124597e5e1845d216ae92dc8a3919b82b5eb043
b186b1bfc3ceb32f5715a8d8397792395cf2e300
[SECENG-839] added command to get/set policy settings
# Checklist ========= - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have checked for similar issues and haven't found anything relevant. - [x] This is not a security issue (which should be reported here: https://circleci.com...
diff --git a/api/policy/policy.go b/api/policy/policy.go index 7f7bf99f1..11f7408be 100644 --- a/api/policy/policy.go +++ b/api/policy/policy.go @@ -216,6 +216,69 @@ type DecisionRequest struct { Metadata map[string]interface{} `json:"metadata,omitempty"` } +// GetSettings calls the GET decision-settings API of po...
2
2
2
[{"id": "G0", "claim": "The DecisionSettings struct should not use *bool for Enabled, since the client knows it must send a boolean and not null.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The command should write a message that states whether the po...
null
CircleCI-Public__circleci-cli__968
CircleCI-Public/circleci-cli
968
defect
d63d497bf0ba5a1fec9bc66c28d2c90bcfab55b3
94c66549d428edb255edf451f9550b3957377c2d
refactor: Moved the orb validation in a orb API module
# Checklist - [X] I have performed a self-review of my own code - [X] I have commented my code, particularly in hard-to-understand areas - [X] I have checked for similar issues and haven't found anything relevant. - [X] This is not a security issue (which should be reported here: https://circleci.com/security/) ...
diff --git a/api/api.go b/api/api.go index 0c51b486d..2dbaca0bd 100644 --- a/api/api.go +++ b/api/api.go @@ -512,133 +512,6 @@ func WhoamiQuery(cl *graphql.Client) (*WhoamiResponse, error) { return &response, nil } -// OrbQuery validated and processes an orb. -func OrbQuery(cl *graphql.Client, configPath string, o...
9
9
3
[{"id": "G0", "claim": "The mutation of the global client variable should happen inside once.Do (e.g. `client = newClient(config)`) so it is guaranteed to happen only once and is safe from race conditions, since nothing in the current implementation prevents calling createClient from elsewhere.", "category": "design", ...
null
Cisco-Talos__clamav__1551
Cisco-Talos/clamav
1,551
defect
4add43f4ade48c13163f092fd267b5f63e21b0a3
815528e4da817709cc9a9a2c417c08e4308500ef
feat: add SELFCHECK command and related configuration options
Resolves #1528 by adding `SELFCHECK` TCP command that utilize `SelfCheck` functional (do reload only if it's required and provide answer if reload is triggered/running or skipped), but on demand via network instead of periodic interval which allow more fine controlled reload of clustered clamd via freshclam notify cust...
diff --git a/clamd/server-th.c b/clamd/server-th.c index c9e8acdf5d..794f9d40c2 100644 --- a/clamd/server-th.c +++ b/clamd/server-th.c @@ -192,7 +192,7 @@ void sighandler_th(int sig) logg(LOGG_DEBUG_NV, "Failed to write to syncpipe\n"); } -static int need_db_reload(void) +int need_db_reload(void) { ...
6
4
3
[{"id": "G0", "claim": "The naming is unclear: SELFCHECK sounds like it only verifies something rather than applying a reload, so the author would prefer a name like RELOAD_ON_CHANGES (and possibly renaming the SelfCheck conf option to ReloadOnChanges).", "category": "design", "verdict": "uncertain", "priority": "P3", ...
null
Cisco-Talos__clamav__813
Cisco-Talos/clamav
813
defect
289baa1a7bbd80f2ede661354a973adc267a1489
e2840afb03ab8b18e777980a7ac6798e78d12f6a
Clam 2196 html style image extract
Add support for extracting and scanning base64'd images embedded in HTML <style> CSS `url()` function parameters. Tests included in the PR. For manual testing, see the samples listed in Jira.
diff --git a/libclamav/htmlnorm.c b/libclamav/htmlnorm.c index f30f821555..fdc05db655 100644 --- a/libclamav/htmlnorm.c +++ b/libclamav/htmlnorm.c @@ -49,6 +49,9 @@ #include "entconv.h" #include "jsparse/js-norm.h" +#include "clamav_rust.h" +#include "scanners.h" + #define HTML_STR_LENGTH 1024 #define MAX_TAG_CON...
4
4
1
[{"id": "G0", "claim": "The \"</style>\" tag string should be defined as a constant in htmlnorm.c, which would also avoid running strlen() on it constantly in the hand-coded parser.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The base64 decod...
null
Cisco-Talos__clamav__891
Cisco-Talos/clamav
891
defect
4c5d5480afe7242b80bba43a8d8abada3325adad
a45bde85b5f007f791b817aae72465bc5f144fbb
Clam 2296 coverity regressions
Fix a number of recent coverity issues introduced during 1.1 dev, along with a large number of compile time warnings: - Fix many warnings - Fix benign compiler warning in logging macro - The strncpy intentionally is not copying the NULL terminator for the log message prefix. The NULL will be added by vsnprintf...
diff --git a/clamav-milter/clamav-milter.c b/clamav-milter/clamav-milter.c index 9c2c8677fe..8834c0613b 100644 --- a/clamav-milter/clamav-milter.c +++ b/clamav-milter/clamav-milter.c @@ -175,10 +175,10 @@ int main(int argc, char **argv) pt = optget(opts, "AddHeader")->strarg; if (strcasecmp(pt, "No")) { - ...
4
2
1
[{"id": "G0", "claim": "Keep the myname buffer at its original 256-byte size and pass sizeof(myname)-1 to gethostname, because the man page does not guarantee that a null is added when the hostname does not fit the supplied buffer.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
CitizensDev__Citizens2__3178
CitizensDev/Citizens2
3,178
defect
52556f560eb2de1dd9dd9a82dd1271a70edd4775
77f3b60f0a323e290bcd453739c93c9c16fa0134
fix: search attributes using different key for backwards compatibility
Attribute keys also got changed in 1.21.3 API, but these name are invalid in older API like 1.20.6.
diff --git a/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java b/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java index 56e925aaf5..9c02c80dc5 100644 --- a/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java +++ b/main/src/main/java/net/citizensnpcs/npc/CitizensNPC.java @@ -400,7 +400,7 @@ public vo...
1
1
0
[{"id": "G0", "claim": "The new getRegistryValue helper method should be placed in Util rather than in NMS.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
City-of-Helsinki__helsinki-design-system__1404
City-of-Helsinki/helsinki-design-system
1,404
defect
fa66e528f7555c941addb1696882c7c01c17823c
c8b5026d5cc6c7a960d666f4af1b1dbceb82a2d3
Release-4.0.0 HDS cookie small fixes, timeout 50 -> 500ms, fix tests...
Small fixes, timeout 50 -> 500ms, fix tests clean code a bit, rename typoted class ## How Has This Been Tested? - running tests ## Demos: Links to demos are in the comments
diff --git a/packages/react/src/components/cookieConsentCore/CookieConsentCore.test.ts b/packages/react/src/components/cookieConsentCore/CookieConsentCore.test.ts index 6626648844..0c2f9aa8b7 100644 --- a/packages/react/src/components/cookieConsentCore/CookieConsentCore.test.ts +++ b/packages/react/src/components/cooki...
3
1
0
[{"id": "G0", "claim": "The duplicate-group detection could be made faster by using `new Set(groupIds)` and comparing its size to the array length instead of the filter/indexOf approach.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-o...
null
City-of-Helsinki__helsinki-design-system__212
City-of-Helsinki/helsinki-design-system
212
defect
c68b8b8042075814c5824ca8e0ccefcad63562a2
392023a8d7ded102d4a1a70d87d5ceb307c28ff4
[Feature] Implement updated Notification design
## Description Adds the updated Notification component Closes #167 ## How Has This Been Tested? Tested locally in storybook
diff --git a/packages/core/src/components/notification/notification.css b/packages/core/src/components/notification/notification.css index 4f10c3be49..e81c82e0ae 100644 --- a/packages/core/src/components/notification/notification.css +++ b/packages/core/src/components/notification/notification.css @@ -1,104 +1,171 @@ ...
1
1
0
[{"id": "G0", "claim": "If disabling ESLint is a must, disable specific rules instead of the whole linting for the block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
City-of-Helsinki__helsinki-design-system__593
City-of-Helsinki/helsinki-design-system
593
defect
b1952f9f8e8a630b60f941026d99154b5d957c11
69f48b647e8b52c1f94bbf38e4aa333b3ec2208d
Fix/Duplicate checkbox id bug
## Description Fixes the bug with duplicate ids with table checkboxes. Also small improvements to table id's default names ## How to reproduce the bug Have multiple HDS React tables on the same page, which are created from the same data rows. When this condition is met, there will be identical ids for the tabl...
diff --git a/packages/react/src/components/table/Table.stories.tsx b/packages/react/src/components/table/Table.stories.tsx index 667a8f77e4..3e2e9c3b86 100644 --- a/packages/react/src/components/table/Table.stories.tsx +++ b/packages/react/src/components/table/Table.stories.tsx @@ -547,6 +547,7 @@ export const Checkbox...
1
1
0
[{"id": "G0", "claim": "The Table's dataTestId prop should have a default value, since it is optional and currently leaves the table element without a data-testid when omitted.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
City-of-Helsinki__helsinki-design-system__625
City-of-Helsinki/helsinki-design-system
625
defect
2c44b80b52624c96b2f8de7c328aeaf5aba03b1f
3e6776454ad6218a4475b3de6ccb6330cbfad65c
backToTopButton move focus to first visible focusable element
## Description Scroll to top button in footer scrolls the user to the top of the page and tries shift focus on first focusable element. However, the first element might be hidden in DOM, making it unfocusable. <!-- Describe your changes in detail --> <!-- Add [Feature] or [BreakingChange] to the title --> ## Rela...
diff --git a/packages/react/src/components/footer/footerUtilities/FooterUtilities.test.tsx b/packages/react/src/components/footer/footerUtilities/FooterUtilities.test.tsx index 95b49d20ad..1d23b0f265 100644 --- a/packages/react/src/components/footer/footerUtilities/FooterUtilities.test.tsx +++ b/packages/react/src/comp...
1
1
0
[{"id": "G0", "claim": "The test should render a real link (as in the reviewer's example) and assert that the back-to-top click moves focus to it, instead of asserting focus on the first element returned by getKeyboardFocusableElements.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introd...
null
City-of-Helsinki__helsinki-design-system__743
City-of-Helsinki/helsinki-design-system
743
defect
fffc0d39c68a402db8c852e49691c2d4ae142c8f
f969fa9c88eeab0e8d9ef9dcc3d39cd5f36d121b
Feature/dropdownlink
## Description Adds a NavigationDropdownLink component that works on desktop via hover allowing the label to be a link. The new component is directly based on NavigationDropdown. Adds a hoverAndClick boolean to MenuButton to position label outside the button element and adds hoverProps object and useHoverProps stat...
diff --git a/packages/react/.loki/reference/chrome_iphone7_Components_Navigation_Dropdown_Links.png b/packages/react/.loki/reference/chrome_iphone7_Components_Navigation_Dropdown_Links.png new file mode 100644 index 00000000000..43442403a35 --- /dev/null +++ b/packages/react/.loki/reference/chrome_iphone7_Components_Na...
4
1
0
[{"id": "G0", "claim": "The hoverAndClick prop should be renamed to something like withHoverOpen to match the existing naming convention for boolean props (withBorder etc.).", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The dropdown-menu styles d...
null
City-of-Helsinki__helsinki-design-system__914
City-of-Helsinki/helsinki-design-system
914
defect
bf6f06592389e3cb58e32c954f1c6fe2ac75eb3f
70af5f855cc42dfbaae4e9b58887caceec028d33
HDS-1299: overly long dropdown tags
## Description If the element of the first selected item is wider that the container, all items are hidden. The component hides all children that overflow the container. After the fix, if there are selected items and all are hidden (indicating the first one is too wide), then a css class is added to the containe...
diff --git a/packages/react/.loki/reference/chrome_iphone7_Components_Dropdowns_Combobox_Multi_select_with_pre_selected_values.png b/packages/react/.loki/reference/chrome_iphone7_Components_Dropdowns_Combobox_Multi_select_with_pre_selected_values.png new file mode 100644 index 0000000000..38011e9945 --- /dev/null +++ b...
1
1
0
[{"id": "G0", "claim": "The `.truncateFirstChild` styles should not target the Tag via a bare `> span` selector — browsers parse selectors right-to-left so `> span` matches all spans in the DOM first, a performance and clarity problem — and the Tag component should be refactored (e.g. a new `labelClassName` prop, or th...
null
City-of-Helsinki__helsinki-design-system__916
City-of-Helsinki/helsinki-design-system
916
defect
bf6f06592389e3cb58e32c954f1c6fe2ac75eb3f
85b97c98f4d980202a28f24d36263ebb55b0a0c5
HDS-1509: add Tunnistamo login cookies to cookie content
Note: merge https://github.com/City-of-Helsinki/helsinki-design-system/pull/933 first! ## Description Tunnistamo is the common login provider for Helsinki services. The login flow uses multiple other services (Tunnistus, Suomi.fi) to provide strong authentication. Those services use cookies and have no cookie conse...
diff --git a/packages/react/src/components/cookieConsent/CookieConsent.stories.tsx b/packages/react/src/components/cookieConsent/CookieConsent.stories.tsx index 2ea98b2e318..2121dc7f770 100644 --- a/packages/react/src/components/cookieConsent/CookieConsent.stories.tsx +++ b/packages/react/src/components/cookieConsent/C...
1
1
0
[{"id": "G0", "claim": "Remove the stray extra period at the end of the English description 'Required to persist the user's chosen language..' in getContent.ts (the one typo M003 remarks on).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
City-of-Helsinki__helsinki-design-system__923
City-of-Helsinki/helsinki-design-system
923
defect
251a83c218491a9d04f0b869be733b09b5adfc70
71d788ef5178bc2ed55d5617267101dfbf9c962f
HDS-1516: fix search input cursor jumping
## Description When SearchInput had text and the text was edited somewhere else than end of the string, the cursor jumped to the end. Downshift rendered the input multiple times when input was changed: once with new value, once with old value and then new again. React could not track the cursor position. Chang...
diff --git a/packages/react/src/components/searchInput/SearchInput.test.tsx b/packages/react/src/components/searchInput/SearchInput.test.tsx index 8944781e7cc..5a97fcb3069 100644 --- a/packages/react/src/components/searchInput/SearchInput.test.tsx +++ b/packages/react/src/components/searchInput/SearchInput.test.tsx @@ ...
4
4
2
[{"id": "G0", "claim": "A comment should be added explaining why the input value change is handled outside useCombobox's onStateChange while itemClick is not.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test could select the input, clea...
null
CleanCut__headtail__17
CleanCut/headtail
17
defect
9ed3771b7c871bc26cf941316689cad5d0bb92d6
7ad8ca11e915b1f2e562a580b85853781dff2c25
Add file notifier integration into the
Uses the `notify` crate in order to use the file watching/notification functionality often provided by operating systems (eg `inotify(7)` on Linux. Also wraps `io::Error` and `notify::Error` into a custom error type using `thiserror`. Closes #16
diff --git a/Cargo.toml b/Cargo.toml index b21580b..07d8591 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,5 @@ license = "MIT OR Apache-2.0" [dependencies] clap = { version = "3.2.21", features = ["derive"] } +notify = "5.0.0" +thiserror = "1.0.35" diff --git a/src/errors.rs b/src/errors.rs new file mode 10...
10
10
2
[{"id": "G0", "claim": "The pull request should return the new errors::Result from careful_write since all Ok/Err values are already explicitly constructed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The information in the file-watcher comme...
null
ClementTsang__bottom__1559
ClementTsang/bottom
1,559
defect
d9d9e1df9f0be49c4102ddaf5be6b94f6b658705
9c4b973fcac34acc934e52377a2e44b718f362eb
refactor: rename `flags.enable_gpu` to `flags.disable_gpu` (`false` by default)
## Description Rename `flags.enable_gpu` to `flags.disable_gpu` and make it `false` by default Closes: #1554
diff --git a/src/options.rs b/src/options.rs index 4861e06904..c133ed5770 100644 --- a/src/options.rs +++ b/src/options.rs @@ -806,19 +806,20 @@ fn get_use_battery(args: &BottomArgs, config: &Config) -> bool { false } -#[allow(unused_variables)] +#[cfg(feature = "gpu")] fn get_enable_gpu(args: &BottomArgs, con...
1
1
1
[{"id": "G0", "claim": "The arg (and the config) should be changed to `disable_gpu` instead of `enable_gpu`, since GPU is enabled by default so `--enable_gpu` as an arg would do nothing; this would also necessitate updating docs, which the reviewer offered to handle in a separate PR.", "category": "design", "verdict": ...
null
ClementTsang__bottom__2053
ClementTsang/bottom
2,053
defect
e6700c98994144d4f21120897da6eb4ad19c5247
660f2971cc090102a7e68b18c51dce42eb85c776
feature: configurable default sort column for the process widget
## Description You can now tell bottom which column the process widget should be sorted by at startup, instead of always falling back to CPU%. It's settable in two places: a `default_sort` field under `[processes]` in the config file, and a `--process_default_sort` CLI flag. The flag accepts the same column-name alia...
diff --git a/CHANGELOG.md b/CHANGELOG.md index dba269280..cb42ffbb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ That said, these are more guidelines rather than hard rules, though the project - [#2045](https://github.com/ClementTsang/bottom/pull/2045): Add support for showing a decimal place for CPU...
2
2
0
[{"id": "G0", "claim": "The commented-out `default_sort` example added to the default config texts should read `#default_sort = \"CPU%\"`, matching the documented built-in default, instead of `#default_sort = \"Mem%\"`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
CleverCloud__mdr__20
CleverCloud/mdr
20
defect
0f6f9a9e9912e8cf42f5b32c60020f10d14001ad
97e3532154f5ed92732bf23e8a073acd668ff86d
Support reading markdown from stdin
Adds ability to pipe markdown content into `mdr` instead of requiring a file argument. ```bash cat file.md | mdr echo "# Hello" | mdr mdr - # conventional Unix stdin shorthand ``` - Auto-detect piped stdin when no FILE argument is given (via `IsTerminal` check) - Support `-` as explicit stdin argument - ...
diff --git a/src/main.rs b/src/main.rs index 4401340..7e1165a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,13 +2,14 @@ mod backend; mod core; use clap::Parser; +use std::io::{self, IsTerminal, Read}; use std::path::PathBuf; use std::process; #[derive(Parser)] -#[command(name = "mdr", version, about = "Ligh...
3
3
1
[{"id": "G0", "claim": "The usage line printed for piped stdin should include `[OPTIONS]` like the other usage lines.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The multi-line `about` text added to the clap command is unnecessary and should be...
null
CleverRaven__Cataclysm-DDA__84292
CleverRaven/Cataclysm-DDA
84,292
defect
1ec15a95300be52915d8eaa15481a173782938d7
0cb3222a533230397558f6ecce921366b44410c6
Allow power producing bionics to stay on when empty (#80950)
<!-- HOW TO USE: Under each "#### Heading" below, enter information relevant to your pull request. You must have the below headings. Comments like this may be safely removed, if you want. If you are opening this pull request from Github's web interface, you can use the 'preview' button to see what your pull request...
diff --git a/src/bionics.cpp b/src/bionics.cpp index 9065cbf783305..2d12764405769 100644 --- a/src/bionics.cpp +++ b/src/bionics.cpp @@ -1144,11 +1144,6 @@ bool Character::activate_bionic( bionic &bio, bool eff_only, bool *close_bionics _( "You have at least one free cable in your in...
3
3
2
[{"id": "G0", "claim": "Please explain the purpose of deleting the !success refund-power/deactivate block in activate_bionic.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Instead of making bionics stay on when out of fuel, extend the existing power on/...
null
CleverRaven__Cataclysm-DDA__85380
CleverRaven/Cataclysm-DDA
85,380
defect
6622a8989fb1cd8492b684580141b5cb90ab8147
9429d92047a428006bddda6d94a365cd929cf310
Enhanced Hearing CBM needs power
<!-- HOW TO USE: Under each "#### Heading" below, enter information relevant to your pull request. You must have the below headings. Comments like this may be safely removed, if you want. If you are opening this pull request from GitHub's web interface, you can use the 'preview' button to see what your pull request...
diff --git a/data/json/bionics.json b/data/json/bionics.json index 4644a5fe30102..f3921602a6980 100644 --- a/data/json/bionics.json +++ b/data/json/bionics.json @@ -474,11 +474,14 @@ "id": "bio_ears", "type": "bionic", "name": { "str": "Enhanced Hearing" }, - "description": "When this bionic is active...
3
3
0
[{"id": "G0", "claim": "Since real hearing aids need only single-digit milliwatts, the reviewer questions whether the bionic needs to draw 1 W and suggests the power cost can go lower.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The bionic should drop...
null
CleverRaven__Cataclysm-DDA__85724
CleverRaven/Cataclysm-DDA
85,724
defect
ce43530763b00ea993384e63254de03d7a4790ac
ce62875a4c6a42c0f12d9cf260556cfc0a744347
Add per-OMT snow depth tracking and movement penalty
#### Summary Features "Per-overmap-tile snow depth tracking with movement penalty" #### Purpose of change The game has snowfall weather but no persistent snow state. This adds per-OMT depth tracking so snow actually piles up during storms, melts when it warms up, and slows you down when you wade through it. D...
diff --git a/data/json/ui/weather.json b/data/json/ui/weather.json index 69211b6009180..0eb052a8de70b 100644 --- a/data/json/ui/weather.json +++ b/data/json/ui/weather.json @@ -11,5 +11,12 @@ "type": "widget", "copy-from": "weather_desc", "flags": [ "W_LABEL_NONE" ] + }, + { + "id": "snow_depth_desc...
1
1
0
[{"id": "G0", "claim": "The test file's include block should be replaced with the suggested sorted, expanded block (adding <string>, <unordered_map>, coordinates.h, type_id.h and units.h).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
CleverRaven__Cataclysm-DDA__85963
CleverRaven/Cataclysm-DDA
85,963
defect
736213827db69c0ef2f73cbe33e87020eb115097
31e62a868efd5ee538e5baadea4519f10612baf5
Extract filter engine and deduplicate nested sort
#### Summary Infrastructure "Extract crafting filter engine for testability" #### Purpose of change Follow-up to #85959 and #85961. The recipe filter engine is the largest remaining block of pure logic in `crafting_gui.cpp`, and it was previously untestable because `recipe_subset::search()` threw in test mode. #### D...
diff --git a/data/mods/TEST_DATA/recipes.json b/data/mods/TEST_DATA/recipes.json index d556c0151f844..7a396e895c458 100644 --- a/data/mods/TEST_DATA/recipes.json +++ b/data/mods/TEST_DATA/recipes.json @@ -210,6 +210,7 @@ "time": "10 m", "charges": 3, "autolearn": false, + "book_learn": [ [ "family_coo...
6
3
0
[{"id": "G0", "claim": "src/crafting_gui.cpp uses uilist without directly including \"uilist.h\", so that include should be added to the include block.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "src/crafting_gui_helpers.cpp should directly...
null
CleverRaven__Cataclysm-DDA__85978
CleverRaven/Cataclysm-DDA
85,978
defect
f94dcf9ba3126a315118bd7ab7b0d3d32661b9ed
04ee1d6daa141db54c3a06670b13019ff91bce95
Extract recipe result info to crafting_gui_helpers
#### Summary Infrastructure "Extract recipe result info builder for testability" #### Purpose of change Follow-up to #85959, #85961, and #85963. Continues pulling testable logic out of `crafting_gui.cpp` to prepare for the ImGui crafting menu conversion. The `recipe_result_info_cache` class (result panel on the right...
diff --git a/data/mods/TEST_DATA/recipes.json b/data/mods/TEST_DATA/recipes.json index 7a396e895c458..c5b0c312ed307 100644 --- a/data/mods/TEST_DATA/recipes.json +++ b/data/mods/TEST_DATA/recipes.json @@ -459,5 +459,34 @@ "skill_used": "fabrication", "nested_category_data": [ "cudgel_test_no_tools" ], "d...
1
1
0
[{"id": "G0", "claim": "The include list in tests/crafting_gui_test.cpp should be reduced to the exact set of headers in the supplied suggestion block (adding <algorithm> while dropping unneeded includes such as <list>).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CleverRaven__Cataclysm-DDA__86004
CleverRaven/Cataclysm-DDA
86,004
defect
be760d473537c02ed64b1d07a034ae0b2a81ca3d
1edb0a2d56d1b4c68296a6f3e4389ae11bb07311
NPC warmth response: wear clothes, take shelter
#### Summary Features "NPCs wear warm clothes and move to shelter when freezing" #### Purpose of change NPCs have no temperature system -- `update_bodytemp()` only runs for the avatar. They never get cold, never take frostbite damage, and the BT warmth predicates (`needs_warmth_badly`, `can_wear_warmer_clothes`,...
diff --git a/src/npc.h b/src/npc.h index 381f09106d06c..0353a80a76d4e 100644 --- a/src/npc.h +++ b/src/npc.h @@ -1128,6 +1128,8 @@ class npc : public Character npc_action address_needs(); npc_action address_needs( float danger ); + bool wear_warmest_item(); + bool take_shelter_nearby()...
2
1
0
[{"id": "G0", "claim": "tests/npc_test.cpp should add the \"character_attire.h\" include after \"character.h\", as the suggestion block proposes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The \"mapdata.h\" include that the pull request adds...
null
CleverRaven__Cataclysm-DDA__86104
CleverRaven/Cataclysm-DDA
86,104
defect
7f071937b538deddd512b37a1c9798f58a3c6b80
e7e2cf4513e3731b99350bb70a73072ece565115
Tinted lights for various furniture/appliances/terrain
<!-- HOW TO USE: Under each "#### Heading" below, enter information relevant to your pull request. You must have the below headings. Comments like this may be safely removed, if you want. If you are opening this pull request from GitHub's web interface, you can use the 'preview' button to see what your pull request...
diff --git a/data/json/furniture_and_terrain/LIXA_furniture_and_terrain.json b/data/json/furniture_and_terrain/LIXA_furniture_and_terrain.json index 2765301a1a946..eb9f9a237dc96 100644 --- a/data/json/furniture_and_terrain/LIXA_furniture_and_terrain.json +++ b/data/json/furniture_and_terrain/LIXA_furniture_and_terrain....
1
1
1
[{"id": "G0", "claim": "Coloring t_utility_light breaks the uncolored-light test, which still places t_utility_light expecting no light_color, so either edit the test to use an uncolored light or keep the utility light uncolored.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduce...
null
CleverRaven__Cataclysm-DDA__86190
CleverRaven/Cataclysm-DDA
86,190
defect
aaa1755986a135314acc99be8f8c955882d0e428
caa71b9080c854a32fa87c56336bf34fed7649f1
Remove single-magazine assumptions in item_contents
#### Summary Infrastructure "Remove single-magazine assumptions in item_contents" #### Purpose of change Several functions in `item_contents` hardcode the assumption that an item has at most one MAGAZINE_WELL pocket. `ammo_consume()` early-returns 0 when the first well is empty (blocking any subsequent wells), and `f...
diff --git a/data/mods/TEST_DATA/items.json b/data/mods/TEST_DATA/items.json index b67fa562cf5e5..39d1b4bcc9f77 100644 --- a/data/mods/TEST_DATA/items.json +++ b/data/mods/TEST_DATA/items.json @@ -5683,5 +5683,28 @@ "description": "A test powered tool with fast CUT speed when charged.", "qualities": [ [ "SCRE...
1
1
0
[{"id": "G0", "claim": "Add the missing `#include <string>` at the top of the new tests/multimag_test.cpp, since the file uses std::string (via Catch) without including it directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CleverRaven__Cataclysm-DDA__86248
CleverRaven/Cataclysm-DDA
86,248
defect
38f19e8bfb047672aeeb85f71937209d8fe3f865
1ae2b7872091e2ef2cfacd641fa3935cbd1926a9
Ortho tint: alpha-masked silhouette rendering with batching
#### Summary Interface "Pixel-accurate colored light tint overlay for ortho mode" #### Purpose of change The colored light tint overlay (beacons, colored fields, dawn/dusk) draws a flat rect over each tinted tile. In ortho mode with tall sprites (32x64 characters, multi-layer gear), this shows color seams at the...
diff --git a/src/cata_small_literal_vector.h b/src/cata_small_literal_vector.h index d4f1355eeb40c..6dfce9fc2c976 100644 --- a/src/cata_small_literal_vector.h +++ b/src/cata_small_literal_vector.h @@ -104,6 +104,14 @@ struct alignas( T * ) small_literal_vector { len_ -= 1; } + void clear() { + ...
1
1
0
[{"id": "G0", "claim": "The new test file tests/tint_overlay_test.cpp carries an unused include and should drop #include \"point.h\", keeping only \"cata_catch.h\" and \"map.h\" as the suggestion block proposes.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
CleverRaven__Cataclysm-DDA__86576
CleverRaven/Cataclysm-DDA
86,576
defect
0cf15013ef362748a842602dc7a4dc16cda54b0b
1bbc23ebefdc0aa03d7bf244d43e29b6626f5f77
Persist post-process decisions per overmap_special so multi-story buildings burn consistently
#### Summary Features "Multi-story and multi-OMT buildings now burn consistently across all of their tiles" #### Purpose of change Follows #86558. Addresses #80826. Pre-burn rolled a fresh probability at each OMT's mapgen, so multi-story buildings got the ground floor burnt and the upper floor untouched (or vice vers...
diff --git a/data/json/post_process_generators.json b/data/json/post_process_generators.json index 42df5d353a31f..44064fac49e84 100644 --- a/data/json/post_process_generators.json +++ b/data/json/post_process_generators.json @@ -9,6 +9,7 @@ { "type": "add_fire", "attempts": 2, "min_intensity": 1, "max_intensity"...
1
1
0
[{"id": "G0", "claim": "The `#include \"mapgen_post_process.h\"` added to src/overmap.h should be removed (the bot's suggestion block rewrites the sorted include list without that line).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
CleverRaven__Cataclysm-DDA__86626
CleverRaven/Cataclysm-DDA
86,626
defect
5aeb9c24caa6f64ed821f74795a0a4f7a5d31d2f
7a668dc044b14cd3728e2ce8ed6a5305023712b0
Process `contents_change_handler` in contents_change_activity_actor
<!-- HOW TO USE: Under each "#### Heading" below, enter information relevant to your pull request. You must have the below headings. Comments like this may be safely removed, if you want. If you are opening this pull request from GitHub's web interface, you can use the 'preview' button to see what your pull request...
diff --git a/data/json/player_activities.json b/data/json/player_activities.json index e6a0923c52385..c01abe3cfce75 100644 --- a/data/json/player_activities.json +++ b/data/json/player_activities.json @@ -1132,5 +1132,12 @@ "activity_level": "NO_EXERCISE", "based_on": "speed", "verb": "aiming the artille...
8
2
1
[{"id": "G0", "claim": "The new purge loop erases the first invalid container plus every valid container after it, dropping live containers; it should erase per element or use std::erase_if to remove only the invalid ones.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"...
null
CleverRaven__Cataclysm-DDA__86698
CleverRaven/Cataclysm-DDA
86,698
defect
cbf9445ee711b1ac4093dd4b794c01c5260ea343
1c70941f058726d5e1089f936d03f6f73466f204
Fix recruited follower oscillating between guard post and player
#### Summary Bugfixes "Fix recruited NPC follower oscillating between guard post and player" #### Purpose of change Fixes #86693. Recruiting an NPC with a guard_pos via `follow_only` (e.g. Cranberry's radio tower mission) made them flip-flop between hold_position and return_to_guard_pos instead of following. Duty pr...
diff --git a/src/character_oracle.cpp b/src/character_oracle.cpp index 7e6e10b08df52..173661fb0449c 100644 --- a/src/character_oracle.cpp +++ b/src/character_oracle.cpp @@ -340,6 +340,9 @@ status_t character_oracle_t::displaced_from_post( std::string_view ) const if( n->has_flag( json_flag_CANNOT_MOVE ) ) { ...
1
1
0
[{"id": "G0", "claim": "The pull request adds an unused `#include <list>` to tests/behavior_test.cpp, and the bot's suggestion block removes it, leaving the original include list.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Clever__optimus__17
Clever/optimus
17
defect
f3bc963664cc28cb3a0eb65896afd29dccadbb26
9cdc92a3759e2c5357e30971e24c717518f7a664
Mongo source
adds a new source-- mongo based of the mgo.Iter iterators https://clever.atlassian.net/browse/DATA-714
diff --git a/sources/mongo/README.md b/sources/mongo/README.md new file mode 100644 index 0000000..5e73f0e --- /dev/null +++ b/sources/mongo/README.md @@ -0,0 +1,24 @@ +# mongo +-- + import "gopkg.in/Clever/optimus.v3/sources/mongo" + + +## Usage + +#### func New + +```go +func New(iter Iter) optimus.Table +``` +Ne...
5
5
1
[{"id": "G0", "claim": "The package comment should give the fully qualified import path of mgo (e.g. gopkg.in/mgo.v2) instead of just \"mgo\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The \"// mongoSource type matches the\" comment is incomp...
null
Clever__optimus__27
Clever/optimus
27
defect
d708e5cb0c872acc2ad2d212b09c151abbb24b44
cc47f5b32545cd64a20f1098cf98cc0497c0c410
add transforms.StableSort
For those times when you want a stable sort. I didn't see a need to test that the result is stably sorted - that seemed to me redundant with existing tests for `sort.Stable`. I mostly want to test that we correctly use + interpret the `Less` function that's passed in, so I re-used the tests for unstable `Sort`.
diff --git a/transforms/README.md b/transforms/README.md index 588f087..425ac76 100644 --- a/transforms/README.md +++ b/transforms/README.md @@ -112,6 +112,14 @@ func Sort(less func(i, j optimus.Row) (bool, error)) optimus.TransformFunc Sort takes in a function that reports whether the row i should sort before row j....
2
2
1
[{"id": "G0", "claim": "The common logic of Sort and StableSort should be factored out into a helper that accepts a lambda, so Sort and StableSort each become one line.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There should be a test that differenti...
null
Clever__optimus__3
Clever/optimus
3
defect
d0a30cf974ea4984d95748a34f468653623bf7d9
04f18d7e6e8ca1d60f190cc04fda85339f88dd50
Unique
use a hash function to determine uniqueness, similar to underscore.js
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b90c27e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: go +go: + - 1.1 + - 1.2 + - tip + +script: + - make diff --git a/transforms/README.md b/transforms/README.md index 991ca37..e91de90 100644 --- a/transforms/README.md +++ b/trans...
1
1
0
[{"id": "G0", "claim": "Unique should be built on top of Select (returning Select(func(row) (bool, error))) instead of duplicating the row-reading loop.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Clever__optimus__30
Clever/optimus
30
defect
c6a457082cd65d32d2baa3f1403280c24e753345
dfaffecfc9bbc454613b864947bb15d8ff86c3e9
add GroupBy transform
GroupBy would be nice here so we don't have it duplicated in three places internally
diff --git a/transforms/README.md b/transforms/README.md index 425ac76..2192aca 100644 --- a/transforms/README.md +++ b/transforms/README.md @@ -67,6 +67,14 @@ func Fieldmap(mappings map[string][]string) optimus.TransformFunc ``` Fieldmap returns a TransformFunc that applies a field mapping to every Row. +#### func...
3
3
1
[{"id": "G0", "claim": "The GroupBy output format — one Row per group whose only key is the varying group identifier — is awkward to consume, so each group should be output as a separate object with fixed keys such as {\"id\": ..., \"rows\": ...}.", "category": "design", "verdict": "supported", "priority": "P1", "scope...
null
Clever__optimus__60
Clever/optimus
60
defect
258f7338e2c5e82ba5c02f611c676b223547e5dc
ea5eb0e854954e504bfa491398e8d70c3f98ab76
create a more memory efficient sort
ticket: https://clever.atlassian.net/browse/DIS2-1038 Adds a `StableCompressedSort` for more memory-efficient sorting. This is done by finding the "sort key" for each row as they're ingested by the sorter. While all rows are gathered in memory, they're converted to JSON blobs since `[]byte` takes up far less space tha...
diff --git a/VERSION b/VERSION index c1e43e6..0833a98 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.7.3 +3.7.4 diff --git a/transforms/sort.go b/transforms/sort.go index b43c76f..a8ca697 100644 --- a/transforms/sort.go +++ b/transforms/sort.go @@ -1,6 +1,8 @@ package transforms import ( + "encoding/json" + "fmt...
2
2
1
[{"id": "G0", "claim": "StableCompressedSort should use the existing RowIdentifier/KeyIdentifier function convention that other transforms already use instead of a new GetKey function taking a string key.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "An...
null
ClickHouse__ClickHouse__100270
ClickHouse/ClickHouse
100,270
defect
ae5496ad47e0a38a024503103148c31801ad35a0
a27e0baee09340315a641bfba9e8c1abdf30012a
Follow ups for functions stress test
### Changelog category (leave one): - Bug Fix (user-visible misbehavior in an official stable release) ### Changelog entry (a [user-readable short description](https://github.com/ClickHouse/ClickHouse/blob/master/docs/changelog_entry_guidelines.md) of the changes that goes into CHANGELOG.md): A few minor changes...
diff --git a/src/Common/WKB.cpp b/src/Common/WKB.cpp index a752567e658b..b2d71bd9b04a 100644 --- a/src/Common/WKB.cpp +++ b/src/Common/WKB.cpp @@ -19,6 +19,7 @@ namespace DB namespace ErrorCodes { extern const int BAD_ARGUMENTS; +extern const int TOO_LARGE_ARRAY_SIZE; } namespace @@ -39,6 +40,19 @@ String getGeo...
8
8
3
[{"id": "G0", "claim": "The UInt64 setting `max_wkb_geometry_elements` is cast to UInt32, which silently wraps values above 2^32-1 (e.g. 4294967297 -> 1) and can make valid inputs fail with TOO_LARGE_ARRAY_SIZE; please clamp before narrowing (or keep the limit UInt64).", "category": "correctness", "verdict": "supported...
null
ClickHouse__ClickHouse__100583
ClickHouse/ClickHouse
100,583
defect
2ed123be11fd888c28c3d38d48f30d29b57b49b9
f469f0e34476227a018c90bd0ec50ddc806f6f56
Fix polaris catalog with azure
### Changelog category (leave one): - Bug Fix (user-visible misbehavior in an official stable release) ### Changelog entry (a [user-readable short description](https://github.com/ClickHouse/ClickHouse/blob/master/docs/changelog_entry_guidelines.md) of the changes that goes into CHANGELOG.md): Fix polaris catalog...
diff --git a/src/Databases/DataLake/ICatalog.cpp b/src/Databases/DataLake/ICatalog.cpp index 85d701d86840..513068bb2984 100644 --- a/src/Databases/DataLake/ICatalog.cpp +++ b/src/Databases/DataLake/ICatalog.cpp @@ -118,6 +118,15 @@ void TableMetadata::setLocation(const std::string & location_) /// Azure ABFSS ...
7
5
3
[{"id": "G1", "claim": "Add a regression test that uses default settings (without explicitly setting polaris_style_paths) and verifies non-Polaris ABFSS paths with a container-named first directory are not rewritten unexpectedly during URL construction and metadata resolution.", "category": "testing", "verdict": "suppo...
null
ClickHouse__ClickHouse__100687
ClickHouse/ClickHouse
100,687
defect
fa1ebfc38920f96bc76fc8c29a8b326b468bfbc4
e676eb5a8ce8939df8c3736098d108dbc8113bbd
Add batch parallel merge for UniqExactSet
### Changelog category (leave one): - Performance Improvement ### Changelog entry (a [user-readable short description](https://github.com/ClickHouse/ClickHouse/blob/master/docs/changelog_entry_guidelines.md) of the changes that goes into CHANGELOG.md): Add batch parallel merge for UniqExactSet. During the m...
diff --git a/src/AggregateFunctions/AggregateFunctionUniq.h b/src/AggregateFunctions/AggregateFunctionUniq.h index d95634c17c13..e5b4bc5b8fa1 100644 --- a/src/AggregateFunctions/AggregateFunctionUniq.h +++ b/src/AggregateFunctions/AggregateFunctionUniq.h @@ -515,6 +515,24 @@ class AggregateFunctionUniq final : public I...
4
4
2
[{"id": "G0", "claim": "mergeWithoutKeyDataImpl destroys source states per aggregate function but only nulls `without_key` after all aggregates are processed, so an exception thrown during a later aggregate's merge leaves already-destroyed states to be destroyed again by AggregatedDataVariants cleanup during unwind (un...
null
ClickHouse__ClickHouse__100758
ClickHouse/ClickHouse
100,758
defect
b35b2a85311e746357dc30d1e74af2fb1dfcbde2
9a2e206f591ca8e88acd4fff548896927a03f680
Erase sorted_dynamic_paths entries before dynamic_paths ones
### Changelog category (leave one): - Bug Fix (user-visible misbehavior in an official stable release) ### Changelog entry (a [user-readable short description](https://github.com/ClickHouse/ClickHouse/blob/master/docs/changelog_entry_guidelines.md) of the changes that goes into CHANGELOG.md): Fix an exception ...
diff --git a/src/Columns/ColumnObject.cpp b/src/Columns/ColumnObject.cpp index ce603b87c79f..90d566e507bd 100644 --- a/src/Columns/ColumnObject.cpp +++ b/src/Columns/ColumnObject.cpp @@ -546,6 +546,7 @@ bool ColumnObject::tryInsert(const Field & x) for (const auto & path : new_dynamic_paths) { ...
4
3
2
[{"id": "G0", "claim": "Add a regression test that exercises the failing rollback path in ColumnObject::tryInsert (a new dynamic path is added and then a later field in the same object fails insertion) and then performs an operation that reads the dynamic paths, so the use-after-free cannot regress silently.", "categor...
null
ClickHouse__ClickHouse__100831
ClickHouse/ClickHouse
100,831
defect
4858f796931f75b11df426a6caa98cb60624bc0e
2a057bafaba389988ccc13d0f02e817062781889
Add AI function infrastructure and `aiGenerate`
First part of https://github.com/ClickHouse/ClickHouse/pull/100735. Add the provider abstraction (`IAIProvider`, `OpenAIProvider`, `AnthropicProvider`), quota tracking, base function class, and the `aiGenerateContent` function as the simplest function to validate the framework. Notes: Anthropic has a versioned API,...
diff --git a/ci/jobs/scripts/check_style/aspell-ignore/en/aspell-dict.txt b/ci/jobs/scripts/check_style/aspell-ignore/en/aspell-dict.txt index 0194a7ef6a99..a8b7aad2961a 100644 --- a/ci/jobs/scripts/check_style/aspell-ignore/en/aspell-dict.txt +++ b/ci/jobs/scripts/check_style/aspell-ignore/en/aspell-dict.txt @@ -1,4 +...
52
41
9
[{"id": "G0", "claim": "Suggests moving the autogenerated section to the end of the document.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The docs table lists only 6 of the 7 new profile events added in ProfileEvents.cpp.", "category": "documen...
null
ClickHouse__ClickHouse__100832
ClickHouse/ClickHouse
100,832
defect
49de7bb4723a741a6d174f0100939a6666d13b6f
19fba764aff8fd48c69024e4b451d37afcdcf4fe
Add AI text functions: `aiClassify`, `aiExtract`, and `aiTranslate`
2nd part of https://github.com/ClickHouse/ClickHouse/pull/100735, builds on top of https://github.com/ClickHouse/ClickHouse/pull/100831. Add these text-oriented AI functions: - `aiClassify`: classify text into categories - `aiExtract`: extract structured data from text - `aiTranslate`: translate text between lang...
diff --git a/src/Functions/AI/AnthropicProvider.cpp b/src/Functions/AI/AnthropicProvider.cpp index f07113e3f11d..2b579f5dcf2a 100644 --- a/src/Functions/AI/AnthropicProvider.cpp +++ b/src/Functions/AI/AnthropicProvider.cpp @@ -38,7 +38,8 @@ String extractProviderError(const std::string & response_body, int status_code)...
6
4
3
[{"id": "G1", "claim": "aiGenerateSQL enumerates databases/tables/columns without RBAC checks (SHOW_DATABASES/SHOW_TABLES/SHOW_COLUMNS) and sends that metadata to an external LLM, letting users exfiltrate metadata they cannot view; please gate schema collection with access checks.", "category": "security", "verdict": "...
null
ClickHouse__ClickHouse__101036
ClickHouse/ClickHouse
101,036
defect
f3996e6153a83b091e5506cafe1602aa8e8c5c5e
79416afe12371aa8c4fc4260cf90074a71dcbd05
Fix ColumnReplicated type mismatch crash in merge algorithms
## Problem When `enable_lazy_columns_replication=1` (randomized in CI), JOIN queries produce `ColumnReplicated` columns for lazy column replication. These columns flow through merge-sort pipelines (ORDER BY, MergeTree merges). During `MergedData::initialize()`, destination columns are wrapped as `ColumnReplicated` ...
diff --git a/src/Processors/Merges/Algorithms/AggregatingSortedAlgorithm.cpp b/src/Processors/Merges/Algorithms/AggregatingSortedAlgorithm.cpp index 7c20f53737766..e4ed354a99313 100644 --- a/src/Processors/Merges/Algorithms/AggregatingSortedAlgorithm.cpp +++ b/src/Processors/Merges/Algorithms/AggregatingSortedAlgorithm...
5
5
3
[{"id": "G0", "claim": "insertChunk still has a type-mismatch path for non-sort dynamic/statistics columns because the new replicated-materialization branch runs after the hasDynamicStructure/hasStatistics branches, so replicated materialization should be moved before them (or chunk columns materialized up front once p...
null
ClickHouse__ClickHouse__101653
ClickHouse/ClickHouse
101,653
defect
29365fc86c9d07b4d8b297311f9d2a267cb2c866
1e47844fe063959c500d2c68561d3d4aad317e51
Better default selectivities for unknown and LIKE conditions
### Changelog category (leave one): - Improvement ### Changelog entry (a [user-readable short description](https://github.com/ClickHouse/ClickHouse/blob/master/docs/changelog_entry_guidelines.md) of the changes that goes into CHANGELOG.md): Improved default selectivity estimates for conditions without statistics...
diff --git a/src/Storages/Statistics/ConditionSelectivityEstimator.cpp b/src/Storages/Statistics/ConditionSelectivityEstimator.cpp index 2cc2194be034..d71404b88414 100644 --- a/src/Storages/Statistics/ConditionSelectivityEstimator.cpp +++ b/src/Storages/Statistics/ConditionSelectivityEstimator.cpp @@ -209,7 +209,19 @@ ...
2
2
2
[{"id": "G0", "claim": "not(like(...)) is estimated incorrectly because the like atom is marked finalized while its function stays FUNCTION_UNKNOWN, so FUNCTION_NOT skips the inversion and keeps 0.1 instead of 0.9; avoid setting finalized there (or make FUNCTION_NOT invert finalized unknown atoms too) and add a test fo...
null