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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
super-productivity__super-productivity__6913 | super-productivity/super-productivity | 6,913 | defect | c13bf03d37a0a778e0a7ba0d12fc36b071a31f05 | 1d3ab98bfbf601bc6c9dc68262638ea55f559cdb | Add list selection for 'Short Syntax' entity when editing a task | ## Problem
- #6120
## Solution
- Fix issue.
## Type of Change
- [x] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Refactoring
- [ ] Documentation
- [ ] Other (please describe)
## Checklist
- [x] I have run `npm run checkFile` on changed `.ts`/`.scss` files
- [ ] I have added tests for... | diff --git a/src/app/ui/task-title/task-title.component.html b/src/app/ui/task-title/task-title.component.html
index 8f0347ece1e..2803e146550 100644
--- a/src/app/ui/task-title/task-title.component.html
+++ b/src/app/ui/task-title/task-title.component.html
@@ -26,6 +26,9 @@
tabindex="-1"
placeholder="{{ p... | 5 | 4 | 0 | [{"id": "G0", "claim": "The mentionCfg$ construction in TaskTitleComponent is an exact copy of the one in add-task-bar.component.ts and should be extracted into a shared helper (e.g. buildMentionConfig$) that both AddTaskBarComponent and TaskTitleComponent call.", "category": "maintainability", "verdict": "supported", ... | null |
super-productivity__super-productivity__7059 | super-productivity/super-productivity | 7,059 | defect | edb102534eca1c1aa239df5701b84f10f0d885af | 07dbcbd07336efa97d91263d0baf95f5eda9ce07 | fix(tasks): use attachment title as task name when pasting a bare URL | ## Summary
When pasting a bare URL (e.g. `https://github.com/super-productivity/super-productivity`) into the add-task bar with `urlBehavior: 'extract'`, the URL gets extracted into an attachment but the task title is left blank.
This fix uses the attachment's title (derived from the URL basename via `_baseNameForUrl`... | diff --git a/src/app/features/tasks/short-syntax.spec.ts b/src/app/features/tasks/short-syntax.spec.ts
index 1faa806e1b8..9499e8d3bf3 100644
--- a/src/app/features/tasks/short-syntax.spec.ts
+++ b/src/app/features/tasks/short-syntax.spec.ts
@@ -1645,6 +1645,18 @@ describe('shortSyntax', () => {
expect(r?.taskCha... | 4 | 4 | 2 | [{"id": "G0", "claim": "Add a unit test for the bare-URL paste case in short-syntax.spec.ts verifying that pasting https://example.com/my-cool-page with urlBehavior 'extract' yields the attachment title 'my-cool-page' as the task name.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
super-productivity__super-productivity__7248 | super-productivity/super-productivity | 7,248 | defect | 7cca0f415808ea6b8e1546868d7b58dc39bf5934 | be74faaeac2146353a040942e2c9ded558a0279c | fix: harden archive payload repair and validation | ## Summary
- sanitize malformed task trees before writing archived task payloads for local archive and remote sync flows
- validate batch TASK payloads more strictly so malformed task and subtask IDs are rejected earlier
- strengthen state repair for broken archive and task relationships and cover the corruption cases ... | diff --git a/src/app/features/archive/archive.service.spec.ts b/src/app/features/archive/archive.service.spec.ts
index 144cf1d4c2f..1f48e2b1c10 100644
--- a/src/app/features/archive/archive.service.spec.ts
+++ b/src/app/features/archive/archive.service.spec.ts
@@ -342,4 +342,32 @@ describe('ArchiveService', () => {
... | 5 | 5 | 2 | [{"id": "G0", "claim": "Both sanitizers filter task.subTasks but spread ...task without touching subTaskIds, so dropping a malformed subtask leaves the archived parent with a dangling subTaskIds reference; subTaskIds should be filtered to the surviving subtasks.", "category": "correctness", "verdict": "supported", "pri... | null |
superagent-ai__grok-cli__185 | superagent-ai/grok-cli | 185 | defect | c722104d6f2f2339cddfcead3c4fcd2f84c2302e | f7072ecfba74868fc8e11d9ddb70a72134c20afc | feat: add json output mode for headless runs | ## What does this PR do?
Adds a structured output mode for headless `--prompt` runs.
- adds `--format <format>` with `text` and `json`
- keeps the existing text output path unchanged
- emits newline-delimited `StreamChunk` JSON objects in `json` mode
- adds focused tests for the headless output helpers
- documents th... | diff --git a/README.md b/README.md
index 7ea7420f0..263174189 100644
--- a/README.md
+++ b/README.md
@@ -46,6 +46,7 @@ grok -d /path/to/your/repo
grok --prompt "run the test suite and summarize failures"
grok -p "show me package.json" --directory /path/to/project
grok --prompt "refactor X" --max-tool-rounds 30
+grok... | 1 | 1 | 1 | [{"id": "G0", "claim": "renderHeadlessChunk's switch has no default case or trailing return, so an unmatched StreamChunk type implicitly returns undefined and the caller's access to writes.stdout throws a TypeError, crashing the headless loop; a `default: return {};` would restore the old resilience.", "category": "cor... | null |
superagent-ai__grok-cli__200 | superagent-ai/grok-cli | 200 | defect | 994a30732463dec957848cc3be81a7318f52ee31 | 571868ec889741ef08067dbe821ab726835e94ea | fix: only send reasoningEffort for grok-3-mini | <!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## What does this PR do?
This PR fixes the issue where `grok-cli` was sending `reasoningEffort` to xAI models that don't support it, causing "Bad request" API errors.
According to [xAI's documentation](https://docs.x.ai/developers/model-capabilities/text/reasoning), only `grok-3-mi... | diff --git a/src/grok/client.test.ts b/src/grok/client.test.ts
new file mode 100644
index 000000000..ff47a2fc1
--- /dev/null
+++ b/src/grok/client.test.ts
@@ -0,0 +1,48 @@
+import { describe, expect, it } from "vitest";
+import { resolveModelRuntime } from "./client";
+import { createXai } from "@ai-sdk/xai";
+
+descri... | 2 | 2 | 1 | [{"id": "G0", "claim": "The test named \"includes providerOptions with reasoningEffort for grok-3-mini\" actually asserts providerOptions is undefined, contradicting its name, and the suite never tests the positive case that grok-3-mini receives providerOptions when a reasoning effort is configured.", "category": "test... | null |
superagent-ai__grok-cli__210 | superagent-ai/grok-cli | 210 | defect | 5a065d4826a19a32f714abaff2b4d9940453ac63 | 4f4fec280dd7d0d789fa723e4452a16ad95e0c14 | feat: add Telegram voice/audio transcription via whisper.cpp | ## What does this PR do?
Telegram voice notes and audio attachments are now transcribed locally using whisper.cpp before being sent to the agent. Includes auto-download of Whisper models, ffmpeg fallback for non-WAV formats, configurable settings under telegram.audioInput, and unit tests for the new STT layer.
Fi... | diff --git a/.cursor/hooks/state/continual-learning.json b/.cursor/hooks/state/continual-learning.json
new file mode 100644
index 000000000..34c1d35f9
--- /dev/null
+++ b/.cursor/hooks/state/continual-learning.json
@@ -0,0 +1,8 @@
+{
+ "version": 1,
+ "lastRunAtMs": 0,
+ "turnsSinceLastRun": 9,
+ "lastTranscriptMti... | 5 | 4 | 1 | [{"id": "G0", "claim": "The file .cursor/hooks/state/continual-learning.json is Cursor IDE runtime state containing session-specific data and does not belong in the repository.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "downloadWhisperCppMod... | null |
superagent-ai__grok-cli__211 | superagent-ai/grok-cli | 211 | defect | 730a1adf93d185423a13fb51c54c43bca2416830 | 3565a80251c9314ead0c8312c179c8dde0b15d25 | feat: add built-in telegram-bridge command | ## Summary
- add a built-in `grok telegram-bridge` command for running the Telegram bridge without the wrapper script
- extract the headless bridge runtime and path resolution helpers under `src/telegram`
- document the new headless Telegram flow in the README
## Test plan
- `bun run typecheck`
- `bunx vitest run src... | diff --git a/README.md b/README.md
index 87932eb67..009240113 100644
--- a/README.md
+++ b/README.md
@@ -77,6 +77,13 @@ Works in interactive mode too—same flag.
grok --prompt "summarize the repo state" --format json
```
+**Headless Telegram bridge (no wrapper script required):**
+
+```bash
+grok telegram-bridge
+gr... | 3 | 3 | 2 | [{"id": "G0", "claim": "Removing the process-level SIGTERM handler that called process.exit(0) makes all other commands (interactive TUI, headless --prompt, background tasks) terminate with exit code 143 instead of 0 on SIGTERM, which can break process managers, CI pipelines and wrapper scripts relying on a clean exit ... | null |
superagent-ai__grok-cli__215 | superagent-ai/grok-cli | 215 | defect | 76498778d5e0a9424d7faa5199c4f9bce23d10c5 | 4518a64ad297935413cc015afc8faaebbde6f90d | feat: add Shuru sandbox mode for agent shell execution |
## What does this PR do?
Adds a user-selectable sandbox mode that runs all agent-driven bash commands inside a Shuru microVM. Includes persistent user/project settings, CLI flags (--sandbox / --no-sandbox), a TUI picker via /sandbox, runtime toggling for live agents, delegation propagation, model prompt updates,... | diff --git a/src/agent/agent.ts b/src/agent/agent.ts
index 63811311f..8161bc061 100644
--- a/src/agent/agent.ts
+++ b/src/agent/agent.ts
@@ -32,7 +32,7 @@ import type {
WorkspaceInfo,
} from "../types/index";
import { loadCustomInstructions } from "../utils/instructions";
-import { type CustomSubagentConfig, loadM... | 2 | 2 | 2 | [{"id": "G0", "claim": "The git mutation guard anchors with `^` so compound shell commands like `echo foo && git commit` bypass the git guard, while the other guards use `\\b` and catch the equivalent patterns.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
superagent-ai__grok-cli__258 | superagent-ai/grok-cli | 258 | defect | 19bd4bc295c3d80b1a14fcd10079852ab912ce4c | 7868a37cef886ac79559874c6508e210c409d260 | feat: add support for per-mode default models via modeModels in user settings | ## What does this PR do?
This adds support for configuring different default models per mode (agent, plan, and ask) in the SuperAgent-AI Grok CLI.
Users can now define mode-specific models in ~/.grok/user-settings.json:
```json
{
"modeModels": {
"agent": "grok-4.20-multi-agent-0309",
"plan": "grok-... | diff --git a/src/agent/agent.ts b/src/agent/agent.ts
index dce9cd5c6..0309cfbf6 100644
--- a/src/agent/agent.ts
+++ b/src/agent/agent.ts
@@ -66,6 +66,7 @@ import type {
import { loadCustomInstructions } from "../utils/instructions";
import {
type CustomSubagentConfig,
+ getCurrentModel,
loadMcpServers,
load... | 3 | 3 | 2 | [{"id": "G0", "claim": "Per-mode model selection never activates through the main CLI entry points: resolveConfig in src/index.ts calls getCurrentModel() without a mode, so a non-empty model is always passed and `model || getCurrentModel(initialMode)` short-circuits, leaving the modeModels user setting ignored.", "cate... | null |
superagent-ai__grok-cli__266 | superagent-ai/grok-cli | 266 | defect | 4cd6798f7e3256e63521d0686291abb06a496120 | d3122654e6f715429173998398dd7f88c9d74bae | feat: replace whisper.cpp with Grok STT for Telegram audio (#265) | ## What does this PR do?
Swap the local whisper.cpp pipeline for xAI's POST /v1/stt endpoint. Removes whisper-cli, ffmpeg, and ggml model download requirements; the API auto-detects Telegram's OGG/Opus container and reuses the existing GROK_API_KEY / GROK_BASE_URL resolution.
Fixes #
## Checklist
- [x] I te... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4dcaaf581..c3fca8be4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Changed
+- Switched Telegram voice/audio transcription from whisper.cpp to Grok STT ... | 1 | 1 | 1 | [{"id": "G0", "claim": "buildTelegramAudioFileName returns Telegram-controlled source.fileName unsanitized, so a crafted filename like '../../etc/something' could cause the downloaded audio bytes to be written outside the temp directory via path.join (path traversal), a new risk this PR introduced; running path.basenam... | null |
superagentxai__superagentx__104 | superagentxai/superagentx | 104 | defect | a4da16820b4aa712e482862042c11b3ab8521208 | db2f3c60a7eeba454d5140d83b9c062026111304 | Litellm & Agents Callback Support | Default as litellm and Agent callback events support added.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Introduces async status callback hooks with pipe/agent context throughout Agent, Engine, and AgentXPipe, fixes token API naming and MCP stdio session handling, updates CLI generation, tests, and bumps version.
>
> - *... | diff --git a/pyproject.toml b/pyproject.toml
index f25ef76..12cb644 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "superagentx"
-version = "1.0.0b1"
+version = "1.0.0b15"
description = "The Ultimate Modular Autonomous Multi AI Agent Framework."
license = { text = "MIT" }
authors... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `except Exception` handler in superagentx/agent.py catches `StopSuperAgentX`, so the stop signal never propagates to the caller and the `stop_if_goal_not_satisfied` flag is defeated; the handler should re-raise `StopSuperAgentX` or catch it separately before the generic handler.", "category"... | null |
superagentxai__superagentx__60 | superagentxai/superagentx | 60 | defect | 4120d62a3129586fcd43ea8da001d0d12a1f875a | 2f863074ff0d0775fb15ffc0473099a4e85eddc5 | Memory retrive by conversation id, memory_id and created time and convert into the ascending order | Memory retrieve by conversation_id, memory_id and created time and convert into the ascending order | diff --git a/superagentx/memory/__init__.py b/superagentx/memory/__init__.py
index 3d6b826a..4c856e6d 100644
--- a/superagentx/memory/__init__.py
+++ b/superagentx/memory/__init__.py
@@ -1,4 +1,5 @@
import datetime
+from datetime import timedelta
import logging
from enum import Enum
from typing import Any, final
@@... | 5 | 5 | 0 | [{"id": "G0", "claim": "Return the formatted string directly from `_epoch_to_timestamp` instead of assigning it to the intermediate `formatted_time` variable.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Move the date format string \"%Y-%m-%d ... | null |
supercollider__supercollider__7395 | supercollider/supercollider | 7,395 | defect | 71813a99bbb5a465f37b1d3cc0df98277679ae90 | ca0e9f06998a0284d3384f96e5420242403040db | Synthdef version 3 | <!-- For information about contributing see: https://github.com/supercollider/supercollider/wiki/Contributing-directory -->
## Purpose and Motivation
This PR introduces a new SynthDef version (v3). The only difference to the current version (v2) is that every synth definition starts with a `size (int32` field tha... | diff --git a/HelpSource/Reference/Synth-Definition-File-Format.schelp b/HelpSource/Reference/Synth-Definition-File-Format.schelp
index 1e44a81392c..a8c438da752 100644
--- a/HelpSource/Reference/Synth-Definition-File-Format.schelp
+++ b/HelpSource/Reference/Synth-Definition-File-Format.schelp
@@ -6,14 +6,15 @@ related::... | 17 | 5 | 2 | [{"id": "G0", "claim": "The reviewer is unsure whether the new promotion from signed char to unsigned 16-bit int in the read macros behaves the same as the previous signed conversion.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questio... | null |
supercollider__supercollider__7397 | supercollider/supercollider | 7,397 | defect | 71813a99bbb5a465f37b1d3cc0df98277679ae90 | 7dc3feb71a264a5ce3d7262c5e733eb91ec5d2d1 | sclang: delete implicit casting in slot constructor |
## Description
You should always know what type you are putting in the slot, therefore, you should be explicit. C++ is not explicit, but does offer a way to enforce this by deleting a generic template function.
Also, adds ctests that fail to compile, ensuring this behavior doesn't creep into the code base. This... | diff --git a/lang/LangPrimSource/PyrPrimitive.cpp b/lang/LangPrimSource/PyrPrimitive.cpp
index 7a0488f5275..db54b238d93 100644
--- a/lang/LangPrimSource/PyrPrimitive.cpp
+++ b/lang/LangPrimSource/PyrPrimitive.cpp
@@ -2727,7 +2727,7 @@ void switchToThread(VMGlobals* g, PyrThread* newthread, int oldstate, int* numAr
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Delete the by-value PyrSymbol and PyrObjectHdr overloads of PyrSlot::make that the pull request adds.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
superfluid-org__protocol-monorepo__1184 | superfluid-org/protocol-monorepo | 1,184 | defect | 73bba4535754ec78ecacfa0e17311948aeebe268 | b8cb70041d5d83bc2c5d38ce723604a6e1b93d0c | [SUBGRAPH] Fix resolver breaking logic | Issue: After a deployment to all endpoint today, we started receiving a lot of errors. This was due to none of the tokens being listed.
The initial thought was that some logic changes in the recent PR with matchstick broke it, but in fact it was an earlier [PR](https://github.com/superfluid-finance/protocol-monorepo... | diff --git a/packages/subgraph/src/addresses.template.ts b/packages/subgraph/src/addresses.template.ts
index ad6559454c..da533075cd 100644
--- a/packages/subgraph/src/addresses.template.ts
+++ b/packages/subgraph/src/addresses.template.ts
@@ -15,3 +15,7 @@ export function getResolverAddress(): Address {
export functio... | 2 | 1 | 0 | [{"id": "G0", "claim": "The name getIsTestNetwork is misleading because the flag does not mean a test network like \"goerli\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For local tests, the mocked resolver key should use the \"test\" versio... | null |
superfluid-org__protocol-monorepo__1189 | superfluid-org/protocol-monorepo | 1,189 | defect | 1e898c4a428da93a6c2e8e8a9c6e6f28936ba00f | 1c797190044a725867eb15a95c3e90b99267ac6d | [SUBGRAPH] Add `deposit` field to `AgreementLiquidatedByEvent`/`AgreementLiquidatedV2Event` | This PR adds the full deposit amount of the stream being liquidated to the liquidation event.
## Changes summary
- `deposit` property added to liquidation events
- `stream` property added to `StreamRevision` entity
- It includes unit tests with mocked variables
- `id` field on `StreamRevision` entity changing `f... | diff --git a/packages/subgraph/schema.graphql b/packages/subgraph/schema.graphql
index 9633a2071c..7d7a1168fd 100644
--- a/packages/subgraph/schema.graphql
+++ b/packages/subgraph/schema.graphql
@@ -969,6 +969,11 @@ type AgreementLiquidatedByEvent implements Event @entity {
bondAccount: Bytes!
rewardAmount: B... | 2 | 1 | 0 | [{"id": "G0", "claim": "The `stream` field on `StreamRevision` can point at the most recently alive stream while `revisionIndex` has already been bumped, which is confusing, so the field should be renamed (e.g. to `recentStream`) if this behaviour is intended.", "category": "maintainability", "verdict": "supported", "p... | null |
superfluid-org__protocol-monorepo__1199 | superfluid-org/protocol-monorepo | 1,199 | defect | 99ada3028fb2668aa5e393fded3cba93c9cd9d28 | 2a1bafc01c83f2d6893755ddce019b98b0270e40 | [SUBGRAPH] Add `gasUsed` property to all events | * bump subgraph package versions
* add `gasUsed` property to all event entities
* add tests for `gasUsed` property | diff --git a/packages/subgraph/package.json b/packages/subgraph/package.json
index d1a66b2c3d..1d0bcb1a9f 100644
--- a/packages/subgraph/package.json
+++ b/packages/subgraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@superfluid-finance/subgraph",
- "version": "1.4.6",
+ "version": "1.5.0",
"description":... | 3 | 3 | 1 | [{"id": "G0", "claim": "The receipt handling should let TypeScript infer the receipt type via a local const instead of casting event.receipt as ethereum.TransactionReceipt.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If receipts should always... | null |
superfluid-org__protocol-monorepo__1213 | superfluid-org/protocol-monorepo | 1,213 | defect | 1f84a8fea8ba57f9d98566ca5cae13b2fd29de38 | f7c43b38f001c94bd64f0b193870df18477a0bbc | [ETHEREUM-CONTRACTS] upgradeTo logic "fix" - really a slight change | - pass `userData` to `_upgrade`'s `userData` field, not `operatorData` field
- new logic which checks if `userData.length > 0` instead of `account != to` for `requireReceptionAck` parameter passed to `_mint` => `_callTokensReceived`
Tests added/modified to check new logic:
- tests added to ensure this doesn't blo... | diff --git a/packages/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken.sol b/packages/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken.sol
index 254239ccd8..1e354b1302 100644
--- a/packages/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken.sol
+++ b/packages/ethereum-contracts/c... | 2 | 2 | 0 | [{"id": "G0", "claim": "The upgradeTo natspec should add a @custom:warning about the potential re-entrancy case when the 'to' account is a registered ERC-777 recipient.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In upgradeTo, use `!=` instead ... | null |
superfluid-org__protocol-monorepo__1218 | superfluid-org/protocol-monorepo | 1,218 | defect | 4d11d1c56dd95cf65203ac92ebd55a31c3b2ec51 | a2fbc76ee791d01b5bc560a58eab19badcaa9de3 | [ETHEREUM-CONTRACTS/SDK-CORE] Add `send` operation to BatchCall | Related to this [issue](https://github.com/superfluid-finance/protocol-monorepo/issues/1194) and this [comment on slack](https://superfluidhq.slack.com/archives/C02G67JCG06/p1670005689608459).
**note: the tests I've added so far are just happy path cases, but I think it would be good to spend some time to discuss an... | diff --git a/packages/ethereum-contracts/CHANGELOG.md b/packages/ethereum-contracts/CHANGELOG.md
index ecb275887b..4f0d4f63eb 100644
--- a/packages/ethereum-contracts/CHANGELOG.md
+++ b/packages/ethereum-contracts/CHANGELOG.md
@@ -5,6 +5,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add the ERC777 userData to the batch send operation: the Definitions.sol call spec decodes only (recipient, amount) and the new operationSend has no data parameter.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Superflui... | null |
superfluid-org__protocol-monorepo__1227 | superfluid-org/protocol-monorepo | 1,227 | defect | 59b68fbfb0bbc861a690b03bd68e6ceeb065943e | f90a3008e29902a370625e0f4d372090fbc7cf40 | [ETHEREUM-CONTRACTS/SUBGRAPH/SDK-CORE] | Issue #1220 | Move `runDeployContractsAndToken` | Issue Reference: https://github.com/superfluid-finance/protocol-monorepo/issues/1220
## High Level Changes
### Moving `runDeployContractsAndToken`
- Moved `runDeployContractsAndToken` to ethereum-contracts
- Remove typings in `custom.d.ts` in subgraph folder
### Removing `localhost` configurations
- removed `... | diff --git a/.github/workflows/call.setup-deploy-and-test-local-subgraph.yml b/.github/workflows/call.setup-deploy-and-test-local-subgraph.yml
index ded39f6484..89bc0e4d33 100644
--- a/.github/workflows/call.setup-deploy-and-test-local-subgraph.yml
+++ b/.github/workflows/call.setup-deploy-and-test-local-subgraph.yml
@... | 2 | 2 | 1 | [{"id": "G0", "claim": "The test-network config should follow the new name (hardhat.json instead of ganache.json): the config file should be renamed and the deploy script's comment and write path should reference the renamed file.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
superfluid-org__protocol-monorepo__1306 | superfluid-org/protocol-monorepo | 1,306 | defect | b7e10b782ae6a816050c87925de98504483a3116 | f5bb5d0a71f9bb5082f71e5f95dd0dca8731157f | added BatchLiquidatorV2 | reduce liquidation tx fees on L2, see https://github.com/superfluid-finance/superfluid-sentinel/pull/179 | diff --git a/packages/ethereum-contracts/contracts/utils/BatchLiquidator.sol b/packages/ethereum-contracts/contracts/utils/BatchLiquidator.sol
index 4a0bac9f98..66271f70bb 100644
--- a/packages/ethereum-contracts/contracts/utils/BatchLiquidator.sol
+++ b/packages/ethereum-contracts/contracts/utils/BatchLiquidator.sol
@... | 4 | 2 | 0 | [{"id": "G0", "claim": "The FOUR_HOURS constant should be written as the `4 hours` solidity literal instead of `4 * 60 * 60`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hardcoded 4-hour warp would be more robust if the test took the toke... | null |
superfluid-org__protocol-monorepo__1380 | superfluid-org/protocol-monorepo | 1,380 | defect | d738830b7c55e737f97109de7aa0019abb0cb23e | 52210b16928113ec060899c575dbd5fea5818e29 | [ETHEREUM-CONTRACTS] Remove slowest tests | ## Summary
This PR just tackles the low hanging fruit and removes the slowest tests in our existing testing suite. | diff --git a/packages/ethereum-contracts/test/contracts/agreements/InstantDistributionAgreementV1-Non-Callback.test.ts b/packages/ethereum-contracts/test/contracts/agreements/InstantDistributionAgreementV1-Non-Callback.test.ts
index d2094c8af6..2fab7fd3f7 100644
--- a/packages/ethereum-contracts/test/contracts/agreemen... | 3 | 2 | 0 | [{"id": "G0", "claim": "Instead of the tests hard-coding 256, the Superfluid host contract should expose the max-agreements limit as a constant (and the IDA's private max-subscriptions constant should be made public).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
superfluid-org__protocol-monorepo__1428 | superfluid-org/protocol-monorepo | 1,428 | defect | f015a271a7057425e26f9d64a062d3829e26ccca | 03bcba71e21435a9ebf096c48935614f0d4e23b3 | [ETHEREUM-CONTRACTS] Add Increase/DecreaseFlowRateAllowance to SuperTokenV1Library | - add cache warm up
- add increase flow rate allowance
- add decrease flow rate allowance | diff --git a/packages/ethereum-contracts/CHANGELOG.md b/packages/ethereum-contracts/CHANGELOG.md
index 0272ec3a03..4efef51697 100644
--- a/packages/ethereum-contracts/CHANGELOG.md
+++ b/packages/ethereum-contracts/CHANGELOG.md
@@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.... | 4 | 4 | 2 | [{"id": "G0", "claim": "The warmUpCache function exists in production code solely for testing purposes and should be removed in favour of calling another function that incidentally warms up the cache, with a comment in the test code explaining the intended incidental warm-up.", "category": "design", "verdict": "support... | null |
superfluid-org__protocol-monorepo__1462 | superfluid-org/protocol-monorepo | 1,462 | defect | 0af56ab87fb5c67fcb717dd784f74fc837c34a76 | 073f77b9a12b52a3df7d6597b905efe710996878 | [ETHEREUM-CONTRACTS] Fix SuperTokenV1Library hash | keccak256("org.superfluid-finance.agreements.InstantDistributionAgreement.v1") is `0x8aedc3b5d4bf031e11a7e2940f7251c005698405d58e02e1c247fed3b1b3a674`, not `0x15609310ae3c30189a1218b7adabaf36c267255e70cf91b6cba384367d9eda32`.
[Verify](https://emn178.github.io/online-tools/keccak_256.html): `org.superfluid-financ... | diff --git a/packages/ethereum-contracts/contracts/apps/SuperTokenV1Library.sol b/packages/ethereum-contracts/contracts/apps/SuperTokenV1Library.sol
index 7f6e91c548..0c84c95516 100644
--- a/packages/ethereum-contracts/contracts/apps/SuperTokenV1Library.sol
+++ b/packages/ethereum-contracts/contracts/apps/SuperTokenV1L... | 1 | 1 | 0 | [{"id": "G0", "claim": "The agreement hashes should not be hardcoded as hex literals — write them as keccak256(...) calls, since the compiler works out that trivial optimization itself.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
superfluid-org__protocol-monorepo__1470 | superfluid-org/protocol-monorepo | 1,470 | defect | 9e05045e0596f82c0345dc5e82d67c0816bf16f9 | fe7bd3b644ba0deeb293f39273749d35f4633c87 | [ETHEREUM-CONTRACTS] Adding foundry toga tests | Test -
- [x] Remaining `#11 - #13`
- [x] Remaining `#14 - #15`
From https://github.com/superfluid-finance/protocol-monorepo/blob/dev/packages/ethereum-contracts/test/contracts/utils/TOGA.test.ts
| diff --git a/packages/ethereum-contracts/test/foundry/utils/TOGA.t.sol b/packages/ethereum-contracts/test/foundry/utils/TOGA.t.sol
new file mode 100644
index 0000000000..fe9298f968
--- /dev/null
+++ b/packages/ethereum-contracts/test/foundry/utils/TOGA.t.sol
@@ -0,0 +1,483 @@
+// SPDX-License-Identifier: AGPLv3
+pragma... | 14 | 13 | 0 | [{"id": "G0", "claim": "The foundry tests are missing the `vm.expectEmit` event-assertion testing that is present in the TypeScript tests.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Foundry fuzzing test cases should be added, now that foundry is bei... | null |
superfluid-org__protocol-monorepo__1506 | superfluid-org/protocol-monorepo | 1,506 | defect | c99f6f94caf42772262f2c99061d9eb13c8c3140 | 5351eac034315244781dc74a9a7a8ab55418bfed | [WORKFLOWS] Fix Subgraph Versions Check | Subgraph does not have a released NPM package, therefore we need to use different logic otherwise it breaks when doing `npm show`. | diff --git a/.github/workflows/cd.packages-stable.create-release-drafts.yml b/.github/workflows/cd.packages-stable.create-release-drafts.yml
index f1355547d6..0398fa728e 100644
--- a/.github/workflows/cd.packages-stable.create-release-drafts.yml
+++ b/.github/workflows/cd.packages-stable.create-release-drafts.yml
@@ -6... | 1 | 1 | 0 | [{"id": "G0", "claim": "The git tag check could be more strict: grep for the exact anchored tag `^subgraph@v${SUBGRAPH_NEW_VERSION}$` instead of the loose two-stage `^subgraph` / `v$VERSION` grep.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
superfluid-org__protocol-monorepo__1553 | superfluid-org/protocol-monorepo | 1,553 | defect | a8ab5f5c18b7ffa8806720c25fc7999a12ab1d12 | 2c518957a1647cd6eb29b9520c6091c6ca3743b7 | Issue 1487 - add total number of holders counter and total number of accounts into token statistic | Added two fields now: unique total accounts - interacted (will not decrease if the user's balance reaches 0), and total holders - current balance holder (will decrease if the user's balance reaches 0, and increase if the user's balance is greater than 0).
| diff --git a/packages/subgraph/package.json b/packages/subgraph/package.json
index 915fa21250..13d9f1f550 100644
--- a/packages/subgraph/package.json
+++ b/packages/subgraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@superfluid-finance/subgraph",
- "version": "1.6.0",
+ "version": "1.6.1",
"description":... | 5 | 4 | 0 | [{"id": "G0", "claim": "The doc comment for totalNumberOfHolders should specify \"non-zero\", as in \"The total number of accounts holding a non-zero balance of the token.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment for totalN... | null |
superfluid-org__protocol-monorepo__1559 | superfluid-org/protocol-monorepo | 1,559 | defect | 3e0e33ee5284668f95b7899ddfb5653f35182f06 | 49ab230f35c494ec3bde40a7c63f9669bbc82ec8 | [ETHEREUM-CONTRACTS|SDK-CORE] 1544 new flow operator updates | ## Ethereum Contracts
- `increaseFlowAllowanceWithPermissions` and `decreaseFlowAllowanceWithPermissions` added to `ConstantFlowAgreementV1.sol`
- Slight refactoring of validation logic, **modifying existing deployed code path** (see `_validateUpdateFlowOperatorDataInput` function)
## SDK-Core
- `increaseFlowAllo... | diff --git a/packages/ethereum-contracts/CHANGELOG.md b/packages/ethereum-contracts/CHANGELOG.md
index 82fc574c82..68730bacf3 100644
--- a/packages/ethereum-contracts/CHANGELOG.md
+++ b/packages/ethereum-contracts/CHANGELOG.md
@@ -5,6 +5,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.... | 7 | 7 | 2 | [{"id": "G0", "claim": "The new flow-operator update functions set permissions snapshot-style instead of delta-based, so increasing or decreasing a permission by a delta can wrongly wipe out or snapshot over the other existing permissions (e.g. increasing Create by 1 must never remove Delete or Update).", "category": "... | null |
superfluid-org__protocol-monorepo__1565 | superfluid-org/protocol-monorepo | 1,565 | defect | 3e57a673b8b671c4591612fe14756551c6b14db5 | 8f7856de0d5fcaf26893bd111cd6ef564af4bb52 | [ETHEREUM-CONTRACTS] allow to update to custom SuperToken logic | Allows SF gov to update SuperTokens to a custom logic. | diff --git a/packages/ethereum-contracts/contracts/gov/SuperfluidGovernanceBase.sol b/packages/ethereum-contracts/contracts/gov/SuperfluidGovernanceBase.sol
index 3d11123a6f..ff8d018ccc 100644
--- a/packages/ethereum-contracts/contracts/gov/SuperfluidGovernanceBase.sol
+++ b/packages/ethereum-contracts/contracts/gov/Su... | 1 | 1 | 1 | [{"id": "G0", "claim": "Overload and generalize the update methods as a replacement for the previous versions, so that a zero entry in the token-logic array applies the regular updateSuperTokenLogic instead of needing separate *Custom methods.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "... | null |
superfluid-org__protocol-monorepo__1690 | superfluid-org/protocol-monorepo | 1,690 | defect | 048af588e7127538a3159f709379d74e03660365 | bf4b9680c8d3c20a5f25c11837f7080bd5113cbc | [ETHEREUM-CONTRACTS] 1685 devolved supertokens | See https://github.com/superfluid-finance/protocol-monorepo/issues/1685 | diff --git a/packages/ethereum-contracts/CHANGELOG.md b/packages/ethereum-contracts/CHANGELOG.md
index aea245ab03..7998332b7c 100644
--- a/packages/ethereum-contracts/CHANGELOG.md
+++ b/packages/ethereum-contracts/CHANGELOG.md
@@ -17,6 +17,13 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0... | 4 | 3 | 1 | [{"id": "G0", "claim": "The `_adminOverride` storage field should be tested in the SuperTokenStorageLayoutTester, like the other reserved slots.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Adding a second `initialize` overload that shadows the existi... | null |
superfluid-org__protocol-monorepo__1729 | superfluid-org/protocol-monorepo | 1,729 | defect | 4ece1a3f4aff8b5a9cbf37118d261023960c0f0f | 697e4973b9c84445eb438b217e1b342f87e881c6 | [ETHEREUM-CONTRACTS] [GDA] Fixes for GDA | ### Changes For Trail of Bits Audit Review
- Fix high severity vulnerability which would not allow liquidators to close insolvent streams in pools where `distributionFromAnyAddress` config is set to false: https://github.com/superfluid-finance/protocol-monorepo/pull/1729/files#diff-f22822bca4f06e61ac121310093c380eea97... | diff --git a/packages/ethereum-contracts/contracts/agreements/gdav1/GeneralDistributionAgreementV1.sol b/packages/ethereum-contracts/contracts/agreements/gdav1/GeneralDistributionAgreementV1.sol
index cb0808ec97..3a00d0404e 100644
--- a/packages/ethereum-contracts/contracts/agreements/gdav1/GeneralDistributionAgreement... | 5 | 5 | 1 | [{"id": "G0", "claim": "The echidna fuzzing suite should be improved with better assertions on expected liquidations.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The connection-state condition should be simplified to `doConnect != isConnected` inst... | null |
superfluid-org__protocol-monorepo__1840 | superfluid-org/protocol-monorepo | 1,840 | defect | 24a549c29d7fd0db14d496bbb03ed51f3751e7c5 | bc11978ccbdfa6a4a6e34a7253383804f86f872d | [sdk-core][sdk-redux] add GDA pool subgraph entity queries | ### Why?
The queries are already used in the Console. Moving these queries upstream. Will re-use them in the Dashboard.
Includes other small fixes and updated subgraph schema. | diff --git a/packages/sdk-core/CHANGELOG.md b/packages/sdk-core/CHANGELOG.md
index 0191f309fe..cd4043c816 100644
--- a/packages/sdk-core/CHANGELOG.md
+++ b/packages/sdk-core/CHANGELOG.md
@@ -6,9 +6,17 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [Unreleased]
+### Added
+
+... | 2 | 2 | 2 | [{"id": "G0", "claim": "A unresolved merge-conflict marker (<<<<<<< HEAD) is left in handleMemberUnitsUpdated in packages/subgraph/src/mappings/superfluidPool.ts and must be resolved before merge.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The g... | null |
superfluid-org__protocol-monorepo__1843 | superfluid-org/protocol-monorepo | 1,843 | defect | 716484ad936b62677077e1d2d89385970cb6d1ef | 3b694ce35dfd6cc2195857f6d8a65cba2f505d0d | [SUBGRAPH] fix resolver entry | we move this: `resolverEntry.isToken = Token.load(target.toHex()) != null;` out of the `resolverEntry == null` and only update it if the `target` is not null.
We need to do this because of sepolia where the token entity is created after the resolver set event is emitted (triggered), thus we want to be able to call s... | diff --git a/packages/subgraph/src/mappingHelpers.ts b/packages/subgraph/src/mappingHelpers.ts
index 9c4a53a624..0eaabc909a 100644
--- a/packages/subgraph/src/mappingHelpers.ts
+++ b/packages/subgraph/src/mappingHelpers.ts
@@ -10,7 +10,6 @@ import {
Pool,
PoolDistributor,
PoolMember,
- ResolverEntry,
... | 2 | 1 | 1 | [{"id": "G0", "claim": "The resolver mapping should not unconditionally update the resolver entry (updatedAt fields, isListed, save) every time getOrInitResolverEntry is called, given that it is invoked in very few places.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": ... | null |
superfluid-org__protocol-monorepo__1878 | superfluid-org/protocol-monorepo | 1,878 | defect | 422056602d426f9cc174a0dd96b2db3c497b57be | 06435aa53fcd613d9c346cbfbb135a818ebf5068 | [SUBGRAPH] approval mapping | - create `ApprovalEvent` when `Approval` event is emitted from a SuperToken contract.
closes #1834 | diff --git a/packages/subgraph/schema.graphql b/packages/subgraph/schema.graphql
index 1627c06aa4..915181020e 100644
--- a/packages/subgraph/schema.graphql
+++ b/packages/subgraph/schema.graphql
@@ -1475,13 +1475,29 @@ type ApprovalEvent implements Event @entity(immutable: true) {
logIndex: BigInt!
order: Big... | 3 | 2 | 2 | [{"id": "G0", "claim": "The approval event handlers must pass the relevant addresses (token/NFT address, owner, to/operator) to initializeEventEntity instead of an empty array, and the same for the other approval event and the other call sites in the codebase that are missing them.", "category": "correctness", "verdict... | null |
superfluid-org__protocol-monorepo__2037 | superfluid-org/protocol-monorepo | 2,037 | defect | c8795f8db446761279fa4a8aee0a48f2eb374d52 | 1422db9ffe40c0464c9b955e44d644328406701e | [ETHEREUM-CONTRACTS] split DMZForwarder into SimpleForwarder and ERC2771Forwarder | The recently introduced DMZForwarder needs to be split into 2 contracts, otherwise it cannot be safely trusted as ERC-2771 forwarder.
After the change, we'll have
- `SimpleForwarder` for `OPERATION_TYPE_SIMPLE_FORWARD_CALL`. Is deployed by the constructor of Superfluid - new deployment on every contract upgrade, wh... | diff --git a/packages/automation-contracts/autowrap/package.json b/packages/automation-contracts/autowrap/package.json
index e47f6782c8..8e3462e152 100644
--- a/packages/automation-contracts/autowrap/package.json
+++ b/packages/automation-contracts/autowrap/package.json
@@ -4,7 +4,7 @@
"version": "0.3.0",
"de... | 4 | 4 | 0 | [{"id": "G0", "claim": "The PR should add security notes documenting the risks of the SimpleForwarder batch operation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGELOG entry should list both new utility contracts, not just getERC2771Fo... | null |
superfluid-org__protocol-monorepo__2083 | superfluid-org/protocol-monorepo | 2,083 | defect | 839fc6d2204b9943a9dc9b2f8fb9ba8e46194f11 | 959e9d363c5735f59f4db4131e1b4d819a388e19 | [ETHEREUM-CONTRACTS] Dedicated allowlist contract for SuperApp registration | ## What & Why
This PR introduces a dedicated simple allowlist contract for managing SuperApp registration permission.
This is done in order to make this rather frequent process more lightweight, as it does not require the same degree of security of other governance actions like contract upgrades.
## How
Adds ... | diff --git a/packages/automation-contracts/autowrap/package.json b/packages/automation-contracts/autowrap/package.json
index f67209e93e..210a9aa315 100644
--- a/packages/automation-contracts/autowrap/package.json
+++ b/packages/automation-contracts/autowrap/package.json
@@ -4,7 +4,7 @@
"version": "0.3.0",
"de... | 2 | 1 | 0 | [{"id": "G0", "claim": "The PR should use a simple usage of OpenZeppelin's roles contracts instead of rebuilding the wheel with the hand-written AllowList.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "The old registration method is no longer tested, no... | null |
superfly__corrosion__378 | superfly/corrosion | 378 | defect | 4b7062ae4e68d24ffb9272609ec8572898344215 | 0e18d935e211786995130748e4b2307cf29b60f8 | Make more tasks tripwire aware. Terminate postgres connections gracefully | In #377 I've noticed some resources like UDP sockets were not released gracefully when tripwire was tripped. This was due to some async tasks like the `metrics_loop` which were not tripwire aware and were holding on to some references.
This PR makes the following changes:
- When corrosion shuts down any active post... | diff --git a/crates/corro-agent/src/agent/handlers.rs b/crates/corro-agent/src/agent/handlers.rs
index 39222a143..cfb8cf8a5 100644
--- a/crates/corro-agent/src/agent/handlers.rs
+++ b/crates/corro-agent/src/agent/handlers.rs
@@ -143,18 +143,35 @@ pub fn spawn_incoming_connection_handlers(
/// Spawn a single task tha... | 1 | 1 | 0 | [{"id": "G0", "claim": "In spawn_rtt_handler's biased select, the tripwire branch should be polled before the chunker branch (or the task spawned unmanaged) so that shutting down does not process RTT chunks into in-memory state that is no longer needed.", "category": "performance", "verdict": "supported", "priority": "... | null |
superfly__litefs__271 | superfly/litefs | 271 | defect | 8c50a5dea5e246ae4a9d749815825afb8b41fc5c | 8441f7a70c2779452c04460ca356fe3bce5045c3 | Implement HTTP proxy for primary redirection & consistency | This pull request implements a thin HTTP proxy that can run in front of an application and automatically handle primary redirection & TXID consistency tracking. This works for applications that use read-only `GET` requests and only use a single SQLite database.
It implements the following:
- For non-`GET` request... | diff --git a/cmd/litefs/etc/litefs.yml b/cmd/litefs/etc/litefs.yml
index 8ed1918..9d0af83 100644
--- a/cmd/litefs/etc/litefs.yml
+++ b/cmd/litefs/etc/litefs.yml
@@ -40,7 +40,7 @@ data:
#
# This can also be specified after a double-dash (--) on the
# command line invocation of the 'litefs mount' command.
-exec: "myap... | 4 | 1 | 1 | [{"id": "G0", "claim": "The no-client-txid log line in serveGet could fire very often, and the reviewer wants to know whether it can be turned on/off.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Setting the __txid cookie on the proxied response... | null |
supermacro__neverthrow__204 | supermacro/neverthrow | 204 | defect | f6faf1f68edbd3c79de2be2f7a809ac88bec664b | 5bada999e4c9649e01b013281e558481ca2e4ae6 | Add fromThrowable utility function | It is common within javascript libraries to throw within a synchronous function
This adds a utility function fromThowable that wraps a function and creates a
function with the same signature except instead of throwing, a Result will be
returned. Ok if the original function succeds, or Err if the function throws.
... | diff --git a/README.md b/README.md
index fd992cdd..49fe838e 100644
--- a/README.md
+++ b/README.md
@@ -744,6 +744,37 @@ function combine<T, E>(asyncResultList: ResultAsync<T, E>[]): ResultAsync<T[], E
[⬆️ Back to top](#toc)
+---
+
+#### `fromThrowable`
+
+The JavaScript community has agreed on the convention of t... | 4 | 3 | 1 | [{"id": "G0", "claim": "The `any` in `fromThrowable`'s signature should be removed, by using `infer` for the argument list and/or declaring an extra type argument to get rid of the `any` return type.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
supermacro__neverthrow__34 | supermacro/neverthrow | 34 | defect | f79127af30cde9c34b84bf445fed14fc62aace7f | 921b5653775720e59b10165fbe48a3f804c437a7 | Introduce a ResultAsync type for better async Results | This is the PR for issue #32
I'm waiting for your confirmation of the new API before updating the docs. | diff --git a/src/index.ts b/src/index.ts
index 6237ea23..603e18c5 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,2 +1,3 @@
export { Result, ok, Ok, err, Err } from './result'
+export { ResultAsync, okAsync, errAsync } from './result-async'
export { chain, chain3, chain4, chain5, chain6, chain7, chain8 } from './c... | 11 | 9 | 3 | [{"id": "G0", "claim": "The isPromise helper should take `unknown` instead of `any` as its parameter type.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The custom `isPromise` validator needs tests of its own to verify it works and to catch regre... | null |
supermacro__neverthrow__349 | supermacro/neverthrow | 349 | defect | 7ce077689cdbcc9960c1898eb8770b4292d68d97 | cce4ffb21cec3441b292a4a256cedd9cdc127bf9 | Improving the inference of `andThen` and `orElse` methods | Allows for improved inference when returning more complex types in the `andThen` and `orElse` functions without needing to explicitly specify the types.
The premise of the change is two-fold:
1. Defaulting `err` and `ok` to `never` instead of letting them become unknown. A type union-ed with `never` is the original... | diff --git a/.eslintrc.js b/.eslintrc.js
index 36c9ec35..9f10f8d4 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -4,7 +4,7 @@ module.exports = {
env: {
node: true,
},
- ignorePatterns: ['dist/'],
+ ignorePatterns: ['dist/', 'tests/'],
plugins: [
'@typescript-eslint',
],
diff --git a/src/result-... | 5 | 5 | 2 | [{"id": "G0", "claim": "Add a few more \"before\" and \"after\" examples to the PR description.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test for the case where both the T and E values change from the prior result, such as ok<number, s... | null |
supermacro__neverthrow__418 | supermacro/neverthrow | 418 | defect | e973f2a91b051119be71228eed9a629ad2785d4b | b341e40ee0a4891d777476a2c0c232aadfba2c82 | Provides the types for `combine` and `combineWithAllErrors`, solves #226 | Hello,
This PR solves the type problem of the `combine` and `combineWithAllErrors` methods as described [here](https://github.com/supermacro/neverthrow/issues/226).
| diff --git a/src/result.ts b/src/result.ts
index ec33c503..75987d8e 100644
--- a/src/result.ts
+++ b/src/result.ts
@@ -1,13 +1,11 @@
-import { ResultAsync, errAsync } from './'
+import { errAsync, ResultAsync } from './'
+import { createNeverThrowError, ErrorConfig } from './_internals/error'
import {
- InferOkTypes,... | 10 | 9 | 1 | [{"id": "G0", "claim": "The combine tests' Expectation is wrong: combine should treat the passed list as a fixed-length tuple, so the success tuple length must equal the list length (e.g. Result<[ number, string, never, never ], Error | string[] | never>).", "category": "correctness", "verdict": "supported", "priority"... | null |
supermacro__neverthrow__467 | supermacro/neverthrow | 467 | defect | 2e2583166d8aa040b370ad3f05f2e5af3723192c | 96c853770905af5de3e6cd48aee7b76d2c86764f | andTee() / andThrough() to handle side-effects a bit easier (from issue #445) | closes #445
Hi @supermacro!
I opened [an issue with a suggestion](#445 ) about 2.5 months ago (Jan 17) but I think you have been very busy and I thought maybe a real code would save your time :)
I got a feedback comment in the original issue thread and I ended up having these two methods.
1. andTee()
```ty... | diff --git a/src/result-async.ts b/src/result-async.ts
index 8f926cb6..13f9ce7d 100644
--- a/src/result-async.ts
+++ b/src/result-async.ts
@@ -98,6 +98,38 @@ export class ResultAsync<T, E> implements PromiseLike<Result<T, E>> {
)
}
+ andThrough<F>(f: (t: T) => Result<unknown, F> | ResultAsync<unknown, F>): R... | 4 | 4 | 3 | [{"id": "G0", "claim": "The 'Skips an Error' test in tests/index.test.ts should call andThrough instead of andThen so it actually exercises the new method.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out 'Infers error type when returnin... | null |
superplanehq__superplane__3681 | superplanehq/superplane | 3,681 | defect | 1a234dab2084e834fa66082d57d492b2224cf849 | fd65bfb0e8ca1000b60754bf927679b2948acd96 | fix: DigitalOcean delete droplet converts input to number | <!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## What
- Coerce DigitalOcean droplet IDs to an integer before calling the API, so workflows don’t require wrapping expressions in `int()`.
## Why
- Expression resolution stringifies numeric IDs as scientific notation (e.g. `5.5778476e+08`), which previously failed `strconv.Atoi` an... | diff --git a/pkg/integrations/digitalocean/assign_reserved_ip.go b/pkg/integrations/digitalocean/assign_reserved_ip.go
index b9af6286bd..0cc8f5a6ec 100644
--- a/pkg/integrations/digitalocean/assign_reserved_ip.go
+++ b/pkg/integrations/digitalocean/assign_reserved_ip.go
@@ -4,7 +4,6 @@ import (
"errors"
"fmt"
"ne... | 1 | 1 | 1 | [{"id": "G0", "claim": "The float-to-int upper-bound check `f > float64(^uint(0)>>1)` lets f == 2^63 through because float64 rounds MaxInt64 up to exactly 2^63, so the subsequent int(f) conversion overflows to a negative or platform-dependent value; converting first and verifying the result stayed positive (or comparin... | null |
superplanehq__superplane__3745 | superplanehq/superplane | 3,745 | defect | bbb3bb9151ca6f52b3a3cac13fbc6ab628fe91c7 | 45e13bf65ed9f4c369b56708aa05d0ad1d2dffa6 | feat: expose run config | Improves execution transparency in SuperPlane by making runtime node configuration visible and usable where people actually troubleshoot flows. I also expands functionality allowing users to reference runtime config in upstream nodes.
- Added a Config tab in the run chain sidebar so users can inspect the exact conf... | diff --git a/pkg/workers/contexts/node_configuration_builder.go b/pkg/workers/contexts/node_configuration_builder.go
index 845e8da8dd..69aa0a1a07 100644
--- a/pkg/workers/contexts/node_configuration_builder.go
+++ b/pkg/workers/contexts/node_configuration_builder.go
@@ -370,13 +370,16 @@ func (b *NodeConfigurationBuild... | 6 | 6 | 6 | [{"id": "G0", "claim": "resolveFromRoot returns the root event payload without injecting config, so previous(N).config returns nothing when the depth resolves to the root event while root().config works for the same data.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i... | null |
superplanehq__superplane__3747 | superplanehq/superplane | 3,747 | defect | 078dc8d72effd59ba4593817ba4f5eb5a5999e5e | 54564bed552056e4957145319e84d942b476d362 | feat: add digitalocean create and delete database components | Implements https://github.com/superplanehq/superplane/issues/3736
This expands the digital ocean integration by adding two components:
- `digitalocean.CreateDatabase`
- `digitalocean.DeleteDatabase`
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Introduces new DigitalOcean actions that create and *... | diff --git a/docs/components/DigitalOcean.mdx b/docs/components/DigitalOcean.mdx
index d21d7e4a8a..cb01182aaa 100644
--- a/docs/components/DigitalOcean.mdx
+++ b/docs/components/DigitalOcean.mdx
@@ -15,6 +15,7 @@ import { CardGrid, LinkCard } from "@astrojs/starlight/components";
<LinkCard title="Create Alert Policy... | 3 | 3 | 1 | [{"id": "G0", "claim": "The PR needs frontend tests for the DigitalOcean database mappers.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The newly added ListClusterDatabases method is dead code that duplicates the existing ListDatabases function (same ... | null |
superplanehq__superplane__3796 | superplanehq/superplane | 3,796 | defect | 782c4b69c1985923c3177438b59764d828bd9594 | 73e76317942b6fd051675aff5db71be35670f077 | feat: streamline Elastic authentication to use only API key and update docs | Fixes https://github.com/superplanehq/superplane/issues/3785
This fixes the elastic integration by making the following adjustments:
- Restricts auth to API key and removes basic auth
- Updates documentation to be concise and straightforward
- Fixed the validation bug where an Elastic integration could appear rea... | diff --git a/docs/components/Elastic.mdx b/docs/components/Elastic.mdx
index 690376fdc7..af75bf29ec 100644
--- a/docs/components/Elastic.mdx
+++ b/docs/components/Elastic.mdx
@@ -29,22 +29,8 @@ import { CardGrid, LinkCard } from "@astrojs/starlight/components";
To connect Elastic to SuperPlane:
-1. **Elasticsearch... | 6 | 6 | 4 | [{"id": "G0", "claim": "Dropping the \"tags\": {{rule.tags}} field from kibanaAlertWebhookActionBody while the Tags configuration field is still exposed and matchesFilters still checks the payload means extractStringSlice(payload, \"tags\") always returns nil and every alert is silently dropped when any tag filter is c... | null |
superplanehq__superplane__3874 | superplanehq/superplane | 3,874 | defect | c259f5eae5ca41be73953c35ce29eafd08be04ea | 1c9594e0bb99b8f4f2b8333c10dfc070d091f0e3 | fix: stabilize workflow canvas autosave and suppress local save refetches | ## Summary
This fixes a workflow canvas autosave race introduced after the recent merge in the workflow v2 editor.
When a user made multiple saves quickly, especially by moving the same node twice before the first save completed, the canvas could briefly jump back to an older saved position and trigger broad refe... | diff --git a/test/e2e/canvas_auto_save_test.go b/test/e2e/canvas_auto_save_test.go
index 918e6e1cba..181d9dedb0 100644
--- a/test/e2e/canvas_auto_save_test.go
+++ b/test/e2e/canvas_auto_save_test.go
@@ -3,6 +3,7 @@ package e2e
import (
"strings"
"testing"
+ "time"
pw "github.com/playwright-community/playwright... | 6 | 6 | 5 | [{"id": "G0", "claim": "Echo-suppression counters incremented before mutateAsync are only consumed by matching websocket events or a 15s timeout, so if a save fails or an expected echo is missed, later genuine canvas_updated/canvas_version_updated events can be incorrectly ignored, hiding real remote changes.", "catego... | null |
superplanehq__superplane__3975 | superplanehq/superplane | 3,975 | defect | 038edfea6bfed92c84992087917ddbeb93ff34bf | fffb026883b73858c6d60802865cd533a561a08c | fix: 500 error on list integration resources for missing integrations | ## Summary
- `ListIntegrationResources` returned raw 500 errors when an integration was not found in the database or its implementation was unavailable
- Now returns `NotFound` when the integration doesn't exist, and `FailedPrecondition` when the integration app is unavailable or listing fails
- Added `ListResources` c... | diff --git a/pkg/grpc/actions/organizations/list_integration_resources.go b/pkg/grpc/actions/organizations/list_integration_resources.go
index 5443c104b9..dec6ffef83 100644
--- a/pkg/grpc/actions/organizations/list_integration_resources.go
+++ b/pkg/grpc/actions/organizations/list_integration_resources.go
@@ -2,6 +2,7 ... | 2 | 2 | 1 | [{"id": "G0", "claim": "codes.FailedPrecondition for the integration.ListResources error is wrong for transient failures (timeouts, rate limits, network blips) where retrying would succeed; codes.Internal is more appropriate there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
superplanehq__superplane__3976 | superplanehq/superplane | 3,976 | defect | 038edfea6bfed92c84992087917ddbeb93ff34bf | ec213b2ff310b612bd7256d85cd2b074d17dbc8d | fix: 500 error on canvas version update when canvas is deleted | ## Summary
- `updateLiveCanvasWithoutVersioning` returned a raw 500 when the canvas had been soft-deleted (e.g. user has editor open, another user deletes the canvas, user saves)
- Added `ErrRecordNotFound` check to return `NotFound` instead of `Internal`
## Sentry Issues
- HTTP 500 PUT /api/v1/canvases/{canvasId}/ver... | diff --git a/pkg/grpc/actions/canvases/list_canvas_versions.go b/pkg/grpc/actions/canvases/list_canvas_versions.go
index 74acec9b20..ed7239e7e1 100644
--- a/pkg/grpc/actions/canvases/list_canvas_versions.go
+++ b/pkg/grpc/actions/canvases/list_canvas_versions.go
@@ -75,6 +75,12 @@ func ListCanvasVersionsPaginated(
... | 2 | 1 | 1 | [{"id": "G0", "claim": "In list_canvas_versions.go, the stale-draft DELETE only filters on workflow_id and user_id, so under READ COMMITTED it could delete a concurrently re-created valid draft; it should also filter on version_id using draft.VersionID.", "category": "correctness", "verdict": "uncertain", "priority": "... | null |
superplanehq__superplane__3979 | superplanehq/superplane | 3,979 | defect | 038edfea6bfed92c84992087917ddbeb93ff34bf | 8828561ad138d60246d79c49f0e57496c26d4f11 | fix: cli usage get inconsistencies | closes #3645
## Summary
- Use database canvas count in usage response instead of potentially stale external usage service value
- Normalize JSON output so all limit fields use consistent numeric types (maxEventsPerMonth was serialized as string due to int64→swagger mapping)
## Test plan
- [x] Server-s... | diff --git a/pkg/cli/commands/usage/get.go b/pkg/cli/commands/usage/get.go
index c8cdb3a163..765e9f77c2 100644
--- a/pkg/cli/commands/usage/get.go
+++ b/pkg/cli/commands/usage/get.go
@@ -31,7 +31,7 @@ func (c *getCommand) Execute(ctx core.CommandContext) error {
}
if !ctx.Renderer.IsText() {
- return ctx.Rendere... | 6 | 5 | 5 | [{"id": "G0", "claim": "The two new CLI usage tests mock /api/v1/me with {\"id\":\"user-1\",\"organizationId\":\"org-123\"} instead of the {\"user\":{...}} wrapper MeMeResponse expects, so User deserializes as nil, ResolveOrganizationID returns an error, and both tests fail at require.NoError.", "category": "correctnes... | null |
superplanehq__superplane__4012 | superplanehq/superplane | 4,012 | defect | ebde50eaf2522d2c8b4a83e4cb51839dc797df81 | 0561f5cddffb1375a5682216c61d59e723ceac56 | fix: integration resource listing causing error 5xx | ## Summary
Change integration resource listing failures caused by integration/provider state into `FailedPrecondition` instead of a `5xx`.
This prevents third-party integration issues from surfacing as internal server errors when calling:
`GET /api/v1/organizations/{id}/integrations/{integration_id}/resources`... | diff --git a/pkg/grpc/actions/organizations/list_integration_resources.go b/pkg/grpc/actions/organizations/list_integration_resources.go
index 145b785e50..acc45a8c9d 100644
--- a/pkg/grpc/actions/organizations/list_integration_resources.go
+++ b/pkg/grpc/actions/organizations/list_integration_resources.go
@@ -42,6 +42,... | 3 | 2 | 2 | [{"id": "G0", "claim": "The test \"integration list failure returns unavailable\" asserts codes.Unavailable while the production code returns codes.FailedPrecondition, so the test will fail; either the assertion and name are wrong or the production code returns the wrong status code.", "category": "testing", "verdict":... | null |
superplanehq__superplane__4021 | superplanehq/superplane | 4,021 | defect | 58af6751038d3386d5c2b2f8302fba89d0a9877e | 4d9b563bb4b6d30bea1cc526d5cab72ba2a606bd | feat: use custom field for push-through action | Just re-using the existing pattern used in the approval component + cleaning up props in CanvasPage. See [this message](https://discord.com/channels/1409914582239023200/1488540155357696213/1491213373378003064), for how it looks now. | diff --git a/test/e2e/time_gate_test.go b/test/e2e/time_gate_test.go
index 9d43a2df75..93641f61a5 100644
--- a/test/e2e/time_gate_test.go
+++ b/test/e2e/time_gate_test.go
@@ -48,8 +48,7 @@ func TestTimeGateComponent(t *testing.T) {
activeDay := dayString(tomorrow.Weekday())
steps.givenACanvasWithManualTriggerTime... | 3 | 2 | 1 | [{"id": "G0", "claim": "In test/e2e/wait_test.go, pushThroughFromNode ignores its node parameter and hardcodes the \"node-wait-header\" test id in the locator, so the wait test would only work for the Wait node; the locator should be built from the parameter (as time_gate_test.go does with strings.ToLower(node)).", "ca... | null |
superplanehq__superplane__4143 | superplanehq/superplane | 4,143 | defect | dee5d6e75128b6edee67790ec7918e66572da5d1 | 281d51ae71ea8c221d8fa86637ecaf76b1285962 | chore: replace versioning_enabled with change_management_enabled | ## Summary
- **Versioning is now always enabled** — every
canvas uses the draft/edit/publish flow. The
`versioning_enabled` flag is removed from both
organizations and canvases.
- **Change management (change requests with
approvals) is now optional** and con... | diff --git a/agent/src/superplaneapi/models/canvases_canvas_metadata.py b/agent/src/superplaneapi/models/canvases_canvas_metadata.py
index b8fee6a9fc..a1a8c5739f 100644
--- a/agent/src/superplaneapi/models/canvases_canvas_metadata.py
+++ b/agent/src/superplaneapi/models/canvases_canvas_metadata.py
@@ -38,9 +38,9 @@ cla... | 5 | 4 | 3 | [{"id": "G0", "claim": "The up migration drops and re-adds versioning columns with DEFAULT false instead of renaming them, destroying every existing versioning_enabled value; the migration file's name (and the PR title) promise a rename that would preserve the data.", "category": "correctness", "verdict": "opposed", "p... | null |
superplanehq__superplane__4152 | superplanehq/superplane | 4,152 | defect | 4457e7f4a6cddd1096865084744928a75c01d652 | 0b6e96d585bafe2bb6ace0879d926c790b55825f | fix: changeset contains information about integration | When adding an integration-based node using a changeset, we should be able to choose the integration the node will use. See [this Discord message](https://discord.com/channels/1409914582239023200/1493187148604506252/1493943366616875028) for more details | diff --git a/agent/src/superplaneapi/models/canvas_changeset_change_node.py b/agent/src/superplaneapi/models/canvas_changeset_change_node.py
index b2c28b4abb..13bd45171f 100644
--- a/agent/src/superplaneapi/models/canvas_changeset_change_node.py
+++ b/agent/src/superplaneapi/models/canvas_changeset_change_node.py
@@ -1... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `len(parts) > 2` check in the new `IsCoreBlock` (and the same unreachable pattern in `GetTrigger` and `GetComponent`) is dead code because `strings.SplitN(name, \".\", 2)` never returns more than two parts, so the function could be simplified to `return !strings.Contains(name, \".\")`.", "ca... | null |
superplanehq__superplane__4153 | superplanehq/superplane | 4,153 | defect | 4457e7f4a6cddd1096865084744928a75c01d652 | 16f6eccf772afb355210590dc4a90f18a098456b | feat: add noindex response headers for non-production environments | ## Changes and Why
Added google's noindex response headers for non-production environments. Using meta tags for this would introduce extra complexity as we would need to make index.html dynamic or add other vite plugins. See [this](https://developers.google.com/search/docs/crawling-indexing/block-indexing#http-respons... | diff --git a/web_src/vite.config.ts b/web_src/vite.config.ts
index 42875a7c94..21411b5dff 100644
--- a/web_src/vite.config.ts
+++ b/web_src/vite.config.ts
@@ -25,6 +25,7 @@ const setHmrPortFromPortPlugin = {
// https://vite.dev/config/
export default defineConfig(({ command }: { command: string }) => {
const isDev... | 1 | 1 | 1 | [{"id": "G0", "claim": "The X-Robots-Tag header set in vite.config.ts server.headers only applies to the Vite dev server, so deployed non-production environments served by the Go AssetHandler do not get the header; it needs to be set in the Go server for non-production deployments to actually block search engine indexi... | null |
superplanehq__superplane__4160 | superplanehq/superplane | 4,160 | defect | 6d8e373da795d340d47df79682a97383a99b3788 | 5d41a2d527022813e2da9a05b60f6ba2d8b397f7 | feat: auto layout when applying changesets | Same thing we have in UpdateCanvasVersion, but for the new endpoint that applies changesets. Moved layout code into `pkg/grpc/actions/canvases/layout` to use in CanvasPatcher too. | diff --git a/agent/src/superplaneapi/models/canvases_apply_canvas_version_changeset_body.py b/agent/src/superplaneapi/models/canvases_apply_canvas_version_changeset_body.py
index 8c4ff9035f..e197a91df5 100644
--- a/agent/src/superplaneapi/models/canvases_apply_canvas_version_changeset_body.py
+++ b/agent/src/superplane... | 4 | 4 | 2 | [{"id": "G0", "claim": "buildFinalVersion silently swallows the error from layout.ApplyLayout, so an invalid autoLayout (e.g. ALGORITHM_UNSPECIFIED) produces a successful response with the layout request silently ignored, unlike every other call site which propagates the error.", "category": "correctness", "verdict": "... | null |
superplanehq__superplane__4253 | superplanehq/superplane | 4,253 | defect | bc5c579058912e2d604f756542accd0cd35fa866 | 6f851d3c0e29364087e8df9fff7bb7f91e717d97 | fix: add proper error messages for cli errors | ### Problem
CLI commands that failed validation printed only `400 Bad Request`, hiding the server's actual error message. Agents and scripts had to guess what went wrong and retry blindly.
### Changes
- Fixed the `errors.As` target in `FormatCommandError` and added a body fallback so the CLI always surfaces a us... | diff --git a/pkg/cli/core/errors.go b/pkg/cli/core/errors.go
index 73012b695b..1ccef62502 100644
--- a/pkg/cli/core/errors.go
+++ b/pkg/cli/core/errors.go
@@ -1,6 +1,7 @@
package core
import (
+ "encoding/json"
"errors"
"fmt"
"strings"
@@ -8,28 +9,62 @@ import (
"github.com/superplanehq/superplane/pkg/opena... | 3 | 3 | 0 | [{"id": "G0", "claim": "The magic-number switch in grpcCodePrefix should be replaced with a map (unless the RPC protobuf dependencies already provide one).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The inner field-violation parsing logic ... | null |
superplanehq__superplane__4264 | superplanehq/superplane | 4,264 | defect | a1ba95b9b919cf72084708b8d5f7a71651804593 | 33018b52a1c29c90ef2c3816dbe036f9a38faf40 | fix: separate arguments for superplane contexts command | ### Demo:
https://drive.google.com/file/d/1BO69k3OSEwVU3nOkMMZwXsan7lnPNjek/view?usp=sharing
The superplane contexts switch command used to take a single `<URL>/<org-name>` selector. That was confusing because it looked like a browser URL but wasn't - the real web URL is `app.superplane.com/<orgId>`.
### Summary... | diff --git a/.cursor/skills/superplane-cli/SKILL.md b/.cursor/skills/superplane-cli/SKILL.md
index 2cd8a6b82e..d87415cb8a 100644
--- a/.cursor/skills/superplane-cli/SKILL.md
+++ b/.cursor/skills/superplane-cli/SKILL.md
@@ -7,6 +7,26 @@ description: Use when working with the SuperPlane CLI to discover available inte
... | 2 | 2 | 2 | [{"id": "G0", "claim": "After interactive selection the code should pass the selected context's OrganizationID to SwitchContext when one is present (falling back to the name), because always passing the organization name skips the precise ID-matching path and can switch to the wrong context when two contexts share the ... | null |
superplanehq__superplane__4324 | superplanehq/superplane | 4,324 | defect | b4c6fd16713373bb772232c8f9bfc38fb1328649 | 67e183cd1e64aa5aeb591442d0e4a2a01b10d6d9 | feat: add github create PR action component | Demo: https://drive.google.com/file/d/1lOY--TLGoMNHG8REseDqnBn6J6o6nwHQ/view?usp=sharing
### Summary
- Adds a new `github.createPullRequest` action component that creates pull requests via the GitHub API, resolving #4273 .
- Introduces a branch resource type to the GitHub integration's ListResources, enabling dy... | diff --git a/pkg/integrations/github/create_pull_request.go b/pkg/integrations/github/create_pull_request.go
new file mode 100644
index 0000000000..492275038e
--- /dev/null
+++ b/pkg/integrations/github/create_pull_request.go
@@ -0,0 +1,230 @@
+package github
+
+import (
+ "context"
+ "fmt"
+
+ "github.com/google/go-gi... | 2 | 2 | 2 | [{"id": "G0", "claim": "The Draft field exists in CreatePullRequestConfiguration and is handled in Execute and Documentation but is not exposed in the Configuration() field list, so the UI cannot set draft to true and the draft PR feature is dead code.", "category": "correctness", "verdict": "supported", "priority": "P... | null |
superplanehq__superplane__4336 | superplanehq/superplane | 4,336 | defect | b51ac6f2feb0c9b7419b808167cf09da94323c96 | c6546283690d01e2697265e61674ce48d54f65df | fix: add deterministic CLI self-update | <!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary
- add a first-party `superplane upgrade` / `superplane self-update` command for release-built CLI binaries
- switch update notices to print a direct platform-specific download URL instead of only linking to the release page
- harden updater downloads by removing the dead h... | diff --git a/pkg/cli/upgrade.go b/pkg/cli/upgrade.go
new file mode 100644
index 0000000000..830e47ffa8
--- /dev/null
+++ b/pkg/cli/upgrade.go
@@ -0,0 +1,217 @@
+package cli
+
+import (
+ "encoding/json"
+ "fmt"
+ "io"
+ "net/http"
+ "os"
+ "path/filepath"
+ "runtime"
+ "time"
+
+ "github.com/spf13/cobra"
+)
+
+const re... | 4 | 4 | 1 | [{"id": "G0", "claim": "The http.Client{Timeout: 30 * time.Second} used for binary downloads applies to the entire HTTP transaction, so on slower connections the 30-second wall-clock limit may expire mid-download of a multi-megabyte CLI binary; a transport-level timeout like ResponseHeaderTimeout or a longer context de... | null |
superplanehq__superplane__4357 | superplanehq/superplane | 4,357 | defect | 248a59520fe32ebc9ffe11f68a6e29d3353f4a66 | 153072a7e6921ed15c98a4c7d9e9605593c50bb6 | fix: run title expression syntax, resolution, and display | Closes: https://github.com/superplanehq/superplane/issues/1611
## Summary
- Fix run title (`customName`) field on triggers: update expression syntax from `$.data` to `root().data`, improve label/description, and re-add togglable behavior
- Make `root()` work in run title expressions by injecting the ev... | diff --git a/pkg/grpc/actions/canvases/emit_node_event.go b/pkg/grpc/actions/canvases/emit_node_event.go
index 5564d2b1dc..6873785980 100644
--- a/pkg/grpc/actions/canvases/emit_node_event.go
+++ b/pkg/grpc/actions/canvases/emit_node_event.go
@@ -45,7 +45,10 @@ func EmitNodeEvent(
}
customName, err := resolveCust... | 3 | 3 | 1 | [{"id": "G0", "claim": "The inline `excludedSuggestions={isRunTitle ? [\"$\", \"previous\"] : undefined}` array literal creates a new reference on every render, causing the suggestion-computation effect in AutoCompleteInput to re-run unnecessarily; a stable reference should be used.", "category": "performance", "verdic... | null |
superplanehq__superplane__4362 | superplanehq/superplane | 4,362 | defect | 39ae2108699096b1384dabf8a127840b0df0aa28 | a9c31e937df73c5c2c6c74938ae3afab15ce63e6 | fix: validate canvas edge output channels on API writes | Closes: https://github.com/superplanehq/superplane/issues/4318
## Summary
Reject canvas edges that reference an output channel the source node does not expose.
This prevents silent workflow stalls caused by invalid channel names in CLI/API canvas definitions, and returns a `400 InvalidArgument` instead.
## ... | diff --git a/pkg/grpc/actions/canvases/changesets/canvas_patcher.go b/pkg/grpc/actions/canvases/changesets/canvas_patcher.go
index aca952b0e5..e85001a424 100644
--- a/pkg/grpc/actions/canvases/changesets/canvas_patcher.go
+++ b/pkg/grpc/actions/canvases/changesets/canvas_patcher.go
@@ -408,6 +408,16 @@ func (p *CanvasP... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new ValidateSourceNodeOutputChannel call in ParseCanvas turns a source node's invalid or missing component/blueprint reference into a hard 400 error, even though node validation is intentionally soft, so canvases that were previously accepted with nodes in an error state are now rejected as ... | null |
superplanehq__superplane__4383 | superplanehq/superplane | 4,383 | defect | de78dc1a64a435804e714c59f844d1203c0202c2 | db975d68a8d5be7d0c9417d41adb6121e1de35f3 | chore: database-based metrics to monitor processing engine | We need more visibility into the amount of events and executions the workers are handling. Here, we add three things:
1. A generic `db.rows.affected.count` counter for DB operations. It uses table and operation (create | update | delete) as attributes, which allow us to slice things as we may need. This is mostly for ... | diff --git a/pkg/telemetry/db.go b/pkg/telemetry/db.go
new file mode 100644
index 0000000000..d2418dbbc6
--- /dev/null
+++ b/pkg/telemetry/db.go
@@ -0,0 +1,79 @@
+package telemetry
+
+import (
+ "context"
+
+ "github.com/superplanehq/superplane/pkg/database"
+ "gorm.io/gorm"
+)
+
+const (
+ createMetricsCallbackName = ... | 3 | 3 | 2 | [{"id": "G0", "claim": "countPendingEvents() counts pending events belonging to soft-deleted workflows because it does not filter on workflows.deleted_at IS NULL as the real worker query in ListPendingCanvasEvents() does, inflating the gauge and creating false degradation alerts.", "category": "correctness", "verdict":... | null |
superplanehq__superplane__4396 | superplanehq/superplane | 4,396 | defect | 7f767a747ae428ca6f5f33951130f3e03a9fba2c | aa810b0091d634c66cda60f672542a9c6ad8fb17 | chore: rename core.Component to core.Action | Related to https://github.com/superplanehq/superplane/issues/1837
---
Now that we renamed core.Action to core.Hook - https://github.com/superplanehq/superplane/pull/4393 - we can finally rename core.Component to core.Action | diff --git a/pkg/components/addmemory/add_memory.go b/pkg/components/addmemory/add_memory.go
index 0cfea558e0..02cbfde59b 100644
--- a/pkg/components/addmemory/add_memory.go
+++ b/pkg/components/addmemory/add_memory.go
@@ -16,7 +16,7 @@ const ComponentName = "addMemory"
const PayloadType = "memory.added"
func init(... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test assertion in describe_component_test.go still expects the old error message \"component nope not found\" while DescribeComponent now returns \"action %s not found\", so this test will fail.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
superplanehq__superplane__4399 | superplanehq/superplane | 4,399 | defect | 9ce789a8e91b923fa691ed73e1f237844bf0ff1e | 259f8d71813d889e7ad524fc457e3726411876db | feat(api!): rename component to action on the API level | Related to https://github.com/superplanehq/superplane/issues/1837
---
Following https://github.com/superplanehq/superplane/pull/4396, we update the APIs and CLI to reflect the rename of component to action. This is a breaking change for the API. Clients will be required to update their YAMLs to work with the new ... | diff --git a/Makefile b/Makefile
index e2cdc1ff7e..c914754553 100644
--- a/Makefile
+++ b/Makefile
@@ -350,8 +350,8 @@ check.components.docs:
$(COMPOSE) run --rm app bash -c "go run scripts/generate_components_docs.go"
git diff --exit-code docs/components
-MODULES := authorization,organizations,integrations,secre... | 5 | 5 | 3 | [{"id": "G0", "claim": "All template YAML files still use type \"TYPE_COMPONENT\" for action nodes after the proto enum was renamed to TYPE_ACTION, so every template containing action nodes will fail to unmarshal and template seeding will break on server startup.", "category": "correctness", "verdict": "supported", "pr... | null |
superplanehq__superplane__4402 | superplanehq/superplane | 4,402 | defect | ecdb2cffd5db5dccdc04b77c47262594ae4ae41f | 2e8c5751861522130a511002d65280e1690b921a | fix: remove positional arg from canvases update | ## Summary
- Removes the `[name-or-id]` positional argument from `superplane canvases update` entirely
- Removes the active-canvas fallback logic
- `--file` is now a required flag
- The YAML file's `metadata.id` is the sole source of truth for identifying the target canvas — if it is missing, the command returns a cle... | diff --git a/pkg/cli/commands/canvases/change_requests.go b/pkg/cli/commands/canvases/change_requests.go
index 8b7c5393dc..f8d8817958 100644
--- a/pkg/cli/commands/canvases/change_requests.go
+++ b/pkg/cli/commands/canvases/change_requests.go
@@ -191,7 +191,7 @@ func (c *changeRequestCreateCommand) Execute(ctx core.Com... | 2 | 2 | 1 | [{"id": "G0", "claim": "The changeManagementPlan struct and the functions updateCanvasChangeManagementEnabled, resolveOrganizationChangeManagementEnabled, requestedCanvasChangeManagementEnabled and planCanvasChangeManagementUpdate added by this PR are dead code, never called from Execute or any other path.", "category"... | null |
superplanehq__superplane__4411 | superplanehq/superplane | 4,411 | defect | c2b9690ed43f5b9a87b5b6616322906f71948933 | dad0d6447922f14e7c261688e0c8ea595a2e7236 | feat(api!): no nesting when referencing components in nodes | Closes https://github.com/superplanehq/superplane/issues/4325
---
Additionally, we are removing TYPE_BLUEPRINT, so nodes can no longer use blueprints, since blueprints have been disabled for a long time and are just a nuisance in the UI logic. They will either be thought-through properly and re-implemented proper... | diff --git a/pkg/core/component.go b/pkg/core/component.go
index e82ebe4cee..8a619e7742 100644
--- a/pkg/core/component.go
+++ b/pkg/core/component.go
@@ -9,6 +9,14 @@ import (
log "github.com/sirupsen/logrus"
)
+type ComponentKind string
+
+const (
+ ComponentKindAction ComponentKind = "action"
+ ComponentKindTr... | 5 | 3 | 3 | [{"id": "G0", "claim": "NodesToProto handles node.Ref.Component, Trigger and Widget but omits node.Ref.Blueprint, so existing blueprint nodes stored in the database serialize with an empty Component field, breaking API responses that return a canvas or version containing blueprint nodes.", "category": "correctness", "v... | null |
superplanehq__superplane__4457 | superplanehq/superplane | 4,457 | defect | 4157c4c86dbc3fdf7935e82249495a4e6ea0f844 | 0ab494e25cbcf9c70173caaf1d5b93a8262ef13b | feat: enforce Postgres statement and idle‑in‑transaction timeouts on pooled connections | Closes: https://github.com/superplanehq/superplane/issues/4376
We were seeing the control plane stall with no helpful logs when DB work held connections too long—small `DB_POOL_SIZE` per pod made that
painful.
This PR sets Postgres session limits on every app connection:
- **statement_timeout** aborts quer... | diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml
index d0e6c8ae97..8f17592532 100644
--- a/docker-compose.dev.yml
+++ b/docker-compose.dev.yml
@@ -13,6 +13,8 @@ services:
DB_NAME: "superplane_dev"
DB_USERNAME: "postgres"
DB_POOL_SIZE: "2"
+ DB_STATEMENT_TIMEOUT_MS: ${DB_STATEMENT_T... | 5 | 3 | 1 | [{"id": "G0", "claim": "Reviewer (PR author's own thread) asks whether the proposed defaults of 60s statement timeout and 30s idle-in-transaction timeout are the right values, asking shiroyasha and lucaspin what they think.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id":... | null |
superplanehq__superplane__4503 | superplanehq/superplane | 4,503 | defect | 86e0ab6a64c563c952cccdbd8168c079e9f978c7 | e83408c25ad5689f6ee5f14c89082c69f73700cc | feat: add run hook to manual trigger | ### Summary
- Adds a `run` hook to the manual "start" trigger so it follows the same `InvokeNodeTriggerHook` pattern used by other triggers, instead of relying on the one-off `EmitNodeEvent` endpoint.
- Wires the `Events` context into the `InvokeNodeTriggerHook` gRPC handler so trigger hooks can emit events.
- Upd... | diff --git a/pkg/grpc/actions/canvases/invoke_node_trigger_hook.go b/pkg/grpc/actions/canvases/invoke_node_trigger_hook.go
index 955fb68d0a..86a4692615 100644
--- a/pkg/grpc/actions/canvases/invoke_node_trigger_hook.go
+++ b/pkg/grpc/actions/canvases/invoke_node_trigger_hook.go
@@ -75,6 +75,11 @@ func InvokeNodeTrigger... | 14 | 13 | 8 | [{"id": "G0", "claim": "If a template is found by name but its payload field fails the map type assertion, the guard passes and the trigger emits an event with data null instead of returning an error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
superplanehq__superplane__4515 | superplanehq/superplane | 4,515 | defect | 38d1d00bfe4e31dcd30a1223ebc89dd32f51d22e | 0ac30517f0792cb973aac5a9d29297840e548abd | feat: /api/v1/integrations exposes capabilities | Update /api/v1/integrations API to return capabilities and capability groups + flag for indicating if an integration supports the new setup flow. Registry was updated to expose methods for registering setup providers during an integration registration.
| diff --git a/pkg/cli/commands/index/actions.go b/pkg/cli/commands/index/actions.go
index c2c18e17b5..8a8e2713cd 100644
--- a/pkg/cli/commands/index/actions.go
+++ b/pkg/cli/commands/index/actions.go
@@ -236,7 +236,7 @@ func (c *actionsCommand) listActions(ctx core.CommandContext, from string) ([]op
return nil, err
... | 5 | 1 | 1 | [{"id": "G0", "claim": "The new CapabilityDefinition proto carries no icon or color fields, so the frontend's buildingBlocks.ts reads t.icon/c.icon that are always undefined and every integration building block falls back to the generic 'zap' icon, losing per-action/trigger visual differentiation.", "category": "correc... | null |
superplanehq__superplane__4535 | superplanehq/superplane | 4,535 | defect | 6644d84d0d45627c4a5eaca38ae39786146316df | b06de739a7e18c97d2794dcc48b03044cb1c48dc | feat: Secrets() and Properties() in IntegrationContext | Adding three new methods in IntegrationContext:
- LegacySetup() - helper function to simplify implementation code until we migrate everything
- Properties() - returns the new IntegrationPropertyStorage interface
- Secrets() - returns the new IntegrationSecretStorage interface. Naming this one Secrets() required upda... | diff --git a/pkg/core/integration.go b/pkg/core/integration.go
index a87f04a6b3..69e40bc898 100644
--- a/pkg/core/integration.go
+++ b/pkg/core/integration.go
@@ -190,6 +190,13 @@ type IntegrationCleanupContext struct {
*/
type IntegrationContext interface {
+ //
+ // Whether the integration is using the legacy se... | 3 | 2 | 2 | [{"id": "G0", "claim": "Secrets() silently returns nil when NewIntegrationSecretStorage fails, so callers chaining like ctx.Secrets().Get(\"key\") will panic with a nil pointer dereference and cannot detect the failure.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"... | null |
superplanehq__superplane__4608 | superplanehq/superplane | 4,608 | defect | 1106a65b78667150c4158d4b94098c35cfe9d0e2 | 61d05620ff7caa8408b6434dd783ab1bab2c576b | feat: capability selection as a step in new setup flow | Right now, the setup flow initiates after the user chooses the capabilities they want. This assumes all capabilities are selectable for all possible flows, which is not the case. For example, for the GitHub integration, the `github.getWorkflowUsage` component can only be used if you are connected to an organization, an... | diff --git a/pkg/core/integration_setup_provider.go b/pkg/core/integration_setup_provider.go
index f6429fe826..db4ddb730b 100644
--- a/pkg/core/integration_setup_provider.go
+++ b/pkg/core/integration_setup_provider.go
@@ -56,9 +56,10 @@ type IntegrationSetupProvider interface {
type SetupStepType string
const (
- ... | 5 | 3 | 3 | [{"id": "G0", "claim": "Renumbering the CapabilityState.State and SetupStepDefinition.Type proto enum values (inserting STATE_AVAILABLE at 1 and CAPABILITY_SELECTION at 3) breaks protobuf wire-format backward compatibility: during a rolling deployment an old service sending the old numeric values is decoded as the wron... | null |
superplanehq__superplane__4654 | superplanehq/superplane | 4,654 | defect | 4d6cdfd74a6b8cbfe259d2e6932eab7d359ba6a6 | cf57e3dcb5ce667eb34da41757fb1672ae7d3896 | fix: use transaction for HTTP network policy resolution | ## Summary
Fixes HTTP network policy resolution so it uses the active DB transaction when called from transaction-scoped code.
## Why
`ResolveHTTPPolicy()` reads installation metadata. When integration/action/trigger code runs inside a transaction and makes an HTTP request, the shared HTTP context can refresh ... | diff --git a/pkg/grpc/actions/canvases/cancel_execution.go b/pkg/grpc/actions/canvases/cancel_execution.go
index e347288562..b314d50583 100644
--- a/pkg/grpc/actions/canvases/cancel_execution.go
+++ b/pkg/grpc/actions/canvases/cancel_execution.go
@@ -96,7 +96,7 @@ func cancelExecutionInTransaction(tx *gorm.DB, authServ... | 2 | 2 | 2 | [{"id": "G0", "claim": "activePolicy returns the shared cached policy before considering tx and caches transaction-resolved policies back into the shared slot, so with PolicyCacheTTL enabled transaction-scoped HTTP calls can use a non-transaction policy or leak a transaction policy view to other callers.", "category": ... | null |
superplanehq__superplane__4677 | superplanehq/superplane | 4,677 | defect | 3eba691ef30c9f7e3236db8e7b73c03cae08badd | a61b61becceeb7b400c836c52186ae14e23d2721 | fix: allow backing out of SMTP config during installation | <!-- CURSOR_AGENT_PR_BODY_BEGIN -->
### Problem
During the self-hosted installation wizard, if a user enters the SMTP configuration step, there’s no in-product way to go back or cancel. Using the browser back button resets the entire setup flow.
### What I changed
- Added explicit **Back** navigation in the owner setu... | diff --git a/test/e2e/owner_setup_test.go b/test/e2e/owner_setup_test.go
index cd1a157148..eca8178698 100644
--- a/test/e2e/owner_setup_test.go
+++ b/test/e2e/owner_setup_test.go
@@ -40,6 +40,20 @@ func TestOwnerSetupFlow(t *testing.T) {
steps.assertOwnerSetupIsNoLongerRequired()
})
+ t.Run("can skip SMTP after ... | 5 | 5 | 2 | [{"id": "G0", "claim": "The Back buttons should stay on the left as they are now, and the Next / Set up / Finish buttons should all sit on the right with a limited width instead of stretching full width.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "han... | null |
superplanehq__superplane__4681 | superplanehq/superplane | 4,681 | defect | 5d2dc1fb7a41463d68e3a55a664aee4b1ff79708 | a8836c99d51fe3eac08ff5a19fc6c263b4fac481 | feat: add backend workflow runs | ## Summary
- add workflow_runs and nullable run_id references for runtime records
- create and finalize runs from the workflow engine
- propagate run IDs through queue items, executions, and output events
## Tests
- make test PKG_TEST_PACKAGES="./pkg/models ./pkg/workers"
- git diff --check | diff --git a/db/migrations/20260507184844_add-workflow-runs.down.sql b/db/migrations/20260507184844_add-workflow-runs.down.sql
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/db/migrations/20260507184844_add-workflow-runs.up.sql b/db/migrations/20260507184844_add-workflow-runs.up.sql
new file mode 100644... | 6 | 5 | 4 | [{"id": "G0", "claim": "CountNodeQueueItemsForRunInTransaction is an exported but never-called helper whose functionality is already covered by the raw SQL in findOpenCanvasRunWorkInTransaction, so it is dead code.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id":... | null |
superplanehq__superplane__4682 | superplanehq/superplane | 4,682 | defect | 5d2dc1fb7a41463d68e3a55a664aee4b1ff79708 | 49c7a0a7d87273a400cc11c08a57a821075ba05b | feat: add canvas run API and events | ## Summary
- add ListRuns protobuf/API surface and authorization
- serialize runs with root events and lightweight execution refs
- publish and distribute run websocket events
Depends on #4681.
## Tests
- make test PKG_TEST_PACKAGES="./pkg/workers ./pkg/workers/eventdistributer ./pkg/grpc/actions/canvases ./pkg/autho... | diff --git a/db/migrations/20260507184844_add-workflow-runs.down.sql b/db/migrations/20260507184844_add-workflow-runs.down.sql
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/db/migrations/20260507184844_add-workflow-runs.up.sql b/db/migrations/20260507184844_add-workflow-runs.up.sql
new file mode 100644... | 5 | 3 | 3 | [{"id": "G0", "claim": "handleRunState runs twice per execution event because both the execution-distributer path and the CanvasRunMessage path broadcast run state, sending duplicate run-state websocket events to all connected clients for every execution with a RunID.", "category": "correctness", "verdict": "supported"... | null |
superplanehq__superplane__4701 | superplanehq/superplane | 4,701 | defect | 2f9af570b5c666164534a480554e223b41c07372 | 45d2f672032bd3e73253e2d22ed4d76b4c44c08b | fix: batch event retention cleanup | ## Summary
Batch event retention cleanup so the worker locks and deletes eligible root event chains in groups instead of one root event per transaction.
This keeps the same safety checks for active work, but reduces repeated queries and transaction overhead when there is retention backlog.
| diff --git a/pkg/models/canvas_event.go b/pkg/models/canvas_event.go
index 518f7d79d5..2146cc5050 100644
--- a/pkg/models/canvas_event.go
+++ b/pkg/models/canvas_event.go
@@ -177,18 +177,7 @@ func ListExpiredRoutedRootCanvasEvents(referenceTime time.Time, limit int) ([]Ca
func ListExpiredRoutedRootCanvasEventsInTransa... | 1 | 1 | 0 | [{"id": "G0", "claim": "The refactored LockExpiredRoutedRootCanvasEvent, ListExpiredRoutedRootCanvasEvents and ListExpiredRoutedRootCanvasEventsInTransaction now have zero callers and are dead code and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
superplanehq__superplane__4730 | superplanehq/superplane | 4,730 | defect | 6cfb20e3e37e2d7eb24c1e6e10df545c638bc838 | 8c93f371bbf6e2251abccc712ac90cc62c9647c2 | feat: add Cloudflare load balancing health monitor management | ## What changed:
- Introduced new Cloudflare components: OrderCertificatePack, DeleteCertificatePack, and PurgeCache.
- Updated the Cloudflare API client to support certificate pack ordering, certificate pack deletion, and cache purge operations.
- Added example outputs and frontend workflow mappers for the new comp... | diff --git a/docs/components/Cloudflare.mdx b/docs/components/Cloudflare.mdx
index 971185fcd0..993524efee 100644
--- a/docs/components/Cloudflare.mdx
+++ b/docs/components/Cloudflare.mdx
@@ -30,10 +30,12 @@ import { CardGrid, LinkCard } from "@astrojs/starlight/components";
<LinkCard title="Delete Pool" href="#delet... | 2 | 2 | 1 | [{"id": "G0", "claim": "UpdateMonitor.Setup validates advanced timing against create-time defaults (60s interval, 5s timeout) instead of the monitor's current values, so a valid update that changes only one timing field is falsely rejected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":... | null |
superplanehq__superplane__4735 | superplanehq/superplane | 4,735 | defect | 1f2f69de05c66425dd905f5353956ef30734cbe4 | b6282bca999b72ea45a116dc38620a446c62019b | feat: Add Experimental Features Management | ## Summary
Introduced the concept of **Experimental Features** and the respective management UI.
- Experimental Features should be added to `pkg/features/features.go`, that's the single source of truth
- Management UI lives at `/admin/organizations/:orgId` (installation admin only). Org admins cannot toggle these ... | diff --git a/db/migrations/20260511133726_add-experimental-features-to-organizations.down.sql b/db/migrations/20260511133726_add-experimental-features-to-organizations.down.sql
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/db/migrations/20260511133726_add-experimental-features-to-organizations.up.sql b... | 4 | 3 | 3 | [{"id": "G0", "claim": "The committed db/structure.sql was generated from an outdated database and wrongly re-adds the long-removed stages/canvases schema, and that mistake is what makes the CI job fail.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim":... | null |
superplanehq__superplane__4772 | superplanehq/superplane | 4,772 | defect | 1b0a019de32d5abba4ad44517a11b27a4618be02 | 29dab361a153f64ee7cb3f29131db6aaf6fe4a37 | feat: allow signed-in users to change their password | Closes #4650
## Summary
Adds an in-app "Change password" flow for accounts that signed up with email + password. OAuth-only accounts see nothing — they manage credentials at their identity provider.
A successful change rotates the password hash, invalidates every other session belonging to the account, and rev... | diff --git a/db/migrations/20260513140501_add-password-changed-at-to-accounts.down.sql b/db/migrations/20260513140501_add-password-changed-at-to-accounts.down.sql
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/db/migrations/20260513140501_add-password-changed-at-to-accounts.up.sql b/db/migrations/202605... | 2 | 1 | 1 | [{"id": "G0", "claim": "hasActiveImpersonation only validates that a structurally valid impersonation cookie is present — it never checks that the token's AdminAccountID matches, that the admin is still an installation admin, or that the session is fresh — so a user carrying a valid-but-stale impersonation cookie (e.g.... | null |
superset-sh__superset__2740 | superset-sh/superset | 2,740 | defect | ee6d5ec77df161902fa046c1387a63a432a89b91 | 37af7d92f0befa585b70186668848b8d6fd3fef2 | Stop command for run button | ## Description
<!-- Provide a clear and concise description of your changes -->
## Related Issues
<!-- Link any related issues using GitHub keywords (e.g., "closes #123", "fixes #456", "related to #789") -->
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bug fix
- [ ] New feature... | diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/useWorkspaceRunCommand.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/useWorkspaceRunCommand.ts
index 1a13761855e..8c27d6d3b2b 100644
--- a/apps/desktop/src/renderer/routes/... | 2 | 2 | 1 | [{"id": "G0", "claim": "Consider adding a test for stopped-by-user panes when getSession throws, covering the fallback to startAttach() added in workspaceRun.ts.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Initial attach for isNewWorkspaceRun no long... | null |
superset-sh__superset__2873 | superset-sh/superset | 2,873 | defect | 2c388335a8c2a0d8287bbf8f9925d31e94ea4781 | a70dd6ed22068a5d470409c3fa56735404e46506 | fix(desktop): reduce review tab GitHub polling | ## Summary
- gate review-related GitHub polling to the Review tab so the Diffs tab does not keep triggering interval GitHub status refreshes
- stop PR comments polling unless the Review tab is active
- reuse cached repo context and avoid redundant local DB writes when GitHub status content is unchanged
## Testing
- bu... | diff --git a/apps/desktop/src/lib/trpc/routers/workspaces/procedures/git-status.ts b/apps/desktop/src/lib/trpc/routers/workspaces/procedures/git-status.ts
index a21e718c4cb..07843a68cf6 100644
--- a/apps/desktop/src/lib/trpc/routers/workspaces/procedures/git-status.ts
+++ b/apps/desktop/src/lib/trpc/routers/workspaces/... | 2 | 2 | 2 | [{"id": "G0", "claim": "On the Diffs (non-Review) tab the GitHub status query has both refetchInterval and refetchOnWindowFocus disabled, so the PR status, checks icon and review badge rendered outside the Review tab can sit stale indefinitely with no automatic refresh.", "category": "correctness", "verdict": "supporte... | null |
superset-sh__superset__2885 | superset-sh/superset | 2,885 | defect | 2c388335a8c2a0d8287bbf8f9925d31e94ea4781 | 4a61d95fdfae1fa865ced5183559b29a197bbc1e | fix(desktop): prevent [gone] from being stored as workspace branch name | ## Summary
- **Parser fix**: `parsePortelainStatus` incorrectly extracted `[gone]` as the branch name when git reported `## No commits yet on BRANCH...origin/BRANCH [gone]`. The old code split by space and took the last element; the fix strips the prefix and applies the same tracking-info regex used for normal branches... | diff --git a/apps/desktop/src/lib/trpc/routers/workspaces/procedures/status.ts b/apps/desktop/src/lib/trpc/routers/workspaces/procedures/status.ts
index 4e0ab490faf..6ec9cabb5e6 100644
--- a/apps/desktop/src/lib/trpc/routers/workspaces/procedures/status.ts
+++ b/apps/desktop/src/lib/trpc/routers/workspaces/procedures/s... | 3 | 3 | 0 | [{"id": "G0", "claim": "The startup '[gone]' repair block silently swallows per-worktree repair errors in an empty catch; log a warning with worktree context so failed repairs are diagnosable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The r... | null |
superset-sh__superset__2887 | superset-sh/superset | 2,887 | defect | 2c388335a8c2a0d8287bbf8f9925d31e94ea4781 | 94d052a024c6d0e3d9bbaec064b61e2bca93ec3a | Fix MCP auth ordering and protected-resource discovery | ## Summary
- split MCP auth into a dedicated flow so API keys, OAuth access tokens, and session auth are handled in the right order
- return a path-specific `resource_metadata` challenge for `/api/agent/mcp` and serve matching protected-resource metadata
- add focused tests for invalid API keys, valid API keys, OAuth a... | diff --git a/apps/api/src/app/.well-known/oauth-protected-resource/[...path]/route.ts b/apps/api/src/app/.well-known/oauth-protected-resource/[...path]/route.ts
index b5e8b532600..1db0c83d84e 100644
--- a/apps/api/src/app/.well-known/oauth-protected-resource/[...path]/route.ts
+++ b/apps/api/src/app/.well-known/oauth-p... | 11 | 5 | 5 | [{"id": "G0", "claim": "Parse the Authorization scheme case-insensitively; the strict startsWith(\"Bearer \") check rejects valid lowercase/mixed-case bearer headers.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Parse forwarded host/proto header l... | null |
superset-sh__superset__2903 | superset-sh/superset | 2,903 | defect | 48b78616a871a4c8a714d804af0214a249d2dae3 | 57397b6eee6c26631b5854a707cf7a7ce7694cf5 | feat(desktop): cmd-click file paths opens in external editor | ## Summary
- Cmd/ctrl-click on files in file tree, search results, and changes view now opens in the configured external editor (same as what double-click used to do)
- Double-click no longer opens externally, freeing it for future pinning behavior
## Test plan
- [ ] Cmd-click a file in the file tree → opens in extern... | diff --git a/apps/desktop/src/renderer/screens/main/components/WorkspaceView/RightSidebar/ChangesView/components/FileItem/FileItem.tsx b/apps/desktop/src/renderer/screens/main/components/WorkspaceView/RightSidebar/ChangesView/components/FileItem/FileItem.tsx
index d97316e27d7..63a293144d5 100644
--- a/apps/desktop/src/... | 4 | 1 | 0 | [{"id": "G0", "claim": "Any pending single-click timeout should be cleared before handling a cmd/ctrl-click, otherwise a queued single-click action can still run after the external editor opens.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A Cmd/C... | null |
superset-sh__superset__2907 | superset-sh/superset | 2,907 | defect | 0f6e39ce7fdfc54329ffe182b54fc3001dc87d8d | 2c41a7bc30585c2da9301c3dc473836a3b1b96b8 | feat(desktop): add CLOSE_WORKSPACE hotkey and context menu delete option | ## Summary
- Add `CLOSE_WORKSPACE` hotkey (`⌘+Backspace` / `Ctrl+Shift+Backspace`) to close or delete the active workspace via the existing `DeleteWorkspaceDialog`
- Expose a "Close Worktree" / "Close Workspace" option in the sidebar context menu for **all** workspace types (worktree and branch), using the existing `c... | diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/layout.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/layout.tsx
index 4be47ca9183..27382e92816 100644
--- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/layout.tsx
+++ b/apps/desktop/src/renderer/routes/_authenticat... | 5 | 2 | 1 | [{"id": "G0", "claim": "The CLOSE_WORKSPACE hotkey handler only toggles a boolean while the dialog reads live currentWorkspace* values, so if the active workspace changes before confirmation the destructive delete can target a different workspace than the one active when the hotkey fired; the workspace id/name/type sho... | null |
superset-sh__superset__2908 | superset-sh/superset | 2,908 | defect | a2563031cad3b05e89b784f4c399610e4aeb3706 | c1d826ff514b7cb4c1a365bdda9549c16222ccb3 | fix(desktop): quickfix restore workspace deletion from disk | ## Summary
Fixes critical bug introduced in PR #2573 where workspace deletion only removed database records but left worktree files on disk, causing:
- Disk space waste
- UI showing workspace deleted but files remain
- Inability to recreate workspaces with same branch name
## Root Cause
`listExternalWorktrees()` was... | diff --git a/apps/desktop/src/lib/trpc/routers/workspaces/procedures/create.ts b/apps/desktop/src/lib/trpc/routers/workspaces/procedures/create.ts
index 1f28701f2bd..5f48e68ac51 100644
--- a/apps/desktop/src/lib/trpc/routers/workspaces/procedures/create.ts
+++ b/apps/desktop/src/lib/trpc/routers/workspaces/procedures/c... | 4 | 1 | 1 | [{"id": "G0", "claim": "Handle `listExternalWorktrees` failures in the workspace delete procedure; otherwise a thrown git error can abort deletion after `markWorkspaceAsDeleting`, leaving the workspace stuck as \"deleting\".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
superset-sh__superset__2979 | superset-sh/superset | 2,979 | defect | 1ac52d45d02ea2608a9575fcc70e95937c9da1e8 | 2c4797ae348e259a98a25de9c3fc969b71f71c01 | [codex] fix workspace search regressions | ## Summary
This PR fixes the recent workspace search regression and a few adjacent desktop-editor issues reported by users.
## What changed
- restore reliable file search by prioritizing exact filename and exact path hits before fuzzy matching
- normalize separator-heavy queries so filename/path lookups behave bette... | diff --git a/apps/desktop/src/lib/trpc/routers/changes/utils/parse-status.test.ts b/apps/desktop/src/lib/trpc/routers/changes/utils/parse-status.test.ts
index d1c72efea3c..e9a481ca4cc 100644
--- a/apps/desktop/src/lib/trpc/routers/changes/utils/parse-status.test.ts
+++ b/apps/desktop/src/lib/trpc/routers/changes/utils/... | 6 | 5 | 4 | [{"id": "G0", "claim": "The `zoom-changed` handler reads `getZoomLevel()` immediately even though the event fires before the zoom level is applied, so `persistedZoomLevel` can capture the stale zoom level; the read should be deferred by one tick.", "category": "correctness", "verdict": "supported", "priority": "P1", "s... | null |
superset-sh__superset__3295 | superset-sh/superset | 3,295 | defect | 89d79037e7b7d163d7d0a17b4c4aad02e1904aad | dc36a1c8405d6f5cbbe2a972f4315d19e1690bff | fix(desktop): resolve GitHub status for branch workspaces | ## Summary
- Use `getWorkspacePath()` instead of requiring a worktree record so branch-based workspaces can access GitHub PR status, comments, and review thread resolution
- Pass the workspace branch name explicitly to `fetchGitHubPRStatus` so the correct branch is looked up even when the repo is checked out to a diffe... | diff --git a/apps/desktop/src/lib/trpc/routers/workspaces/procedures/git-status.test.ts b/apps/desktop/src/lib/trpc/routers/workspaces/procedures/git-status.test.ts
new file mode 100644
index 00000000000..851c398788c
--- /dev/null
+++ b/apps/desktop/src/lib/trpc/routers/workspaces/procedures/git-status.test.ts
@@ -0,0 ... | 4 | 4 | 3 | [{"id": "G0", "claim": "Branch-scoped GitHub status cache keys (`${worktreePath}::${branchName}`) are never evicted because `clearGitHubCachesForWorktree` still invalidates only the exact worktree key, so users keep seeing stale GitHub status after invalidation until the TTL expires.", "category": "correctness", "verdi... | null |
superset-sh__superset__3389 | superset-sh/superset | 3,389 | defect | ef67d8a52830b6e3107ea17cf88ba9c67f64323f | e95208b92466fa4f1b67ab586e7da20713de2214 | fix(desktop): v1 terminal — emit legacy marker + gate reattach on streamReady | Two independent v1 terminal bugs surfaced together. Both are v1-only — v2 uses in-process host-service with different lifecycle semantics.
## 1. Shell-ready marker split across main/daemon process boundary
Prod users on v1 report a ~15s stall after a new terminal spawns. Root cause is not a scanner bug but a process ... | diff --git a/apps/desktop/src/main/lib/agent-setup/shell-wrappers.test.ts b/apps/desktop/src/main/lib/agent-setup/shell-wrappers.test.ts
index b6164ea1069..88cd78a3951 100644
--- a/apps/desktop/src/main/lib/agent-setup/shell-wrappers.test.ts
+++ b/apps/desktop/src/main/lib/agent-setup/shell-wrappers.test.ts
@@ -839,6 +... | 2 | 1 | 1 | [{"id": "G0", "claim": "The PR removed the only session-level coverage of the 777 pass-through path and left the new combined 777+133;A marker sequence untested end-to-end, so a session-level test for the dual-marker scenario should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "... | null |
superset-sh__superset__3415 | superset-sh/superset | 3,415 | defect | 102633c849a51b3711e1ba33ba7a4049e7bdb3db | 9b21b49a0bc35484e7f38f2a01988cf840d9391e | fix(desktop): match VS Code terminal clipboard handling (originally by @AytuncYildizli) | Reported and fixed from: https://github.com/superset-sh/superset/pull/3407
## Summary
- forward the v1 terminal clipboard chords the same way VS Code does so xterm's kitty keyboard handling does not swallow host copy and paste
- add macOS terminal select-all (`Cmd+A`) to match VS Code's terminal action behavior
-... | diff --git a/apps/desktop/src/renderer/screens/main/components/WorkspaceView/ContentView/TabsContent/Terminal/clipboardShortcuts.test.ts b/apps/desktop/src/renderer/screens/main/components/WorkspaceView/ContentView/TabsContent/Terminal/clipboardShortcuts.test.ts
new file mode 100644
index 00000000000..b1e49cf2464
--- /... | 2 | 2 | 2 | [{"id": "G0", "claim": "The Linux-style fallback in shouldBubbleClipboardShortcut is not guarded by !isMac, so on macOS non-Cmd chords such as Ctrl+Shift+V, Shift+Insert, or Ctrl+Shift+C with a selection fall through to it and are bubbled to the host instead of reaching the PTY; wrap the fallback in if (!isMac) and add... | null |
superset-sh__superset__3416 | superset-sh/superset | 3,416 | defect | 102633c849a51b3711e1ba33ba7a4049e7bdb3db | a4f9dba89e2975bcb124fdff737eff68a38e09c6 | [codex] fix v1 split pane startup sizing | ## Summary
Fixes a v1 terminal race where opening a split pane and launching an initial command at the same time could start the terminal session at fallback dimensions, causing TUIs to initialize with the wrong size.
## Root Cause
The helper-side launch path could create or attach the daemon session before the newly-... | diff --git a/apps/desktop/src/renderer/lib/terminal/launch-command.ts b/apps/desktop/src/renderer/lib/terminal/launch-command.ts
index 1ca2fbf08c5..5fdc19fce24 100644
--- a/apps/desktop/src/renderer/lib/terminal/launch-command.ts
+++ b/apps/desktop/src/renderer/lib/terminal/launch-command.ts
@@ -1,3 +1,5 @@
+import { w... | 4 | 3 | 2 | [{"id": "G0", "claim": "waitForStreamReady has no timeout and the attach-canceled early-return in useTerminalLifecycle does not call failStreamReady, so in a pathological cancel-loop the waiter could be left unresolved indefinitely and the command would silently never run.", "category": "correctness", "verdict": "uncer... | null |
superset-sh__superset__3420 | superset-sh/superset | 3,420 | defect | 039edf21a74b624289515c7b50733e7bae642410 | 17d466688921be72c26bfc930393850670b21d58 | feat(desktop): v2 diff viewer opens in its own tab + collapsed tab/pane title resolution | ## Summary
- **Diff viewer opens in its own tab.** Clicking a file in the Changes sidebar no longer hijacks the focused editor. `openDiffPane` scans all tabs for an existing diff pane (focuses + scrolls to the clicked file) and otherwise falls through to `addTab` directly. Manual splits still work; re-clicking from th... | diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/pending/$pendingId/buildSetupPaneLayout.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/pending/$pendingId/buildSetupPaneLayout.ts
index 6a8abfb8746..8221d5ff994 100644
--- a/apps/desktop/src/renderer/routes/_authenticated/_dashboar... | 4 | 2 | 1 | [{"id": "G0", "claim": "browser.getTitle returning undefined for an about:blank pane (after addBrowserTab's titleOverride: \"Browser\" was removed) makes a fresh browser pane's header fall back to its raw pane UUID, so getTitle should return \"Browser\" as a fallback.", "category": "correctness", "verdict": "supported"... | null |
superset-sh__superset__3422 | superset-sh/superset | 3,422 | defect | 039edf21a74b624289515c7b50733e7bae642410 | 27667c0d7621e7d0cbd1641a59b3c56f65c6a068 | feat(desktop/hotkeys): unbound defaults + restore prev/next tab & workspace | ## Summary
- Widens `PlatformKey` and `HotkeyDefinition.key` to `string | null` so registry entries can declare an **unbound default** per platform. All downstream consumers were already null-safe from #3391, so this is a surgical schema change.
- Re-introduces `PREV_TAB`, `NEXT_TAB`, `PREV_WORKSPACE`, `NEXT_WORKSPACE... | diff --git a/apps/desktop/src/renderer/hotkeys/hooks/useRecordHotkeys/useRecordHotkeys.ts b/apps/desktop/src/renderer/hotkeys/hooks/useRecordHotkeys/useRecordHotkeys.ts
index 8b52d9e552d..1ebda67fc62 100644
--- a/apps/desktop/src/renderer/hotkeys/hooks/useRecordHotkeys/useRecordHotkeys.ts
+++ b/apps/desktop/src/rendere... | 5 | 1 | 0 | [{"id": "G0", "claim": "The sidebar PREV_WORKSPACE handler should guard against findIndex returning -1 (mirroring the explicit -1 handling in NEXT_WORKSPACE) instead of unexpectedly wrapping to the last workspace when the current workspace is not in the filtered sidebar list.", "category": "correctness", "verdict": "su... | null |
superset-sh__superset__3547 | superset-sh/superset | 3,547 | defect | 1979f4cae1592341a21caefde9611eff6b613498 | c3e5012d90984efa3130d2e5cefd332512549508 | fix(desktop): stop excessive lsof spawning from port scanner (#3372) | Closes #3372. Supersedes #3373.
## Summary
`PortManager` was spawning `lsof` every 2.5s forever and leaving orphaned children behind on timeout / app-quit. Three compounding root causes, fixed together:
1. **Lifecycle** — the 2.5s `setInterval` started at module load and was never stopped. Closing all workspaces kep... | diff --git a/apps/desktop/plans/20260417-1830-lsof-excessive-spawning-3372.md b/apps/desktop/plans/20260417-1830-lsof-excessive-spawning-3372.md
new file mode 100644
index 00000000000..0897feadca0
--- /dev/null
+++ b/apps/desktop/plans/20260417-1830-lsof-excessive-spawning-3372.md
@@ -0,0 +1,210 @@
+# Stop Excessive `l... | 7 | 5 | 1 | [{"id": "G0", "claim": "Escape the unescaped `||` inside the C1 row of the plan document, because markdownlint MD056 parses it as extra column separators and the broken markdown table may drop the pros/cons/pick columns in downstream renderers.", "category": "documentation", "verdict": "supported", "priority": "P2", "s... | null |
superset-sh__superset__3549 | superset-sh/superset | 3,549 | defect | 867ef8746f9610771b34cdc956bf3c08990265e6 | 9d8f6d776ac3ca1ecb93b3a40b56f1b039e29595 | fix(desktop): guard installUpdate against repeat clicks on macOS | ## Summary
- Repeat clicks on the Update button on macOS closed the app but left it on the old version.
- Root cause: `MacUpdater.quitAndInstall()` registers a fresh `update-downloaded` listener on the native autoUpdater every call while Squirrel.Mac is still staging. Each extra click stacked another listener; when Squ... | diff --git a/apps/desktop/src/main/lib/auto-updater.test.ts b/apps/desktop/src/main/lib/auto-updater.test.ts
new file mode 100644
index 00000000000..d0145b5b065
--- /dev/null
+++ b/apps/desktop/src/main/lib/auto-updater.test.ts
@@ -0,0 +1,86 @@
+import { beforeEach, describe, expect, mock, test } from "bun:test";
+impo... | 4 | 2 | 1 | [{"id": "G0", "claim": "The new tests silently depend on the host runtime platform because shared/constants (IS_AUTO_UPDATE_PLATFORM / PLATFORM) is not mocked, so on a Windows CI runner setupAutoUpdater() registers no handlers and tests 2 and 3 fail; the suite should mock the platform dependency.", "category": "testing... | null |
superset-sh__superset__3580 | superset-sh/superset | 3,580 | defect | 1f2c093558a860d31d2bc2fcb132c6ad000483c2 | b0f8577a9e00145637278cccf137b754f8012201 | fix(desktop): unblock AI branch/workspace naming for OAuth-only users + dev placeholders | ## Summary
`getSmallModel` (used by branch-name and workspace-rename AI flows) only resolved Anthropic credentials from the `apikey:anthropic` slot of mastracode's `auth.json`. Two failure modes:
1. **OAuth-only users** (the default Claude Code login) had no api-key entry, so `getSmallModel` returned `null` silently.... | diff --git a/apps/desktop/src/lib/trpc/routers/workspaces/utils/ai-branch-name.ts b/apps/desktop/src/lib/trpc/routers/workspaces/utils/ai-branch-name.ts
index 7ad12334bab..7ad2411afb0 100644
--- a/apps/desktop/src/lib/trpc/routers/workspaces/utils/ai-branch-name.ts
+++ b/apps/desktop/src/lib/trpc/routers/workspaces/uti... | 8 | 4 | 3 | [{"id": "G0", "claim": "The temp file written to tmpdir() is renamed to the auth.json path on a possibly different filesystem, so renameSync can throw EXDEV on Linux and leave refreshed tokens unpersisted; write the temp file next to auth.json and ensure the target directory exists.", "category": "correctness", "verdic... | null |
superset-sh__superset__3605 | superset-sh/superset | 3,605 | defect | 6e204ba49a5c7e91f24478c5fce0c61b4dbfa706 | 664d015f2a788183b81f0e4f4f4c3a86af2636fd | feat(desktop): infer project name from folder on import | ## Summary
- v2's folder-first import previously opened a modal asking the user to name a new project whenever the picked folder had no matching cloud project. v1 never did this — it just used the folder basename.
- Now: when \`project.findByPath\` returns 0 candidates, we infer the name from \`basename(repoPath)\` and... | diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/AddRepositoryModals/AddRepositoryModals.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/AddRepositoryModals/AddRepositoryModals.tsx
index 2566e26e70d..242de8259e4 100644
--- a/apps/desktop/src/renderer/routes/... | 4 | 1 | 0 | [{"id": "G0", "claim": "The outer .catch on the folder-import trigger effect in AddRepositoryModals.tsx is dead code because start() never rejects, so remove it or document it as a safety net.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Whe... | null |
superset-sh__superset__3625 | superset-sh/superset | 3,625 | defect | f175be48286d1e8ad4e202e493e43ae6d4884e8e | 2048a1c501a53e67609c490966da167a5c974009 | fix(host-service): stop misattributing cross-fork PRs to local workspaces | ## Summary
Two workspace → PR match sites keyed on branch name alone, so any cross-fork PR whose `headRefName` collided with a local branch got attached. Example in the wild: PR #3261 (`quueli/superset-windows:main` → `superset-sh/superset:main`) showing up on every local `main` workspace.
Fixes:
- **`apps/desktop/.... | diff --git a/apps/desktop/src/lib/trpc/routers/workspaces/utils/github/pr-resolution.ts b/apps/desktop/src/lib/trpc/routers/workspaces/utils/github/pr-resolution.ts
index 90f09953237..117856779e5 100644
--- a/apps/desktop/src/lib/trpc/routers/workspaces/utils/github/pr-resolution.ts
+++ b/apps/desktop/src/lib/trpc/rout... | 7 | 2 | 2 | [{"id": "G0", "claim": "Because start() fires syncWorkspaceBranches() and refreshEligibleProjects(true) concurrently, a refresh that runs before the first sync sees null upstream keys on migrated workspaces and unconditionally writes pullRequestId = null for every workspace, so PR badges briefly disappear on every host... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.