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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SolaceLabs__solace-agent-mesh__1211 | SolaceLabs/solace-agent-mesh | 1,211 | defect | 9ee3822e9f9be653200d7ec2fea837aa9c9f4cbf | bc9d3748d24eeb37519ace15b6fd20ca1dfc8ab3 | feat(DATAGO-127337): Auto-compaction accordian | ## Summary
Restructures the auto-compaction notification from a plain markdown `TextPart` to a structured `DataPart`, enabling the frontend to render a dedicated collapsible UI component instead of a generic chat bubble.
### Backend
- Added `CompactionNotificationData` Pydantic model in `data_parts.py` with `sum... | diff --git a/client/webui/frontend/src/lib/components/chat/ChatMessage.tsx b/client/webui/frontend/src/lib/components/chat/ChatMessage.tsx
index d37eff1600..20d5421631 100644
--- a/client/webui/frontend/src/lib/components/chat/ChatMessage.tsx
+++ b/client/webui/frontend/src/lib/components/chat/ChatMessage.tsx
@@ -27,6 ... | 3 | 2 | 1 | [{"id": "G0", "claim": "The name filterContentParts doesn't reflect what the function body does and should be renamed (e.g. filterRenderableDataParts or filterDeepResearchAndCompactionParts).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The is... | null |
SolaceLabs__solace-agent-mesh__1219 | SolaceLabs/solace-agent-mesh | 1,219 | defect | d939125c97131cce731f2f3ae7c44778a1f49708 | 0b16e205d4caf8928186fdc8836ee486468dee02 | fix(DATAGO-128391): Handle failed Task responses in generic gateway | ## Summary
- When an agent returns a Task with `status.state="failed"` (e.g., due to LLM call errors), the gateway now properly routes it through `handle_error()` to display the error to the user
- Previously, failed Task responses were treated as normal completions, causing the gateway to show "task completed" instead... | diff --git a/src/solace_agent_mesh/gateway/generic/component.py b/src/solace_agent_mesh/gateway/generic/component.py
index 9dc2d377da..3e638e6c0e 100644
--- a/src/solace_agent_mesh/gateway/generic/component.py
+++ b/src/solace_agent_mesh/gateway/generic/component.py
@@ -868,6 +868,21 @@ async def _send_final_response_t... | 3 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asks when text_parts could be falsy in _task_to_sam_error, suspecting the 'if text_parts:' guards (in both the status-message and the artifacts branches) are always true since text_parts is defined on the previous line, and thus redundant.", "category": "maintainability", "verdict":... | null |
SolaceLabs__solace-agent-mesh__1222 | SolaceLabs/solace-agent-mesh | 1,222 | defect | 1c5aef3dec1d89bbe04e36d03ad4778814e53f4c | dedae3ec94bfa0c2248c6eeadf9c7a0db11d9df5 | chore(DATAGO-127991): Update base repository delete logic | ### What is the purpose of this change?
Two related fixes for MySQL reliability:
1. **Delete reliability on MySQL** — `BaseRepository.delete()` could fail with FK constraint errors or operate on stale cached data, causing deletes to block or silently miss child rows.
2. **Post-flush UUID bytes coercion** — after... | diff --git a/src/solace_agent_mesh/shared/database/base_repository.py b/src/solace_agent_mesh/shared/database/base_repository.py
index 1c55fe8bab..3c1edd676f 100644
--- a/src/solace_agent_mesh/shared/database/base_repository.py
+++ b/src/solace_agent_mesh/shared/database/base_repository.py
@@ -8,6 +8,7 @@
from abc imp... | 5 | 5 | 2 | [{"id": "G0", "claim": "The loop expires all relationship attributes while the comment says only collections; either filter to uselist=True relationships or reword the comment to avoid confusion about what gets expired.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {... | null |
SolaceLabs__solace-agent-mesh__1227 | SolaceLabs/solace-agent-mesh | 1,227 | defect | 20a52193b64ddcbf1f00bdf05186dad6c170e59f | f3e8ad292083d703db635449ee4e67e7aa743a6f | feat(DATAGO-126637): BE | Model Configuration REST api (POST API, feature flagged) | ### What is the purpose of this change?
Implement model configuration CRUD operations with proper layering.
### How was this change implemented?
Implement full CRUD (create, update, delete) for model configurations, replacing the previous placeholder/stub endpoints that returned 501
Add proper router/servi... | diff --git a/src/solace_agent_mesh/services/platform/api/routers/dto/requests/__init__.py b/src/solace_agent_mesh/services/platform/api/routers/dto/requests/__init__.py
new file mode 100644
index 0000000000..265859b708
--- /dev/null
+++ b/src/solace_agent_mesh/services/platform/api/routers/dto/requests/__init__.py
@@ -... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pull request should not strip the existing endpoint docstrings/comments (e.g. list_models' docstring) from model_configurations_router.py.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In create_model the write (servic... | null |
SolaceLabs__solace-agent-mesh__1230 | SolaceLabs/solace-agent-mesh | 1,230 | defect | c8a4c844a0cb7cc26310aefd686ea1f081fe44c6 | 9cfc8ba1dd06ff128b255bd7cb2a91fff6151378 | feat(DATAGO-128719): Evaluate the feasibility of making workflows a plugin type in SAM | This pull request adds support for a new "workflow" plugin type to the CLI, making it possible to create and manage workflow plugins in addition to the existing types. It updates the plugin creation and addition commands to recognize "workflow" as a valid type and introduces a template YAML configuration for workflow p... | diff --git a/cli/commands/plugin_cmd/add_cmd.py b/cli/commands/plugin_cmd/add_cmd.py
index bb0f1dacc7..d0de6dc86b 100644
--- a/cli/commands/plugin_cmd/add_cmd.py
+++ b/cli/commands/plugin_cmd/add_cmd.py
@@ -110,6 +110,8 @@ def add_plugin_component_cmd(
target_dir = pathlib.Path("configs/agents")
elif plug... | 3 | 3 | 1 | [{"id": "G0", "claim": "The create command still scaffolds a src/<name>/ directory with an empty __init__.py (and a pyproject.toml) for YAML-only workflow plugins, which is arguably unnecessary and may confuse users into adding Python code there; the reviewer asks to skip the src/ directory for workflow plugins, or to ... | null |
SolaceLabs__solace-agent-mesh__1232 | SolaceLabs/solace-agent-mesh | 1,232 | defect | a0f1f8cc14e725839bf74af2e45184329729218c | 42c4a9f910695cb00c1fab9a91657bc8e4bf4f97 | fix(DATAGO-128697): Add missing Azure fields to ArtifactServiceConfig | ## What is the purpose of this change?
`ArtifactServiceConfig` did not declare `container_name`, `account_name`, `connection_string`, or `account_key` as fields. Pydantic's default `extra='ignore'` silently dropped these fields before `initialize_artifact_service` could read them, causing agents configured with an Azu... | diff --git a/src/solace_agent_mesh/agent/sac/app.py b/src/solace_agent_mesh/agent/sac/app.py
index 77ccdf1880..a48d8f500f 100644
--- a/src/solace_agent_mesh/agent/sac/app.py
+++ b/src/solace_agent_mesh/agent/sac/app.py
@@ -219,6 +219,22 @@ class ArtifactServiceConfig(SamConfigBase):
default=None,
desc... | 2 | 2 | 0 | [{"id": "G0", "claim": "The proxy apps' ArtifactServiceConfig in src/solace_agent_mesh/agent/proxies/base/config.py still lacks the new Azure fields, so Azure artifact-service settings will continue to be silently dropped in that code path, and the reviewer asks to update the proxy model as well (or centralize the mode... | null |
SolaceLabs__solace-agent-mesh__1247 | SolaceLabs/solace-agent-mesh | 1,247 | defect | 17c2583918fbd6198d3b5e1129f9b554dd0aab07 | a80304459050413613de0de7baa0cb3728932159 | fix(DATAGO-129368): ArtifactsPage - Optimize initial load time by reducing backend wait time | This pull request introduces a performance optimization for fetching artifact metadata in the `/all` endpoint by adding a new asynchronous helper function that loads artifact metadata in parallel, significantly reducing latency for users with many artifacts. The router is updated to use this new fast path, and necessar... | diff --git a/src/solace_agent_mesh/agent/utils/artifact_helpers.py b/src/solace_agent_mesh/agent/utils/artifact_helpers.py
index 961dca4751..64876d8469 100644
--- a/src/solace_agent_mesh/agent/utils/artifact_helpers.py
+++ b/src/solace_agent_mesh/agent/utils/artifact_helpers.py
@@ -2,6 +2,8 @@
Helper functions for art... | 8 | 5 | 3 | [{"id": "G0", "claim": "The `get_platform_db()` change in `dynamic_model_provider_listener.py` passes a raw generator where a Session is expected, which will fail at runtime or silently break session lifecycle (no commit/rollback/close), and the updated tests mask this by mocking `get_platform_db` with a plain Mock.", ... | null |
SolaceLabs__solace-agent-mesh__1254 | SolaceLabs/solace-agent-mesh | 1,254 | defect | 36578491b82fbead186d5bfc117fdf816b76ef8b | 8b54c073c313a70255beae9457450dd2ff78425a | chore(DATAGO-129764): Review Security Hotspots | ### What is the purpose of this change?
Addresses a set of SonarQube security hotspots across the frontend and backend, and cleans up minor code quality issues surfaced during the review.
### How was this change implemented?
**Security fixes:**
- `fileUtils.tsx`: Replaced vulnerable nested-lookahead regexes (... | diff --git a/client/webui/frontend/src/lib/components/chat/file/fileUtils.tsx b/client/webui/frontend/src/lib/components/chat/file/fileUtils.tsx
index cec8d8116b..e03721b113 100644
--- a/client/webui/frontend/src/lib/components/chat/file/fileUtils.tsx
+++ b/client/webui/frontend/src/lib/components/chat/file/fileUtils.t... | 4 | 2 | 1 | [{"id": "G0", "claim": "DOMPurify.sanitize with ALLOWED_TAGS: [] strips tags without inserting spaces between adjacent block elements, unlike the old regex that replaced tags with a space, so preview strings in both extractHtmlPreview and generateFileTypePreview may show concatenated words.", "category": "correctness",... | null |
SolaceLabs__solace-agent-mesh__1281 | SolaceLabs/solace-agent-mesh | 1,281 | defect | 4a355dab7572521050d2f26f9dae2b267ccddcbf | d40a946cc1bf4663e2ceb344c36b9507f7e76109 | feat(DATAGO-130052): Add model dependents functionality with endpoint for retrieving dependent agents | ### What is the purpose of this change?
Add support for safely deleting model configurations by providing a mechanism to identify and handle agent dependencies before deletion. This helps prevent broken deployments when a model configuration is removed while agents are still using it.
### How was this change implemen... | diff --git a/src/solace_agent_mesh/services/platform/api/dependencies.py b/src/solace_agent_mesh/services/platform/api/dependencies.py
index c7a1e1c8d2..ce25cfdae2 100644
--- a/src/solace_agent_mesh/services/platform/api/dependencies.py
+++ b/src/solace_agent_mesh/services/platform/api/dependencies.py
@@ -214,4 +214,40... | 5 | 4 | 1 | [{"id": "G0", "claim": "The dependents endpoint should return a dedicated response DTO instead of a raw list of dicts.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The variable original_delete in test_calls_undeploy_dependents_before_delete is assigned... | null |
SolaceLabs__solace-agent-mesh__1285 | SolaceLabs/solace-agent-mesh | 1,285 | defect | c9cccb07cba7c7507fc05fc979c4e414534cc466 | 2006513843b2bc1ebdc9dc54352b357438504556 | fix(DATAGO-130255): Chat Sharing: Multiple bugs - http links, auth middleware blocking, missing message backgrounds, dialog UX | This pull request introduces several improvements to both the backend and frontend, focusing on more robust authentication handling for share endpoints, better handling of proxy headers for URL generation, and UI consistency for chat messages. The backend now supports "soft authentication" for share view/download endpo... | diff --git a/client/webui/frontend/src/lib/components/chat/file/FileMessage.tsx b/client/webui/frontend/src/lib/components/chat/file/FileMessage.tsx
index fa6ec7a6ab..81f6fb1172 100644
--- a/client/webui/frontend/src/lib/components/chat/file/FileMessage.tsx
+++ b/client/webui/frontend/src/lib/components/chat/file/FileM... | 3 | 2 | 1 | [{"id": "G0", "claim": "It might be worth looking into the warnings shown above line 114 of ShareDialog.tsx.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The startswith/endswith heuristics used to detect soft-auth share URLs are fragile; the... | null |
SolaceLabs__solace-agent-mesh__1298 | SolaceLabs/solace-agent-mesh | 1,298 | defect | 8f81d6247b4796e1a96b5cb8f3c57d7a7c0780cc | 3a81072db02d6a8166994007d5f5939f659f1c8a | chore(DATAGO-129968): Use ID values instead of alias in model config ui routes | ### What is the purpose of this change?
Migrated all model configuration API endpoints from alias-based path parameters to ID-based, aligning with the platform's standard of using stable UUIDs in URLs
### How was this change implemented?
### **Backend**
- Added get_by_id() to ModelConfigurationRepository (a... | diff --git a/client/webui/frontend/src/lib/api/models/hooks.ts b/client/webui/frontend/src/lib/api/models/hooks.ts
index 59f04d97f7..77178ff5da 100644
--- a/client/webui/frontend/src/lib/api/models/hooks.ts
+++ b/client/webui/frontend/src/lib/api/models/hooks.ts
@@ -17,13 +17,13 @@ export function useModelConfigs() {
... | 5 | 4 | 1 | [{"id": "G0", "claim": "get_by_id() filters with cast(ModelConfiguration.id, String) == model_id, which bypasses the OptimizedUUID type decorator's bind-parameter conversion and can make ID lookups fail and bypass indexes, so the comparison should use ModelConfiguration.id == model_id and the cast in get_by_alias_or_id... | null |
SolaceLabs__solace-agent-mesh__1306 | SolaceLabs/solace-agent-mesh | 1,306 | defect | 45b8511d59010335b59c0759fe69dab955b3ff43 | 93cd797b3273f3fd0bba217d42d3a53bb375d5bd | feat(DATAGO-128301): observability|SAM instrument LLM in/out | ### What is the purpose of this change?
Introduced instrumentation around LLM requests, we should get 3 metrics:
- Latency: How long each LLM call takes (total duration)
- TTFT Latency (Time-to-First-Token): For streaming responses, how long until the first token arrives
- Token Usage: Input tokens (p... | diff --git a/examples/agents/orchestrator_example.yaml b/examples/agents/orchestrator_example.yaml
index 69aad810fe..05fcbdc2b1 100644
--- a/examples/agents/orchestrator_example.yaml
+++ b/examples/agents/orchestrator_example.yaml
@@ -7,6 +7,14 @@ log:
log_file_level: DEBUG # Changed from INFO to DEBUG to capture AD... | 5 | 4 | 1 | [{"id": "G0", "claim": "The management_server/observability block added to examples/agents/orchestrator_example.yaml is temporary, only there to help reviewers see the metrics in action.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TTFT mo... | null |
SolaceLabs__solace-agent-mesh__1327 | SolaceLabs/solace-agent-mesh | 1,327 | defect | fdce9e48633f9e7f2a9cefb2fa3a8248aa315c17 | 9f3402a7d09cb404f5ef97f3261759ab00cd18c1 | feat(DATAGO-128299): observability|as Morgan i want to be able to view web gateway relevant metrics | ### What is the purpose of this change?
- Introduced monitoring for web ui gateway:
1/ 6 duration metrics for: session, tasks, sse, message, artifacts, other (other collapses all other endpoints)
2/ unique counters for all endpoint templates (template, method, error_type)
### How was this change implemented?
... | diff --git a/examples/agents/orchestrator_example.yaml b/examples/agents/orchestrator_example.yaml
index 69aad810fe..f6a6d85199 100644
--- a/examples/agents/orchestrator_example.yaml
+++ b/examples/agents/orchestrator_example.yaml
@@ -10,6 +10,14 @@ log:
# Shared SAM config
!include ../shared_config.yaml
+managemen... | 5 | 2 | 1 | [{"id": "G0", "claim": "In the streaming and regular branches of dispatch(), monitor.start()/stop() around call_next is unsafe: if call_next raises an unhandled exception, stop() is never called and the duration metric is silently dropped, so MonitorLatency's async with should be used instead.", "category": "correctnes... | null |
SolaceLabs__solace-agent-mesh__1386 | SolaceLabs/solace-agent-mesh | 1,386 | defect | 6edbd465bbe972ccc17aaf69a6b0fa6b1f9d7ead | 7f95542316c649806067d6d26d317402f9b7ee25 | chore(DATAGO-131252): Make Model Configuration Optional During SAM Init |
<img width="1020" height="759" alt="image" src="https://github.com/user-attachments/assets/76629944-b515-4827-b023-9124d8d49764" />
<img width="1026" height="826" alt="image" src="https://github.com/user-attachments/assets/c38f1602-33bb-4ee4-b493-50c01ff26980" />
### What is the purpose of this change?
LLM p... | diff --git a/cli/commands/add_cmd/agent_cmd.py b/cli/commands/add_cmd/agent_cmd.py
index e27a75a810..b29019d930 100644
--- a/cli/commands/add_cmd/agent_cmd.py
+++ b/cli/commands/add_cmd/agent_cmd.py
@@ -1,4 +1,5 @@
import json
+import re
import sys
from pathlib import Path
@@ -298,6 +299,24 @@ def _write_agent_yam... | 1 | 1 | 1 | [{"id": "G0", "claim": "Remove the hardcoded `model` key from templates/agent_template.yaml so model configuration is only added when a model alias is provided.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SolaceLabs__solace-agent-mesh__1397 | SolaceLabs/solace-agent-mesh | 1,397 | defect | 2441e269cc014e075f27ca2f9ea5ae82b50e41af | 4996582f808388970069186d1a0ea45c8b9912c5 | feat(DATAGO-131827): add ArtifactMonitor for tracking artifact service operations | ### What is the purpose of this change?
Add ArtifactMonitor for tracking performance of artifact-related operations. This provides observability metrics for save, load, list, delete and other artifact service functions, helping to identify performance bottlenecks or reliability issues.
### How was this change imp... | diff --git a/src/solace_agent_mesh/agent/adk/services.py b/src/solace_agent_mesh/agent/adk/services.py
index c08184e9fc..fe0951ba53 100644
--- a/src/solace_agent_mesh/agent/adk/services.py
+++ b/src/solace_agent_mesh/agent/adk/services.py
@@ -13,6 +13,9 @@
InMemoryArtifactService,
)
from google.adk.artifacts.bas... | 3 | 2 | 1 | [{"id": "G0", "claim": "ArtifactMonitor should extend RemoteRequestMonitor instead of OperationMonitor, because the artifact service is a single external service rather than a group of equivalent components.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
SolaceLabs__solace-agent-mesh__1438 | SolaceLabs/solace-agent-mesh | 1,438 | defect | c4d7df4422b0dd2c3e1c40cc1813d987ad0efcff | 6d7c3ca066f0857b7ee17e2b81cb0e99cd628b07 | fix(DATAGO-131500): Resolve model override for agent's own model alias | ### What is the purpose of this change?
Fixes a bug where per-request model overrides failed when the override alias matched the agent's own default model. The `complete_pending_resolve()` call was inside an `else` branch, so it was skipped when the alias matched the agent's own `model_id`, causing the resolve future ... | diff --git a/src/solace_agent_mesh/agent/adk/models/dynamic_model_provider.py b/src/solace_agent_mesh/agent/adk/models/dynamic_model_provider.py
index 7d02793ae0..91f60c3dd3 100644
--- a/src/solace_agent_mesh/agent/adk/models/dynamic_model_provider.py
+++ b/src/solace_agent_mesh/agent/adk/models/dynamic_model_provider.... | 7 | 6 | 2 | [{"id": "G0", "claim": "There is no unit test covering the new per-request override sanitization; a test should set an override containing non-LiteLLM keys (cache_strategy, thinking, type, oauth_*) and assert they are not present in the captured completion kwargs while the call still succeeds.", "category": "testing", ... | null |
SolarLune__tetra3d__10 | SolarLune/tetra3d | 10 | defect | 8ff52eced994b7780b9ef87a5ff4a20815bee417 | dff8c748af2fdc7da2ff225d2ad61def2bc82059 | Increase glTF parsing performance | First of all, great project!
While testing your usage of [qmuntal/gltf](https://github.com/qmuntal/gltf) I noticed `LoadGLTFData` consumes quite a lot of memory compared to the size of the parsed glTF file. For example, `./example/logo/tetra3d.glb` weights ~58KB and `LoadGLTFData` consumes ~3MB and produces ~27k all... | diff --git a/fastmath.go b/fastmath.go
index 51a4fe3..3c8fe79 100644
--- a/fastmath.go
+++ b/fastmath.go
@@ -79,10 +79,10 @@ type VectorPool struct {
func NewVectorPool(vectorCount int) *VectorPool {
pool := &VectorPool{
- Vectors: []vector.Vector{},
+ Vectors: make([]vector.Vector, vectorCount),
}
for i := ... | 1 | 1 | 1 | [{"id": "G0", "claim": "In MeshPart.Clone the new part's Vertices slice should still collect the vertices of all triangles (e.g. via append, or per-triangle vertex assignment) instead of being set directly to one triangle's vertex list, since a mesh part holds the vertices of all of its triangles.", "category": "correc... | null |
Sollimann__bonsai__24 | Sollimann/bonsai | 24 | defect | 42081d26c7344723d6aa0fd4f1e5a8db57bc591d | d0a99f9b89b2c4d749099d4ac4280c4519154b25 | Implement new behavior, RepeatSequence | Implements new behavior `RepeatSequence` which acts like a `Sequence` but repeats forever as long as a conditional behavior succeeds (or fails) that precedes the sequence. The condition is only checked before the sequence runs and not during the sequence, unlike in `While` behavior.
I am testing this on my own appli... | diff --git a/bonsai/src/behavior.rs b/bonsai/src/behavior.rs
index a3d4939..21adf46 100644
--- a/bonsai/src/behavior.rs
+++ b/bonsai/src/behavior.rs
@@ -44,6 +44,16 @@ pub enum Behavior<A> {
/// Fails if the conditional behavior fails,
/// or if any behavior in the loop body fails.
While(Box<Behavior<A>>... | 6 | 5 | 2 | [{"id": "G0", "claim": "The doc comment on the new RepeatSequenceState variant incorrectly says it keeps track of a `While` behavior (typo), and the reviewer's inline comments need fixing.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Rep... | null |
Sollimann__bonsai__26 | Sollimann/bonsai | 26 | defect | 55b280e040f29fb5914f60e5b7fa767ec9b45806 | 829798ad5cc8585cadc57432dfaf158f099a1e2d | Generic blackboard implementation | Generalize blackboard.
From user's perspective, in addition to being able to use generic blackboard type, the user must now use tick directly with `bt.tick(...)` instead of `bt.state.tick(...)` This change is required so that we can pass a mutable reference of the blackboard to the user's tick callback under the ho... | diff --git a/bonsai/Cargo.toml b/bonsai/Cargo.toml
index a2247ff..cb003a5 100644
--- a/bonsai/Cargo.toml
+++ b/bonsai/Cargo.toml
@@ -12,7 +12,7 @@ name = "bonsai-bt"
readme = "../README.md"
repository = "https://github.com/sollimann/bonsai.git"
rust-version = "1.60.0"
-version = "0.5.0"
+version = "0.6.0"
[lib]
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The `pub` keyword on the `SequenceArgs` struct should be removed so it can be private (a nit).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since `SequenceArgs` is used in another file, `pub` should be replaced with `pu... | null |
Sollimann__bonsai__38 | Sollimann/bonsai | 38 | defect | 835f528a9a7895341e5efa9e22d3ccadce137618 | 1155464798fc933e7221406e0b455f50571e6ae4 | Delete `BlackBoard` struct. | This struct doesn't do anything special and is just a newtype without providing anything. I believe in the past this did more, but now it is just a needless wrapper. | diff --git a/bonsai/src/bt.rs b/bonsai/src/bt.rs
index ee7b7a1..f988d13 100644
--- a/bonsai/src/bt.rs
+++ b/bonsai/src/bt.rs
@@ -8,24 +8,6 @@ use petgraph::Graph;
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
-/// A "blackboard" is a simple key/value storage shared by all the nodes of the Tree.
-//... | 4 | 3 | 0 | [{"id": "G0", "claim": "Do not delete the Blackboard documentation along with the struct; move or rewrite it elsewhere in bonsai/src/bt.rs (e.g. on the BT struct above the blackboard field) so users can still see the intention and motivation of a blackboard.", "category": "documentation", "verdict": "supported", "prior... | null |
Sollimann__bonsai__42 | Sollimann/bonsai | 42 | defect | a995adc818c18acd84f6a2b773f45d10205aea05 | 20aa98d181865d6075c06b3587e73b65dff86c2d | Make `State` pub(crate). | Users shouldn't be messing with the internal state of the behavior tree. That could result in the behavior tree producing all sorts of strange behavior. | diff --git a/bonsai/src/bt.rs b/bonsai/src/bt.rs
index 9e7f04b..f72ea3e 100644
--- a/bonsai/src/bt.rs
+++ b/bonsai/src/bt.rs
@@ -1,7 +1,7 @@
use std::fmt::Debug;
use crate::visualizer::NodeType;
-use crate::{ActionArgs, Behavior, State, Status, UpdateEvent};
+use crate::{state::State, ActionArgs, Behavior, Status, ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pull request's CI is failing because a new lint flags the `State` suffix on all `State` enum variants — a lint that only applies to non-public enums, which `State` becomes in this PR — so the suffixes should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P0... | null |
Sollimann__bonsai__47 | Sollimann/bonsai | 47 | defect | 1aa74afcb11603e86d5c7e941a70b2533e844e16 | c02ca04b0649e4d70c90652cc11113e74832b974 | Implement blackboard immutable reference function | First of all, thank you for creating such a great framework.
In the code I’m currently working on, I was using an older version of bonsai-bt. However, as the version was updated, an issue arose.
The interface was modified to integrate the blackboard into the bt, which caused problems with the existing logic that ... | diff --git a/bonsai/src/bt.rs b/bonsai/src/bt.rs
index cd17b51..b7fa007 100644
--- a/bonsai/src/bt.rs
+++ b/bonsai/src/bt.rs
@@ -67,9 +67,15 @@ impl<A: Clone, B> BT<A, B> {
}
}
+ /// Retrieve a immutable reference to the blackboard for
+ /// this Behavior Tree
+ pub fn blackboard(&self) -> &B {... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new doc comment should say \"an immutable reference\" instead of \"a immutable reference\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Bump the crate version to 0.10.0 in bonsai/Cargo.toml so the change can be relea... | null |
Solo5__solo5__100 | Solo5/solo5 | 100 | defect | cd8649fe1355dce0865e5224ccf888f0626423fe | 81c213dc0513a3192aa11e1a934464513104682f | Getting rid of virtio interrupt handling | This change removes all the interrupt handling code from virtio-net and virtio-blk. It's mainly done for simplicity purposes. We can do this at the moment because our IO calls are synchronous, and we poll for receiving network packets anyway. Nothing was previously done on interrupt handling besides advancing our index... | diff --git a/kernel/virtio/virtio_blk.c b/kernel/virtio/virtio_blk.c
index dbb15af09..c72c88518 100644
--- a/kernel/virtio/virtio_blk.c
+++ b/kernel/virtio/virtio_blk.c
@@ -96,28 +96,42 @@ static uint16_t virtio_blk_op(uint32_t type,
return head;
}
-/* Returns the status (0 is OK, -1 is not) */
+/*
+ * Returns ... | 3 | 2 | 0 | [{"id": "G0", "claim": "The block interrupt handler registration should be dropped entirely, since virtio_config_block() sets VIRTQ_AVAIL_F_NO_INTERRUPT so the handler should never get called.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "A comment sh... | null |
Solo5__solo5__112 | Solo5/solo5 | 112 | defect | a08bceb954347462dfa463cd957330e68a04b314 | 0455473f5029639993026ce55a9851ccd7dc73f8 | Add 'solo5-run-virtio' tool for launching virtio tests | Intended for development, testing and CI, not as a general tool for
launching unikernels. Supports kvm, qemu and bhyve. | diff --git a/tools/run/solo5-virtio-run.sh b/tools/run/solo5-virtio-run.sh
new file mode 100755
index 000000000..619cfb774
--- /dev/null
+++ b/tools/run/solo5-virtio-run.sh
@@ -0,0 +1,186 @@
+#!/bin/sh
+usage ()
+{
+ cat <<EOM 1>&2
+usage: solo5-run-virtio [ OPTIONS ] UNIKERNEL [ -- ] [ ARGUMENTS ... ]
+
+Launch the... | 2 | 2 | 0 | [{"id": "G0", "claim": "The script could support an nmdm console (just a different `com1` parameter) to allow headless startups.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Making the console emulation part optional (or hidden behind a command-line ar... | null |
Solo5__solo5__120 | Solo5/solo5 | 120 | defect | 40f6fa8c838d62f52fe8785d302e79b7f5ac0ce2 | 48c69c696968dd8d1f982385a8d02eb9b489e5cd | Add a test suite | TL;DR: `sudo tests/setup-tests.sh && sudo tests/run-tests.sh`.
Finally, a test suite that runs end to end tests using the standalone test programs in `tests/`. See tests/README.md for usage.
The test harness is a rather gnarly shell script, this is the simplest I could get to that has the basic functionality we n... | diff --git a/.travis.yml b/.travis.yml
index 01dc97f58..f491f283d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,7 @@
language: c
sudo: required
dist: trusty
-script: make
+before_install:
+ - sudo apt-get update -qq
+ - sudo apt-get install -qq qemu-system-x86
+script: make && sudo tests/setup-tests.sh... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a message when test_ping_serve exits because the received-count limit is reached, and pass that limit as a parameter (the reviewer would otherwise make it an argument in a later PR).", "category": "usability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Solo5__solo5__127 | Solo5/solo5 | 127 | defect | 5491a9867c6d5af1cfc12a0efe1b75dffc36fa06 | 1895c74da67263b754b0d7837119a523c54f115e | ELF loader audit | Fixes #126. See individual commits for details.
@djwillia Please review. | diff --git a/tests/Makefile b/tests/Makefile
index 0e782a90e..f1b6c3ddd 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,4 +1,4 @@
-TESTDIRS=test_hello test_ping_serve test_blk
+TESTDIRS=test_hello test_globals test_ping_serve test_blk
UKVM_TESTS=$(subst test, _test_ukvm, $(TESTDIRS))
VIRTIO_TESTS=$(subst tes... | 3 | 1 | 1 | [{"id": "G0", "claim": "It may be safer to declare memsz as uint64_t so that the paddr/memsz overflow checks are guaranteed to use the correct add_overflow variant, since the reviewer is not certain the ALIGN_UP of paddr+memsz cannot overflow.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope"... | null |
Solo5__solo5__164 | Solo5/solo5 | 164 | defect | f3dd5031ef8ec3ba64b9fd2d8fc454d08247d382 | 72e4b0ad4129715d7ad257c83ac27130a2942d3e | Solo5 verbosity | Adding two verbosity related args for solo5 unikernels: `--quiet` and `--debug`.
The changes:
- Most current `printf`s were changed to `log(INFO,...)` and `log(WARN,...)`, and the default verbosity level was set to `INFO` (everything that was logged is still logged).
- Parsing and "eating" the --quiet and --debu... | diff --git a/kernel/ee_printf.c b/kernel/ee_printf.c
index b12bf2029..6cb244500 100644
--- a/kernel/ee_printf.c
+++ b/kernel/ee_printf.c
@@ -735,3 +735,24 @@ int snprintf(char *str, size_t size, const char *fmt, ...)
return ret;
}
+
+static int log_verbosity = INFO;
+
+int log(int verbosity, const char *fmt, ..... | 13 | 13 | 2 | [{"id": "G0", "claim": "The module's verbosity state should be `static log_level_t log_level` instead of `static int log_verbosity`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The log() function's verbosity parameter should be `log_level_t level` rat... | null |
Solo5__solo5__245 | Solo5/solo5 | 245 | defect | d2b2c9c8185b64b2083607f9d8a145c77066ffb6 | 9974e8d64ac87dcd2374c7095f53ea4cee513e6b | Solo5 public API refresh, take 2 | This is a new take on the Solo5 public API refresh and cleanup (#200, now out of date take 1 in #201).
Major changes:
- (Tersely) document all public APIs, including their semantics and error handling.
- Remove "type confusion", use the strictest possible types as appropriate throughout.
- Remove use of arch-... | diff --git a/kernel/GNUmakefile b/kernel/GNUmakefile
index eda48ea45..bbc9c7089 100644
--- a/kernel/GNUmakefile
+++ b/kernel/GNUmakefile
@@ -39,7 +39,7 @@ ukvm/time.o
UKVM_COBJS=\
$(COMMON_UKVM_COBJS) \
ukvm/platform_lifecycle.o \
-ukvm/poll.o \
+ukvm/yield.o \
ukvm/tscclock.o \
ukvm/console.o \
ukvm/net.o \
@@ -... | 12 | 7 | 2 | [{"id": "G0", "claim": "The behaviour of solo5_console_write should be documented more clearly, namely that it is not a reliable channel but a best-effort printing operation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The introduction of SOLO5... | null |
Solo5__solo5__258 | Solo5/solo5 | 258 | defect | 843eb46d229ebcbdad8b47a34010dec3210867d6 | 166142d980daa1d887851315d2ac77296e7ca940 | V3: Guest core-dump support for ukvm | This is a partial rewrite of #256 to use the `<sys/procfs.h>` APIs which codifies the _host kernel_ <-> _debugger_ interface for the `NT_PRSTATUS` content of ELF core files. This makes the host-dependent parts of the implementation much clearer, and trivial to implement for Linux/aarch64 and/or FreeBSD.
In the proce... | diff --git a/AUTHORS b/AUTHORS
index a8687b515..a4d47cac3 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -17,6 +17,7 @@ Ian Campbell (Docker, Inc.)
Madhuri Yechuri
Martin Lucina (robur.io / Center for the Cultivation of Technology)
Michael LeMay
+Nikhil AP
Ricardo Koller (IBM)
Waldir Pimenta
Wei Chen (ARM)
diff --git a/co... | 1 | 1 | 1 | [{"id": "G0", "claim": "The dumpcore hook dumps a core even when the guest exits successfully (status=0), which the reviewer says should not happen; ukvm_dumpcore_hook should just exit when status=0.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Solo5__solo5__301 | Solo5/solo5 | 301 | defect | d5fb5a0aff97505cd21db837855593abe1f8c5a4 | 8a2989fc7db8bf1736b0d3d4889add6077b747b4 | Dumping data abort address for Arm64 | Dumping data abort virtual address is good for debug.
**** Solo5 standalone test_zeropage ****
```Solo5: Trap: EL1 Synchronous Abort caught```
**Data Abort Address: 0x0000000000000008**
```
Solo5: Dump registers:
ESR : 0x0000000096000047
PC : 0x0000000000103038
LR : 0x0... | diff --git a/bindings/cpu_aarch64.c b/bindings/cpu_aarch64.c
index 63fc38663..3aa27fc85 100644
--- a/bindings/cpu_aarch64.c
+++ b/bindings/cpu_aarch64.c
@@ -19,6 +19,7 @@
*/
#include "hvt/bindings.h"
+#include "cpu_aarch64.h"
extern void *cpu_exception_vectors;
@@ -65,9 +66,19 @@ static void dump_registers(st... | 2 | 2 | 1 | [{"id": "G0", "claim": "The variable `phys_pmd_tbl` should be renamed to `pmd_paddr` because it reads better.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An `assert(paddr <= AARCH64_MMIO_BASE);` should be added just before the MMIO pud adjust... | null |
Solo5__solo5__310 | Solo5/solo5 | 310 | defect | 44144cf7e94f9f1a5b44be7efb74c0815632e375 | 42eeff5ac03b58fff7b5f91cbbbe131a56e27e9c | Add "spt" (seccomp) target | Add a new "spt" target ("sandboxed process tender") for x86_64 and
aarch64 Linux hosts.
This target is a userspace process running inside a strict seccomp
sandbox (up to 7 system calls with block and network I/O). The
"solo5-spt" tender serves essentially as a loader and the bindings
implement the Solo5 API by c... | diff --git a/.gitignore b/.gitignore
index e7a24556a..0cc91231b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@ cscope.*
tags
include/crt
tests/*/*.hvt
+tests/*/*.spt
tests/*/*.virtio
tests/*/*.muen
tests/*/*.genode
@@ -15,3 +16,4 @@ tests/*/Makefile.solo5-hvt
tenders/hvt/Makefile.solo5-hvt
tenders/hvt... | 19 | 10 | 7 | [{"id": "G0", "claim": "The return value of seccomp_init(SCMP_ACT_KILL) (NULL on failure) should be checked before the filter context is used.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In spt_run() the stack pointer offsets are written inconsis... | null |
Solo5__solo5__345 | Solo5/solo5 | 345 | defect | d12d229f582542e434371b3fa416d9ddbfca5c3f | 0c6ef28787f3f2fb10b3482e0919eb7f0dd6a8dd | Refactor build system, remove hvt compile-time specialization | This is step 1 of #326. Note that as I'll be offline for about two weeks starting this Friday, I am going to merge this at the latest by tomorrow morning. As far as I know there are no major showstoppers and the shortcomings can be fixed later.
/cc @ricarkol @djwillia @hannesm (FreeBSD) @adamsteen (OpenBSD) @Kensan ... | diff --git a/.gitignore b/.gitignore
index 0cc91231b..fe6c5e606 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1,8 @@
*.o
+*.d
*.lib.so
-*.swp
-*.pcap
+*.pc
Makeconf
-cscope.*
tags
include/crt
tests/*/*.hvt
@@ -11,9 +10,6 @@ tests/*/*.spt
tests/*/*.virtio
tests/*/*.muen
tests/*/*.genode
-tests/*/solo5-hvt
-... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new `x86_64-linux*` case pattern in configure.sh should be `x86_64-*linux*` so toolchains reporting triples like RHEL's `x86_64-redhat-linux` are recognised instead of dying as unsupported.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ... | null |
Solo5__solo5__364 | Solo5/solo5 | 364 | defect | e1c4fe45af2789efa1718afabab84fc19a9d330a | 5d904e9d0af9c93b8162b04697a8fe7a38c06a38 | tenders: Share common code | Introduce a tenders/common/libcommon.a, and share common code between
the hvt and spt tender. This includes, at the moment:
- the ELF loader, renamed to just elf_load()
- common parts of block/net setup code, now in tap_attach() and
block_attach()
While we're at it, replace the unsafe use of atoi() in tap_atta... | diff --git a/.gitignore b/.gitignore
index fe6c5e606..63abba7e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
*.o
*.d
+*.a
*.lib.so
*.pc
Makeconf
diff --git a/GNUmakefile b/GNUmakefile
index d6f581216..d51d275b4 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -21,7 +21,7 @@ $(TOPDIR)/Makeconf:
$(error M... | 4 | 1 | 1 | [{"id": "G0", "claim": "The FreeBSD branch of tap_attach does not check the status of `up` at all, and the shared up check requires only one of IFF_UP/IFF_RUNNING to be set rather than both; the reviewer asks whether this is intentional.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "int... | null |
Solo5__solo5__366 | Solo5/solo5 | 366 | defect | 6b3cd0d4beadaddb9e95b5dc14aa8ca11f869208 | 46b13530f52240ddd8c27316c8c7b43b97629314 | capsicum(4) sandbox solo5 on FreeBSD | - cap_sysctl(3) provides access to the sysctl namespace (restricted
to hw.vmm.destroy)
- hvt_module_dumpcore was changed to use openat(2} and file creation
restricted to the current working directory
- block, net, stdio file descriptors and ioctls have been restricted
as in bhyve(8)
the ppoll(2) capsicum ... | diff --git a/configure.sh b/configure.sh
index 19d0d06a9..fad8dfd14 100755
--- a/configure.sh
+++ b/configure.sh
@@ -117,7 +117,9 @@ CONFIG_MUEN=
CONFIG_GENODE=
MAKECONF_CFLAGS=
MAKECONF_LDFLAGS=
+MAKECONF_LDLIBS=
CONFIG_SPT_NO_PIE=
+CONFIG_HVT_FREEBSD_ENABLE_CAPSICUM=
case "${CONFIG_HOST}" in
Linux)
@@ -19... | 6 | 6 | 3 | [{"id": "G0", "claim": "dumpcore should take an explicit --dumpcore=DIR option (verifying that DIR exists and is writable) instead of implicitly restricting core dumps to the current working directory.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The C... | null |
Solo5__solo5__368 | Solo5/solo5 | 368 | defect | dfd993e07fe005998ea3840d459f2fac264cb5b9 | fb758287377cdc8174fda6c190f296846c39a70b | Port SPT to PowerPC64 (no TLS access for stack_guard) | This series of patches ports SPT to PowerPC64. We eliminate the access to the thead-local storage's stack_guard by compiling with `-mstack-protector-guard=global`. All libraries and applications have to use the same option and must never use `-fstack-protector-strong` since we do not have a valid TLS. | diff --git a/.gitignore b/.gitignore
index 63abba7e4..93e433f1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
*.lib.so
*.pc
Makeconf
+bindings/spt/solo5_spt.lds
tags
include/crt
tests/*/*.hvt
diff --git a/bindings/GNUmakefile b/bindings/GNUmakefile
index aa4f3cb73..11f577d52 100644
--- a/bindings/GNUma... | 10 | 7 | 5 | [{"id": "G0", "claim": "The ppc64-specific `struct tcb` in tests/test_tls/test_tls.c duplicates the Variant II definition, so the common Variant II struct should be reused and the assignment should use a cast instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
Solo5__solo5__379 | Solo5/solo5 | 379 | defect | 7fc8781d2e90b9a3f55e6fc27cceaa8d6d570dfb | 162efa32e16b31ce64ec716bea1569936a59ec05 | Reserve first manifest entry, use MFT_DEV_XXX for device types | Reserve the first manifest entry, to prevent the use of `0` as a valid handle. Namespace manifest device types under MFT_DEV_XXX.
See individual commits for details.
@cfcs, @ricarkol any comments / objections to this approach? For extra paranoia/bounds checking in the manifest validation, is it worth also making ... | diff --git a/docs/architecture.md b/docs/architecture.md
index 280ab17a3..e578de77e 100644
--- a/docs/architecture.md
+++ b/docs/architecture.md
@@ -119,7 +119,7 @@ characters in length.
_TYPE_ is the type of device being declared, currently `BLOCK_BASIC` or
`NET_BASIC`.
-Note that there is a maximum limit of 64 de... | 6 | 4 | 1 | [{"id": "G0", "claim": "The generated manifest initialisers may not zero-initialise the whole name array: `.name = \"\"` (and `\"%s\"` for device entries) is assumed to set only the first element, so `{0}` / `%-64s` should be used to force initialisation of the entire array.", "category": "correctness", "verdict": "opp... | null |
Solo5__solo5__385 | Solo5/solo5 | 385 | defect | 55cae9509f862fb6fb74fec32be31c21f87c045c | 62a0cd39e64cce1f5d0ad8dc9b8dd0070f0ff1d5 | ELF loader: Refactor and fix multiple issues. | @cfcs found multiple issues in our ELF loader (#382, #383). This code is quite old and has been in need of review for some time, so here is a first cut of refactoring along with fixes for the reported issues.
See individual commits for details.
Fixes #382, fixes #383, fixes #384. | diff --git a/tenders/common/elf.c b/tenders/common/elf.c
index 2cbe74023..114f14248 100644
--- a/tenders/common/elf.c
+++ b/tenders/common/elf.c
@@ -36,6 +36,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
+#include <sys/param.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
... | 4 | 4 | 2 | [{"id": "G0", "claim": "The author should re-read the ELF spec and clarify whether p_align is intended to also adjust the segment start address, since in this code it only influences p_vaddr_end.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If mem... | null |
Solo5__solo5__386 | Solo5/solo5 | 386 | defect | 1ab9b28d81963fb4e3edb3b5cbdc1c40ec6bef4c | d4843bc2912e59f40ce90020baed6880c94a2aa1 | ELF loader: Generic NOTE loading | The ultimate motivation for this is to allow us to use different ELF notes for different purposes (see https://github.com/Solo5/solo5/issues/372#issuecomment-525272670). This will be useful for ABI versioning. From the commit log:
Make the NOTE loading functionality generic, rather than coupled to loading just a "MF... | diff --git a/bindings/hvt/solo5_hvt.lds b/bindings/hvt/solo5_hvt.lds
index ef49f61b0..5a59875e5 100644
--- a/bindings/hvt/solo5_hvt.lds
+++ b/bindings/hvt/solo5_hvt.lds
@@ -21,9 +21,10 @@ SECTIONS {
*(.rodata)
*(.rodata.*)
}
- .note.solo5 :
+ /* For Hvt, the manifest NOTE(s) are read-only. ... | 6 | 3 | 1 | [{"id": "G0", "claim": "Add __attribute__((packed)) and/or _Static_assert guards so that the on-disk note wire format (struct mft1_nhdr, struct mft1_note) is guaranteed to have no unexpected padding.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replace... | null |
Solo5__solo5__391 | Solo5/solo5 | 391 | defect | 0ed9d64ac0217d971de4495e4b50515456c183d8 | 71e380e502ebb521d83fb213dcba021a5d193ee4 | Introduce t_guest_mprotect() in ELF loader, fix hvt implementation | This allows for tender (spt, hvt) control over how page protection is applied to guest memory. This infrastructure is then used to ensure that guest-executable pages are not also host-executable.
See individual commits for details.
Fixes #390.
/cc @cfcs #370 #303 | diff --git a/tenders/common/elf.c b/tenders/common/elf.c
index e45e73404..57e16e800 100644
--- a/tenders/common/elf.c
+++ b/tenders/common/elf.c
@@ -43,6 +43,7 @@
#include <unistd.h>
#include "cc.h"
+#include "elf.h"
/*
* Define EM_TARGET, EM_PAGE_SIZE and EI_DATA_TARGET for the architecture we
@@ -194,7 +195,... | 6 | 2 | 0 | [{"id": "G0", "claim": "Rename the opaque `void *t` callback argument of elf_load()/guest_mprotect_fn_t to something more specific (e.g. `tender_handle` or `t_guest_mprotect_handle`) that is easier to recognize at the call site of `t_guest_mprotect()`.", "category": "maintainability", "verdict": "supported", "priority"... | null |
Solo5__solo5__393 | Solo5/solo5 | 393 | defect | 9fb935262d76f5800aa56268c159e9802b2170c3 | 9cdeff29cf628d34d6b33fa8e07ea1d130469b02 | Implement tender/bindings ABI versioning | You are wandering around the dark corners of the ELF toolchain.
You are likely to be eaten by a grue.
As outlined in https://github.com/Solo5/solo5/issues/372#issuecomment-525272670.
----
This change introduces an additional Solo5-owned ELF note, "ABI1", which is used to embed information about the b... | diff --git a/bindings/hvt/solo5_hvt.lds b/bindings/hvt/solo5_hvt.lds
index 5a59875e5..f09023ba8 100644
--- a/bindings/hvt/solo5_hvt.lds
+++ b/bindings/hvt/solo5_hvt.lds
@@ -1,16 +1,72 @@
+/*
+ * Copyright (c) 2015-2019 Contributors as noted in the AUTHORS file
+ *
+ * This file is part of Solo5, a sandboxed execution e... | 3 | 1 | 0 | [{"id": "G0", "claim": "It would make sense to define HVT_ABI_VERSION/HVT_ABI_TARGET as an enum in a globally included header.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The elf_load doc comment should say the function *only* supports PT_NOTE headers... | null |
Solo5__solo5__394 | Solo5/solo5 | 394 | defect | 9fb935262d76f5800aa56268c159e9802b2170c3 | 260c53bab1e6af7ed2f1531ab2d3a79bb93babd6 | ppc64: Fix syscall interface for syscall error case | In case of a syscall error the syscall returns the (positive) errno as
the result and has the summary overflow flag in cr0 set. In our case we
set the result value to -errno (=-r3).
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> | diff --git a/bindings/cpu_ppc64.h b/bindings/cpu_ppc64.h
index 411294f5d..0f10a8fed 100644
--- a/bindings/cpu_ppc64.h
+++ b/bindings/cpu_ppc64.h
@@ -25,6 +25,9 @@
#define PAGE_SHIFT 16
#define PAGE_MASK ~(0xffff)
+#define CR0_SO (0x80000000 >> 3) /* summary overflow;
+ ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The ppc64le syscall stubs must return -errno on error, because solo5_yield() and solo5_net_read() in bindings/spt/net.c rely on -errno being returned for EAGAIN and EINTR; returning positive errno will break things.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": ... | null |
Solo5__solo5__528 | Solo5/solo5 | 528 | defect | 4c570deac704a277240f70f672f8f1d85608de9d | c0efb8427a904460617491c9ec087a8311006a5a | Custom block size | This adds an option to specify a block size different from 512. The block size must be a power of 2 greater than or equal 512.
Marked as a draft as
- it's not well tested,
- I'm not sure about a few details and decisions.
Some things to investigate (CC @Julow):
- [ ] Does the restriction on block size make sen... | diff --git a/tenders/common/block_attach.c b/tenders/common/block_attach.c
index 69980bf5f..1a899f2c1 100644
--- a/tenders/common/block_attach.c
+++ b/tenders/common/block_attach.c
@@ -29,12 +29,13 @@
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
+#include <stdint.h>
/*
* Attach to the block dev... | 5 | 4 | 1 | [{"id": "G0", "claim": "It is unexplained why the code can assume block_basic.block_size is 0 when it was not set in handle_cmdarg().", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G2", "claim": "The option --block-size should be renamed to --block-sector-size so ... | null |
Solo5__solo5__546 | Solo5/solo5 | 546 | defect | a63a755d710a1286a0d0eea1253762ba25e866b7 | e06a111c4666789a9dff54ad082cf3f9b6762dc2 | Tls export symbols | This PR is an follow-up of the previous TLS PR #542 . I'm currently not sure if the exported API is clear enough or makes sense at all, I'd feel better if someone could comment that.
Now we can export TDATA as the address of the the thread variables' initialization values, LTDATA the length of the tdata section, and... | diff --git a/bindings/lib.c b/bindings/lib.c
index 285ce2188..e4fd6decb 100644
--- a/bindings/lib.c
+++ b/bindings/lib.c
@@ -67,7 +67,7 @@ void *memset(void *dest, int c, size_t n)
return dest;
}
-void *memcpy(void *restrict dest, const void *restrict src, size_t n)
+void *__attribute__ ((noinline)) memcpy(void... | 3 | 3 | 1 | [{"id": "G0", "claim": "solo5_tls_init writes the dereferenced value back into itself with *tmp = *tmp, but it should store the tp address itself in that slot (e.g. *tmp = (uintptr_t)tmp) so the TCB's tp field points at the TLS block.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "intr... | null |
Solo5__solo5__578 | Solo5/solo5 | 578 | defect | 5478c255911e1dae6c9ab1f448daddf0fb46ea37 | 1f2b1f6c96ef4fb0c3dab67c3875de5a2ea79923 | Check GET_TSC_KHZ return code correctly & update Intel SDM reference | We check the ioctl for `KVM_GET_TSC_KHZ` being -1 only, but according to the documentation it will return `-EIO` (`-5`) when the TSC is unstable (which we check for in errno). https://www.kernel.org/doc/html/latest/virt/kvm/api.html#kvm-get-tsc-khz
I also updated a reference to Intel SDM which now lives in chapter ... | diff --git a/tenders/hvt/hvt_cpu_x86_64.h b/tenders/hvt/hvt_cpu_x86_64.h
index 73d20a036..1df99ff3b 100644
--- a/tenders/hvt/hvt_cpu_x86_64.h
+++ b/tenders/hvt/hvt_cpu_x86_64.h
@@ -75,7 +75,7 @@
#define X86_CR4_VMXE _BITUL(X86_CR4_VMXE_BIT)
/*
- * Intel SDM section 23.8 "Restrictions on VMX Operation" se... | 1 | 1 | 0 | [{"id": "G0", "claim": "The added comment in hvt_kvm.c should be reworded from the `XXX(reynir)` prefix style to `/* (reynir, 2024-05-08): probably very unlikely to fail... */`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
Solo5__solo5__606 | Solo5/solo5 | 606 | defect | ff63477507a032583e2e2a91dc93eed5b27103cd | df249eeb191ec1553256a985ea2e89a050c75173 | Implement MTU detection for hvt, spt, virtio | For ~~the other tenders and other OSes~~ muen it is still hardcoded to 1500.
This is an attempt at addressing #605.
~~For FreeBSD and OpenBSD I have not investigated how to detect the configured MTU.~~
There is no way to inform the unikernel if the MTU is adjusted on the host. | diff --git a/tenders/common/tap_attach.c b/tenders/common/tap_attach.c
index 1b608667b..fa4e0ed3b 100644
--- a/tenders/common/tap_attach.c
+++ b/tenders/common/tap_attach.c
@@ -59,7 +59,7 @@
#endif
-int tap_attach(const char *ifname)
+int tap_attach(const char *ifname, int *mtu)
{
int fd;
@@ -159,6 +159,27... | 3 | 1 | 1 | [{"id": "G0", "claim": "The reviewer is unsure whether checking `mtu < 0` in addition to `fd < 0` is overly cautious, given that `e->u.net_basic.mtu` is a `uint16_t` and `mtu` is an `int`.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The tests.bat... | null |
Solo5__solo5__613 | Solo5/solo5 | 613 | defect | ff63477507a032583e2e2a91dc93eed5b27103cd | 979bf67a08cc8ae7b82541085e8840f6b8226688 | Improve error handling | This PR replaces a couple of `assert`s with a proper, or at least better, handling of the corresponding error. In particular, it replaces `assert`s that check conditions that can, or maybe could, be controlled by the unikernel, either in its file format (hardening the ELF parser) or in the hypercalls it triggers. It al... | diff --git a/tenders/common/elf.c b/tenders/common/elf.c
index 50ddcce24..5c5f03623 100644
--- a/tenders/common/elf.c
+++ b/tenders/common/elf.c
@@ -303,7 +303,8 @@ void elf_load(int bin_fd, const char *bin_name, uint8_t *mem, size_t mem_size,
/*
* Double check result for host (caller) addres... | 4 | 2 | 2 | [{"id": "G0", "claim": "A failed block pwrite/pread should make the tender fail loudly - print an error message and exit with a specific exit code - rather than let the unikernel continue on a bare SOLO5_R_EUNSPEC it cannot act on, or go back to an assertion that crashes with a coredump able to consume unbounded host d... | null |
Solo5__solo5__632 | Solo5/solo5 | 632 | defect | 5dc6b1c2e28e1d6c9ca339253ea623f61b277064 | 46097422993ace00196a5972ad560f67baf818de | Add -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare | This patch mainly try to lint our codebase with few warnings. It introduces also the usage of _Generic (C11) to be able to keep const qualifier between arguments and returned values (à la Rust). | diff --git a/Makefile.common b/Makefile.common
index 1d6d9442c..b2d3c850e 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -30,7 +30,7 @@ include $(TOPDIR)/Makeconf
# target.
#
CC := __V=$(V) $(TOPDIR)/toolchain/bin/$(CONFIG_TARGET_TRIPLE)-cc
-CFLAGS := -std=c11 -Wall -Wextra -Werror -O2 -g
+CFLAGS := -std=c11 ... | 4 | 3 | 1 | [{"id": "G0", "claim": "The GCC-specific pragma enabling and disabling of warnings should be replaced by fixing the code so that GCC does not warn.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A fix is needed for the virtio backend so that `vi... | null |
SonarSource__sonar-php__1111 | SonarSource/sonar-php | 1,111 | defect | 78eb0d371b245c20a6e09d40f4921cae1ce7128f | 858cddc468c87d19eb1137e2c9b32de8426b5efc | SONARPHP-1408 S1144 should not raise an issue when a private method i… | …s called externally via the magic method __call() | diff --git a/php-checks/src/main/java/org/sonar/php/checks/UnusedPrivateMethodCheck.java b/php-checks/src/main/java/org/sonar/php/checks/UnusedPrivateMethodCheck.java
index fb69a3f418..a8b471b0fe 100644
--- a/php-checks/src/main/java/org/sonar/php/checks/UnusedPrivateMethodCheck.java
+++ b/php-checks/src/main/java/org/... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new check does not consider a `__call` defined in a superclass, so a private method in an inheritor could still be flagged even though it might be called via `__call` — the reviewer asks whether this can be checked or should be considered too rare to bother.", "category": "correctness", "ver... | null |
SonarSource__sonar-php__1136 | SonarSource/sonar-php | 1,136 | defect | 154b4fab96354a642099c146595f6c3562101046 | c1ef9ab16c67fa48dd9d7187b9e1bfc7484beb40 | SONARPHP-1302 Move custom rules example to sonar-php | Better review commit by commit. The first is just a copy from another repo, and the second commit update the custom rule project.
It also works with SQ. | diff --git a/php-custom-rules/README.md b/php-custom-rules/README.md
new file mode 100644
index 0000000000..a9b26ea1ae
--- /dev/null
+++ b/php-custom-rules/README.md
@@ -0,0 +1,10 @@
+[ from the root pom.xml, since its impact is unknown and it risks breaking a product release.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Create... | null |
SonarSource__sonar-php__1137 | SonarSource/sonar-php | 1,137 | defect | f91dec9eddcefdacd740355b9210ca633abcaddc | f541ca896909af79462df5e92ec7132602646dd9 | SONARPHP-1410 S117 allow use of underscore in variables | Corresponding RSPEC PR: https://github.com/SonarSource/rspec/pull/2960 | diff --git a/its/ruling/src/test/resources/expected/PHPMailer/php-S117.json b/its/ruling/src/test/resources/expected/PHPMailer/php-S117.json
index 5b287dc143..163d9e31ee 100644
--- a/its/ruling/src/test/resources/expected/PHPMailer/php-S117.json
+++ b/its/ruling/src/test/resources/expected/PHPMailer/php-S117.json
@@ -1... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a testcase showing that no issue is raised on variables whose names contain an underscore.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SonarSource__sonar-php__1297 | SonarSource/sonar-php | 1,297 | defect | 2646a2016f587c35cfa8e1380a393aa4a679d95a | 002e9eefa22dddf7e054eeabc09a5f6479e982af | SONARPHP-1556 Detects hard-coded secrets for different AST elements | [SONARPHP-1556](https://sonarsource.atlassian.net/browse/SONARPHP-1556)
Part of [SONARPHP-1369](https://sonarsource.atlassian.net/browse/SONARPHP-1369)
[SONARPHP-1556]: https://sonarsource.atlassian.net/browse/SONARPHP-1556?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1c... | diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index e0f675af2b..f8d378e3ae 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -1,5 +1,6 @@
[versions]
-sonar-commons = "2.14.0.3087"
+#TODO replace by released vrsion before merge
+sonar-commons = "2.15.0.3121"
sonar-plugin-ap... | 5 | 5 | 1 | [{"id": "G0", "claim": "Rename the IPV_6_PATTERN constant since the pattern it holds matches both IP_V4 and IP_V6.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TWO_ARGUMENTS constant may read worse than a plain literal 2; the reviewer lean... | null |
SonarSource__sonar-php__1301 | SonarSource/sonar-php | 1,301 | defect | b6e30f671289c0133ae990d8a7eeef4b91312b76 | dc90decdc89edf6538cacff93685248f6d7f1821 | SONARPHP-1533 Support Disjunctive Normal Form Types (PHP 8.2 feature) | [SONARPHP-1533](https://sonarsource.atlassian.net/browse/SONARPHP-1533)
[SONARPHP-1533]: https://sonarsource.atlassian.net/browse/SONARPHP-1533?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java b/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
index 0694f28c8a..aeeabab14c 100644
--- a/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
+++ b/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
@... | 3 | 3 | 0 | [{"id": "G0", "claim": "The arguments of the new `dnfType` method in TreeFactory should be split onto separate lines instead of being packed onto long lines.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `type1` parameter in `dnfIntersectio... | null |
SonarSource__sonar-php__1302 | SonarSource/sonar-php | 1,302 | defect | 717d0fc3875c0cf1ca4566db785a04a504983c76 | 49d46422d6b12cf803723546e58389fe2297dfbb | SONARPHP-1562 Add basic support for PropertyHooks | [SONARPHP-1562](https://sonarsource.atlassian.net/browse/SONARPHP-1562)
Part of
<!--
Only for standalone PRs without Jira issue in the PR title:
* Replace this comment with Epic ID to create a new Task in Jira
* Replace this comment with Issue ID to create a new Sub-Task in Jira
* Ignore or delet... | diff --git a/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java b/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
index 7068804778..381f15bcf5 100644
--- a/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
+++ b/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
@... | 6 | 6 | 2 | [{"id": "G0", "claim": "Instead of allowing any identifier for a property hook name, the grammar should explicitly allow only `get` or `set` (possibly with dedicated AST values).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The openCurlyBrace/clos... | null |
SonarSource__sonar-php__1304 | SonarSource/sonar-php | 1,304 | defect | 717d0fc3875c0cf1ca4566db785a04a504983c76 | 721b148bff3df78dc126db6e7c3d67f77ef178c2 | SONARPHP-1544 Support new without parentheses | [SONARPHP-1544](https://sonarsource.atlassian.net/browse/SONARPHP-1544)
[SONARPHP-1544]: https://sonarsource.atlassian.net/browse/SONARPHP-1544?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java b/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
index 7068804778..d4ea5e850c 100644
--- a/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
+++ b/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
@... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add some notMatches examples to CallableConvertTest alongside the new matches(\"new C(...)\") case.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SonarSource__sonar-php__1335 | SonarSource/sonar-php | 1,335 | defect | fd46c0a39d001a7e6acaa355f299fd1fccf1d790 | 0a56b097d26759a17a1c529eb658cc57dcab71d3 | SONARPHP-1584 Support Asymmetric Property Visibility | [SONARPHP-1584](https://sonarsource.atlassian.net/browse/SONARPHP-1584)
[SONARPHP-1584]: https://sonarsource.atlassian.net/browse/SONARPHP-1584?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/php-frontend/src/main/java/org/sonar/php/parser/LexicalConstant.java b/php-frontend/src/main/java/org/sonar/php/parser/LexicalConstant.java
index e359dbd4f8..a915dd7bad 100644
--- a/php-frontend/src/main/java/org/sonar/php/parser/LexicalConstant.java
+++ b/php-frontend/src/main/java/org/sonar/php/parser/Le... | 3 | 2 | 1 | [{"id": "G0", "claim": "Add test cases to ClassMemberTest covering protected(set) and private(set) properties and rejecting spaces inside the parentheses of the asymmetric visibility modifier.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The parser fa... | null |
SonarSource__sonar-php__1339 | SonarSource/sonar-php | 1,339 | defect | 89aec73193c20345d1e1623e051f9b0684e90f29 | 5d1d492d86630dfc5f5bf0217556e0f6b63edf17 | SONARPHP-1569 S1448 should not raise on test classes | [SONARPHP-1569](https://sonarsource.atlassian.net/browse/SONARPHP-1569)
[SONARPHP-1569]: https://sonarsource.atlassian.net/browse/SONARPHP-1569?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/its/ruling/src/integrationTest/resources/expected/PHPMailer/php-S1448.json b/its/ruling/src/integrationTest/resources/expected/PHPMailer/php-S1448.json
index 3971d2874d..42d934eb4a 100644
--- a/its/ruling/src/integrationTest/resources/expected/PHPMailer/php-S1448.json
+++ b/its/ruling/src/integrationTest/r... | 1 | 1 | 1 | [{"id": "G0", "claim": "MethodSymbol should not be mentioned in the public api interface MethodDeclarationTree; symbol access should be exposed via HasMethodSymbol on the implementing class instead of declaring a symbol() method in the api interface.", "category": "design", "verdict": "supported", "priority": "P1", "sc... | null |
SonarSource__sonar-php__1343 | SonarSource/sonar-php | 1,343 | defect | ad606a808de5566e4b03a776f1b21c1d5818fb88 | 5be25fc3a61701f2a6b5eefb94046318cd014fee | SONARPHP-1590 S1192 should not raise for HTML tags | [SONARPHP-1590](https://sonarsource.atlassian.net/browse/SONARPHP-1590)
Part of
<!--
Only for standalone PRs without Jira issue in the PR title:
* Replace this comment with Epic ID to create a new Task in Jira
* Replace this comment with Issue ID to create a new Sub-Task in Jira
* Ignore or delet... | diff --git a/its/ruling/src/integrationTest/resources/expected/PHPWord/php-S1192.json b/its/ruling/src/integrationTest/resources/expected/PHPWord/php-S1192.json
index c75921061b..0a7fe8cdc6 100644
--- a/its/ruling/src/integrationTest/resources/expected/PHPWord/php-S1192.json
+++ b/its/ruling/src/integrationTest/resourc... | 1 | 1 | 1 | [{"id": "G0", "claim": "The rule should not raise on HTML built by concatenation, e.g. '<div class=\"beautiful\">' or '</span', and tests for self-closing tags like <br/> and <br /> should be added.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SonarSource__sonar-php__1360 | SonarSource/sonar-php | 1,360 | defect | 69082392b1052e2d0716b7c0b118c57a9aea9e34 | 0dc3a7dca4a0a93b1c6d963e3127940b074259cc | SONARPHP-1605 PHP parser should support array merges in static variables | [SONARPHP-1605](https://sonarsource.atlassian.net/browse/SONARPHP-1605)
[SONARPHP-1605]: https://sonarsource.atlassian.net/browse/SONARPHP-1605?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java b/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
index 990b543de9..c4bb122f08 100644
--- a/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
+++ b/php-frontend/src/main/java/org/sonar/php/parser/PHPGrammar.java
@... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add the ticket's initial example with a trailing comma inside the first array bracket as a test case: \"static $a = [E_COMPILE_ERROR => 'first',] + (1 < 2 ? [E_STRICT => 'b'] : []);\".", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"... | null |
SonarSource__sonar-php__1519 | SonarSource/sonar-php | 1,519 | defect | 46624fadfb7d4a9431ed05027cdce297fbcd38d6 | c13ec1ba6d23b3deeb19e46a8ea8db93cb221870 | SONARPHP-1534 S1192 should not report an issue on Laravel-like validation strings | [SONARPHP-1534](https://sonarsource.atlassian.net/browse/SONARPHP-1534)
[SONARPHP-1534]: https://sonarsource.atlassian.net/browse/SONARPHP-1534?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/its/ruling/src/integrationTest/resources/expected/PHPWord/php-S1192.json b/its/ruling/src/integrationTest/resources/expected/PHPWord/php-S1192.json
index d38501ce92..15a1d6b495 100644
--- a/its/ruling/src/integrationTest/resources/expected/PHPWord/php-S1192.json
+++ b/its/ruling/src/integrationTest/resourc... | 2 | 1 | 0 | [{"id": "G0", "claim": "The three bare \"mystr\" duplicate literals sit under the \"General test for array keys\" comment in array_keys.php even though no array is involved there, leaving the test case misplaced with a wrong associated comment.", "category": "testing", "verdict": "supported", "priority": "P2", "scope":... | null |
SonarSource__sonar-php__1544 | SonarSource/sonar-php | 1,544 | defect | 1771bf16a5ee05efef6868e9903ebee4397b7a92 | fff9dfb2318e5d3a765c468df6929337f64ad40a | SONARPHP-1738 Update S3776 Cognitive Complexity to account for PHP pipe operator | [SONARPHP-1738](https://sonarsource.atlassian.net/browse/SONARPHP-1738)
<!--
Only for standalone PRs without Jira issue in the PR title:
* Replace this comment with Epic ID to create a new Task in Jira
* Replace this comment with Issue ID to create a new Sub-Task in Jira
* Ignore or delete this n... | diff --git a/php-checks/src/test/resources/checks/FunctionCognitiveComplexityCheck/default.php b/php-checks/src/test/resources/checks/FunctionCognitiveComplexityCheck/default.php
index ad58285c9d..66e29013a1 100644
--- a/php-checks/src/test/resources/checks/FunctionCognitiveComplexityCheck/default.php
+++ b/php-checks/... | 2 | 2 | 0 | [{"id": "G0", "claim": "The two new helper methods should be private rather than public and renamed to handlePipeOpBinaryExpression and handleAndOrBinaryExpression, with their call sites updated to match.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
SonarSource__sonar-php__1546 | SonarSource/sonar-php | 1,546 | defect | c152ca6361e9d24425106d135a82aaa98706db4a | e009e3e5d02d9bb0a26a31915fe49b501afd4f6f | SONARPHP-1680 S1448 should not raise on classes that are entity of a database | [SONARPHP-1680](https://sonarsource.atlassian.net/browse/SONARPHP-1680)
Part of
<!--
Only for standalone PRs without Jira issue in the PR title:
* Replace this comment with Epic ID to create a new Task in Jira
* Replace this comment with Issue ID to create a new Sub-Task in Jira
* Ignore or del... | diff --git a/php-checks/src/main/java/org/sonar/php/checks/TooManyMethodsInClassCheck.java b/php-checks/src/main/java/org/sonar/php/checks/TooManyMethodsInClassCheck.java
index c0f91663a4..9670292e04 100644
--- a/php-checks/src/main/java/org/sonar/php/checks/TooManyMethodsInClassCheck.java
+++ b/php-checks/src/main/jav... | 11 | 11 | 4 | [{"id": "G0", "claim": "Remove the unneeded empty lines inside the new methods, as they do not help readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use the boolean literals true and false instead of the Boolean.FALSE/Boolean.TRUE wra... | null |
SonarSource__sonar-php__1555 | SonarSource/sonar-php | 1,555 | defect | 47dee2d96686556a28e5f86c275705b4e19c2ff2 | 72c5fbe69058b80a4c5df8a15c35177e117c8aae | SONARPHP-1681 S2003 and S4833 should not raise on Laravel-generated code | [SONARPHP-1681](https://sonarsource.atlassian.net/browse/SONARPHP-1681)
[SONARPHP-1681]: https://sonarsource.atlassian.net/browse/SONARPHP-1681?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/php-checks/src/main/java/org/sonar/php/checks/RequireIncludeInstructionsUsageCheck.java b/php-checks/src/main/java/org/sonar/php/checks/RequireIncludeInstructionsUsageCheck.java
index 09f51b3c98..b4fb8b3fd7 100644
--- a/php-checks/src/main/java/org/sonar/php/checks/RequireIncludeInstructionsUsageCheck.java... | 2 | 2 | 0 | [{"id": "G0", "claim": "A generic isFramework(SymbolTable.Framework) helper should be added to the context to reduce duplication of check-local methods like isLaravelFrameworkUsed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Laravel t... | null |
SonarSource__sonar-php__1556 | SonarSource/sonar-php | 1,556 | defect | 47dee2d96686556a28e5f86c275705b4e19c2ff2 | ce5a0c47a1918ba0c0b6312c9ef53c1d92d3d9d8 | SONARPHP-1674 S101 should not raise for class-like structures generated by Yii | [SONARPHP-1674](https://sonarsource.atlassian.net/browse/SONARPHP-1674)
[SONARPHP-1674]: https://sonarsource.atlassian.net/browse/SONARPHP-1674?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/php-checks/src/main/java/org/sonar/php/checks/ClassNameCheck.java b/php-checks/src/main/java/org/sonar/php/checks/ClassNameCheck.java
index 004ff8a0c9..28eb9c9cda 100644
--- a/php-checks/src/main/java/org/sonar/php/checks/ClassNameCheck.java
+++ b/php-checks/src/main/java/org/sonar/php/checks/ClassNameChec... | 1 | 1 | 0 | [{"id": "G0", "claim": "In addition to the classes covered in the ticket, the check should also skip Yii classes extending \\yii\\mongodb\\Migration, as referenced by the GitHub code search the reviewer linked.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SonarSource__sonar-php__1560 | SonarSource/sonar-php | 1,560 | defect | 570937553ca14d2cb686605ccc0ae08992d22fb0 | d7d89d2d9967b01ae838050be1903c23f9c60d4f | SONARPHP-1673 S1192 should not raise on "importmap.php" | [SONARPHP-1673](https://sonarsource.atlassian.net/browse/SONARPHP-1673)
[SONARPHP-1673]: https://sonarsource.atlassian.net/browse/SONARPHP-1673?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/build-logic/common b/build-logic/common
index adafaabcda..bbc322e974 160000
--- a/build-logic/common
+++ b/build-logic/common
@@ -1 +1 @@
-Subproject commit adafaabcdaf33025262bb4d41f794c1aad921600
+Subproject commit bbc322e9747d0c992d76efed54f5a1f202be0756
diff --git a/php-checks/src/main/java/org/sonar/p... | 5 | 5 | 1 | [{"id": "G0", "claim": "The Objects.requireNonNull wrapper around context().getPhpFile().filename() is unnecessary and should be removed or justified.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test resource symfony_file.php added by the... | null |
SonarSource__sonar-php__1562 | SonarSource/sonar-php | 1,562 | defect | ff443c28b244495663e36431c50d65ebff921ca5 | c426f0f94da7f7fc203accb48ea85a04b05bab43 | SONARPHP-1754 Improve Wordpress Framework Detection | [SONARPHP-1754](https://sonarsource.atlassian.net/browse/SONARPHP-1754)
[SONARPHP-1754]: https://sonarsource.atlassian.net/browse/SONARPHP-1754?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/php-checks/src/main/java/org/sonar/php/checks/utils/CheckUtils.java b/php-checks/src/main/java/org/sonar/php/checks/utils/CheckUtils.java
index 916a69724f..3f1dd373b6 100644
--- a/php-checks/src/main/java/org/sonar/php/checks/utils/CheckUtils.java
+++ b/php-checks/src/main/java/org/sonar/php/checks/utils/C... | 11 | 9 | 1 | [{"id": "G0", "claim": "Correct the incomplete word in the comment: 'comply w rule S1118' should read 'comply with rule S1118'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The comparisons in isFalseValue use Yoda conditions inconsistently (equa... | null |
SonarSource__sonar-php__1642 | SonarSource/sonar-php | 1,642 | defect | bf874d50f188ed981866ee2a718dfcda5908292a | 2b46102d5c52d9050d6ccc62ad9ac8ae3ba33d9b | SONARPHP-1796 S1192: Suppress string duplication issues in framework patterns, test files, and SQL/HTML contexts | Exclude string literals that are arguments to known translation functions (__, _e, t, esc_html__, etc.) and strings inside PHPUnit TestCase subclasses from the S1192 string duplication rule.
| diff --git a/its/ruling/src/integrationTest/resources/expected/PHPWord/php-S1192.json b/its/ruling/src/integrationTest/resources/expected/PHPWord/php-S1192.json
index 15a1d6b495..0967ef424b 100644
--- a/its/ruling/src/integrationTest/resources/expected/PHPWord/php-S1192.json
+++ b/its/ruling/src/integrationTest/resourc... | 2 | 1 | 0 | [{"id": "G0", "claim": "The lines at the end of translation_functions.php asserting that strings NOT in translation functions still raise issues (the `some string here` block) should be deleted, as proposed by the empty suggestion block.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "intro... | null |
SonarSource__sonar-php__1674 | SonarSource/sonar-php | 1,674 | defect | a5b1fdda8ac6b85e2a5bd84251a7dc3d67fd9f39 | 546a3d4c88dbf36ed7827ccefd526dbd9f4a7aa6 | SONARPHP-1806 Fix S117 FP and S116 FN on PHP 8 constructor property promotion | ## Summary
- **S117 false positive**: `LocalVariableAndParameterNameCheck` was checking promoted constructor properties as regular parameters. Fixed by skipping parameters where `isPropertyPromotion()` is true — their naming is governed by S116 instead.
- **S116 false negative**: `FieldNameCheck` only visited `CLASS_P... | diff --git a/php-checks/src/main/java/org/sonar/php/checks/FieldNameCheck.java b/php-checks/src/main/java/org/sonar/php/checks/FieldNameCheck.java
index 1153d688f5..17c267e562 100644
--- a/php-checks/src/main/java/org/sonar/php/checks/FieldNameCheck.java
+++ b/php-checks/src/main/java/org/sonar/php/checks/FieldNameChec... | 1 | 1 | 0 | [{"id": "G0", "claim": "The naming check (pattern.matcher(propertyName.replace(\"$\", \"\")).matches() plus newIssue) is duplicated identically in checkClassPropertyDeclaration and checkPromotedConstructorProperties, so a private helper taking the identifier tree should be extracted and both callers reduced to a single... | null |
SonarSource__sonar-php__460 | SonarSource/sonar-php | 460 | defect | 01f3a522c2921b09cb6060cdd6c1636c3cd574f8 | bf9fc59227aea47cb44e32841f8e9151a1cc0d0d | SONARPHP-915 Rule S5328: Setting session IDs is security-sensitive | Continuation of community PR, initial PR https://github.com/SonarSource/sonar-php/pull/451 | diff --git a/its/ruling/src/test/resources/expected/php-S5328.json b/its/ruling/src/test/resources/expected/php-S5328.json
new file mode 100644
index 0000000000..993e5b77e9
--- /dev/null
+++ b/its/ruling/src/test/resources/expected/php-S5328.json
@@ -0,0 +1,12 @@
+{
+'project:Symfony/Component/HttpFoundation/Session/St... | 2 | 2 | 0 | [{"id": "G0", "claim": "The 'the session ID is hardcoded' bullet in the S5328 rule description is a leftover from the first pull request and can probably be removed as it doesn't make much sense.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Mayb... | null |
SonarSource__sonar-php__510 | SonarSource/sonar-php | 510 | defect | b757fd556b9b2b0232be32de408518807fc4ab1b | c68cd1cd0c01a2f31a282adc60ec3a290bcb456d | SONARPHP-884 Identify if class declaration is in namespace | If a class is in a namespace, a method is no longer used as a constructor if it has the same name as the class. If there is a namespace that is declared at the file script level, then all classes belong to this namespace. If there are several namespaces, classes can belong to different namespaces,
but each class must ... | diff --git a/its/ruling/src/test/resources/expected/php-S1603.json b/its/ruling/src/test/resources/expected/php-S1603.json
deleted file mode 100644
index ced5243645..0000000000
--- a/its/ruling/src/test/resources/expected/php-S1603.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-'project:PhpSpreadsheet/src/PhpSpreadsheet/Reader... | 1 | 1 | 1 | [{"id": "G0", "claim": "The tree-walking implementation of isClassInNamespaceContext still raises a false positive on a class declared inside an if block in a namespaced file, and the symbol/qualifiedName approach should be used instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i... | null |
SonarSource__sonar-php__728 | SonarSource/sonar-php | 728 | defect | 727ce183ce6ddcbbd25c6a8a6c6bee8e8582cc63 | 4b4a8edb722c2df8d471d60ad06495ee3535e26c | SONARPHP-1117 FP on S2115 where a variable is reassigned using "list" | The PR adds basic handling of the `list(....) = ....` construct in `AssignmentExpressionVisitor` to fix the false positive cause, but also assign the correct value in case of something simple such as `list($a, $b) = ['a value', 'b value']`.
More complex usages of `list()` such as when it is nested in another `list(... | diff --git a/php-checks/src/test/resources/checks/EmptyDatabasePasswordCheck.php b/php-checks/src/test/resources/checks/EmptyDatabasePasswordCheck.php
index 511fae3e1c..0925712999 100644
--- a/php-checks/src/test/resources/checks/EmptyDatabasePasswordCheck.php
+++ b/php-checks/src/test/resources/checks/EmptyDatabasePas... | 6 | 6 | 0 | [{"id": "G0", "claim": "Replace the array-pair extraction loop in handleListAssignment with the suggested stream-based anyMatch/map formulation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Simplify the list test's assertions to the suggested ... | null |
SonarSource__sonar-php__740 | SonarSource/sonar-php | 740 | defect | d8b8c8f599582faf44a771ed5c64aedf73bde93c | d9c54c197a6b2e280849fe7de433f3fa0440b7e8 | SONARPHP-1102 Rule S5332: Using clear-text protocols is security-sensitive part-1 | This PR handles the following parts of SONARPHP-1102:
- Url scheme in string literal
- FTP
- Laravel 7 + 8
The remaining two parts (PHPMailer and Swift Mailer) will be handled in a separate PR.
| diff --git a/its/ruling/src/test/resources/expected/php-S5332.json b/its/ruling/src/test/resources/expected/php-S5332.json
new file mode 100644
index 0000000000..04b45fada4
--- /dev/null
+++ b/its/ruling/src/test/resources/expected/php-S5332.json
@@ -0,0 +1,566 @@
+{
+'project:PHPMailer/get_oauth_token.php':[
+81,
+],
... | 5 | 3 | 0 | [{"id": "G0", "claim": "The check does not handle cases like `return ['mailers' => $mailers];` (returning a variable holding the mailers array) or conditional configurations.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Replace the findFirst().orEls... | null |
SonarSource__sonar-php__854 | SonarSource/sonar-php | 854 | defect | 936a0d23b722896dd94d6183259f81191882c259 | 4675e06dd3d7074a2d51e079ec9d7dbf77b5b5f7 | SONARPHP-1204 Rule S5856: Regular expressions should be syntactically valid | Currently, in the ITS we fail on the following regexes:
```php
'/[\200-\377]/'
'/[^\040\041\043-\133\135-\176]/'
'/[\000-\010\013\014\016-\037\177-\377]/'
'|(?<!\\\\)(?:\\\\{2})*\${?[a-zA-Z0-9_]+}?|'
'|[^\\\]\${?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)|'
'`^[\pZ\s]+$`u'
'/^(?P<bundle>[^:]*?)(?:Bundle)... | diff --git a/its/ruling/src/test/resources/expected/php-S5856.json b/its/ruling/src/test/resources/expected/php-S5856.json
new file mode 100644
index 0000000000..e8a2b6ca74
--- /dev/null
+++ b/its/ruling/src/test/resources/expected/php-S5856.json
@@ -0,0 +1,36 @@
+{
+'project:PHPMailer/src/PHPMailer.php':[
+3049,
+3058... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test resource should also check that the rule highlights the precise primary location and the secondary locations (when there are), not just mark lines as Noncompliant.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SonarSource__sonar-php__985 | SonarSource/sonar-php | 985 | defect | 3128e800c3a8b09ebd3eb92a6e9466b752439508 | 72a3ea0be80d019b1ec8c5cf599c12e5d223cf5e | SONARPHP-1320 Implement file path adjustment for PHPUnit test and coverage reports | This PR changes many test resources, as they had to be adapted for the new logic. In the past, a hacky solution adjusted all paths before analyzing to an absolute path matching the test environment. The new implementation makes this hack unnecessary. The focus of this PR is on the new ExternalReportFileHandler, which m... | diff --git a/its/plugin/projects/common-rules/reports/phpunit.coverage.xml b/its/plugin/projects/common-rules/reports/phpunit.coverage.xml
index ce0bc7bcbd..a3e1ad0a45 100644
--- a/its/plugin/projects/common-rules/reports/phpunit.coverage.xml
+++ b/its/plugin/projects/common-rules/reports/phpunit.coverage.xml
@@ -1,7 +... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new test resource phpunit.coverage-fqn_win.xml is not used anywhere in the PR.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Applying separatorsToSystem unconditionally could break currently working paths with mixed separato... | null |
SonarSource__sonar-scanner-cli__139 | SonarSource/sonar-scanner-cli | 139 | defect | 6b1b470f1f36e6e568968a745fac3db70b43b702 | a5c19e08ad11d537769703a3873d50adf74eb5ca | BUILD-2144 Fetch secrets from Vault | This PR ensures that secrets are being fetched from HashiCorp Vault. | diff --git a/.cirrus.yml b/.cirrus.yml
index 4926de6d..5c55fde6 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -3,22 +3,23 @@
#
env:
### Shared variables
- ARTIFACTORY_URL: ENCRYPTED[!2f8fa307d3289faa0aa6791f18b961627ae44f1ef46b136e1a1e63b0b4c86454dbb25520d49b339e2d50a1e1e5f95c88!]
- ARTIFACTORY_PRIVATE_USERNAME:... | 4 | 4 | 2 | [{"id": "G0", "claim": "A reusable workflow (SonarSource/gh-action_release/.github/workflows/main.yaml@5.0.1) cannot be referenced as a step of the release job; move it to a top-level job and define another job that depends on it.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduc... | null |
SonarSource__sonar-scanner-cli__14 | SonarSource/sonar-scanner-cli | 14 | defect | 12c373fad66da9ccb9cfb2ce7e3c5d2de4f60fe2 | 2cecbbc783d02167ba070873ae8e876031af5b34 | SQSCANNER-23 Support the new 'MessageException' unchecked exception a… | …nd log by default the error stack trace only when a non-MessageException is thrown
| diff --git a/src/main/java/org/sonarsource/scanner/cli/Cli.java b/src/main/java/org/sonarsource/scanner/cli/Cli.java
index 784f6c1a..cdada212 100644
--- a/src/main/java/org/sonarsource/scanner/cli/Cli.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Cli.java
@@ -26,7 +26,6 @@ class Cli {
private boolean debugE... | 4 | 3 | 0 | [{"id": "G0", "claim": "The new showStackTrace helper should use an instanceof comparison instead of comparing the exception's class name string, per rule squid:S1872.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Trailing whitespace on the added b... | null |
SonarSource__sonar-scanner-cli__203 | SonarSource/sonar-scanner-cli | 203 | defect | a2662929034ddb179737dffddea159518de835fc | 3776eddd47ceb8423cb177532fedff346c06f2d8 | SCANCLI-148 Support non Latin characters in scanner properties. | [SCANCLI-148](https://sonarsource.atlassian.net/browse/SCANCLI-148)
[SCANCLI-148]: https://sonarsource.atlassian.net/browse/SCANCLI-148?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/src/main/java/org/sonarsource/scanner/cli/Conf.java b/src/main/java/org/sonarsource/scanner/cli/Conf.java
index 47f431f6..d71d82c9 100644
--- a/src/main/java/org/sonarsource/scanner/cli/Conf.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Conf.java
@@ -21,7 +21,7 @@
import java.io.FileInputStream;
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Reading properties as strict UTF-8 removes the Java 9 fallback that re-reads ISO-8859-1 files, which may be a breaking change, so it should be documented and shipped with a Scanner CLI major version bump.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SonarSource__sonar-scanner-cli__210 | SonarSource/sonar-scanner-cli | 210 | defect | 893fca0628ab4c9abc0f3aed0ee36cf8038552d6 | d9bad97297ab73da4b233fe6f7d50f7d5a2e167a | SCANCLI-168 Update Scanner Java Library dependency to 3.2 | [SCANCLI-168](https://sonarsource.atlassian.net/browse/SCANCLI-168)
[SCANCLI-168]: https://sonarsource.atlassian.net/browse/SCANCLI-168?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | diff --git a/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java b/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java
index 2e690ce7..d0da6c60 100644
--- a/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java
+++ b/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java
@@ -190,7 +190,7 ... | 2 | 1 | 0 | [{"id": "G0", "claim": "A Sonar issue in the IDE flags the added code around line 90, and the reviewer asks whether it (the initial variable initialization) is already done on line 70.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The whole analy... | null |
SonarSource__sonar-scanner-cli__81 | SonarSource/sonar-scanner-cli | 81 | defect | 6da9b4b0c066d1e524a27aebc74cfd8d1b8ab19a | d28ee0d83c35cc524dce29a9c430704615ff2c4b | BUILD-759 Move Jenkins + Travis QA to Cirrus CI | Old job on cix: https://cix.sonarsource.com/job/sonar-scanner-cli-qa/ | diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644
index 00000000..9bee4110
--- /dev/null
+++ b/.cirrus.yml
@@ -0,0 +1,148 @@
+# content of service-account-credentials.json, used to access to Google Cloud Platform
+gcp_credentials: ENCRYPTED[!1fcffe5cc2de4fbbda5befae835ca275a47c1148dabbbb7b5d21334604efba3ef873... | 3 | 2 | 1 | [{"id": "G0", "claim": "The build_task could try a reduced cpu/memory allocation (2 CPU / 2G) as long as timing remains identical.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "On CI(X) the QA also ran on DOGFOOD, and the new Cirrus config no longe... | null |
SonarSource__sonar-scanner-cli__84 | SonarSource/sonar-scanner-cli | 84 | defect | 90a36e384448c3f3b419ddfbab3071e00392d267 | 09e0b190250ba814d55b12ef628534ae201390ef | SQSCANNER-65 Add a new flag to get the Scanner that invoked the CLI a… | …nd its version from the invocation commandLine
Please review our [contribution guidelines](https://github.com/SonarSource/sonar-scanner-cli/blob/master/contributing.md).
And please ensure your pull request adheres to the following guidelines:
- [ ] Please explain your motives to contribute this change: what ... | diff --git a/it/pom.xml b/it/pom.xml
index 3e843d41..85efafe7 100644
--- a/it/pom.xml
+++ b/it/pom.xml
@@ -36,7 +36,7 @@
<dependency>
<groupId>org.sonarsource.orchestrator</groupId>
<artifactId>sonar-orchestrator</artifactId>
- <version>3.24.0.1993</version>
+ <version>3.29.0.2543</version>... | 2 | 1 | 1 | [{"id": "G0", "claim": "The Cli should check that the `--from` argument actually has a value (not just `--from`) and is in the expected `[name]/[version]` format before assuming it does: as written, providing only `--from` throws an index-out-of-bounds exception on the substring call, and malformed values silently fall... | null |
SonarSource__sonar-scanner-jenkins__16 | SonarSource/sonar-scanner-jenkins | 16 | defect | 6cd6cc29cfeeffd9fec7b04448a0b20ea4d83bc3 | 33bd91f05ac780db1cabcf5c33441c011f7e76ef | Prevent loading all builds to generate the url | In order to generate the url at the root project page it could be an expensive operation because it will iterate all of the builds in order to find a url. If a project has a lot of failed/aborted builds which never sent information to sonar (and a `BuildSonarAction` was never created), or if the project enabled sonar f... | diff --git a/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java b/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java
index 037c69de..9d9e9ccd 100644
--- a/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java
+++ b/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java
@@ -37,9 +37,9 @@
import hudson.... | 3 | 3 | 0 | [{"id": "G0", "claim": "The parameter of getSonarUrlFromRun should use the type Run<?,?> to avoid an unchecked warning.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The getSonarUrlFromRun method should be annotated with @CheckForNull rather th... | null |
SonarSource__sonar-scanner-jenkins__169 | SonarSource/sonar-scanner-jenkins | 169 | defect | af8b2725de79b8f0fd1c75814c6287679aad740c | bce6213cf4258efa025e692ddbb2804a204d223b | SC-2555 Mark pipeline as unstable when running Java < 11 | The SonarCloud scanner logs a warning message when the scanner is executed with a Java version under 11. This change will mark the pipeline as unstable if it can find that log message.
We saw from data that mainly Jenkins users are not making the switch to Java 11 so that's why we decided to focus on Jenkins specif... | diff --git a/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java b/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java
index 56ea1c80..284f57f7 100644
--- a/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java
+++ b/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java
@@ -24,6 +24,7 @@
import hudson.... | 2 | 2 | 0 | [{"id": "G0", "claim": "The condition could be simplified to `java11Warning && Result.FAILURE.equals(result)`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The integration tests are failing (workflow-aggregator plugin not installed), so the bu... | null |
SonarSource__sonar-scanner-jenkins__249 | SonarSource/sonar-scanner-jenkins | 249 | defect | eb53fe2753b35c3b9172942351326c19c86b347d | a897b44238f5624637030d9863139c3633c7b0e4 | [JENKINS-69464] Cannot configure msBuildSQRunnerInstallation global tool using JCASC | Add annotation on MsBuildSQRunnerInstallation default constructor to instruct the CasC plugin that home variable is optional and not required.
Add CasC test cases for both MsBuildSQRunnerInstallation and SonarRunnerInstallation
- [X] Please explain your motives to contribute this change: what problem you are trying... | diff --git a/src/main/java/hudson/plugins/sonar/MsBuildSQRunnerInstallation.java b/src/main/java/hudson/plugins/sonar/MsBuildSQRunnerInstallation.java
index 67f3738dc..3efe75963 100644
--- a/src/main/java/hudson/plugins/sonar/MsBuildSQRunnerInstallation.java
+++ b/src/main/java/hudson/plugins/sonar/MsBuildSQRunnerInsta... | 2 | 2 | 0 | [{"id": "G0", "claim": "Remove the unnecessary `//` line-continuation comments from the assertion statements in CasCToolTest.java.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new file's copyright header year is not up to date and should r... | null |
SonarSource__sonar-scanner-jenkins__257 | SonarSource/sonar-scanner-jenkins | 257 | defect | a89105b626859b0aa4578c27d4ddc68b5683e2c6 | 6f9a22d063a74c6f5302b1826aadfbbf7d03afdd | NO-JIRA Upgrade parent pom to 4.73 | Fixup of https://github.com/SonarSource/sonar-scanner-jenkins/pull/256
Tests failed locally without these changes (due to running Java 17) for when I tried to run this project before fixing a bug we're experiencing.
Let me know if any questions
- [x] Please explain your motives to contribute this change: what pr... | diff --git a/README.md b/README.md
index 98086f58..363c5557 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,6 @@
SonarQube Scanner for Jenkins
=============================
-[](https://travis-ci.org/SonarSource/sonar-scan... | 22 | 22 | 10 | [{"id": "G0", "claim": "The Travis badge is no longer used and the SonarQube badge times out 9 times out of 10, so both badges were dropped from the README.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The http://hudson-ci.org/updates/hudson.p... | null |
SonarSource__sonar-scanner-jenkins__278 | SonarSource/sonar-scanner-jenkins | 278 | defect | 277825b6e616fe928e7451c9febd3121bb124504 | 15e39f1a22141010abe9295fc693db7e314f2238 | SONARJNKNS-370 Make scanner for Jenkins use "sonar.token" instead of "sonar.login" for SonarCloud | I have added the behavior so that in the case of SonarCloud the property "sonar.token" is used instead of "sonar.login" | diff --git a/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java b/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java
index 2ee25c24..a2650194 100644
--- a/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java
+++ b/src/main/java/hudson/plugins/sonar/utils/SonarUtils.java
@@ -54,6 +54,7 @@ public final cl... | 1 | 1 | 0 | [{"id": "G0", "claim": "Reorder the new condition so the isSonarCloud check comes before the getVersion call, preventing a potentially useless call to the instance to get the version, and remove the explanatory comment as the code is self-explanatory.", "category": "performance", "verdict": "supported", "priority": "P2... | null |
SonarSource__sonar-scanner-jenkins__92 | SonarSource/sonar-scanner-jenkins | 92 | defect | afd04e7f709707d8e9affdc8d004f59ed09ce9c9 | 174b50cb79d689f197021ff7d17dd65202329022 | added trim to getServerAuthenticationToken | added trim to getServerAuthenticationToken to remove the leading and trailing spaces | diff --git a/src/main/java/org/sonarsource/scanner/jenkins/pipeline/WaitForQualityGateStep.java b/src/main/java/org/sonarsource/scanner/jenkins/pipeline/WaitForQualityGateStep.java
index 05a9ff14..7b23b872 100644
--- a/src/main/java/org/sonarsource/scanner/jenkins/pipeline/WaitForQualityGateStep.java
+++ b/src/main/jav... | 2 | 2 | 2 | [{"id": "G0", "claim": "The token should be trimmed before it is stored or inside the getter itself, because requiring every caller of getServerAuthenticationToken() to trim is the best way to forget one place.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
SonarSource__sonarlint-eclipse__45 | SonarSource/sonarlint-eclipse | 45 | defect | b82fdce7b685472171051d9e50d3728dfe77b066 | 9c291f42b17bd4e4c707a07bc2ce4baf30b82212 | Persist tracked issues | - Persist tracked issues using protobuf
- Update API version and support VFS
- Cleanup in `*Trackable` | diff --git a/org.sonarlint.eclipse.core.tests/src/test/java/org/sonarlint/eclipse/core/internal/tracking/MarkerUpdaterTest.java b/org.sonarlint.eclipse.core.tests/src/test/java/org/sonarlint/eclipse/core/internal/tracking/MarkerUpdaterTest.java
index c06ed9a550..91c3792015 100644
--- a/org.sonarlint.eclipse.core.tests/... | 3 | 2 | 2 | [{"id": "G0", "claim": "The added contents() method should not return null (it should throw instead), since the implemented Trackable interface's contents() does not return null.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The added inputStream()... | null |
SonarSource__sonarlint-eclipse__501 | SonarSource/sonarlint-eclipse | 501 | defect | 3808cfa081ae69383def0b94951b92297b056729 | 268a82e3196b83315641a09179caa0ff282da223 | SLE-681: Integration tests for marking issues (#497) | Marking an issue in connected mode: Trying to resolve an issue with insufficient permissions and then with administrator rights. Now on Cirrus CI!
| diff --git a/its/projects/java/maven2/.classpath b/its/projects/java/maven2/.classpath
new file mode 100644
index 0000000000..29411a23b0
--- /dev/null
+++ b/its/projects/java/maven2/.classpath
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path... | 2 | 2 | 0 | [{"id": "G0", "claim": "The explicit cleanBindings() statement in the test is useless because the bindings are already cleaned by the @Before (BeforeEach) method, so it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "The pre-ex... | null |
SonarSource__sonarlint-eclipse__512 | SonarSource/sonarlint-eclipse | 512 | defect | 9bc24cff7dc33da8a49b819a1432cb38522b0a9d | a17c8042b91e63ea406a99ce5110455d24607a5d | SLE-689 / SLE-691: Core changes for rule descriptions | ## Summary
Changes to the rule description inside the specific view and the settings. The fake data is here to stay while testing and no official analyzer is available for dogfooding! | diff --git a/org.sonarlint.eclipse.core/src/org/sonarlint/eclipse/core/internal/tracking/ProtobufIssueTrackable.java b/org.sonarlint.eclipse.core/src/org/sonarlint/eclipse/core/internal/tracking/ProtobufIssueTrackable.java
index 67a87af700..5c4924da68 100644
--- a/org.sonarlint.eclipse.core/src/org/sonarlint/eclipse/co... | 4 | 1 | 0 | [{"id": "G0", "claim": "Keeping the removed static IMG_IMPACT_* fields would avoid creating a new image on every getImpactImage call.", "category": "performance", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The updateParameters call guarded by the instanceof check should be mo... | null |
SonarSource__sonarlint-eclipse__554 | SonarSource/sonarlint-eclipse | 554 | defect | 0fcf1421e23e5d673d3602530088cd937f8ffaea | 0049b86e592079cd6d5613db0bf36e5d1a089165 | SLE-747: IDE to server path matching failure | Handle the corner case in which a file with issues cannot be matched to server issues because the file itself does not comply with the server path. | diff --git a/org.sonarlint.eclipse.core.tests/src/test/java/org/sonarlint/eclipse/core/internal/tracking/ProjectIssueTrackerTest.java b/org.sonarlint.eclipse.core.tests/src/test/java/org/sonarlint/eclipse/core/internal/tracking/ProjectIssueTrackerTest.java
index e8b144c7fd..55cd3e0678 100644
--- a/org.sonarlint.eclipse... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new test should not catch NullPointerException (which could silently hide a real NPE regression elsewhere); instead a dummy monitor should be used, e.g. by relying on mocks for the needed resources.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SonarSource__sonarlint-eclipse__581 | SonarSource/sonarlint-eclipse | 581 | defect | c9d47d212f198fcda6a62ff73f56e8249eb41066 | 8abecca239d170eff46bd71b25d23b4f626d6b28 | MMF-3528: Inform users how to achieve deeper, full-project analysis | ## Summary
For users to understand the differences between using SonarLint out of the box and in connected mode, views / preference pages and workflows were changed in order to inform the user and remove misconceptions.
## Testing
Testing was done via integration tests and manual testing for corner cases. | diff --git a/.gitignore b/.gitignore
index 0693668224..e377b11a03 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,5 @@ org.sonarlint.eclipse.ui/lib/
# macOS files
**/.DS_Store
+# Integration tests
+!/its/projects/connected/.project
diff --git a/its/projects/connected/.project b/its/projects/connected/.project... | 6 | 5 | 2 | [{"id": "G0", "claim": "The .gitignore exception should be generalized to something like `!/its/projects/**/.project` instead of only un-ignoring the connected project's .project file.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests shoul... | null |
SonarSource__sonarlint-eclipse__593 | SonarSource/sonarlint-eclipse | 593 | defect | 7ff5e4d6f4d933947a73ddad5866478472dcb547 | 1d19f26afa000ba36548bd6e80366a83e662f8f1 | SLE-791: Automated connected mode setup | ## Summary
When running "Open in IDE" with SonarQube 10.4+, we can automatically set up connected mode. This helps the user to have a minimal solution for configuration.
## Testing
Integration tests were added to the already existing "Open in IDE" tests, and the whole test suite was overhauled to only create a... | diff --git a/its/pom.xml b/its/pom.xml
index 0aa0527175..7dd0ababa5 100644
--- a/its/pom.xml
+++ b/its/pom.xml
@@ -164,8 +164,8 @@
<appArgLine>-eclipse.keyring target/keyring -eclipse.password secure-storage-password.txt -pluginCustomization
${project.basedir}/plugin_customization.ini</appArgLin... | 6 | 2 | 0 | [{"id": "G0", "claim": "The Maven surefire forkedProcessTimeoutInSeconds should be dropped in favour of relying only on the Cirrus timeout, since it looks like a remain of the past that no other project uses.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
SonarSource__sonarlint-eclipse__596 | SonarSource/sonarlint-eclipse | 596 | defect | 2b25764e64c0b0c81c17a6733e3264b5a81ea74a | b4410fb3409e99db5b857edb16fc01b6804cd366 | SLE-408: Notification about analysis accuracy | When the automatic build of the workspace is disabled, some rules might not yield accurate results compared to when the automatic build of the workspace is enabled. | diff --git a/its/src/org/sonarlint/eclipse/its/AbstractSonarLintTest.java b/its/src/org/sonarlint/eclipse/its/AbstractSonarLintTest.java
index 305f1d5718..8b85fed89c 100644
--- a/its/src/org/sonarlint/eclipse/its/AbstractSonarLintTest.java
+++ b/its/src/org/sonarlint/eclipse/its/AbstractSonarLintTest.java
@@ -108,12 +1... | 1 | 1 | 0 | [{"id": "G0", "claim": "On the long run, it might be cleaner to use JUnit categories to partition the tests instead of the target.platform property check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SonarSource__sonarlint-eclipse__652 | SonarSource/sonarlint-eclipse | 652 | defect | 4ebe8d7502a648b8972c61fefbd149dcbca43387 | 7c1c86401d3b339bbcced57935a5a103fcfadf05 | SLE-854: Fix JDT with COBOL | When having the Java Development Tools (JDT) installed but working with COBOL files with non-Java projects, we have to make sure JDT does not try to see it as a 'Java-like' file due to the extension (e.g., `cbl`). Otherwise, it would try to exclude it from the analysis because it is not in the Java classpath and, there... | diff --git a/its/projects/connected/Test.cbl b/its/projects/connected/Test.cbl
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/its/src/org/sonarlint/eclipse/its/StandaloneAnalysisTest.java b/its/src/org/sonarlint/eclipse/its/StandaloneAnalysisTest.java
index 2b378dcffb..8bcf1a3811 100644
--- a/its/src/or... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new COBOL test should verify that the file was actually analyzed, at least by the secrets analyzer, rather than only asserting the file was not excluded.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new COBOL test shoul... | null |
SonarSource__sonarlint-eclipse__669 | SonarSource/sonarlint-eclipse | 669 | defect | a2ec3be9a373c30d5f82640e6fd30bab22204c58 | 46152e25951e913be0ae5b08ec5d7dbe8f5badea | SLE-870: Rely on SLCORE issue tracking | Analyze with issue tracking from SLOCRE, getting rid of the logic on SLE. | diff --git a/org.sonarlint.eclipse.core.tests/src/test/java/org/sonarlint/eclipse/core/internal/jobs/AnalyzeStandaloneProjectJobTest.java b/org.sonarlint.eclipse.core.tests/src/test/java/org/sonarlint/eclipse/core/internal/jobs/AnalyzeStandaloneProjectJobTest.java
index 7a0780787e..1616d11b5e 100644
--- a/org.sonarlint... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new `raiseIssues` override assumes `analysisId` is non-null, but it is `Nullable` in `SonarLintRpcClientDelegate` (it is null when issues are raised outside any analysis, e.g. server events), so raising issues should be independent of and not rely on `analysisId`.", "category": "correctness"... | null |
SonarSource__sonarlint-eclipse__687 | SonarSource/sonarlint-eclipse | 687 | defect | 107b83ca4417c601aa93a6352f3c134195b8fd44 | 2557b87301d9a261db7502451d371606b5648533 | SLE-888: Split debug logs and IDE-specific traces | ## Summary
The **SonarLint Console** of the builtin Console view currently offers the user the option to display the *Verbose output* (containing the debug statements) and the *Analysis logs* next to the default output.
For the last release, I changed the behavior for Eclipse-specific invocations (e.g., adaptatio... | diff --git a/its/src/org/sonarlint/eclipse/its/StandaloneAnalysisTest.java b/its/src/org/sonarlint/eclipse/its/StandaloneAnalysisTest.java
index f68a514a83..60a290af3c 100644
--- a/its/src/org/sonarlint/eclipse/its/StandaloneAnalysisTest.java
+++ b/its/src/org/sonarlint/eclipse/its/StandaloneAnalysisTest.java
@@ -137,1... | 4 | 3 | 1 | [{"id": "G0", "claim": "The new test only asserts that a log line is NOT present, which passes whether or not the IDE-specific logging works, so it should also assert that something from the IDE-specific logs IS there.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
SonarSource__sonarlint-eclipse__696 | SonarSource/sonarlint-eclipse | 696 | defect | 2ff06d645e83727bd17ac78b3b9184a62064e864 | b549fd5c854351615fadb72d24b62e9061de1893 | SLE-884: Open in IDE from SonarCloud | ## Summary
Some changes had to be made to the assistance for connection creation in order to support SonarCloud alongside SonarQube for the **Open in IDE** feature and automatic Connected Mode setup in this case.
Additionally, for the automatic Connected Mode part the user experience was enhanced by waiting for t... | diff --git a/org.sonarlint.eclipse.core.tests/src/test/java/org/sonarlint/eclipse/core/internal/jobs/AnalyzeStandaloneProjectJobTest.java b/org.sonarlint.eclipse.core.tests/src/test/java/org/sonarlint/eclipse/core/internal/jobs/AnalyzeStandaloneProjectJobTest.java
index 8e67a2cd09..5ea75ebd15 100644
--- a/org.sonarlint... | 4 | 4 | 0 | [{"id": "G0", "claim": "The Open in IDE job should log whether the wait dialog was cancelled by the user or by the background job's timeout, since the following message is ambiguous.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cache field... | null |
SonarSource__sonarlint-eclipse__701 | SonarSource/sonarlint-eclipse | 701 | defect | 076c28aa80a31a2ff79ec925c1e043e994f08db3 | aa3ab9c85c362392e0ea0f4f31bfd8843deb2839 | MMF-3807: Raise awareness about recent changes and newly released versions | ## Summary
Currently, Eclipse users don't know what has changed when updating SonarLint except for taking a look at the GitHub release page or the Sonar Community forum announcement. Additionally, they're not aware if a new version of SonarLint for Eclipse was released except if they trigger the **Check for Updates*... | diff --git a/its/src/org/sonarlint/eclipse/its/AbstractSonarLintTest.java b/its/src/org/sonarlint/eclipse/its/AbstractSonarLintTest.java
index 4a35a4bd66..fe74c2f123 100644
--- a/its/src/org/sonarlint/eclipse/its/AbstractSonarLintTest.java
+++ b/its/src/org/sonarlint/eclipse/its/AbstractSonarLintTest.java
@@ -69,7 +69,... | 2 | 1 | 1 | [{"id": "G0", "claim": "Couldn't the new Eclipse-side HTTP client be replaced by leveraging the existing HTTP client in SLCORE?", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the debug message about the update site, fix the typo: \"In thase case\" shoul... | null |
SonarSource__sonarlint-eclipse__728 | SonarSource/sonarlint-eclipse | 728 | defect | 79a7d697db6dd92fc0f2ed22529efc74173d876c | 97824c8870872c1e6baf73357a28e7618e500f51 | SLE-923,SLE-927: Create ITs and incorporate validation feedback | ## Changes to the `dev` target platform
In order to run RedDeer tests from the latest Eclipse IDE (that is running on top of Java 21), we also now have to use the Java 21-based Eclipse IDE as a reference in our development environment. I didn't notice it before as I developed against a dogfooding version of the Ecli... | diff --git a/its/org.sonarlint.eclipse.its.connected.sc/src/org/sonarlint/eclipse/its/connected/sc/SonarCloudConnectedModeTest.java b/its/org.sonarlint.eclipse.its.connected.sc/src/org/sonarlint/eclipse/its/connected/sc/SonarCloudConnectedModeTest.java
index 097abc153e..fb359b3e1d 100644
--- a/its/org.sonarlint.eclipse... | 4 | 4 | 0 | [{"id": "G0", "claim": "The constant holding the sample project key should be named SAMPLE_JAVA_ISSUES_PROJECT_KEY rather than SAMPLE_JAVA_ISSUES_KEY.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dialog title should read \"Do you trust thi... | null |
SonarSource__sonarlint-eclipse__781 | SonarSource/sonarlint-eclipse | 781 | defect | 8e88d8dc1de9908ffc32ad0488bd354033b87ea0 | ff9e584ef3191bff7d4796faef08fa304bf8ffe8 | SLE-1000: Embed CFamily analyzer | [SLE-1000](https://sonarsource.atlassian.net/browse/SLE-1000)
Embed the CFamily analyzer conditionally and provide documentation to forks.
Update the NOTICE.txt to include the note about the non-Open Source analyzer.
[SLE-1000]: https://sonarsource.atlassian.net/browse/SLE-1000?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmND... | diff --git a/.cirrus.default.yml b/.cirrus.default.yml
index a4d58e589f..18e25a8b30 100644
--- a/.cirrus.default.yml
+++ b/.cirrus.default.yml
@@ -235,7 +235,7 @@ qa_connectedModeSonarQube_task:
cd its/
mvn -B -e -V org.jacoco:jacoco-maven-plugin:prepare-agent verify \
-s ${HOME}/.m2/settings-public-au... | 3 | 3 | 0 | [{"id": "G0", "claim": "The CDT error message should point users to documentation (ideally an official Eclipse CDT resource, or a section in SonarLint's own docs) that hints that building the project may be required for the CDT plug-in to provide the analysis information.", "category": "documentation", "verdict": "supp... | null |
SonarSource__sonarlint-eclipse__811 | SonarSource/sonarlint-eclipse | 811 | defect | 0b81de63ccd155ae99184064e421465120b68699 | 17f045da311add416bf39da154b06f507ae1b08a | SLE-1065: Overhaul error notification | [SLE-1065](https://sonarsource.atlassian.net/browse/SLE-1065)
When a user decide to ignore an error, also ignore "similar" errors. Also give the user the opportunity to not show any error notifications again.
Therefore the logging logic was overhauled (which I would have to do anyway for a proper error reporting ... | diff --git a/its/org.sonarlint.eclipse.its.connected.sc/src/org/sonarlint/eclipse/its/connected/sc/SonarCloudConnectedModeTest.java b/its/org.sonarlint.eclipse.its.connected.sc/src/org/sonarlint/eclipse/its/connected/sc/SonarCloudConnectedModeTest.java
index 2f3769fed0..624763597d 100644
--- a/its/org.sonarlint.eclipse... | 1 | 1 | 0 | [{"id": "G0", "claim": "The setter name `setNoErrorNotifcation` misspells 'Notification' and should be renamed to `setNoErrorNotification`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.