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
aaif-goose__goose__7806
aaif-goose/goose
7,806
defect
58f3cc9e30ef509e6a3ea7eb86ab368397a892bb
bcdf56a218e4c15e91a64ae1e42b33fb5fbf98cf
fix(acp): register MCP extensions when resuming a session
When resuming a session via ACP, register passed in MCP extensions like when a session is started. Previously Goose ignored the extensions argument for resume session
diff --git a/crates/goose-acp/src/server.rs b/crates/goose-acp/src/server.rs index 94efd2a26490..82a28c04e787 100644 --- a/crates/goose-acp/src/server.rs +++ b/crates/goose-acp/src/server.rs @@ -774,6 +774,9 @@ impl GooseAcpAgent { sacp::Error::internal_error().data(format!("Failed to set provider: {}"...
3
1
1
[{"id": "G0", "claim": "load_extensions_from_session runs before the session working_dir is updated, so when a client resumes a session from a different directory the restored MCP servers launch with the stale persisted cwd and can break relative-path behavior.", "category": "correctness", "verdict": "supported", "prio...
null
aaif-goose__goose__7843
aaif-goose/goose
7,843
defect
f16fe88f2deed9ea9beffad0cf9b13c889f2a640
a31fec4fc588f95c16448444cf672c951e32a67f
More acp tools
## Summary Continuation of #7668 with changes from (un-merged) #7388 and feedback from @rabi. This PR: - adds a shell tool over ACP terminal methods - emits ToolCallUpdates from within the ACP tools themselves for a richer client experience - adds a metadata field to tool call results that indicates it came fr...
diff --git a/crates/goose-acp/src/fs.rs b/crates/goose-acp/src/fs.rs index aff7173bf255..c2b0a5a57c19 100644 --- a/crates/goose-acp/src/fs.rs +++ b/crates/goose-acp/src/fs.rs @@ -1,12 +1,19 @@ +use crate::tools::AcpAwareToolMeta; use async_trait::async_trait; use fs_err as fs; use goose::agents::mcp_client::{Error a...
5
2
2
[{"id": "G0", "claim": "The ACP shell path always returns CallToolResult::success regardless of output_res.exit_status, so a failing command (e.g. exit 1 or a test failure) is reported as a successful tool invocation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
aaif-goose__goose__7854
aaif-goose/goose
7,854
defect
c947620843d22b3dcda235c50614afc6fa920415
9b6b359c246fbb7f3c520aa98b4ae5dec20ba805
feat: persist GooseMode per-session via session DB
## Summary GooseMode is read from global config everywhere: agents, providers, system prompts, `get_tools`. Switching mode in the UI writes config but nothing persists it to the session, so reloading a session loses the mode. Providers bake permission flags at spawn time and never update. The mode selector looks dynam...
diff --git a/crates/goose-acp/src/server.rs b/crates/goose-acp/src/server.rs index ef8413aa80b8..adbc172b9263 100644 --- a/crates/goose-acp/src/server.rs +++ b/crates/goose-acp/src/server.rs @@ -786,6 +786,7 @@ impl GooseAcpAgent { args.cwd.clone(), "ACP Session".to_string(), ...
8
7
7
[{"id": "G0", "claim": "update_goose_mode writes current_goose_mode before calling provider.update_mode, so a provider rejection leaves the agent in an inconsistent state (in-memory mode changed, provider/session DB still on the old mode).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ...
null
aaif-goose__goose__7915
aaif-goose/goose
7,915
defect
a23e2cfcb2c63b05393657afee156f6a72b562ba
35211f16ef7b533a5c0b56ff0764447f197dc59a
fix: prevent session hang when tool approval required in headless mode
## Summary - Fix infinite hang in non-interactive/headless CLI sessions when a tool requires approval (e.g., activating an MCP server in `SmartApprove`/`Approve` mode) - Guard `cliclack::select()` interactive prompts behind the existing `interactive` flag in `process_agent_response` - Auto-allow tool calls with `Permi...
diff --git a/crates/goose-cli/src/session/mod.rs b/crates/goose-cli/src/session/mod.rs index a369b958cecb..df55a903a975 100644 --- a/crates/goose-cli/src/session/mod.rs +++ b/crates/goose-cli/src/session/mod.rs @@ -920,44 +920,54 @@ impl CliSession { } }); ...
3
3
3
[{"id": "G0", "claim": "Launching an interactive session with an initial prompt can silently bypass approve/smart_approve confirmation, because interactive() seeds its prompt via process_message() which always calls process_agent_response(false, ...), so the initial prompt's tool calls execute with AllowOnce instead of...
null
aaif-goose__goose__7923
aaif-goose/goose
7,923
defect
291bbd8330855a4a0e21ccdaac3ad8176897f028
5ebeae1f4033950e377fe9ac4b16659ca1b2d211
test(acp): add terminal delegation fixtures and fix shell singleton
## Summary ACP terminal delegation had no test coverage. `TerminalFixture` and capability wiring follow the same pattern as the existing FS fixtures. This also fixes a test flake in the shell codebase: `user_login_path()` cached the resolved PATH in a function-scoped `OnceLock`, leaking state across concurrent tests....
diff --git a/crates/goose-acp/tests/common_tests/mod.rs b/crates/goose-acp/tests/common_tests/mod.rs index 2e52e1a2de18..6fe3c441b074 100644 --- a/crates/goose-acp/tests/common_tests/mod.rs +++ b/crates/goose-acp/tests/common_tests/mod.rs @@ -6,7 +6,7 @@ pub mod fixtures; use fixtures::{ Connection, FsFixture, O...
1
1
1
[{"id": "G0", "claim": "Initializing login_path in ShellTool::new makes the interactive login-shell probe, which has no timeout, run during extension construction instead of when a shell command actually runs, so startup can hang or be significantly delayed even when no shell command is ever executed.", "category": "co...
null
aaif-goose__goose__7938
aaif-goose/goose
7,938
defect
b3510bad25ac959947b37b668a68703e79273ded
b78ad36a035a2d49809e6d3d5a0193c2b7d59b2d
Optimize tool summarization
## Summary Resurrect tool call/reponse compacting based on @michaelneale previous attempt. this adds a fix batch size to be easier on th KV cache
diff --git a/crates/goose/src/agents/agent.rs b/crates/goose/src/agents/agent.rs index 9cd398b770ad..efceaf41d88b 100644 --- a/crates/goose/src/agents/agent.rs +++ b/crates/goose/src/agents/agent.rs @@ -359,15 +359,29 @@ impl Agent { self.tool_inspection_manager.apply_tool_annotations(&tools); } ...
4
3
3
[{"id": "G0", "claim": "When `summaries` has more than one entry, the loop resets `conversation` from `updated_messages.clone()` on each iteration but `updated_messages` never includes previously appended summary messages, so only the last summary survives in the in-memory conversation and the model loses context for e...
null
aaif-goose__goose__7948
aaif-goose/goose
7,948
defect
a79cf7e1ef0c600a6bf8ca49c3928d846e3a9160
ac59b960b2120db8859b18de1eb4d89a702cc928
feat: adversarial agent for preventing leaking of info and more
This adds an implementation of https://github.com/michaelneale/adversarial-policy-agent specific to goose so you can have ~/.config/goose/adversary.md - which can simply state a policy in plain language. It will filter out certain tool calls when needed, and check them with an "adversarial agent" for example: ...
diff --git a/crates/goose/src/agents/agent.rs b/crates/goose/src/agents/agent.rs index 9cd398b770ad..67cb59b26a33 100644 --- a/crates/goose/src/agents/agent.rs +++ b/crates/goose/src/agents/agent.rs @@ -44,6 +44,7 @@ use crate::providers::base::{PermissionRouting, Provider}; use crate::providers::errors::ProviderError...
4
1
1
[{"id": "G0", "claim": "Calling provider.complete with the agent's session_id makes the adversary prompt part of the same provider conversation state as the user task, so for stateful providers like ClaudeCodeProvider each adversary review is appended to the live chat history and later model outputs are influenced by t...
null
aaif-goose__goose__8037
aaif-goose/goose
8,037
defect
b7615938bce5ac7a671681ddc89a024048dd6e68
ad16ab9720981eaa0144242a0d4d6cade2a45a6a
feat: add optional native-tls support as alternative to rustls
## Summary Add a `native-tls` Cargo feature across all crates as an alternative to the default `rustls` TLS backend. This enables building goose against the platform's native TLS stack (OpenSSL on Linux, Secure Transport on macOS, SChannel on Windows), which is required for Fedora/RHEL packaging where vendoring rust...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cdac07e9771..0cdcd647b9c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,9 +97,6 @@ jobs: export CARGO_INCREMENTAL=0 cargo clippy --workspace --all-targets --exclude v8 -- -D warnings - - na...
8
6
4
[{"id": "G0", "claim": "goose-acp's TLS feature aliases only forward the selection to goose and not to goose-mcp, so a standalone goose-acp-server build compiles its builtin extensions without any reqwest TLS backend and default ACP builds lose HTTPS support for builtins/MCP flows.", "category": "correctness", "verdict...
null
aaif-goose__goose__8119
aaif-goose/goose
8,119
defect
3a9805e255fbb6254e788b6dabdba47ef51fddd9
51c764a4044814e431b539001c8235666d48c989
feat: gate telemetry behind Cargo feature flags
## Summary Introduce two new Cargo feature flags — telemetry and otel — so that PostHog analytics and OpenTelemetry tracing can be excluded at compile time. Both flags are enabled by default, preserving the current behavior for all existing builds. - telemetry gates the posthog module and every call sit...
diff --git a/crates/goose-cli/Cargo.toml b/crates/goose-cli/Cargo.toml index edad607af0b8..518b10b6ce24 100644 --- a/crates/goose-cli/Cargo.toml +++ b/crates/goose-cli/Cargo.toml @@ -68,11 +68,13 @@ sigstore-verify = { version = "0.6", default-features = false, features = ["rust winapi = { workspace = true } [featu...
1
1
1
[{"id": "G0", "claim": "In builds without the `telemetry` feature (e.g. `--no-default-features --features code-mode`), the `\"telemetry\"` match arm in `configure_settings_dialog` compiles to an empty block, so selecting Telemetry in `goose configure` would perform no action but still fall through as if settings were h...
null
aaif-goose__goose__8129
aaif-goose/goose
8,129
defect
8615853a89f953481c6281a24b904afda9ae0f64
9103051ec9406cca2bd545a24f53aea7cccdf6ad
feat: Gemini OAuth provider
This is, similar to chatgpt, using gemini oauth PKCE to login to get access to api. This should replace gemini cli and gemini acp providers --- ### What Adds a new `gemini_oauth` provider that lets users sign in with their Google account to use Gemini models — no API key needed. ### How it works 1. ...
diff --git a/bin/.node-24.10.0.pkg b/bin/.node-24.14.1.pkg similarity index 100% rename from bin/.node-24.10.0.pkg rename to bin/.node-24.14.1.pkg diff --git a/bin/corepack b/bin/corepack index bce925ef13a2..ac79bbff28a8 120000 --- a/bin/corepack +++ b/bin/corepack @@ -1 +1 @@ -.node-24.10.0.pkg \ No newline at end of ...
4
4
2
[{"id": "G0", "claim": "The Node version bump should be done in a separate PR, since the version needs to be changed in other places such as Windows.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Code Assist HTTP calls create a fresh reqwest::Client...
null
aaif-goose__goose__8242
aaif-goose/goose
8,242
defect
277b61c41075fe43e9309787b9b71963b262653b
12be61518563a47379add45f9bb2f1760b3c4e21
fix: clean up MCP subprocesses after abrupt parent exit
## Summary - set a Linux parent-death signal in the shared subprocess helper used by MCP stdio children - keep subprocesses isolated from terminal Ctrl+C while ensuring abrupt goose exits no longer leave MCP children running - add an integration test that simulates an abrupt parent exit and asserts the child process is...
diff --git a/Cargo.lock b/Cargo.lock index 1f12205c4c66..20c5dd2919de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4369,6 +4369,7 @@ dependencies = [ "jsonwebtoken", "keyring", "lazy_static", + "libc", "llama-cpp-2", "lru", "minijinja", @@ -5746,9 +5747,9 @@ checksum = "7a79a3332a6609480d7d0c9eab957bca6b455...
2
1
0
[{"id": "G0", "claim": "The parent-PID mismatch path in the Linux pre_exec closure returns std::io::Error::other(...), which can allocate and is not async-signal-safe after fork(); it should stick to signal-safe operations such as errno-based io::Error::from_raw_os_error.", "category": "correctness", "verdict": "suppor...
null
aaif-goose__goose__8408
aaif-goose/goose
8,408
defect
ca806fa1285d993780257aab0fcd2dc014cf6ece
e2fef28709e3579a6b916a0a71fbdc4c1f948f87
fix(claude-acp): surface tool calls and results to the session bus
## Summary Goose's `claude-acp` provider receives ACP `tool_call` and `tool_call_update` notifications from `claude-agent-acp` correctly, but `crates/goose/src/acp/provider.rs` captures only `tool_call_id` and discards every other field (`title`, `raw_input`, `raw_output`, `content`, `status`). The auto-mode consume...
diff --git a/crates/goose/src/acp/provider.rs b/crates/goose/src/acp/provider.rs index 575fe631a4f7..18436acd8961 100644 --- a/crates/goose/src/acp/provider.rs +++ b/crates/goose/src/acp/provider.rs @@ -2,7 +2,9 @@ use agent_client_protocol_schema::AGENT_METHOD_NAMES; use anyhow::{Context, Result}; use async_stream::...
7
7
6
[{"id": "G0", "claim": "Emitting ACP tool responses as assistant-role messages means the conversation normalizer strips them, so Claude ACP tool completions can be dropped from fixed history and leave empty assistant shells; the provider should use the user-role convention other providers use.", "category": "correctnes...
null
aaif-goose__goose__8442
aaif-goose/goose
8,442
defect
e8cbfc55dad7550638b887be71819ebb04ad9f2c
6486c21184ba12f1eac9ebc5655ae7b3f5492036
Add vision/image support for local inference models
## Summary Enable image input for vision-capable local models (gemma-4) via llama.cpp's multimodal (mtmd) subsystem. Previously, attaching an image to a local inference chat caused an FFI crash. ## What this does - **Crash fix**: Strip `image_url` content parts before template application so non-vision models ...
diff --git a/crates/goose-cli/src/cli.rs b/crates/goose-cli/src/cli.rs index d43a3425f647..c0ac19521356 100644 --- a/crates/goose-cli/src/cli.rs +++ b/crates/goose-cli/src/cli.rs @@ -1604,6 +1604,9 @@ async fn handle_local_models_command(command: LocalModelsCommand) -> Result<()> source_url: file.downl...
9
8
7
[{"id": "G0", "claim": "Storing vision projector files at models/<filename> with no model/repo namespace lets different models sharing a common filename collide on disk, so one model can overwrite or skip another's projector and backfill can start two downloads targeting the same file path; persist mmproj files under a...
null
aaif-goose__goose__8623
aaif-goose/goose
8,623
defect
b7aea3dc912652558f2af344477ee9f786d88ab2
1b3d51e5e0247ae6e27a8e04a875e0c8839ab6f0
[goose2] MCP Apps: translate ACP host capabilities into MCP initialization
**Category:** improvement **User Impact:** Goose 2 now tells downstream MCP servers which host is rendering MCP Apps UI, and advertises MCP Apps support from explicit host declarations instead of a coarse desktop-platform guess. **Problem:** Goose runtime is the MCP client of record, but MCP Apps rendering is a hos...
diff --git a/crates/goose-acp/src/server.rs b/crates/goose-acp/src/server.rs index eeeae74df0de..aa9125f0db04 100644 --- a/crates/goose-acp/src/server.rs +++ b/crates/goose-acp/src/server.rs @@ -6,7 +6,7 @@ use fs_err as fs; use futures::future::BoxFuture; use goose::acp::{PermissionDecision, ACP_CURRENT_MODEL}; use...
2
2
2
[{"id": "G0", "claim": "The new ACP-to-MCP capability translation is not applied on the StreamableHttp client path, which still constructs GooseMcpClientCapabilities manually with only mcpui, dropping per-connection host_info so HTTP/UDS MCP servers never receive the host-declared clientInfo/capabilities.extensions.", ...
null
aaif-goose__goose__8627
aaif-goose/goose
8,627
defect
bd14186214724d7689274bac81f8bbb03fba3c7c
3945362b11b7191890e92803ead26ce61964cb44
perf: gate perf logs and dedup build_config_update on first message
Two small wins for first-message latency, discovered while tracing the full lifecycle from "new tab" → first token. ## 1. Gate perf logs so they're off by default Previously, `[perf:...]` logs fired unconditionally on every session, both in the Rust backend (`info!`) and the goose2 frontend (`console.log`). Useful fo...
diff --git a/crates/goose-acp/acp-meta.json b/crates/goose-acp/acp-meta.json index 7743ab6b3382..944d227b663f 100644 --- a/crates/goose-acp/acp-meta.json +++ b/crates/goose-acp/acp-meta.json @@ -40,11 +40,6 @@ "requestType": "GetSessionExtensionsRequest", "responseType": "GetSessionExtensionsResponse" ...
3
1
0
[{"id": "G0", "claim": "The perf-target log sites in crates/goose-acp/src/server.rs still use info!, so any runtime configured with RUST_LOG=info will emit high-volume perf traces from hot paths; the perf-target instrumentation should be demoted to debug! so perf tracing stays opt-in via RUST_LOG=perf=debug.", "categor...
null
aaif-goose__goose__8636
aaif-goose/goose
8,636
defect
b7aea3dc912652558f2af344477ee9f786d88ab2
ee17f2490514f136372619d0adb5ad9e7463d8c6
fix: add strict:false to Responses API tools and gpt-5.4 to known models
**Category:** fix **User Impact:** Users can now use OpenAI's gpt-5.4 model with goose for tool-calling workflows that previously failed silently or returned API errors. **Problem:** GPT-5.4 requires the Responses API (`/v1/responses`), which defaults `strict: true` for function tool definitions. MCP tool schemas are ...
diff --git a/crates/goose/src/providers/databricks.rs b/crates/goose/src/providers/databricks.rs index dcbe3d112f75..d882f95f209a 100644 --- a/crates/goose/src/providers/databricks.rs +++ b/crates/goose/src/providers/databricks.rs @@ -271,6 +271,9 @@ impl DatabricksProvider { fn is_responses_model(model_name: &str...
3
1
1
[{"id": "G0", "claim": "OPEN_AI_KNOWN_MODELS assigns gpt-5.4/gpt-5.4-pro 400_000 and gpt-5.4-nano 128_000, but they should be 1_050_000 and 400_000, and because these values propagate into ModelConfig, Goose compacts/truncates conversation history far earlier than necessary for these models.", "category": "correctness"...
null
aaif-goose__goose__8710
aaif-goose/goose
8,710
defect
8eda6fdabc108b82700860e5099693687f8c0734
d3fedc382d764f9e3350dea233f08c80a2d5819f
consolidate provider ACP methods onto inventory
**Category:** improvement **User Impact:** Users now get provider setup and selection data from a single ACP inventory endpoint instead of separate provider list and details methods. **Problem:** Goose exposed separate ACP methods for provider list, provider details, and provider inventory even though clients in this r...
diff --git a/crates/goose-acp/acp-meta.json b/crates/goose-acp/acp-meta.json index 413707f6a638..9e42b63159a5 100644 --- a/crates/goose-acp/acp-meta.json +++ b/crates/goose-acp/acp-meta.json @@ -40,16 +40,6 @@ "requestType": "GetSessionExtensionsRequest", "responseType": "GetSessionExtensionsResponse" ...
3
2
1
[{"id": "G0", "claim": "Keep the existing \"providers/list\" naming for the consolidated provider endpoint instead of renaming it to \"inventory\", since providers is a set we only keep adding to rather than an inventory that shrinks and grows.", "category": "design", "verdict": "supported", "priority": "P2", "scope": ...
null
aaif-goose__goose__8726
aaif-goose/goose
8,726
defect
953fe961bc95a7e1f795910c99033566a05f9a6b
a01af5d72f350938c2c3671d7f184d1b44e2b420
merge goose-acp crate into goose
ACP is the future of goose "core", so there isn't really any reason to separate it.
diff --git a/Cargo.lock b/Cargo.lock index c799a881e94b..328768afa82d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4358,9 +4358,12 @@ dependencies = [ "fs-err", "fs2", "futures", + "goose-acp-macros", + "goose-mcp", "goose-sdk", "goose-test-support", "http 1.4.0", + "http-body-util", "ignore", "include_...
1
1
1
[{"id": "G0", "claim": "Removing crates/goose-acp breaks the ACP schema/type generation pipeline because Justfile and ui/sdk/generate-schema.ts still reference crates/goose-acp/... and CI's `just check-acp-schema` gate will fail until those paths are migrated to crates/goose/....", "category": "correctness", "verdict":...
null
aaif-goose__goose__8769
aaif-goose/goose
8,769
defect
4928ce55e22c519116ad94ab05cf4bbedc3926e9
cbeabc220a5b969a6e2edf8319e07c343517925b
feat: migrate session metadata storage from frontend overlay to backend
## Summary - Exposes remaining Thread fields (`created_at`, `archived_at`, `user_set_name`, `persona_id`, `model_id`) in the `_meta` object returned by the backend session list endpoint, and adds a `_goose/session/rename` RPC endpoint - Removes the frontend `sessionMetadataOverlay` module that was duplicating session m...
diff --git a/crates/goose-sdk/src/custom_requests.rs b/crates/goose-sdk/src/custom_requests.rs index ec68de957b10..1e29cd9775c9 100644 --- a/crates/goose-sdk/src/custom_requests.rs +++ b/crates/goose-sdk/src/custom_requests.rs @@ -222,6 +222,15 @@ pub struct UpdateSessionProjectRequest { pub project_id: Option<Str...
8
2
2
[{"id": "G0", "claim": "The reload path replaces the whole store with acpListSessions() results while the backend list endpoint still returns only unarchived threads, so archived sessions disappear after the next reload/startup and can no longer be surfaced for unarchive; fetch archived sessions as well (or merge them ...
null
aaif-goose__goose__8857
aaif-goose/goose
8,857
defect
8014adf982e842282e6eb727328aadca5b8cc0b7
a02a417871eb7334d180990abc44ed72253dec0b
Preserve thinking content for providers that require it
## Summary - Support `clear_thinking: false` in OpenAI-compatible providers - Fix possible duplicate reasoning content in streaming OpenAI-compatible code path - Add a declarative `preserves_thinking` flag for Anthropic-compatible providers - Add a built-in Z.AI declarative provider (Anthropic-compatible) that enab...
diff --git a/crates/goose/src/config/declarative_providers.rs b/crates/goose/src/config/declarative_providers.rs index b8a1dc58a550..d5eb7a0a47c8 100644 --- a/crates/goose/src/config/declarative_providers.rs +++ b/crates/goose/src/config/declarative_providers.rs @@ -82,12 +82,18 @@ pub struct DeclarativeProviderConfig ...
3
3
3
[{"id": "G0", "claim": "Applying every model_config.request_params key after building the payload lets callers clobber reserved fields such as stream, stream_options, model and messages, which in streaming mode produces a non-stream response that breaks stream_openai_compat decoding; the reviewer asks to filter/denylis...
null
aaif-goose__goose__9217
aaif-goose/goose
9,217
defect
e07ec375108d3e35f73edd9f8c467c5e6b291b81
5b359c27973a830376af8e5ea7396c28225b5af2
Dynamically refresh skill instructions each turn
## Summary Skills listed in the system prompt were computed once at session start and cached in `server_info`. Adding or modifying `SKILL.md` files mid-session had no effect on the system prompt until restart. ## Changes - **`McpClientTrait`**: Add `get_instructions()` with a default implementation that reads from `...
diff --git a/crates/goose/src/agents/extension_manager.rs b/crates/goose/src/agents/extension_manager.rs index ecbca90a3c83..ea1e76ba8f7f 100644 --- a/crates/goose/src/agents/extension_manager.rs +++ b/crates/goose/src/agents/extension_manager.rs @@ -106,9 +106,7 @@ impl Extension { } fn get_instructions(&s...
3
1
0
[{"id": "G0", "claim": "Delegating Extension::get_instructions() to client.get_instructions() makes the skills extension run discover_skills() (recursive std::fs walking) on every get_extensions_info() call, i.e. whenever the system prompt is rebuilt each turn, introducing blocking filesystem I/O in the hot path that c...
null
aap__librw__23
aap/librw
23
defect
b1c3c1dca8c5c2244ba7ecfacd50310f27a31b8e
a6b921c0c915e1c9486334776dbfebf54b369eff
Fixes for librw to enable building it using cmake
Hey, These fixes are needed to enable building librw using cmake. It silences warnings for users of this library that might have stronger checkers available. This pr only contains fixes to the c code.
diff --git a/premake5.lua b/premake5.lua old mode 100755 new mode 100644 diff --git a/src/base.cpp b/src/base.cpp old mode 100755 new mode 100644 index fce04ade..038dbeca --- a/src/base.cpp +++ b/src/base.cpp @@ -96,7 +96,7 @@ lerp(const Quat &q, const Quat &p, float32 r) q1.x + r*(p.x - q1.x), ...
3
1
0
[{"id": "G0", "claim": "JayFoxRox asks what motivates excluding PS2 from correctPathCase since PS2 may not be case sensitive, and notes the function is still called below behind its own conditional, which looks like bad design carried over from the original code.", "category": "design", "verdict": "uncertain", "priorit...
null
aarc-rs__aarc__2
aarc-rs/aarc
2
defect
f77bcd312789f50036ef617ff58cbc53177c9a28
a7d9c0381c6742f9b000d21a99bdc8923388be39
Review Clippy Warnings
In this pull request there is a review for all the pedantic clippy warnings in this project. Most of the warnings have been trivially fixed, except for: 1. Error documentation for the `compare_exchange` method of `AtomicArc` and `AtomicWeak`. 0ddb5cef295c02014dca36453d7975a34122ea63 2. The "complex type" of `Vec...
diff --git a/src/atomics.rs b/src/atomics.rs index b4dbe8c..a3e305f 100644 --- a/src/atomics.rs +++ b/src/atomics.rs @@ -75,9 +75,16 @@ impl<T: 'static> AtomicArc<T, StandardReclaimer> { } impl<T: 'static, R: Protect + Retire> AtomicArc<T, R> { - /// If `self` and `current` point to the same allocation, `new`'s ...
3
3
0
[{"id": "G0", "claim": "The line \"This method passes-through [`compare_exchange`] from the inner [`AtomicPtr`]\" should be dropped or reworded because it implies the method is a plain wrapper, while it actually contains machinery that ensures the safety of the loaded object.", "category": "documentation", "verdict": "...
null
aarondl__authboss__170
aarondl/authboss
170
defect
db3a3a10e372c548b9913b6915b1a9f99a8c8a77
2cc559f865f4ccc0add2a61f95882fa52407cb31
add dep vendorer & dummy fix test
Hello, I want to fix broken test and I added dep vendorer
diff --git a/.gitignore b/.gitignore index d786d896..2f0fab10 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,5 @@ _testmain.go .idea defaults/smtp_mailer_test.json + +vendor \ No newline at end of file diff --git a/Gopkg.lock b/Gopkg.lock new file mode 100644 index 00000000..fca883ec --- /dev/null +++ b/...
1
1
1
[{"id": "G0", "claim": "Take the `dep` pieces (Gopkg.toml, Gopkg.lock and the vendor entry in .gitignore) out of the pull request: the maintainer will not accept the addition of `dep`, preferring to wait for Go 1.11/vgo and add a `go.mod` when appropriate.", "category": "design", "verdict": "supported", "priority": "P1...
null
aarondl__authboss__355
aarondl/authboss
355
defect
ccfe4d1c3141143b5a3975fbb7860744ce320205
666c7e81d7fbea07b8063ad6d9f184d894e1a1f4
Feature/configurable hashing and encoding
Builds on #336: 1. Moving some code around to prevent breaking changes 2. Adding an Argon2id Hasher implementation
diff --git a/auth/auth.go b/auth/auth.go index a9c6eb6..e232eec 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -5,8 +5,6 @@ import ( "context" "net/http" - "golang.org/x/crypto/bcrypt" - "github.com/volatiletech/authboss/v3" ) @@ -77,7 +75,7 @@ func (a *Auth) LoginPost(w http.ResponseWriter, r *http.Request...
9
8
4
[{"id": "G0", "claim": "The TODO about the usable-only-without-custom-hasher caveat belongs on the top-level VerifyPassword function, and a new method hanging off Authboss should be introduced to replace it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ...
null
aarondl__authboss__83
aarondl/authboss
83
defect
45dedd0c2d946baf8585b5ef15b5ebf140944d2e
8ed6deac0845b19a3adec11fe7fbcf542102768c
Additional -Maker properties on Config for GAE support
I tried to keep everything about these new properties as consistent with CookieStoreMaker/SessionStoreMaker as I could. However, I may very well have structured this in such a way that the new -Maker functions won't always have been called by the time they're needed to have been called. I didn't do any testing or thoro...
diff --git a/auth/auth.go b/auth/auth.go index 109016fa..d7223ca2 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -12,6 +12,8 @@ import ( ) const ( + ModuleName = "auth" + methodGET = "GET" methodPOST = "POST" @@ -19,7 +21,7 @@ const ( ) func init() { - authboss.RegisterModule("auth", &Auth{}) + authboss...
4
4
2
[{"id": "G0", "claim": "The DisableGoroutines option is an anti-feature that makes apps strictly worse, and the library should come up with something better than this flag.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comment on DisableGoroutines s...
null
aarondl__sqlboiler__1143
aarondl/sqlboiler
1,143
defect
c758432e75c2b31120fc63e82df2b76d015202af
744d137cefad1f1c7832858123b3d33ddef8289e
Fetch column and table info in parallel
Hello. I have a large set of tables for sqlboiler(>50 and counting). It takes more than 1 minute to generate code for all tables. Most of the time is spent getting tables and columns info. After reviewing the sources, I realised that fetching this data can be done in parallel safely. This PR reduces time needs ...
diff --git a/drivers/interface.go b/drivers/interface.go index 2c62415df..9eabf19b5 100644 --- a/drivers/interface.go +++ b/drivers/interface.go @@ -4,6 +4,7 @@ package drivers import ( "sort" + "sync" "github.com/friendsofgo/errors" "github.com/volatiletech/sqlboiler/v4/importers" @@ -17,6 +18,7 @@ const ( ...
5
4
1
[{"id": "G0", "claim": "The concurrency parameter does not look actually configurable by users, because reading the user's configuration happens in main.go (which the PR does not change) and is passed down to the driver.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id":...
null
aarondl__sqlboiler__169
aarondl/sqlboiler
169
defect
c00ebe19110044f1c0ba0965bbca9555cf5f0e46
fb7a88bb0f1072db046daaa8c11f58f523fcc282
Fix area plural issue, add testcase
- Fix #168 Added specific case for the word `area` as discussed in #168
diff --git a/strmangle/inflect.go b/strmangle/inflect.go index 6238c399b..ab95456a6 100644 --- a/strmangle/inflect.go +++ b/strmangle/inflect.go @@ -94,6 +94,7 @@ func newBoilRuleset() *inflect.Ruleset { rs.AddSingular("s", "") rs.AddSingular("ss", "ss") rs.AddSingular("as", "as") + rs.AddSingularExact("areas", "...
1
1
0
[{"id": "G0", "claim": "The new rs.AddSingularExact(\"areas\", \"area\", true) call should be placed with the other AddSingularExact calls in newBoilRuleset instead of among the AddSingular calls.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
aarondl__sqlboiler__780
aarondl/sqlboiler
780
defect
50beb2f5634a449d07cdb2fe7ee2638f08b6be65
2806db0fa8077b4aedc59c8226ec2e961e5102a1
Add some aliases to fix conflicting struct field name and method name
Fix for #576 Add some aliases for foreignFn to fix conflicting struct field name and method name when using the same name as the foreign table to the column name or using column name has the suffix "_by". For examples: ```sql create table users ( id int primary key, name varchar(255) ); create table vide...
diff --git a/boilingcore/text_helpers.go b/boilingcore/text_helpers.go index 3a2cc7f1e..765320424 100644 --- a/boilingcore/text_helpers.go +++ b/boilingcore/text_helpers.go @@ -38,12 +38,23 @@ import ( // fk == table = industry.Industry | industry.Industry // fk != table = industry.ParentIndustry | industry.Industry ...
3
2
2
[{"id": "G0", "claim": "The special-case branch keyed on a `_by` column suffix should be removed: a `_by` suffix means nothing in particular, the conflict should be resolved by starting from bugzpodder's suggested code and then adding code to avoid the `UserUser` name.", "category": "design", "verdict": "supported", "p...
null
aarondl__sqlboiler__962
aarondl/sqlboiler
962
defect
1d5a5e7415be5af5ceeb9ee79f47cb57573251d4
70b737f51de89ef0e00fb3ad6441983a7ad5308f
Add configuration for timestamp and soft delete columns
## Use Case I am inheriting a codebase which has the timestamp columns as `createdAt` and `updatedAt`. I thought it would make sense to allow the timestamp columns to be configurable, while making this change, I thought it made sense to extend it to the `deleted_at` column for soft deletes.
diff --git a/README.md b/README.md index 8138e81ce..97a85e5b8 100644 --- a/README.md +++ b/README.md @@ -1005,6 +1005,16 @@ To disable this feature use `--no-auto-timestamps`. Note: You can set the timezone for this feature by calling `boil.SetLocation()` +#### Customizing the timestamp columns + +Set the `auto-co...
1
1
1
[{"id": "G0", "claim": "The template writes `(or $.AutoColumns.Deleted \"deleted_at\")` outside `{{ }}` delimiters, so the generated Go code contains raw `$.` text and sqlboiler fails with a template formatting error and illegal-character compile errors.", "category": "correctness", "verdict": "supported", "priority": ...
null
aaronshaf__react-toggle__70
aaronshaf/react-toggle
70
defect
4873125c023d67d716b185d69e676c545b162148
e269975b5c042c69ad0fdf759d4ff16791bdb5f6
Add ability to toggle icons
Adding this to help out per https://github.com/aaronshaf/react-toggle/issues/56 and #30
diff --git a/spec/component.spec.js b/spec/component.spec.js index 98bf9f9..e30df82 100644 --- a/spec/component.spec.js +++ b/spec/component.spec.js @@ -52,6 +52,19 @@ describe('Component', () => { expect(wrapper.find('input')).to.be.checked() }) + it('will hide icons if set false', () => { + wrappe...
8
7
2
[{"id": "G0", "claim": "The new test leaves a `console.log(wrapper.html())` debug statement in the code that should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An example of the new icons feature should be added to the documentati...
null
aau-network-security__haaukins__176
aau-network-security/haaukins
176
defect
696c8720c73984a80082c3eb9107ae57b225fec9
8cf1f5a5f1ab98d5e6da66c128e5070439c694ac
Websocket traffic monitoring
Adds logging of websocket traffic. Writes the following to per-team logging files: 1. Mouse clicks (left, right, middle) 2. Key presses ### File structure When an event finishes, it will be archived, which means that the configuration file is moved to its own directory. The file structure before finishing an even...
diff --git a/daemon/daemon.go b/daemon/daemon.go index 548af29db..4c48dee49 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -27,6 +27,7 @@ import ( "sync" + "github.com/aau-network-security/go-ntp/util" "github.com/rs/zerolog" "github.com/rs/zerolog/log" ) @@ -37,7 +38,7 @@ var ( MissingTokenErr ...
4
3
0
[{"id": "G0", "claim": "The log directory path should be configurable, otherwise the log storage will eventually fill the entire disk, as has been seen before.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The websocket copy loop should most likely use ...
null
aau-network-security__haaukins__248
aau-network-security/haaukins
248
defect
f95a8dcc0512fe51f6051496e827e4944a0d68c6
90b5c6af5bbe3ee1cf5999fceb7a6bf4afdf1305
White scree minor fix
@jbjjbjjbj has been edited the code and it can resolve the issue #246 .
diff --git a/app/client/cli/event.go b/app/client/cli/event.go index 5dea965e1..b7695abd4 100644 --- a/app/client/cli/event.go +++ b/app/client/cli/event.go @@ -2,7 +2,6 @@ // Use of this source code is governed by a GPLv3 // license that can be found in the LICENSE file. - package cli import ( @@ -69,7 +68,7 @...
8
6
1
[{"id": "G0", "claim": "The time-format constant should be named displayTimeFormat instead of dateTimeFormat, both where it is declared and at the CreationTime call site.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new code in RestartTeam...
null
aau-network-security__haaukins__402
aau-network-security/haaukins
402
defect
42edfb25891a17392099dbdfc929fbdd018d25a5
bb4431437db1ad9deeb7be8bdc3b2920da250e07
Hotfix/troubleshooting tmp err
- spaces trimmed for registration and login forms on amigo 91f3b73 - duplicate getevents deleted 52d8786 - check added here 795e83f - troubleshooting doc introduced with initial information bb44314
diff --git a/daemon/daemon.go b/daemon/daemon.go index fadeb4cff..025aeedd8 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -40,8 +40,8 @@ var ( InvalidArgumentsErr = errors.New("Invalid arguments provided") UnknownTeamErr = errors.New("Unable to find team by that id") GrpcOptsErr = errors.Ne...
2
1
0
[{"id": "G0", "claim": "strings.TrimSpace does not work as expected in local testing — the whitespace problem is still present, so another way to solve it should be found.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Spaces should also be removed fr...
null
aau-network-security__haaukins__403
aau-network-security/haaukins
403
defect
e355f20d5201db087210f909416f58e88a1a24bc
7bfebccfc6f049853b1dfc2d6e906d492d536858
more funcs to user management added
These changes are made for interacting and managing users who are using Haaukins to create and manage events. - Delete users - Change user password - List existing users Signed-off-by: Ahmet Turkmen <f.ahmet.turkmen@icloud.com>
diff --git a/client/cli/user.go b/client/cli/user.go index aa0530ab5..2db770ea6 100644 --- a/client/cli/user.go +++ b/client/cli/user.go @@ -16,10 +16,12 @@ import ( ) var ( - PasswordsNoMatchErr = errors.New("Passwords do not match, so cancelling signup :-(") + UnableCreateUListErr = errors.New("Failed to create u...
4
1
1
[{"id": "G0", "claim": "Add an error parameter to DestroyUserResponse so the webclient can tell whether the response is a success or an error.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add an error parameter to UpdatePasswdResponse as well so the webc...
null
aau-network-security__haaukins__703
aau-network-security/haaukins
703
defect
f95fde5cf7e4c3cf33bcf881d37d6074fd7b4807
7c4f79108aadf5c986262869dc3b51466d056e67
Hotfix/fix start event issue #701
Closes #701 - Checking available frontends before actually starting to spin up resources - Remove CreateEventFromDB function, add SaveToDB. - CreateEventFromDB function was not performing what it says.
diff --git a/daemon/daemon_test.go b/daemon/daemon_test.go index 2925f305..71e2972c 100644 --- a/daemon/daemon_test.go +++ b/daemon/daemon_test.go @@ -290,6 +290,7 @@ func (c *counter) Value() (val int32) { // RunScheduler runs multiple goroutines // in different time intervals func TestRunScheduler(t *testing.T) { ...
11
11
2
[{"id": "G0", "claim": "The ListFrontends gRPC call should return only the VMs configured in frontends.yml instead of every .ova file in the directory.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Starting a VM that is not configured in frontends.yml...
null
abaplint__abaplint__2204
abaplint/abaplint
2,204
defect
b184e3768a81271538f7f624055ad78208e819e6
05372cb6c2d287356de3ce8ad2b1083870789326
Add Version check to call_transaction_authority_check
part of #1812 Add minimum Version v740sp02 for the check, adjust good example
diff --git a/packages/core/src/rules/call_transaction_authority_check.ts b/packages/core/src/rules/call_transaction_authority_check.ts index 16f0613bec..775355bd73 100644 --- a/packages/core/src/rules/call_transaction_authority_check.ts +++ b/packages/core/src/rules/call_transaction_authority_check.ts @@ -5,12 +5,14 @@...
2
2
1
[{"id": "G0", "claim": "Add a unit test covering the Version.Cloud case, since the new version-check logic is tricky.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Adjust the version check so its intent is more obvious, in case the Version comparison l...
null
abaplint__abaplint__3844
abaplint/abaplint
3,844
defect
1068628c0a16acd6dc13895501f9864b0d1cb1e7
8905abeb89fff4bb8f1caba66657a317268c03a6
fix(cds): add recursive parenthesized arithmetic with n-level nesting
Introduce CDSArithParen as a mutual singleton with CDSArithmetics to enable unlimited nesting depth for parenthesized arithmetic expressions. Also fix decimal literals in CAST by ordering name before CDSInteger, and expose CDSArithParen in CDSElement for standalone grouped fields.
diff --git a/packages/core/src/cds/expressions/cds_arith_paren.ts b/packages/core/src/cds/expressions/cds_arith_paren.ts new file mode 100644 index 0000000000..92c0c78de9 --- /dev/null +++ b/packages/core/src/cds/expressions/cds_arith_paren.ts @@ -0,0 +1,23 @@ +import {CDSAggregate, CDSArithmetics, CDSCase, CDSCast, CD...
1
1
0
[{"id": "G0", "claim": "The grammar documentation in cds_arithmetics.ts — the line-19 grammar block, which omits the recursive case, and the line-31 inline comment, which states CDSArithParen matches altPrio(CDSArithmetics, val) while the implementation is altPrio(CDSArithmetics, CDSArithParen, val) — should be updated...
null
abaplint__abaplint__3849
abaplint/abaplint
3,849
defect
254a6788ec38b36869e766fb1241a0a3cc0ba582
83492975c2e1da9be7ba863bb233f8541c6bf6b1
fix(cds): fix exponential parse time caused by star() in path traversal
Root Cause: CDSPrefixedName used star(segment) for dotted path traversal (e.g. _Assoc.FieldA.FieldB). The star() combinator is non-greedy: it returns ALL intermediate positions — zero segments consumed, one consumed, two consumed, etc. — not just the greedy maximum match. For a dotted path with N segments, star(seg...
diff --git a/packages/core/src/cds/expressions/cds_condition.ts b/packages/core/src/cds/expressions/cds_condition.ts index 952659fbce..38d2085ff9 100644 --- a/packages/core/src/cds/expressions/cds_condition.ts +++ b/packages/core/src/cds/expressions/cds_condition.ts @@ -1,5 +1,5 @@ import {CDSAggregate, CDSArithParen,...
1
1
1
[{"id": "G0", "claim": "ESCAPE is allowed after every comparison operator via seq(operators, right, opt(seq(\"ESCAPE\", CDSString))), but in CDS/SQL it is only valid with LIKE/NOT LIKE, so the grammar would incorrectly accept e.g. Name = 'x' ESCAPE '#'; consider splitting compare into a LIKE-specific branch with option...
null
abetlen__llama-cpp-python__875
abetlen/llama-cpp-python
875
defect
f3b844ed0a139fc5799d6e515e9d1d063c311f97
7c30c2ea003c959362dacf409a8efba6b72b7ba5
Integration of Jinja2 Templating
## Refactor Chat Templating to Utilize Jinja2 ### Overview This pull request introduces a significant refactor of the chat templating system within the `llama-cpp-python` project. The primary objective is to simplify template management, enhance flexibility, and minimize dependencies by leveraging Jinja2's templati...
diff --git a/docs/templates.md b/docs/templates.md new file mode 100644 index 0000000000..5acdaa196b --- /dev/null +++ b/docs/templates.md @@ -0,0 +1,52 @@ +# Templates + +This document provides a comprehensive guide to the integration of Jinja2 templating into the `llama-cpp-python` project, with a focus on enhancing ...
3
2
2
[{"id": "G0", "claim": "Include the jinja2 dependency in pyproject.toml, since the PR's new module imports jinja2 while the package does not declare it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Change the chat handler selection behaviour so th...
null
abhiTronix__vidgear__307
abhiTronix/vidgear
307
defect
53ca17bf61d9c6ff8adadc978fe4036c3fd93ba4
1378332c2b72bb2192eaebaaaaedd64f71263e7b
Fixes #306
<!--- Add a brief title for your PR above --> ## Brief Description <!--- Provide a brief summary of this PR here --> Removed threshold of `-input_framerate` ### Requirements / Checklist <!--- By pushing this PR you acknowledge the following: Put an `x` in all the boxes that apply(important): --> - [x] I hav...
diff --git a/vidgear/gears/streamgear.py b/vidgear/gears/streamgear.py index f5692ad27..823f2397c 100644 --- a/vidgear/gears/streamgear.py +++ b/vidgear/gears/streamgear.py @@ -484,8 +484,8 @@ def __PreProcess(self, channels=0, rgb=False): output_parameters["-movflags"] = "+faststart" # set inpu...
2
2
1
[{"id": "G0", "claim": "The pytest.fail at line 232 of test_camgear.py should be changed to pytest.xfail instead, since RTSP URLs are not working at the moment and cause the test to fail unnecessarily.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Th...
null
abhigyanpatwari__GitNexus__523
abhigyanpatwari/GitNexus
523
defect
8864a0290ce4fb00f17b4ffa8022120abe0bcb38
c8d4db12b7781643fe4c042e2e199acb56950632
refactor: split global BUILT_IN_NAMES into per-language provider fields
Closes #522 ## Summary - Add `builtInNames?: ReadonlySet<string>` field to `LanguageProviderConfig` - Move all built-in entries from the global `BUILT_IN_NAMES` set into per-language provider definitions (`languages/*.ts`) - Rewrite `isBuiltInOrNoise(name, provider)` to check `provider.builtInNames` instead of a glob...
diff --git a/gitnexus/src/core/ingestion/call-processor.ts b/gitnexus/src/core/ingestion/call-processor.ts index c39c85ffc5..79a9bced25 100644 --- a/gitnexus/src/core/ingestion/call-processor.ts +++ b/gitnexus/src/core/ingestion/call-processor.ts @@ -497,7 +497,7 @@ export const processCalls = async ( } ...
2
2
1
[{"id": "G0", "claim": "Remove the noise-filter.ts module and expose the built-in check as a provider.isBuiltInName() method on LanguageProvider instead of the standalone isBuiltInOrNoise helper.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The per-lan...
null
abhigyanpatwari__GitNexus__643
abhigyanpatwari/GitNexus
643
defect
5c4fca21c32342cd172c99e80572fbe891362cad
0fca1e7b56d2354d6f7cc5a3f9bc9908712f6a60
fix(web): replace aggressive heartbeat disconnect with graceful reconnection
## Summary - Heartbeat monitor now retries indefinitely with exponential backoff capped at 15s instead of giving up after 3 retries (7 seconds) - Shows a subtle "Server connection lost — reconnecting..." banner instead of hard-resetting the UI to onboarding - Graph, selections, and AI context are preserved across tempo...
diff --git a/gitnexus-web/e2e/heartbeat-reconnect.spec.ts b/gitnexus-web/e2e/heartbeat-reconnect.spec.ts new file mode 100644 index 0000000000..4fff83b583 --- /dev/null +++ b/gitnexus-web/e2e/heartbeat-reconnect.spec.ts @@ -0,0 +1,109 @@ +import { test, expect } from '@playwright/test'; + +/** + * E2E tests for heartbe...
1
1
0
[{"id": "G0", "claim": "Resolve the lint issue at gitnexus-web/src/App.tsx line 39 — the unused `embeddingStatus` destructuring.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
abhigyanpatwari__GitNexus__644
abhigyanpatwari/GitNexus
644
defect
5c4fca21c32342cd172c99e80572fbe891362cad
6bc8c93c55f9c8340f521156307a0e9ccf68ca3e
fix(web): scope all backend calls to the active repo, not always the first
## Summary - Set `repoRef.current` during initial server connection (was only set in `switchRepo()`) - Parse `?project=` URL param during auto-connect so bookmarks/F5 open the correct repo - Preserve `?server=` in URL so F5 reconnects to the same server (previously stripped immediately) - DropZone connect also sets `?s...
diff --git a/gitnexus-web/e2e/multi-repo-scoping.spec.ts b/gitnexus-web/e2e/multi-repo-scoping.spec.ts new file mode 100644 index 0000000000..67ee06b088 --- /dev/null +++ b/gitnexus-web/e2e/multi-repo-scoping.spec.ts @@ -0,0 +1,112 @@ +import { test, expect } from '@playwright/test'; + +/** + * E2E tests for multi-repo...
3
1
1
[{"id": "G0", "claim": "The comment 'autoConnectRan.current prevents re-trigger within the same session' is slightly stale now that ?server= is preserved (F5 fully reloads the page and the ref resets, so re-triggering on F5 is intentional); it could say 'prevents re-trigger within the same page lifecycle' instead.", "c...
null
abhigyanpatwari__GitNexus__654
abhigyanpatwari/GitNexus
654
defect
5c4fca21c32342cd172c99e80572fbe891362cad
aca78c042e47ce694eefb387e4918ee1dab4e432
fix(ignore): respect negation patterns in .gitnexusignore
## Summary - **Fix**: `childrenIgnored()` in `ignore-service.ts` checked `ig.ignores(rel) || ig.ignores(rel + '/')` — the bare-path check short-circuited on `true` because directory-only negation patterns (e.g. `!iOS/`) don't apply to paths without a trailing slash - **Root cause**: With an exclude-all + whitelist `.g...
diff --git a/gitnexus/src/config/ignore-service.ts b/gitnexus/src/config/ignore-service.ts index 65e0b34e0f..29dda57d05 100644 --- a/gitnexus/src/config/ignore-service.ts +++ b/gitnexus/src/config/ignore-service.ts @@ -398,11 +398,14 @@ export const createIgnoreFilter = async (repoPath: string, options?: IgnoreOptio ...
3
1
0
[{"id": "G0", "claim": "Add a test case for the edge case of a bare negation pattern (`!dir` without a trailing slash) to ensure the ignore library normalizes it consistently with `!dir/`.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider quantify...
null
abhigyanpatwari__GitNexus__774
abhigyanpatwari/GitNexus
774
defect
d87744fffc13fa99e0a716a8ea4954ebc1aebccd
067e45a8d4bc52516263a2585e3e3f76145b5839
[cli] Preserve Ruby singleton_class context in sequential parsing
Closes #652 ## Summary - split sequential Ruby owner lookup from method-extraction owner lookup in `parsing-processor.ts` - skip `singleton_class` for enclosing class resolution, but still use the `singleton_class` node when the MethodExtractor needs to detect `class << self` static methods - add a sequential-path Rub...
diff --git a/gitnexus/src/core/ingestion/parsing-processor.ts b/gitnexus/src/core/ingestion/parsing-processor.ts index f37f1a52fd..c46d8c897c 100644 --- a/gitnexus/src/core/ingestion/parsing-processor.ts +++ b/gitnexus/src/core/ingestion/parsing-processor.ts @@ -240,9 +240,12 @@ function seqFindEnclosingClassNode(node:...
5
3
0
[{"id": "G0", "claim": "The name of the method-extraction helper (seqFindMethodOwnerNode, later seqFindEnclosingMethodContainerNode) is misleading because it does not signal that it returns an enclosing class/container node, so it should be renamed for clarity.", "category": "maintainability", "verdict": "supported", "...
null
abhigyanpatwari__GitNexus__816
abhigyanpatwari/GitNexus
816
defect
3fbee2d3d2f56fc085fd9cb6624c041687e36378
89a21346dfc2c5cc610b122c23a8c9b9e61674af
fix: resolve C/C++ cross-file calls through transitive #include chains
## Summary - Expands transitive `#include` chains for C/C++ in `synthesizeWildcardImportBindings` - Adds test fixture and 4 integration tests for pure-C cross-file call resolution through transitive headers - Fixes #812 ## Problem In C/C++, `#include` is transitive: if `a.c` includes `b.h` and `b.h` includes...
diff --git a/gitnexus/src/core/ingestion/pipeline-phases/wildcard-synthesis.ts b/gitnexus/src/core/ingestion/pipeline-phases/wildcard-synthesis.ts index c2c0f986d8..467c015167 100644 --- a/gitnexus/src/core/ingestion/pipeline-phases/wildcard-synthesis.ts +++ b/gitnexus/src/core/ingestion/pipeline-phases/wildcard-synthe...
10
8
3
[{"id": "G0", "claim": "Make the transitive include resolution language-agnostic: the pipeline phase must not contain language-bounded checks (the hard-coded C/C++ identity test); language-specific behaviour should be supplied by the language providers.", "category": "design", "verdict": "supported", "priority": "P1", ...
null
abhigyanpatwari__GitNexus__817
abhigyanpatwari/GitNexus
817
defect
988b905abee5108d7ff55b7bc0cf575d887a7df5
138470c83d9ec4c93376d76721306540e3d599b8
fix(extractors): resolve 3 silent contract mis-resolution bugs (#793)
Closes #793 Addresses three high-severity findings from the Codex adversarial review of the new group extractor surface. All three bugs cause **silent** contract mis-resolution — no exceptions, just wrong contract IDs baked into the graph that downstream cross-impact bridge queries then join through. ## Summary ...
diff --git a/gitnexus/src/core/group/extractors/grpc-extractor.ts b/gitnexus/src/core/group/extractors/grpc-extractor.ts index c6af9138a1..b379a4dbd8 100644 --- a/gitnexus/src/core/group/extractors/grpc-extractor.ts +++ b/gitnexus/src/core/group/extractors/grpc-extractor.ts @@ -314,7 +314,7 @@ export async function bui...
5
3
2
[{"id": "G0", "claim": "In the ambiguous multi-verb + unknown-method case the code leaves handlerName null but still passes it to pickSymbolUid, which silently falls back to pool[0] and reintroduces handler mis-attribution; the CONTAINS-based symbol enrichment should be skipped so output stays conservatively unattribut...
null
abhigyanpatwari__GitNexus__818
abhigyanpatwari/GitNexus
818
defect
988b905abee5108d7ff55b7bc0cf575d887a7df5
33fcc2441d7f88b710114ca185a571bb53447122
fix: prevent drain listener leak in relationship CSV streaming
## Problem When analyzing large repositories, GitNexus floods stderr with hundreds of `MaxListenersExceededWarning` messages: ``` MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added to [WriteStream]. MaxListeners is 10. ``` ## Root Cause In `loadGraphToLbug()`, relation...
diff --git a/gitnexus/src/core/lbug/lbug-adapter.ts b/gitnexus/src/core/lbug/lbug-adapter.ts index 1c9fb32c37..832b257b47 100644 --- a/gitnexus/src/core/lbug/lbug-adapter.ts +++ b/gitnexus/src/core/lbug/lbug-adapter.ts @@ -285,6 +285,7 @@ export const loadGraphToLbug = async ( if (!ws) { const pairCsvPa...
8
7
0
[{"id": "G0", "claim": "Because rl.pause() does not stop already-buffered line events, multiple once('drain') listeners can stack up on the same WriteStream; backpressure handling should coalesce so only one pending drain-resume callback is registered per stream.", "category": "correctness", "verdict": "supported", "pr...
null
abhigyanpatwari__GitNexus__827
abhigyanpatwari/GitNexus
827
defect
9ad1984b17e4c53f7e3085226f0e4ce17ad9354b
3212ffcb04754c053780e8d516d8f215cfc9e1c0
[group/sync] Fix ManifestExtractor never called — config.links always produced 0 cross-links
## What changed Wire `ManifestExtractor` into `syncGroup` so `links` declared in `group.yaml` actually produce cross-links. **Files changed:** - `gitnexus/src/core/group/sync.ts` — import + call `ManifestExtractor` - `gitnexus/test/unit/group/sync.test.ts` — new test covering manifest cross-link generation ## Why `...
diff --git a/gitnexus/src/core/group/sync.ts b/gitnexus/src/core/group/sync.ts index 92cd9fe5f1..2a64d6e828 100644 --- a/gitnexus/src/core/group/sync.ts +++ b/gitnexus/src/core/group/sync.ts @@ -7,6 +7,7 @@ import type { GroupConfig, RepoHandle, RepoSnapshot, StoredContract, CrossLink } import { HttpRouteExtractor } f...
11
7
1
[{"id": "G0", "claim": "Manifest contracts pushed into autoContracts also flow through runExactMatch, so each manifest link can yield both a matchType:'exact' and a matchType:'manifest' cross-link; manifest contracts should be excluded from the matcher input or the results deduped, and downstream tolerance for duplicat...
null
abhinav__goldmark-wikilink__18
abhinav/goldmark-wikilink
18
defect
74cc7bd3bb035a433725b1b21c86d3d2b82b094f
169846324b6075db55cc7c4550c95adec2b3e5aa
feat: add support for embedded wikilink
Closes #17
diff --git a/ast.go b/ast.go index becca19..2497509 100644 --- a/ast.go +++ b/ast.go @@ -35,6 +35,10 @@ type Node struct { // For links in the form, [[Foo bar#Baz qux]], this is the portion // after the "#". Fragment []byte + + // True if it starts with a bang (!). + // This indicates that the resource should be ...
6
3
1
[{"id": "G0", "claim": "Rename the new Node field 'IsEmbed' to just 'Embed'.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replace the offset-munging embed detection in Parse with a clearer switch on _open/_embedOpen prefixes, as suggested in the commen...
null
abhinav__requiredfield__58
abhinav/requiredfield
58
defect
8f49d1f3bebbe797a2c8c33dc548d1192edd5ad5
1d9c1de69ddeff7465d4bf0fc89db5fafa50d4fe
Fix function type resolution with nested funcs
Fixes #57 isReturnedWithNonNilError walks up from the return statement to find the matching function type, but it doesn't `break` when it finds the closest function type, which can lead to it using the wrong signature. Move the function matching into a separate function to avoid a label on the loop so we can `bre...
diff --git a/enforce.go b/enforce.go index 5e843d8..70ead6c 100644 --- a/enforce.go +++ b/enforce.go @@ -149,16 +149,8 @@ func (e *enforcer) isReturnedWithNonNilError(stack []ast.Node) bool { } // Find the nearest function's type for the return statement. - var ftype *ast.FuncType - for idx := retIdx - 1; idx >= ...
2
2
1
[{"id": "G0", "claim": "Add a changelog entry for this fix using changie (changie new).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For consistency with the ftype == nil check, the code should still guard against ftype.Results being nil, since ...
null
abhinavsingh__proxy.py__523
abhinavsingh/proxy.py
523
defect
c4823218d14ac9e5bb5327ad53bdd1027c11285f
2e66c6a43765829a396034651d97198a1fefba45
chore: Refactor code quality issues
## Description Hi :wave:, I ran [DeepSource](https://deepsource.io/) analysis on my fork of the repo, and found some interesting [code quality issues](https://deepsource.io/gh/akshgpt7/proxy.py/) that can improve the general code quality and performance here. This PR fixes a few of the issues detected. ## Summary ...
diff --git a/.deepsource.toml b/.deepsource.toml new file mode 100644 index 0000000000..75387b3d35 --- /dev/null +++ b/.deepsource.toml @@ -0,0 +1,19 @@ +version = 1 + +test_patterns = [ + "tests/**", + "**/test_*.py" +] + +exclude_patterns = [ + "examples/**", + "helper/**", + "menubar/**" +] + +[[analy...
2
2
0
[{"id": "G0", "claim": "The examples directory should not be excluded from the DeepSource code quality checks (remove \"examples/**\" from exclude_patterns) so its Python code is analyzed too.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A nod...
null
abhinavsingh__proxy.py__756
abhinavsingh/proxy.py
756
defect
ac1dee926a9352a81d4d9ebd9fcda285a1eeaa3d
d6f4b55a7675bed63090aee8fd836dee68922508
[IntegrationTest] Use `127.0.0.1` as target address and a random port
1. Using `localhost` may not work reliably depending upon underlying IPv6 / IPv4 resolution differences. Since we start proxy on `127.0.0.1`, let's use the same target address 2. Random port is necessary to avoid port conflicts during parallel test execution. Also fixes doc spellchecks CI failing due to missing wo...
diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt index 79ecc548cf..5562179d58 100644 --- a/docs/spelling_wordlist.txt +++ b/docs/spelling_wordlist.txt @@ -5,3 +5,9 @@ scm Threadless threadless youtube +socio +sexualized +https +www +html +faq diff --git a/tests/integration/test_integration.py b/t...
3
2
0
[{"id": "G0", "claim": "The new spellcheck words should be added to the document itself rather than globally to docs/spelling_wordlist.txt.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fixing the document to have an explicit link by wrapping i...
null
abi__screenshot-to-code__553
abi/screenshot-to-code
553
defect
2218091fb4c70400184f459cda98899b6f8f3210
6384692aa97c7189fe09efc5d9e9b512ffefd669
Add deterministic frontend QA e2e suite
### Motivation - Provide a stable, deterministic end-to-end QA harness for the frontend that does not depend on live backend services. - Reduce flakiness by mocking WebSocket code-generation streams and the screenshot capture API, and by exposing stable selectors for automation. ### Description - Add a new Puppeteer-b...
diff --git a/frontend/src/components/preview/CodeTab.tsx b/frontend/src/components/preview/CodeTab.tsx index 378d761ff..5ae50410f 100644 --- a/frontend/src/components/preview/CodeTab.tsx +++ b/frontend/src/components/preview/CodeTab.tsx @@ -60,12 +60,14 @@ function CodeTab({ code, setCode, settings }: Props) { ...
1
1
1
[{"id": "G0", "claim": "waitUntilVersionIsReady can return while the download button is still absent, because its new gate only waits for update-input (shown once a variant is complete) while PreviewPane hides the Download/Code actions until AppState.CODE_READY is set on WebSocket close, after the mock emits variantCom...
null
abice__go-enum__27
abice/go-enum
27
defect
9483740839571d563df0040ad82c50b099fca5b1
c52e9d56c11bdfc80c0b3e30e9b07438b38a2b19
Add support comments in ENUM
Recreated https://github.com/abice/go-enum/pull/24 Close #23
diff --git a/README.md b/README.md index 8c68277a..1f82d660 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,23 @@ Options: ### Syntax The parser looks for comments on your type defs and parse the enum declarations from it. -The parser will look for `ENUM(` and continue to look for comma separated values until i...
1
1
0
[{"id": "G0", "claim": "The README should state that the `//` comment must be on the same line as the enumerated value, not on the line above it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
abice__go-enum__281
abice/go-enum
281
defect
f44f518db4520ddc4c37cb12f3df0f5a8da338f0
33f12258250079b0d5c84efb93a55f879d508c21
feat: get version info from go runtime
Fixes #279 Didn't realize go has a way to grab build info from the runtime, pretty neat! This pull request introduces functionality to initialize and manage versioning metadata for the application. The most important changes include adding a new `initializeVersion` function to extract build information and modify...
diff --git a/main.go b/main.go index f0e5412..e0985de 100644 --- a/main.go +++ b/main.go @@ -5,6 +5,7 @@ import ( "log" "os" "path/filepath" + "runtime/debug" "strings" "github.com/abice/go-enum/generator" @@ -47,11 +48,37 @@ type rootT struct { OutputSuffix string } +func initializeVersion() { + ...
2
2
1
[{"id": "G0", "claim": "The version check and assignment in initializeVersion are not thread-safe; if the function could be called concurrently, sync.Once should be used to ensure initialization happens only once.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
abice__go-enum__53
abice/go-enum
53
defect
f5cbb58565ed6522a1e238dee63a9de3a606c647
4932a52400cc7b88dad37abf165061519b9d72ee
Add --template flag to provide filenames of additional templates
The `--template`/`-t` flag allows users to provide their own templates and extend code generation. https://github.com/abice/go-enum/issues/52
diff --git a/README.md b/README.md index 3bbde581..f155e8d4 100644 --- a/README.md +++ b/README.md @@ -26,20 +26,21 @@ USAGE: go-enum [global options] [arguments...] GLOBAL OPTIONS: - --file value, -f value The file(s) to generate enums. Use more than one flag for more files. - --noprefix Prev...
4
4
2
[{"id": "G0", "claim": "Template filenames should support globbing just as input filenames do, and the glob resolution should be kept out of the generator in a shared function that takes a filename and returns files plus an error so both --file and --template use it.", "category": "design", "verdict": "supported", "pri...
null
abixen__abixen-platform__285
abixen/abixen-platform
285
defect
5fe44051480d476396605d92cc49db1c8a716e6b
19787ac39f00d9506e01e5976e883b481d0bd9e9
Created a service and a save method of comments feature #258
``` [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Abixen Platform 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ abixen-platform --- [INFO] [INF...
diff --git a/abixen-platform-core/src/main/java/com/abixen/platform/core/form/CommentForm.java b/abixen-platform-core/src/main/java/com/abixen/platform/core/form/CommentForm.java new file mode 100644 index 000000000..ae8b77767 --- /dev/null +++ b/abixen-platform-core/src/main/java/com/abixen/platform/core/form/CommentF...
3
3
2
[{"id": "G0", "claim": "CommentForm must be based on the CommentWeb web model, not the Comment entity, for the parent field and the constructor.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "buildComment is missing the lookup of the parent Comment objec...
null
ably__ably-go__116
ably/ably-go
116
defect
e214c031617d5f0e1c9508277da07c8a1a1276d1
856de4fe7aac3ac38769dbbdd3a06e28d4ac39e4
Specify msgpack decode option to return strings for appropriate types
We need to specify `RawToString: true`: https://github.com/ugorji/go/blob/master/codec/msgpack.go#L521
diff --git a/ably/internal/ablyutil/msgpack.go b/ably/internal/ablyutil/msgpack.go index e72128b25..48efff9b6 100644 --- a/ably/internal/ablyutil/msgpack.go +++ b/ably/internal/ablyutil/msgpack.go @@ -12,6 +12,7 @@ var handle codec.MsgpackHandle func init() { handle.Raw = true handle.WriteExt = true + handle.RawTo...
2
1
1
[{"id": "G0", "claim": "The tests must be made to pass: the CI logs show a panic \"interface conversion: interface {} is string, not []uint8\".", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The RawToString decode option should not be used, because ...
null
ably__ably-go__165
ably/ably-go
165
defect
5e72e498b30bdc86c4cb2554c38f206d2a7a3e6b
aa162fbcc2d1abfec8c540336621f440f520b1ac
Add rtn16
- [x] RTN16a - [x] RTN16b - [x] RTN16c - [x] RTN16d - [x] RTN16e - [x] RTN16f
diff --git a/ably/export_test.go b/ably/export_test.go index d3833c08b..2c528e868 100644 --- a/ably/export_test.go +++ b/ably/export_test.go @@ -106,3 +106,21 @@ func (c *Connection) OnState(ch chan<- State, states ...StateEnum) { func (c *Connection) OffState(ch chan<- State, states ...StateEnum) { c.offState(ch, s...
8
6
2
[{"id": "G0", "claim": "Connection.RecoveryKey() is not right per RTN16b: instead of composing the connectionKey, the latest connectionSerial and the current msgSerial, it just returns the resume option passed to the library, if any.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
ably__ably-go__174
ably/ably-go
174
defect
db56d1351e3ea23266117f1b3f2205a5ccc9ec2f
fc5f4ecf0910fd40b8d2d0c83e4013a3a932f2a1
proto: Decode ms durations as a time.Duration wrapper.
This way, we don't have to worry about conversions, units, etc. when using those values.
diff --git a/ably/ablytest/ablytest.go b/ably/ablytest/ablytest.go index b262da81f..5ed19e9f8 100644 --- a/ably/ablytest/ablytest.go +++ b/ably/ablytest/ablytest.go @@ -56,7 +56,7 @@ func encode(typ string, in interface{}) ([]byte, error) { case "application/json": return json.Marshal(in) case "application/x-msg...
1
1
0
[{"id": "G0", "claim": "asMsecs should use the stdlib time.Duration.Milliseconds method instead of manually dividing by time.Millisecond.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ably__ably-go__179
ably/ably-go
179
defect
cb9d0b8e9156666ff043bd36b8b713be8c0bc902
13a7c8d45bd58159d436f09d4557d24a6776a108
RTN15h*: Handle incoming DISCONNECTED while CONNECTED
Implements [RTN15h*](https://docs.ably.io/client-lib-development-guide/features/#RTN15h).
diff --git a/ably/realtime_client.go b/ably/realtime_client.go index e90a5155c..157bea5ca 100644 --- a/ably/realtime_client.go +++ b/ably/realtime_client.go @@ -29,7 +29,10 @@ func NewRealtime(options ClientOptions) (*Realtime, error) { c.Auth = rest.Auth c.Channels = newChannels(c) conn, err := newConn(c.opts(),...
2
2
2
[{"id": "G0", "claim": "When a reconnection attempt is reset, the reauthorizing flag should be set to false rather than true.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "TestRealtimeConn_RTN15h2_Success fails intermittently, reporting a DISCONNEC...
null
ably__ably-go__181
ably/ably-go
181
defect
cb9d0b8e9156666ff043bd36b8b713be8c0bc902
64147796310ebff14d12061fc821370c92627e53
RTN15g: Don't attempt resume after server has discarded state
[RTN15g](https://docs.ably.io/client-lib-development-guide/features/#RTN15g)
diff --git a/ably/ably.go b/ably/ably.go index 9a2e35a8d..94dd40487 100644 --- a/ably/ably.go +++ b/ably/ably.go @@ -5,6 +5,7 @@ package ably import ( "crypto/rand" "encoding/hex" + "time" ) func min(i, j int) int { @@ -44,3 +45,8 @@ func randomString(n int) string { rand.Read(p) return hex.EncodeToString(...
3
3
3
[{"id": "G0", "claim": "Connection.params should build the query timestamp with the client's custom Now function (c.opts.Now()) instead of time.Now().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "TokenDetails.Expired should use the client's custom...
null
ably__ably-go__185
ably/ably-go
185
defect
da478128508322a33fe780bd61c3b5e4a4ba65d5
58ab503d69eed9fa2930e48ba75397f8f697a44a
RTL13: Handle DETACHED while not DETACHING.
[RTL13](https://docs.ably.io/client-lib-development-guide/features/#RTL13) Missing SUSPENDED, which isn't implemented.
diff --git a/ably/ablytest/recorders.go b/ably/ablytest/recorders.go index e6c11c7f9..bd56dbb67 100644 --- a/ably/ablytest/recorders.go +++ b/ably/ablytest/recorders.go @@ -332,7 +332,7 @@ func (pc pipeConn) Receive(deadline time.Time) (*proto.ProtocolMessage, error) { } select { case m, ok := <-pc.in: - if !ok ...
4
3
1
[{"id": "G0", "claim": "There is no default value for the After callback, so retryAttach will panic at runtime for any client that does not set the option explicitly, as the tests do.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The retry loop sho...
null
ably__ably-go__24
ably/ably-go
24
defect
31bff19984b115fe959f1ca053e99765ee529cfd
f4fef687af15f8f09561db313ca4240c001040b0
rest: improve RestClient API
This CL cleans up RestClient API, fixing couple of incosistencies and shortcommings, like: - when (*RestClient).Options is changed by the user, changes are not reflected in *Auth - all the tests were modyfing global client instance, not it's more COW like - ~~RestClient and ClientOptions are fully zero-value friend...
diff --git a/README.md b/README.md index ce19b8d79..2de790472 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,10 @@ TODO All examples assume a client and/or channel has been created as follows: ```go -client := ably.NewRestClient(ably.ClientOptions{ApiKey: "xxxx"}) +client, err := ably.NewRestClient("apikey:xxx...
12
11
4
[{"id": "G0", "claim": "Auth is exposed as an accessor method rather than a property/field, which is inconsistent with the other Ably client libraries where Auth is created automatically for every client.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "TL...
null
ably__ably-go__276
ably/ably-go
276
defect
0b9d3643a48b3355efc6d934614149efc94e8422
4c6d13f68a03e5ae0eefd22d3f66420f8b6f144c
Propagate contexts everywhere
Now HTTP requests require contexts. Since lots of things end up making HTTP requests, contexts need to be propagated everywhere. Huge change, but not one that can be easily or usefully split. For where we don't have a context passed as a parameter because it's the library itself who initiates the operation, a bas...
diff --git a/README.md b/README.md index 0c420125a..6992a4b8e 100644 --- a/README.md +++ b/README.md @@ -244,8 +244,8 @@ if err != nil { ### Querying the History ```go -page, err := channel.History(nil) -for ; err == nil && page != nil; page, err = page.Next() { +page, err := channel.History(ctx, nil) +for ; err ==...
4
4
3
[{"id": "G0", "claim": "The nil-check on the queryCtx context parameter should be reverted to the previous boolean query flag, since passing a nil context is bad practice.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new WithBaseContext option, whi...
null
ably__ably-go__288
ably/ably-go
288
defect
44f18037ad0f64c38b5c387c21ee961a2d6d5775
2d658543925ff0e00e6b636661e75a02026b550f
Channel resume
- Added channel resume flag implementation - Fixes #243 - Fixes #237
diff --git a/ably/proto/protocol_message.go b/ably/proto/protocol_message.go index a9db03b8a..9d094536f 100644 --- a/ably/proto/protocol_message.go +++ b/ably/proto/protocol_message.go @@ -6,9 +6,17 @@ import ( "time" ) +// TR3 const ( - FlagPresence Flag = iota + 1 - FlagBacklog + FlagHasPresence Flag = 0 ...
4
4
2
[{"id": "G0", "claim": "The generated ably/readme_examples_test.go was hand-reformatted instead of being left unaltered, and CI is failing because of it; run `go generate ./...` and leave the file unaltered afterwards.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id":...
null
ably__ably-go__294
ably/ably-go
294
defect
44f18037ad0f64c38b5c387c21ee961a2d6d5775
65710f8dccd43e19fb027ca96832de769e47d3ff
Channel message dispatch only when it's attached
- Added missing channel attached check - Updated tests for the same - Fixes #240
diff --git a/ably/export_test.go b/ably/export_test.go index 96b4b1955..bf983bf6a 100644 --- a/ably/export_test.go +++ b/ably/export_test.go @@ -60,6 +60,10 @@ func (c *REST) GetCachedFallbackHost() string { return c.successFallbackHost.get() } +func (c *RealtimeChannel) SetState(state ChannelState, err error) err...
2
1
1
[{"id": "G0", "claim": "The read of c.state when dispatching messages in notify() should happen while holding a lock on c.mtx, as in the suggested locked state snapshot.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "TestRealtimeChannel_Detach appea...
null
ably__ably-go__297
ably/ably-go
297
defect
44f18037ad0f64c38b5c387c21ee961a2d6d5775
ebf3ed58e66b1a0d625e3b4ceefd409e6ab9ff61
Connection Close
- Fixes #262
diff --git a/ably/export_test.go b/ably/export_test.go index 96b4b1955..ec49648fa 100644 --- a/ably/export_test.go +++ b/ably/export_test.go @@ -19,6 +19,10 @@ func (opts *clientOptions) RealtimeURL() string { return opts.realtimeURL() } +func (ablyConn *Connection) SetState(state ConnectionState, err error, retry...
1
1
0
[{"id": "G0", "claim": "The RTN12f test (transition to closed when close is called intermittently) does not work and is therefore skipped with a todo about fixing it and checking for race conditions, and the author asks tcard to check whether he is missing something.", "category": "testing", "verdict": "supported", "pr...
null
ably__ably-go__303
ably/ably-go
303
defect
270df167833b9c5f82917a5bee2c1bd6fa421977
f9b9e7e818ca6273c33de5fe6419eca652204379
Rename PublishBatch -> PublishMultiple
As @SimonWoolf points out, there's an unrelated feature called [batch publish](https://ably.com/documentation/rest-api/beta#batch) already.
diff --git a/README.md b/README.md index b17ac9796..9bd4f47e0 100644 --- a/README.md +++ b/README.md @@ -232,7 +232,7 @@ if err != nil { } // You can also publish a batch of messages in a single request. -err = channel.PublishBatch(ctx, []*ably.Message{ +err = channel.PublishMultiple(ctx, []*ably.Message{ {Name: ...
2
2
0
[{"id": "G0", "claim": "The comment above the PublishMultiple example should say \"publish multiple messages\" rather than \"a batch of messages\", so as not to confuse it with a batch publish.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sa...
null
ably__ably-go__308
ably/ably-go
308
defect
b069304ad559b756698c865a33c81a143cf9c59d
50b535d28ba55bde87919891021812218060df3f
Fix channel iteration
- Added `Iterator()` to `RealtimeChannels` and `RESTChannels` - Refactored code/tests, removed default channel name sort and range from restchannels - Internal discussion [link](https://ably-real-time.slack.com/archives/C0114KK7S6R/p1620302233050500) - Fixes #307
diff --git a/ably/export_test.go b/ably/export_test.go index 96b4b1955..e44c964c1 100644 --- a/ably/export_test.go +++ b/ably/export_test.go @@ -147,5 +147,5 @@ type Result = result func (c *RESTChannels) Len() int { c.mu.RLock() defer c.mu.RUnlock() - return len(c.cache) + return len(c.chans) } diff --git a/ably...
2
1
0
[{"id": "G0", "claim": "The exported RESTChannels.Len helper (and the Result alias) in export_test.go is not part of the spec and should be unexported or removed, extending the changes so the whole Channels API is spec-compliant.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}...
null
ably__ably-go__312
ably/ably-go
312
defect
8dfb7437c069fb22615efaa60500c94a9f6644bc
42f635f91571581d897abdc92c0c5283ef394912
Allow setting connection and request timeouts separately
See the discussion [there](https://github.com/ably/ably-boomer/pull/44). This is a minimal set of changes required to set a different connection and request timeout for Realtime. This also adds `WithHTTPRequestTimeout` to set a timeout for REST requests without using `WithHTTPClient`.
diff --git a/ably/export_test.go b/ably/export_test.go index 96b4b1955..a6fb481f9 100644 --- a/ably/export_test.go +++ b/ably/export_test.go @@ -91,12 +91,6 @@ func (c *Connection) MsgSerial() int64 { return c.msgSerial } -func WithRealtimeRequestTimeout(d time.Duration) ClientOption { - return func(os *clientOpti...
2
1
1
[{"id": "G0", "claim": "The dial() timeout switch from realtimeRequestTimeout to httpOpenTimeout rests on an ambiguous spec reading (the http prefix suggests httpOpenTimeout is for connections carrying HTTP requests), so this change should perhaps be left out of the pull request.", "category": "design", "verdict": "opp...
null
ably__ably-go__320
ably/ably-go
320
defect
66a14d106cad9b5046bdb3f2a1e85a6084c2e61d
207083549b715f09d3a6886e04925b7971afa04c
Websocket query params
- Fixes #226
diff --git a/ably/ably_test.go b/ably/ably_test.go index 010ec2316..f874be86a 100644 --- a/ably/ably_test.go +++ b/ably/ably_test.go @@ -5,6 +5,7 @@ import ( "fmt" "io" "net/http" + "reflect" "testing" "time" @@ -112,3 +113,16 @@ func (r connMock) Receive(deadline time.Time) (*proto.ProtocolMessage, error) ...
1
1
1
[{"id": "G0", "claim": "The new assertNil helper should check that object != nil before calling reflect.ValueOf(object), otherwise it will panic when given a non-nilable value (e.g. a string), since IsNil only works on nilable kinds.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
ably__ably-go__321
ably/ably-go
321
defect
c2ac6a9cc9eaf2484170227b9a66f9869698ab95
3a35c0f458bd783ce0e5c232e948ea08ff713bee
Simplify and uniformize logging
Cleans up logging-related code as a prerequisite for #160. Commit messages contain rationale.
diff --git a/ably/ablytest/ablytest.go b/ably/ablytest/ablytest.go index 0610a301d..c0cfe08bf 100644 --- a/ably/ablytest/ablytest.go +++ b/ably/ablytest/ablytest.go @@ -17,7 +17,7 @@ import ( var Timeout = 30 * time.Second var NoBinaryProtocol bool -var DefaultLogger = ably.LoggerOptions{Level: ably.LogNone} +var D...
2
1
0
[{"id": "G0", "claim": "Consider combining the logger's `Info` and `Infof` methods into a single form, since having both is confusing at times.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Provide a way to attach logger context so that a domain-specifi...
null
ably__ably-go__35
ably/ably-go
35
defect
dd4fbe84ff6bc1939fdc5aede38c7c99a960d94c
8cde2f44c84801cba4a39bc71437ecc308307b49
fix RealtimePresence race; add StateEnum type
Channel may get attached after blocking Get is called on RealtimePresence - when that happens, Get returns empty presence list. This CL makes Get also wait for the channel until it's attached. A StateEnum type was added to have connection/channel states human readable when printed.
diff --git a/ably/realtime_channel.go b/ably/realtime_channel.go index 79bf296cf..2b0b3ba57 100644 --- a/ably/realtime_channel.go +++ b/ably/realtime_channel.go @@ -64,7 +64,6 @@ func (ch *Channels) All() []*RealtimeChannel { ch.mtx.Unlock() chanSlice(chans).Sort() return chans - } // Release closes a channel...
6
5
1
[{"id": "G0", "claim": "The helper that tears down the event loop should be named `close`, like the equivalent channel-level method, instead of `stop`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The goroutine function `eventloop` is not descriptive a...
null
ably__ably-go__360
ably/ably-go
360
defect
1405d1fc946be7f8649471f1f7059b4d92a5a30f
97e44805cbbb81926966009c664d9831added9bd
Ably agent header
- Fixed #302
diff --git a/ably/export_test.go b/ably/export_test.go index fe6e31db6..ec4731ccf 100644 --- a/ably/export_test.go +++ b/ably/export_test.go @@ -201,6 +201,9 @@ const ( AblyVersionHeader = ablyVersionHeader AblyVersion = ablyVersion AblyLibHeader = ablyLibHeader + LibraryVersion = libraryVersion + Ab...
8
8
2
[{"id": "G0", "claim": "The pull request should also stop sending the deprecated lib value: remove the X-Ably-Lib header and the lib query parameter, since the whole RSC7b spec item has been deprecated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G5", "claim"...
null
ably__ably-go__39
ably/ably-go
39
defect
65ddd67ef04e6517c5bdce7f805281745507cbcc
1c45f1a5a3ac571b9f1d35c8db173a6c34d02d90
MsgPack support; reworked Stat data type; updated deps
During adding full support for MsgPack I've encountered a couple of decoding failures, at first though it may be library problems thus I've updated all deps. Then it turned out to be a problem with decoding maps with custom unmarshallers - the problem is workarounded with this CL. Moreover it fixes one nil ptr deref, r...
diff --git a/.travis.yml b/.travis.yml index 8321bed84..c9b9b24af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,4 +15,5 @@ install: script: - find . -type f -name '*.go' -not -path './Godeps/*' -exec go vet -x {} \; - go build ./... - - go test -race -v ./... + - ABLY_PROTOCOL=json go test -race -v ./... +...
5
4
1
[{"id": "G0", "claim": "Use mime.ParseMediaType to parse the response Content-Type and remove the hand-rolled strip function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Put the protocol-based JSON/msgpack response decoding into a helper func...
null
ably__ably-go__588
ably/ably-go
588
defect
c07b8170bba0731d0d611ac65ec12c9260c106e8
cf1b924f5c2595aaf3fc98fb83e32e98e51e3888
Run unit tests based on msgpack_test_fixtures
Run unit tests using fixtures from https://github.com/ably/ably-common/blob/main/test-resources/messages-encoding.json and https://github.com/ably/ably-common/blob/main/test-resources/msgpack_test_fixtures.json Ensure that the json and msgpack messages are decoded correctly, and that re-encoding the decoded message ...
diff --git a/ably/proto_message_decoding_test.go b/ably/proto_message_decoding_test.go new file mode 100644 index 000000000..53fcb6791 --- /dev/null +++ b/ably/proto_message_decoding_test.go @@ -0,0 +1,147 @@ +package ably + +import ( + "bytes" + "encoding/base64" + "encoding/json" + "os" + "strings" + "testing" + + "g...
6
2
2
[{"id": "G0", "claim": "The test file should consistently use either assert or require rather than a mixture of both.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fixture-loading code should be placed with the existing fixture loaders in the...
null
ably__ably-go__590
ably/ably-go
590
defect
14b543e661c2bc04c6e34889e6044d404e056c56
261c07c8739f3edd59ecbd8b258347f603a471d3
add agents option
Add an optional agents option that includes product/version key-value pairs to include in the library agents identifier, as described by RSC7d6. Note if the OS cannot be identified, instead of an empty string this uses `unknown` to ensure the agents are always 4th in the header.
diff --git a/ably/export_test.go b/ably/export_test.go index 6b72a020a..4bdd5e23a 100644 --- a/ably/export_test.go +++ b/ably/export_test.go @@ -269,7 +269,7 @@ func ChannelModeToFlag(mode ChannelMode) ProtoFlag { } func DialWebsocket(proto string, u *url.URL, timeout time.Duration) (Conn, error) { - return dialWeb...
4
2
1
[{"id": "G0", "claim": "andydunstall should explain why the OS identifier falling back to \"unknown\" (so the agents are always 4th in the header) is desirable, per lmars' question.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "WithAgents should copy th...
null
ably__ably-go__614
ably/ably-go
614
defect
e29a152e1a324205b105ca60c2fe14cc05b8a04e
55d3c8afbdae98cc595a0daebddace48bdc5a098
[SDK-3731] Fix websocket read limits
Fixed #610
diff --git a/README.md b/README.md index 569675137..d6566cd96 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,22 @@ if err != nil { } ``` +#### Update MaxMessageSize/read limit for realtime connection +- Connection MaxMessageSize limit is automatically configured based on `ConnectionDetails.MaxMessageSize` pr...
6
6
0
[{"id": "G0", "claim": "The README section heading should say 'realtime message subscription' instead of 'realtime connection'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README bullet should not mention ConnectionDetails internals and sho...
null
ably__ably-go__624
ably/ably-go
624
defect
b55e9abff0183cce9f183030d20e71e703b22359
7644367debda9b1fc3ae3e12495be8cfc5999d18
Fix message extras unmarshaled to incompatible json type
Message extras should be a json compatible map[string]interface{}, but when marshalling to msgpack and back again, any nested objects become map[interface{}]interface{} which is incompatible with json marshalling. Set the map type on the msgpack handle to map[string]interface{} so that nested objects are correctly u...
diff --git a/ably/internal/ablyutil/msgpack.go b/ably/internal/ablyutil/msgpack.go index 98dd66ce1..ae19ce1c1 100644 --- a/ably/internal/ablyutil/msgpack.go +++ b/ably/internal/ablyutil/msgpack.go @@ -3,6 +3,7 @@ package ablyutil import ( "bytes" "io" + "reflect" "github.com/ugorji/go/codec" ) @@ -13,6 +14,7 ...
2
2
0
[{"id": "G0", "claim": "Rename Test_msgpackExtrasJsonCompatible to TestMsgpackExtrasJsonCompatible to be consistent with other test names.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename Test_msgpackJson to TestMsgpackJson to be consistent...
null
ably__ably-go__631
ably/ably-go
631
defect
cc9e260bf265f89cb42fd8f19b62b904fef2d1c8
c493707cbc3497fa8b34b90d0531e475fe1fc7b4
fix: keep client default client read limit when realtime doesn't specify
This is mostly for internal purposes, where we have MaxMessageSize set to 0 (read: unlimited). When this happens, the SDK should keep whatever limit it currently has set. Previously it was trying to set 0 which prevented anything from being read from the connection/
diff --git a/ably/realtime_channel_integration_test.go b/ably/realtime_channel_integration_test.go index c5a0ec0a..b1fec25e 100644 --- a/ably/realtime_channel_integration_test.go +++ b/ably/realtime_channel_integration_test.go @@ -294,6 +294,47 @@ func TestRealtimeChannel_ShouldSetProvidedReadLimit(t *testing.T) { as...
5
5
1
[{"id": "G0", "claim": "The new test should be simplified to use MessagePipe(in, out) instead of manually mocking the dial with DialFunc, and the reviewer asks permission to make that change.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instea...
null
ably__ably-go__657
ably/ably-go
657
defect
9eb3acf477904d7f5215aec7d1fcc8831fec4f92
b5b9f4b3b01018cfab322ad9277e061a1a18dd52
[ECO-4327] Feature - realtime fallbacks
Fixed #225 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Updated the README to remove outdated statements regarding realtime connection handling and feature implementations, clarifying current limitations and statuses. - **New Features** ...
diff --git a/README.md b/README.md index 64247ebf..b56e1c92 100644 --- a/README.md +++ b/README.md @@ -450,8 +450,6 @@ See [jwt auth issue](https://github.com/ably/ably-go/issues/569) for more detail - Inband reauthentication is not supported; expiring tokens will trigger a disconnection and resume of a realtime co...
28
12
3
[{"id": "G0", "claim": "The `websocketErr.Unwrap()` method should check whether `e.err` is nil before returning it to prevent potential issues when unwrapping.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `websocketErr.Error()` method should han...
null
ably__ably-go__661
ably/ably-go
661
defect
4f295220340e286f6469ef6fd5340793d6fcf8c2
035221475bedd4d0a7c782cc08f1f0e686282ac2
[ECO-4330] Feature - server initiated auth
Fixed https://github.com/ably/ably-go/issues/228 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a logger method to the Realtime struct for improved logging access. - Defined a new authentication action constant for better action managem...
diff --git a/ably/ably_test.go b/ably/ably_test.go index 608598b6..9b5cf2f2 100644 --- a/ably/ably_test.go +++ b/ably/ably_test.go @@ -261,6 +261,24 @@ func (rec *MessageRecorder) CheckIfSent(action ably.ProtoAction, times int) func } } +func (rec *MessageRecorder) CheckIfReceived(action ably.ProtoAction, times in...
3
2
0
[{"id": "G0", "claim": "The `times == 0 && times == counter` condition in MessageRecorder.CheckIfReceived is confusing and would be clearer written as `if times == 0 && counter == 0`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests' tok...
null
ably__ably-go__674
ably/ably-go
674
defect
a81632dfeb26bd545232674622463e5709d42e03
0e1c8e8988a94239b0bd96d676aa29a38b6fa09f
auth: Add option to allow basic auth for non-TLS requests
We internally often want to use the Go SDK in private environments (e.g. local development, or within virtual private networks), where we do not use TLS, but find it convenient to be able to use API keys rather than tokens. This commit adds an `InsecureAllowBasicAuthWithoutTLS` option which permits the use of an API...
diff --git a/ably/auth.go b/ably/auth.go index 1b0dc1b0..56d1a309 100644 --- a/ably/auth.go +++ b/ably/auth.go @@ -545,7 +545,7 @@ func detectAuthMethod(opts *clientOptions) (int, error) { if !isKeyValid { return 0, newError(ErrInvalidCredential, errInvalidKey) } - if opts.NoTLS { + if opts.NoTLS && !opts.Insecu...
4
1
1
[{"id": "G0", "claim": "The documentation of InsecureAllowBasicAuthWithoutTLS (field and With... function in ably/options.go, plus the auth.go condition) should carry an explicit security warning about exposing credentials over non-TLS connections, and ideally a usage example.", "category": "documentation", "verdict": ...
null
ably__ably-go__681
ably/ably-go
681
defect
17f6575773b28a146ac04bfaf3b8de44ce1ff162
103a0e1b283bc19f579f78a676ceae87062df8dd
Update REC1b2 for updated version of spec point
Reflects the changes of spec commit `f28cad3` from https://github.com/ably/specification/pull/302, which were themselves based on the special-case logic implemented in this repo. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Tests** - Added a test case to ve...
diff --git a/ably/options.go b/ably/options.go index 3d086d15..8bfcae1b 100644 --- a/ably/options.go +++ b/ably/options.go @@ -503,9 +503,9 @@ func (opts *clientOptions) getRealtimeHost() string { return defaultOptions.RealtimeHost } -// isEndpointFQDN returns true if the given endpoint is a hostname, which may +/...
2
1
1
[{"id": "G0", "claim": "The hostname detection only checks for \"::\" and may miss valid IPv6 addresses without compressed zeros; consider using net.ParseIP to robustly detect any valid IP address (IPv4 or IPv6).", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1...
null
ably__ably-go__682
ably/ably-go
682
defect
4596ce4cda88298e84684d0bf6ac5b3845bfdab6
521a0feee1ae69a1450ebe3f40b5fb5c78d4409e
Add Experimental Live Objects Plugin
Add experimental Live Objects implementation. This PR adds the following: - Define a live objects plugin interface. - Add the live objects experimental plugin option. - Add Objects message types for constructing Object operation requests. - Add an ExperimentalObjects component to the RealtimeChannel to allow for ...
diff --git a/ably/objects/liveobjects.go b/ably/objects/liveobjects.go new file mode 100644 index 000000000..f5dd8a07d --- /dev/null +++ b/ably/objects/liveobjects.go @@ -0,0 +1,575 @@ +package objects + +import ( + "context" + "crypto/rand" + "encoding/hex" + "encoding/json" + "fmt" + "sync" + "time" +) + +// LiveObje...
18
14
5
[{"id": "G0", "claim": "Fix the typo in the Plugin.PrepareObject doc comment: \"intialValue\" should be \"initialValue\".", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Fix the typo in the Plugin doc comment: \"functionlity\" should be \"functiona...
null
ably__ably-go__687
ably/ably-go
687
defect
4161f98a9c3de29984b9814ffb9306c153dc1042
d321dc4325be494ab103e53573d6186249be773e
fix: stop setting read limit on a connected event
This PR removes setting the websocket readlimit based on the `ConnectionDetails.MaxMessageSize` received when a message with a Connected action (4). The `ConnectionDetails.MaxMessageSize` should be used to restrict publishing messages over this value. Connections do have a read limit set still but the default lim...
diff --git a/ably/options.go b/ably/options.go index 707a06ad..4fb4bd55 100644 --- a/ably/options.go +++ b/ably/options.go @@ -28,9 +28,9 @@ const ( defaultEndpoint = "main" defaultPrimaryHost = "main.realtime.ably.net" // REC1a - Port = 80 - TLSPort = 443 - maxMessageSize = 65536 // 64kb, def...
1
1
0
[{"id": "G0", "claim": "The isReadLimitSetExternally field (with its remaining assignment and test accessor) can safely be removed, since the check that read it has been removed by this change.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ably__ably-go__78
ably/ably-go
78
defect
1a522c125fbdfa5978c841229993408d7f6b5dff
cc259bd6f42008c760480bb6a7b60315c2d85ba2
add rsc15 support host fallback
This implement - [x] `rsc15b` - [x] `rsc15e` - [x] `rsc15a` - [x] `rsc15d` - [x] `TO3l5`
diff --git a/ably/options.go b/ably/options.go index d23fc9b18..2746a962b 100644 --- a/ably/options.go +++ b/ably/options.go @@ -19,7 +19,15 @@ const ( ) var defaultOptions = &ClientOptions{ - RestHost: "rest.ably.io", + RestHost: "rest.ably.io", + FallbackHosts: []string{ + "a.ably-realtime.com", + "b.a...
6
4
1
[{"id": "G0", "claim": "The comment above HTTPMaxRetryCount ends with a stray 'w' ('use as a fallback w') and should read 'use as a fallback.'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Copying the fallback hosts into a new slice is unnecessa...
null
ably__ably-go__85
ably/ably-go
85
defect
143dca9ce9628a3d716f927ffc65327ba6ada0d7
2361a47c10a5669fe7f810360e63e2402864411a
add ChannelOptions
- [x] RSN3q - [x] RSN3b - [x] RSN3c - [x] TB1 - [x] TZ1 - [x] TZ2 - [x] TZ2a - [x] TZ2b - [x] TZ2c - [x] TZ2d
diff --git a/ably/proto/crypto.go b/ably/proto/crypto.go new file mode 100644 index 000000000..5011165de --- /dev/null +++ b/ably/proto/crypto.go @@ -0,0 +1,155 @@ +package proto + +import ( + "crypto/aes" + "crypto/cipher" + "crypto/rand" + "errors" + "fmt" + "io" +) + +// CipherAlgorithm algorithms used for channel e...
17
14
4
[{"id": "G0", "claim": "The DecodeData doc comment still tells readers the keys parameter must be present even though the pull request replaced that parameter with ChannelOptions, so the documentation should be updated to reflect the new parameters.", "category": "documentation", "verdict": "supported", "priority": "P2...
null
ably__ably-go__88
ably/ably-go
88
defect
caf9ce64cdf5e8954609b4b166efd92852fb64cc
a8a8945b84426c0fc78b0bee033aa27a023bad8f
Update message encoding and encrypt channel message
- [x] RSL4c - [x] RSL4c1 - [x] RSL4c2 - [x] RSL4c3 - [x] RSL4c4 - [x] RSL4d - [x] RSL4d1 - [x] RSL4d2 - [x] RSL4d3 - [x] RSL4d4 - [x] RSL5 - [x] RSL5a
diff --git a/ably/ably.go b/ably/ably.go index 9a2e35a8d..ed7100a30 100644 --- a/ably/ably.go +++ b/ably/ably.go @@ -5,6 +5,8 @@ package ably import ( "crypto/rand" "encoding/hex" + + "github.com/ably/ably-go/ably/proto" ) func min(i, j int) int { @@ -39,6 +41,15 @@ func nonempty(s ...string) string { return...
11
10
4
[{"id": "G0", "claim": "If the DataValue type is really necessary, document the type and why/where it is used.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The exposed Message API is clunky and leaks implementation details through the required *...
null
ably__ably-java__1013
ably/ably-java
1,013
defect
fe5215b635532979e975277a5f5d94dfa3597392
7ac3b82cb05dbb25346152388e053ed7a53915f4
[ECO-4820] fix(ConnectionManager): update the connection close implementation to follow RTN12f
Resolves https://github.com/ably/ably-java/issues/1012 When `CONNECTING` state moves immediately to `CLOSING` we wait `CONNECTED` protocol message before sending `CLOSE`.
diff --git a/lib/src/main/java/io/ably/lib/transport/ConnectionManager.java b/lib/src/main/java/io/ably/lib/transport/ConnectionManager.java index d6bcf199a..53efb2447 100644 --- a/lib/src/main/java/io/ably/lib/transport/ConnectionManager.java +++ b/lib/src/main/java/io/ably/lib/transport/ConnectionManager.java @@ -388...
1
1
1
[{"id": "G0", "claim": "The pull request should add an explicit test covering its connection-close change (RTN12f).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ably__ably-java__1028
ably/ably-java
1,028
defect
e0e23176c717406f0c9a0e96752b6dc8d6663e47
0436cd9b63c54c3add888dc0d2b30568f1f20f9a
Fix implicit attach on subscribe
Fixed #1027 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a configurable option for channel subscriptions to control automatic attachment behavior. - Added a new field `attachOnSubscribe` in `ChannelOptions` to manage implicit at...
diff --git a/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java b/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java index 8dc90c946..5dbb8d7c0 100644 --- a/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java +++ b/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java @@ -690,6 +690,15 @@ public synchro...
10
7
0
[{"id": "G0", "claim": "In Presence.implicitAttachOnSubscribe, when attachOnSubscribe is disabled the method returns early without checking whether the channel state is failed, which could allow subscribe to proceed on a failed channel instead of throwing the FAILED-state error.", "category": "correctness", "verdict": ...
null
ably__ably-java__1035
ably/ably-java
1,035
defect
6f38c17cd4c3b839a98c37767a8b88fbb5b30f24
e53b6e7acb8d87d74c62b6e27fbebb8e71a6b762
feat: OkHttp implementation for making HTTP calls and WebSocket connections
Resolves https://github.com/ably/ably-java/issues/120 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Introduced support for using the Ably SDK under a proxy, with detailed instructions in the README. - Added a new `network-c...
diff --git a/README.md b/README.md index 69ea2b260..46fc19d89 100644 --- a/README.md +++ b/README.md @@ -500,6 +500,76 @@ realtime.setAndroidContext(context); realtime.push.activate(); ``` +## Using Ably SDK Under a Proxy + +When working in environments where outbound internet access is restricted, such as behind a...
11
2
2
[{"id": "G0", "claim": "OkHttpUtils.injectProxySetting checks `if (proxyConfig != null) return;`, which skips proxy setup whenever a valid proxyConfig is provided; the condition should be `if (proxyConfig == null) return;`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {...
null
ably__ably-java__1036
ably/ably-java
1,036
defect
d685ae71c4212a8b1fcb09725ed4c625a3270a79
3aa8e11a213be98b9edef699a9b7d766393f8609
feat: introduced retry rules for flaky android push tests
Added retry rules to prevent flaky android push test fail CI <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a `RetryTestRule` to enhance test reliability by allowing tests to be retried upon failure. - Integrated the retry mechanis...
diff --git a/android/src/androidTest/java/io/ably/lib/test/RetryTestRule.java b/android/src/androidTest/java/io/ably/lib/test/RetryTestRule.java new file mode 100644 index 000000000..e0b037140 --- /dev/null +++ b/android/src/androidTest/java/io/ably/lib/test/RetryTestRule.java @@ -0,0 +1,48 @@ +package io.ably.lib.test...
9
1
1
[{"id": "G0", "claim": "Extract the hard-coded retry count 2 in `new RetryTestRule(2)` into a named constant so it is easier to adjust.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error messages in RetryTestRule use `${description.methodN...
null
ably__ably-java__1043
ably/ably-java
1,043
defect
51555160a2bf8c21f0354da9a0fe61d0557c28e2
a0354e5d82f4015809e129bc7b103ec6f8899a38
[ECO-4972] Fix implicit channel ATTACH
- Fixed `presence.subscribe` based on updated spec -> https://github.com/ably/specification/pull/209/files, if completionListener is passed, it should throw exception. - Current `message.subscribe` doesn't accept optional `completionListener`, so no need to update spec for the same. - Related to #1027 - Upgrade for...
diff --git a/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java b/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java index 9a786a602..ce15010cc 100644 --- a/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java +++ b/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java @@ -695,7 +695,7 @@ public synchron...
9
2
0
[{"id": "G0", "claim": "The variable `errorString` in `implicitAttachOnSubscribe` may be uninitialized when `attachOnSubscribeEnabled()` returns true or `completionListener` is null, so using it in `Log.e` and `ErrorInfo` could lead to a NullPointerException.", "category": "correctness", "verdict": "opposed", "priority...
null
ably__ably-java__1046
ably/ably-java
1,046
defect
dc4d464ed73084e1276eeccb20ba994472a112f7
ec5b6dd2c599043d5f6ed3d6ee6934d0bd4548ea
[ECO-5117] Fix channel ATTACH/DETACH state checks
Fixed #1045 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced channel state management during attachment and detachment operations. - Improved handling for channel states such as `failed` and `suspended`. - **Bug Fixes** - Resolve...
diff --git a/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java b/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java index ce15010cc..2ef6a3718 100644 --- a/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java +++ b/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java @@ -221,7 +221,7 @@ private void at...
4
1
0
[{"id": "G0", "claim": "The new tests should not directly assign channel.state and channel.reason but should drive the channel into the failed/suspended states through the connection manager (requestState), so the SDK's internal state management is exercised.", "category": "testing", "verdict": "supported", "priority":...
null
ably__ably-java__1049
ably/ably-java
1,049
defect
6c0ffcf8c3fb21265071c0f26d2b7b274780dafb
a081f275b6a6e439058a51dc015731414a677a4c
Release/1.2.46
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added new experimental fields to the Message class: `action`, `serial`, and `createdAt`. - **Documentation** - Updated the changelog to reflect the new version `1.2.46`. - Revised the `CONTR...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ebb525cec..fba370cad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log +## [1.2.46](https://github.com/ably/ably-java/tree/v1.2.46) + +[Full Changelog](https://github.com/ably/ably-java/compare/v1.2.45...v1.2.46) + +**Implemented enhancements:**...
2
2
0
[{"id": "G0", "claim": "The changelog line for the new Message fields should read 'have been added.' instead of 'has been added'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changelog should also carry a notice that the new `action`, `seria...
null
ably__ably-java__1052
ably/ably-java
1,052
defect
6c0ffcf8c3fb21265071c0f26d2b7b274780dafb
198e003fac66ca85742cc85f603e7a55ead39630
[ECO-5163] fix: duplicated messages because of duplicated attach message
Resolves https://github.com/ably/ably-java/issues/1050 Implemented missing [(RTL4i)](https://sdk.ably.com/builds/ably/specification/main/features/#RTL4i) spec point to prevent duplicated attach message <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Featu...
diff --git a/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java b/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java index b84ba7dc0..2903563a5 100644 --- a/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java +++ b/lib/src/main/java/io/ably/lib/realtime/ChannelBase.java @@ -243,6 +243,13 @@ private void a...
7
3
3
[{"id": "G0", "claim": "Some realtime tests are failing in CI — the failing test receives 6 messages after 1.5 seconds instead of 3, so duplicated messages still get through.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The test can avoid using At...
null