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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tracer-Cloud__opensre__400 | Tracer-Cloud/opensre | 400 | defect | 9973e2dcecbb098e56d155e2b4ac845d068e5b8e | 92e954828f29fd1961a815757ce2a6a3b3799011 | feat: add SSE streaming to remote investigate endpoint | ## Summary
- Adds `POST /investigate/stream` SSE endpoint to the lightweight FastAPI server, enabling real-time node-by-node progress during remote investigations
- Rewires `opensre remote investigate` (and the interactive "Run investigation (sample alert)") to consume the SSE stream via `StreamRenderer` instead of bl... | diff --git a/Makefile b/Makefile
index 1022496370..e849fd06d1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-include .env
export
-.PHONY: install onboard benchmark benchmark-update-readme test test-full demo alert-template investigate-alert verify-integrations check-docker check-langgraph check-langsmith-api... | 7 | 1 | 1 | [{"id": "G0", "claim": "Remove the unused global tuple '_STREAM_PATCHES' from tests/remote/test_server_stream.py, since no code references it and the patch targets are hardcoded in the tests.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Delete... | null |
Tracer-Cloud__opensre__403 | Tracer-Cloud/opensre | 403 | defect | 4388c9acbb9ed8e1ec4cd2e50f712bb9a6ca4a46 | 87967c574177e16601a85c5a5e9bcf22a68e582b | feat: add Bitbucket integration for dev-tools investigation | Fixes #388
#### Describe the changes you have made in this PR -
Adds Bitbucket Cloud as a dev-tools integration alongside the existing GitHub integration. Uses Bitbucket REST API v2.0 via httpx (already a project dependency, so no new packages needed).
**New files:**
- `app/integrations/bitbucket.py` - Config model,... | diff --git a/.env.example b/.env.example
index 93f3139463..ad4a482886 100644
--- a/.env.example
+++ b/.env.example
@@ -124,6 +124,11 @@ MONGODB_DATABASE=
MONGODB_AUTH_SOURCE=admin
MONGODB_TLS=true
+# Bitbucket
+BITBUCKET_WORKSPACE=
+BITBUCKET_USERNAME=
+BITBUCKET_APP_PASSWORD=
+
# Optional: only required for the T... | 5 | 3 | 3 | [{"id": "G0", "claim": "The response body in get_file_contents is decoded twice (resp.text used once for the 10000-character slice and again for the truncation check), and decoding it once into a variable would be cleaner and slightly more efficient.", "category": "performance", "verdict": "uncertain", "priority": "P2"... | null |
Tracer-Cloud__opensre__404 | Tracer-Cloud/opensre | 404 | defect | 4388c9acbb9ed8e1ec4cd2e50f712bb9a6ca4a46 | e06a96582364f950a7413b73802f677655514d91 | feat: add Kafka integration for streaming and consumer-lag RCA | Fixes #328
#### Describe the changes you have made in this PR -
Adds Kafka as a supported integration for investigating streaming pipeline health during incidents. The agent can query topic partition metadata and consumer group lag to surface evidence during RCA.
**New files:**
- `app/integrations/kafka.py` - Config... | diff --git a/.env.example b/.env.example
index 93f3139463..144540016c 100644
--- a/.env.example
+++ b/.env.example
@@ -124,6 +124,13 @@ MONGODB_DATABASE=
MONGODB_AUTH_SOURCE=admin
MONGODB_TLS=true
+# Kafka
+KAFKA_BOOTSTRAP_SERVERS=
+KAFKA_SECURITY_PROTOCOL=PLAINTEXT
+KAFKA_SASL_MECHANISM=
+KAFKA_SASL_USERNAME=
+KAF... | 3 | 2 | 2 | [{"id": "G0", "claim": "get_consumer_group_lag crashes at runtime because a plain dict is passed to list_consumer_group_offsets (confluent-kafka 2.x raises TypeError expecting ConsumerGroupTopicPartitions) and `.result()` returns an object with no `__iter__`, so `for tp in group_result` raises TypeError; the iteration ... | null |
Tracer-Cloud__opensre__408 | Tracer-Cloud/opensre | 408 | defect | 4388c9acbb9ed8e1ec4cd2e50f712bb9a6ca4a46 | 089da147831ed722efe7bd061f5fd15fc8a278cf | fix: resolve critical ollama tag matching issue causing redundant downloads | Fixes #406
<!-- Add issue number above -->
#### Describe the changes you have made in this PR -
- Add _normalize_model_tag() helper to ensure consistent tag handling
- Update is_model_present() to normalize tags before matching
- Update _check_ollama() validation to use normalized tags
- Update command.py... | diff --git a/app/cli/local_llm/command.py b/app/cli/local_llm/command.py
index 40f44e3a5b..1487a16f3a 100644
--- a/app/cli/local_llm/command.py
+++ b/app/cli/local_llm/command.py
@@ -7,6 +7,7 @@
from app.cli.local_llm.hardware import detect_hardware, recommend_model
from app.cli.local_llm.ollama import (
+ _norm... | 4 | 2 | 1 | [{"id": "G0", "claim": "The test-section comment header in local_llm_test.py still references the old private name `_normalize_model_tag` and should be updated to the renamed `normalize_model_tag`.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`n... | null |
Tracer-Cloud__opensre__485 | Tracer-Cloud/opensre | 485 | defect | 84d1712b3977ed7392bd1c2cccfc690d28f9ff24 | 87eea148041fdd32e8840e4c6f98c4946cf091d6 | P2 Run one-off diagnostic Python safely during investigations | Fixes #483
Changes:
- Addressed the issue described in #483
- Followed existing code conventions | diff --git a/app/nodes/investigate/processing/post_process.py b/app/nodes/investigate/processing/post_process.py
index 5cfbdeffbc..3b631bdebe 100644
--- a/app/nodes/investigate/processing/post_process.py
+++ b/app/nodes/investigate/processing/post_process.py
@@ -244,6 +244,21 @@ def _map_coralogix_logs(data: dict) -> d... | 9 | 4 | 2 | [{"id": "G0", "claim": "The preamble leaks the original `open` as the global `_original_open`, letting user code write anywhere on the filesystem and bypassing the write restriction, so it should be hidden in a closure before merge.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "introduce... | null |
Tracer-Cloud__opensre__488 | Tracer-Cloud/opensre | 488 | defect | e6a465e5ba49e253cbbb19c941a79f43aadf2fc9 | f6fd05751fa92671545506d0f8859cea34317bfe | feat: add log compaction and error taxonomy for investigative pipelin… | Implements **Log Compaction and Taxonomy** for the investigative pipeline, addressing the problem where bursts of identical log lines (e.g. 48 repeated timeout errors) consume nearly all available log slots, pushing distinct root-cause errors off the edge before the LLM ever sees them.
**New file: `app/agent/tools/u... | diff --git a/app/agent/tools/tool_actions/grafana/grafana_actions.py b/app/agent/tools/tool_actions/grafana/grafana_actions.py
index 58be60c05b..0781ae6448 100644
--- a/app/agent/tools/tool_actions/grafana/grafana_actions.py
+++ b/app/agent/tools/tool_actions/grafana/grafana_actions.py
@@ -8,6 +8,7 @@
from app.agent... | 3 | 3 | 1 | [{"id": "G0", "claim": "The docstring example of _normalize_message shows '<NUM>' and '<ADDR>' as replacement tokens while every _VARIABLE_PATTERNS entry substitutes '<*>', misleading developers about what normalized keys look like.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
Tracer-Cloud__opensre__500 | Tracer-Cloud/opensre | 500 | defect | 3bfbc68ad6b775b6c2be9d3e72d42290ba6bcc58 | 88cdb6cc87c21f01eea76de1a90f074fd52c64cc | feat: add retrieval controls and compaction for high-volume log/trace tools (#481) | ## Summary
Implements issue #481 - turning noisy logs and traces into high-signal evidence.
### Changes
1. **Shared compaction utilities** (`app/tools/utils/compaction.py`):
- `compact_logs()` - truncates list and message length
- `compact_traces()` - truncates list and spans per trace
- `compact_metrics()`... | diff --git a/app/tools/CloudWatchBatchMetricsTool/__init__.py b/app/tools/CloudWatchBatchMetricsTool/__init__.py
index 51edbc39d4..0489f40f15 100644
--- a/app/tools/CloudWatchBatchMetricsTool/__init__.py
+++ b/app/tools/CloudWatchBatchMetricsTool/__init__.py
@@ -6,6 +6,7 @@
from app.services.cloudwatch_client import... | 4 | 3 | 1 | [{"id": "G0", "claim": "The new test file imports 'pytest' without using it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In GrafanaLogsTool's real-client path, summarize_counts receives len(logs_data) (capped at the API fetch limit) instead o... | null |
Tracer-Cloud__opensre__502 | Tracer-Cloud/opensre | 502 | defect | 3bfbc68ad6b775b6c2be9d3e72d42290ba6bcc58 | 9d3dfdfaab325f8c27bfe8e658b8f64e4db10ffa | Improve test catalogue semantic naming conventions | # Issue #196 Completion Summary
Issue: https://github.com/Tracer-Cloud/opensre/issues/196
Title: Improve test catalogue semantic naming conventions
## Goal
Improve semantic naming in the test catalog so contributors can quickly distinguish:
- end-to-end (`e2e`) vs synthetic tests
- local vs cloud-targeted scena... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 25af24b099..d6f45eccfd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -122,9 +122,9 @@ jobs:
matrix:
include:
- name: cloudwatch-demo
- command: python3 -m tests.e2e.cloudwatch_demo.test... | 3 | 2 | 0 | [{"id": "G0", "claim": "The guardrail's _scan_paths() checks README.md, pyproject.toml and Python files under tests/e2e/ and tests/synthetic/, but skips .github/workflows/*.yml and Makefile, exactly where a new CI step or make target could reintroduce a legacy name uncaught; consider extending the scan.", "category": "... | null |
Tracer-Cloud__opensre__508 | Tracer-Cloud/opensre | 508 | defect | 376c5af0f9708fd7ec946e997534baec0b7b1146 | a269b6787fb6f01e755344fc373682d3fb4b3251 | feat: re-route investigations as evidence changes with tool budgets (#474) | ## Summary
Implements investigation rerouting when new evidence changes the likely source family, with per-step tool budgets to cap prompt size and execution breadth.
## Changes
- **Rerouting**: New `detect_reroute_trigger()` detects when s3_audit sources, Grafana service names, or vendor audit logs enable different i... | diff --git a/app/nodes/investigate/models.py b/app/nodes/investigate/models.py
index 0e215834d1..f0b5c67998 100644
--- a/app/nodes/investigate/models.py
+++ b/app/nodes/investigate/models.py
@@ -22,6 +22,7 @@ class InvestigateInput(BaseModel):
)
evidence: dict[str, Any] = Field(default_factory=dict, descripti... | 4 | 3 | 0 | [{"id": "G0", "claim": "The new test file imports pytest without using it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The s3_audit and Grafana reroute guards de-duplicate by checking whether the rerouted action appears in executed_hypotheses... | null |
Tracer-Cloud__opensre__519 | Tracer-Cloud/opensre | 519 | defect | 51b25b6d390970003570e12cd46dd5e2e030b9cd | 339c95ba49de76a5f4dc276b7499d079544f4828 | feat: Implement source provenance tracking and rendering | # Issue #477 Summary
/fix #477
## Status
Solved.
## What Changed
- Added source provenance tracking to report context.
- Threaded concrete source details like Grafana, Datadog, EKS, GitHub, GitLab, Vercel, CloudWatch, S3, Honeycomb, Coralogix, and Tracer Web into the report pipeline.
- Surface provenance in f... | diff --git a/app/nodes/publish_findings/formatters/evidence.py b/app/nodes/publish_findings/formatters/evidence.py
index 5485b94a3f..28da5dd1ca 100644
--- a/app/nodes/publish_findings/formatters/evidence.py
+++ b/app/nodes/publish_findings/formatters/evidence.py
@@ -226,10 +226,13 @@ def _sort_key(eid: str) -> str:
... | 4 | 1 | 0 | [{"id": "G0", "claim": "Datadog provenance summaries always include a site part because of the hardcoded 'datadoghq.com' fallback, potentially misleading readers into thinking Datadog was an active data source; the reviewer asks to emit the site part only when a site is actually configured.", "category": "correctness",... | null |
Tracer-Cloud__opensre__525 | Tracer-Cloud/opensre | 525 | defect | ce081de2d6d392c89af4ce3b7243bc9fdc5cbdfb | 84e72084fc029ab20a0cdfb77d96f6a2180c2123 | feat: add trello integration with e2e tests | Fixes #361
Adds a first-class Trello integration for incident task tracking.
Includes:
- Trello authentication and connectivity validation
- creating cards from investigation findings
- integration with existing workflow structure
- unit tests for core functionality
- end-to-end tests covering validation and... | diff --git a/app/integrations/trello.py b/app/integrations/trello.py
new file mode 100644
index 0000000000..f4293ff64a
--- /dev/null
+++ b/app/integrations/trello.py
@@ -0,0 +1,144 @@
+
+import os
+from dataclasses import dataclass
+from typing import Any
+
+import httpx
+from pydantic import Field, field_validator
+
+... | 6 | 4 | 2 | [{"id": "G0", "claim": "validate_trello_config should guard against an empty list_id, since a user who omits TRELLO_LIST_ID gets ok=True from validation and only hits a ValueError later at card-creation time.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl... | null |
Tracer-Cloud__opensre__550 | Tracer-Cloud/opensre | 550 | defect | d2a2de671ac55995e3cf640be9574c63fecded9c | 0caf6d557de37fd4263e7e73a6d95ca7da83cf2f | Add PostHog config validation and E2E test | Fixes #413
Adds missing pieces for PostHog integration:
- Added config validation test following existing patterns
- Added E2E test for bounce-rate alerting
- E2E test is skipped when PostHog env vars are not set (as expected)
| diff --git a/tests/e2e/posthog/__init__.py b/tests/e2e/posthog/__init__.py
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/e2e/posthog/test_orchestrator.py b/tests/e2e/posthog/test_orchestrator.py
new file mode 100644
index 0000000000..6a317c49a5
--- /dev/null
+++ b/tests/e2e/posthog/test_orchestra... | 2 | 1 | 0 | [{"id": "G0", "claim": "In test_config_validation.py, build_posthog_config is imported inside the test function body rather than at module level, a minor style inconsistency that makes the import easy to miss.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G2"... | null |
Tracer-Cloud__opensre__560 | Tracer-Cloud/opensre | 560 | defect | 5ccd5483d43951272e79dbd94e08cda09867ee44 | f04e8c7b209e97c90c02b5e461f3b0e9208373ab | fix(remote): fail closed when OPENSRE_API_KEY is unset | Fixes #559
#### Describe the changes you have made in this PR -
- Fail closed for protected lightweight remote API endpoints when `OPENSRE_API_KEY` is unset, empty, or whitespace-only.
- Compare API keys with `secrets.compare_digest`.
- Keep `/discord/interactions` exempt from API-key auth because Discord reque... | diff --git a/app/remote/server.py b/app/remote/server.py
index aadcd82abf..5fbbc53224 100644
--- a/app/remote/server.py
+++ b/app/remote/server.py
@@ -17,6 +17,7 @@
import logging
import os
import re
+import secrets
import shutil
import time
import urllib.error
@@ -55,7 +56,8 @@
load_dotenv(override=False)
IN... | 3 | 2 | 2 | [{"id": "G0", "claim": "The health-check endpoints (/ok, /version, /health/deep) inherit the global _check_api_key dependency, so with the PR's fail-closed semantics they would return 403 whenever OPENSRE_API_KEY is unset, breaking load balancer and Kubernetes readiness probes; the lightweight health routes should be a... | null |
TransformerLensOrg__TransformerLens__1068 | TransformerLensOrg/TransformerLens | 1,068 | defect | 50ee38b9a20695e90b8ce6a4aa20fd509c8175d9 | 9fc8141fb8338af92b0416d980f02d428edf441c | Fix attention calculation on mps for torch 2.8.0 | <!--
When opening your PR, please make sure to only request a merge to `main` when you have found a bug in the currently released version of TransformerLens. All other PRs should go to `dev` in order to keep the docs in sync with the currently released version.
Please also make sure the branch you are attempting to... | diff --git a/tests/unit/components/test_attention.py b/tests/unit/components/test_attention.py
index 572529cec..38cb3e0d3 100644
--- a/tests/unit/components/test_attention.py
+++ b/tests/unit/components/test_attention.py
@@ -128,3 +128,45 @@ def test_remove_einsum_from_complex_attn_linear():
# Check if the resul... | 2 | 2 | 1 | [{"id": "G0", "claim": "The skipif guard should use `or` instead of `and`, because with `and` the test only skips when MPS is both unavailable and the version is not 2.8.0, so it fails on a PyTorch 2.8.0 machine without MPS.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
TransformerLensOrg__TransformerLens__1111 | TransformerLensOrg/TransformerLens | 1,111 | defect | 7b3929b837c360587d6e042b3ae07b0fc2653d5e | fc6ec7ee02a0bb5d3d501626e9dfac30dccc739d | HuBERT support rollout | <!--
When opening your PR, please make sure to only request a merge to `main` when you have found a bug in the currently released version of TransformerLens. All other PRs should go to `dev` in order to keep the docs in sync with the currently released version.
Please also make sure the branch you are attempting to... | diff --git a/demos/HuBERT_test/hubert_ctc_test.py b/demos/HuBERT_test/hubert_ctc_test.py
new file mode 100644
index 000000000..189223ac0
--- /dev/null
+++ b/demos/HuBERT_test/hubert_ctc_test.py
@@ -0,0 +1,257 @@
+# test_hubert_ctc_lmhead.py
+"""
+Test script to verify HookedAudioEncoder.forward(..., use_ctc=True)
+load... | 8 | 7 | 4 | [{"id": "G0", "claim": "The requirements.txt added at the root of the pull request should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out line '# pooled_output = self.hook_pooler_out(pooled_output)' added in BertPool... | null |
TransformerLensOrg__TransformerLens__1144 | TransformerLensOrg/TransformerLens | 1,144 | defect | 69db6a38708bb47af8d88cc2813927d582793019 | 0ec75eddcceda01836f0ea1ce134f789fc82467c | Add HuggingFace ModelOutput support to TransformerLens generation API | Firstly, thank you so much for building and maintaining TransformerLens - it's a seminal, foundational and invaluable component enabling increasingly vital open-source interpretability research!
This PR enhances the TransformerLens `generate()` API to support HuggingFace's `ModelOutput` abstraction, enabling better ... | diff --git a/.gitignore b/.gitignore
index 32da76df8..be879b728 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,4 +22,4 @@ docs/source/generated
# docs/source/_static/model_table
**.orig
.venv
-
+.env
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 63e6e310a..86d448657 100644
--- a/.vscode/settings.... | 10 | 9 | 3 | [{"id": "G0", "claim": "The fallback handler in bridge.py generate() imports ModelOutput a second time inside the except block even though it was already imported in the try, and catching bare ImportError may not be the right exception for a missing GenerateDecoderOnlyOutput class.", "category": "correctness", "verdict... | null |
TransformerLensOrg__TransformerLens__1183 | TransformerLensOrg/TransformerLens | 1,183 | defect | c447e78181389f7ecb5fccbb18635a3db4040c2c | 14a4fb11595ee7f4368c3344c622e399dfaa6a75 | Add MMLU benchmark evaluation to evals | ## Summary
- Add `mmlu_eval()` function for evaluating models on the MMLU (Massive Multitask Language Understanding) benchmark
- Add `make_mmlu_data_loader()` for loading MMLU data from HuggingFace (`cais/mmlu` dataset)
- Add `MMLU_SUBJECTS` (all 57 subjects) and `MMLU_ANSWER_LETTERS` module-level constants
- Uses stan... | diff --git a/tests/acceptance/test_evals.py b/tests/acceptance/test_evals.py
index 5936466f6..0644651b3 100644
--- a/tests/acceptance/test_evals.py
+++ b/tests/acceptance/test_evals.py
@@ -1,6 +1,11 @@
import pytest
-from transformer_lens.evals import IOIDataset, ioi_eval
+from transformer_lens.evals import (
+ I... | 1 | 1 | 1 | [{"id": "G0", "claim": "mmlu_eval should drop its device parameter and use model.cfg.device internally, since a user who loads a model on one device but passes a different device argument will get a device mismatch error.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TransformerLensOrg__TransformerLens__1198 | TransformerLensOrg/TransformerLens | 1,198 | defect | e6b72eb107151e56ff7d08d785d245a7d5d22f13 | 1ad54012e809f3d5d332b838386452230d0b1a92 | Fix boolean 4D attention-mask handling in joint-QKV bridge attention reconstruction | This change fixes a masking bug in the joint-QKV bridge attention reconstruction path used by both `JointQKVAttentionBridge._reconstruct_attention()` and `JointQKVPositionEmbeddingsAttentionBridge._reconstruct_attention()`. The issue surfaced during downstream backend-parity work in Interpretune and, more importantly, ... | diff --git a/makefile b/makefile
index 874cd9e13..dc7c96c98 100644
--- a/makefile
+++ b/makefile
@@ -1,11 +1,14 @@
-RUN := uv run
+TL_UV_ACTIVE ?= 0
+ACTIVE_FLAG := $(if $(filter 1 true TRUE yes YES on ON,$(TL_UV_ACTIVE)), --active,)
+RUN := uv run$(ACTIVE_FLAG)
+UV_SYNC := uv sync$(ACTIVE_FLAG)
# Rerun args for fla... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the rotary `_reconstruct_attention`, causal masking is skipped whenever any `attention_mask` is provided, so a non-4D (e.g. 2D/3D padding) mask can leak future tokens; the reviewer suggests mirroring the parent logic (treat only HF 4D masks as authoritative for causal semantics, otherwise app... | null |
TransformerLensOrg__TransformerLens__1278 | TransformerLensOrg/TransformerLens | 1,278 | defect | 0a5218ca38ed55466cacfeac0ce20d40e25a9b0f | ed30beb8eea07a93241fa462d7f500da3e4a9e19 | MPS CI Support | Hi @jlarson4,
This PR implements **MPS (Metal Performance Shaders) CI Runner Support** as proposed in #1264.
The goal is to provide automated testing for the Apple Silicon research community while working within the limits of GitHub's Mac runners.
### Key Changes:
* **New Test Suite:** Added `tests/mps/t... | diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index 3a2e1389c..262be82d5 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -103,6 +103,60 @@ jobs:
- name: Build check
run: uv build
+ mps-checks:
+ name: MPS Checks
+ runs-on: macos-latest
... | 11 | 10 | 5 | [{"id": "G0", "claim": "Changing get_device()'s return type from torch.device to str is a breaking API change for downstream callers, so the pull request should keep returning torch.device for backward compatibility (callers can wrap in str(...)) or introduce a new helper while keeping the old behavior.", "category": "... | null |
TransformerLensOrg__TransformerLens__1284 | TransformerLensOrg/TransformerLens | 1,284 | defect | bbc3ec7ab3c4d02d00067884ae33dbd4ceb70920 | d39f79e6ef54439e377f6ca45e6e5fc71a37ac6f | Add n_params_total property for total parameter count | ## Summary
Related to #448.
Issue background: `cfg.n_params` counts only "hidden weight" parameters (attention projections + MLP weights, excluding embeddings, biases, and layer norms) — matching the [scaling laws paper](https://arxiv.org/pdf/2001.08361.pdf) convention. Users computing memory budgets or comparing wit... | diff --git a/tests/unit/test_n_params_total.py b/tests/unit/test_n_params_total.py
new file mode 100644
index 000000000..d3851a522
--- /dev/null
+++ b/tests/unit/test_n_params_total.py
@@ -0,0 +1,56 @@
+"""Tests for HookedTransformer.n_params_total property.
+
+Related to https://github.com/TransformerLensOrg/Transform... | 3 | 3 | 3 | [{"id": "G0", "claim": "The PR should add a test on a real-world model (e.g. cached GPT-2) comparing n_params_total with HuggingFace's num_parameters().", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "test_n_params_total_matches_sum_of_parameters is alwa... | null |
TransformerLensOrg__TransformerLens__1307 | TransformerLensOrg/TransformerLens | 1,307 | defect | bb150199c265863b0bb86f5e202a57794f006a52 | ba018823b12851f8b7b3d91e05a4aad63d6e79bf | Feat/external architecture registration | Hi @jlarson4,
## Description
Three changes to allow users to register custom architecture adapters without forking TransformerLens:
1. **`register_adapter()` method** — Classmethod on `ArchitectureAdapterFactory` that adds custom architectures to the registry at runtime
2. **Entry-point discovery** — `discover_... | diff --git a/docs/source/content/adapter_development/external-adapter-registration.md b/docs/source/content/adapter_development/external-adapter-registration.md
new file mode 100644
index 0000000000..2ce2aec570
--- /dev/null
+++ b/docs/source/content/adapter_development/external-adapter-registration.md
@@ -0,0 +1,87 @@... | 8 | 8 | 6 | [{"id": "G0", "claim": "The bare `except Exception: pass` in `discover_entry_points()` silently swallows all discovery and entry-point load failures (so users only get a confusing 'Unsupported architecture' error), and a single broken entry point aborts the loop so other valid adapters are not discovered; it should log... | null |
TransformerLensOrg__TransformerLens__775 | TransformerLensOrg/TransformerLens | 775 | defect | c7837fbba582c18ce235bea5e000a4e88307080f | af58c7fd76df38e4fcb3e017331798c77622f33b | Set prepend_bos to false by default for Bloom model family | <!--
When opening your PR, please make sure to only request a merge to `main` when you have found a bug in the currently released version of TransformerLens. All other PRs should go to `dev` in order to keep the docs in sync with the currently released version.
Please also make sure the branch you are attempting to... | diff --git a/tests/acceptance/test_hooked_transformer.py b/tests/acceptance/test_hooked_transformer.py
index 9d9e2bb19..efa9215fd 100644
--- a/tests/acceptance/test_hooked_transformer.py
+++ b/tests/acceptance/test_hooked_transformer.py
@@ -66,7 +66,7 @@
"redwood_attn_2l": 10.530948638916016,
"solu-1l": 5.256... | 3 | 3 | 2 | [{"id": "G0", "claim": "Adding the bloom if-clause makes the bloom-560m acceptance test fail because its expected loss value no longer matches the loss the model now produces, and the resulting loss still deviates from the HuggingFace implementation.", "category": "correctness", "verdict": "supported", "priority": "P0"... | null |
TransformerOptimus__SuperAGI__1005 | TransformerOptimus/SuperAGI | 1,005 | defect | 05392632f2cd43017e6c0a7ea12b572a067fba05 | 47448ff22e2878208e5778889c3a70b37e0d1671 | LTM summary | <!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
### Description
<!-- The title might not be enough to convey how this change affects the user. -->
<!-- Describe the changes from a user's perspe... | diff --git a/superagi/agent/agent_iteration_step_handler.py b/superagi/agent/agent_iteration_step_handler.py
index a8f37d94a2..6e247fa96d 100644
--- a/superagi/agent/agent_iteration_step_handler.py
+++ b/superagi/agent/agent_iteration_step_handler.py
@@ -67,7 +67,7 @@ def execute_step(self):
messages = Agent... | 7 | 7 | 0 | [{"id": "G0", "claim": "Replace the if/else in _build_long_term_summary with a single conditional expression: past_summary = summary.value if summary is not None else \"\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the long_term_summ... | null |
TransformerOptimus__SuperAGI__1007 | TransformerOptimus/SuperAGI | 1,007 | defect | 3266d8cea7819b6b2bca8b4ead9e1b8ed8213fc5 | 77698dbc5b7918773419a9bb0b077a64d115255e | Tool-Memory LTM | <!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
### Description
<!-- Adding the tool memory LTM -->
<Added LTM in Thinking Tool, now we can get the relevant tool response by performing the simi... | diff --git a/docker-compose.yaml b/docker-compose.yaml
index 94044916b3..b580f06c48 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -37,8 +37,8 @@ services:
networks:
- super_network
# uncomment to expose redis port to host
-# ports:
-# - "6379:6379"
+ ports:
+ - "6379:6379... | 3 | 2 | 1 | [{"id": "G0", "claim": "The memory-saving logic inlined in output_handler.handle should be moved into a separate function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The DuckDuckGo (and notion) entries the pull request adds to tools.json sho... | null |
TransformerOptimus__SuperAGI__1031 | TransformerOptimus/SuperAGI | 1,031 | defect | e73bba14a8735960d14959c9d719f812eb89ad6a | 45f769c768ed8b7a3fb8cae369cd63db172e3a91 | Weaviate backend | <!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
### Description
<!-- The title might not be enough to convey how this change affects the user. -->
<!-- Describe the changes from a user's perspe... | diff --git a/superagi/controllers/vector_db_indices.py b/superagi/controllers/vector_db_indices.py
index 667bc953ea..7105577121 100644
--- a/superagi/controllers/vector_db_indices.py
+++ b/superagi/controllers/vector_db_indices.py
@@ -16,6 +16,7 @@ def get_marketplace_valid_indices(knowledge_name: str, organisation = D... | 4 | 3 | 0 | [{"id": "G0", "claim": "The new try/except in add_texts that catches and re-raises a generic Exception is redundant — no need to raise it again there.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Changing `filters = {}` to `filters = None` in the Custo... | null |
TransformerOptimus__SuperAGI__1125 | TransformerOptimus/SuperAGI | 1,125 | defect | 0ea717b04e7079918ceb20e9f7726baba663c661 | 3c0a5782a7753ca3a25e9d7867e40e0c05f1d7f3 | PDF and DOCX support in Write File - Feature Improvement, close #548 | <!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
### Description
<!-- The title might not be enough to convey how this change affects the user. -->
<!-- Describe the changes from a user's perspe... | diff --git a/Dockerfile b/Dockerfile
index 250f94a123..10a7d7f171 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@ FROM python:3.10-slim-bullseye AS compile-image
WORKDIR /app
RUN apt-get update && \
- apt-get install --no-install-recommends -y wget libpq-dev gcc g++ python3-dev && \
+ apt-get install... | 12 | 11 | 1 | [{"id": "G0", "claim": "Revert the unnecessary changes made to superagi/models/agent_execution_feed.py, a file whose edits are not needed for this feature.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the custom exception classes out of f... | null |
TransformerOptimus__SuperAGI__1126 | TransformerOptimus/SuperAGI | 1,126 | defect | 556072ec76d3bc26cbed9a4a012b638fcba5700a | 815d5183debf96f015ee9bb5420f1518244ca78b | Models fixes | <!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
### Description
<!-- The title might not be enough to convey how this change affects the user. -->
<!-- Describe the changes from a user's perspe... | diff --git a/gui/pages/Content/Agents/AgentCreate.js b/gui/pages/Content/Agents/AgentCreate.js
index 95f7317865..37e1d416d9 100644
--- a/gui/pages/Content/Agents/AgentCreate.js
+++ b/gui/pages/Content/Agents/AgentCreate.js
@@ -11,7 +11,7 @@ import {
updateExecution,
uploadFile,
getAgentDetails, addAgentRun, fe... | 3 | 1 | 0 | [{"id": "G0", "claim": "Remove the debug print statements left in ModelsConfig.fetch_api_key.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the imports inside validate_model_in_db to the top of models.py.", "category": "maintainability", "... | null |
TransformerOptimus__SuperAGI__1140 | TransformerOptimus/SuperAGI | 1,140 | defect | b75487325c78d11796ddaea4aa39006902b74863 | 5d63f8f3b75dd2539047e95f0fb1da7e7baeb8c4 | Added filters in the webhooks | <!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
### Description
<!-- The title might not be enough to convey how this change affects the user. -->
<!-- Describe the changes from a user's perspe... | diff --git a/migrations/versions/40affbf3022b_add_filter_colume_in_webhooks.py b/migrations/versions/40affbf3022b_add_filter_colume_in_webhooks.py
new file mode 100644
index 0000000000..f30bae693e
--- /dev/null
+++ b/migrations/versions/40affbf3022b_add_filter_colume_in_webhooks.py
@@ -0,0 +1,84 @@
+"""add filter colum... | 1 | 1 | 1 | [{"id": "G0", "claim": "Remove all auto-generated drop_index and alter_column operations from the 40affbf3022b migration, since they touch unrelated tables and do not belong to the webhook filters change.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
TransformerOptimus__SuperAGI__1186 | TransformerOptimus/SuperAGI | 1,186 | defect | d0fd847109ce2c740cf0e81a6b36382dfc035346 | 2e8afbffda1bdbea44419d665d13c06463306f89 | Feature : Wait block for agent workflow | <!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
### Description
<!-- The title might not be enough to convey how this change affects the user. -->
<!-- Describe the changes from a user's perspe... | diff --git a/migrations/versions/c4f2f6ba602a_agent_workflow_wait_step.py b/migrations/versions/c4f2f6ba602a_agent_workflow_wait_step.py
new file mode 100644
index 0000000000..c37515c2bf
--- /dev/null
+++ b/migrations/versions/c4f2f6ba602a_agent_workflow_wait_step.py
@@ -0,0 +1,39 @@
+"""agent_workflow_wait_step
+
+Rev... | 7 | 3 | 0 | [{"id": "G0", "claim": "The wait-step handling belongs in agent_executor itself; a separate AgentWorkflowStepWaitExecutor just to manage wait steps is not needed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Execution and action status string literals ... | null |
TransformerOptimus__SuperAGI__1190 | TransformerOptimus/SuperAGI | 1,190 | defect | 9387fdc40b22c32ebe6e727b4b90fe551f5562dd | be434632384b3bd9109b533a75ee5ebbda03db32 | GitHub pull request tools | <!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
### Description
<!-- The title might not be enough to convey how this change affects the user. -->
<!-- Describe the changes from a user's perspe... | diff --git a/main.py b/main.py
index 5c5314a342..a947f4a6b2 100644
--- a/main.py
+++ b/main.py
@@ -45,6 +45,7 @@
from superagi.helper.tool_helper import register_toolkits, register_marketplace_toolkits
from superagi.lib.logger import logger
from superagi.llms.google_palm import GooglePalm
+from superagi.llms.llm_mod... | 10 | 6 | 1 | [{"id": "G0", "claim": "The print statements in the new build_model_with_api_key function should be removed and a logger used instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new GithubHelper methods could be made smaller by passing u... | null |
TransformerOptimus__SuperAGI__1306 | TransformerOptimus/SuperAGI | 1,306 | defect | 1224489bab90ddfaef4a640a71fdce168ec5072a | 882c1972a1061057027df11b1235e42da629d6a9 | Local LLMs | <!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
### Description
<!-- The title might not be enough to convey how this change affects the user. -->
<!-- Describe the changes from a user's perspe... | diff --git a/gui/pages/Content/Models/ModelForm.js b/gui/pages/Content/Models/ModelForm.js
index 9671cfc10d..0e790e38f5 100644
--- a/gui/pages/Content/Models/ModelForm.js
+++ b/gui/pages/Content/Models/ModelForm.js
@@ -6,7 +6,7 @@ import {BeatLoader, ClipLoader} from "react-spinners";
import {ToastContainer, toast} fr... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new Alembic migration looks incorrect because its upgrade (and downgrade) reverts already-applied schema changes — dropping agent_schedule/events indexes, dropping the agent_workflows.organisation_id column and altering column nullability — instead of only making the local-LLM change.", "cat... | null |
TransformerOptimus__SuperAGI__937 | TransformerOptimus/SuperAGI | 937 | defect | 42c3829930c640c9c37b52ff29a2b50afe6155bb | 19dccd4a2ec8d8287eea29b0f3b14904d40207c6 | Toolkit update | <!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
### Description
<!-- The title might not be enough to convey how this change affects the user. -->
<!-- Describe the changes from a user's perspe... | diff --git a/gui/pages/Content/Marketplace/ToolkitTemplate.js b/gui/pages/Content/Marketplace/ToolkitTemplate.js
index 242606570c..b705c802e9 100644
--- a/gui/pages/Content/Marketplace/ToolkitTemplate.js
+++ b/gui/pages/Content/Marketplace/ToolkitTemplate.js
@@ -5,7 +5,12 @@ import styles3 from '../Agents/Agents.module... | 1 | 1 | 1 | [{"id": "G0", "claim": "updateMarketplaceToolTemplate and checkToolkitUpdate both call the same GET /toolkits/check_update/ endpoint, so the update action never reaches an update API.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TransformerOptimus__SuperAGI__998 | TransformerOptimus/SuperAGI | 998 | defect | da35de067bed764d19b592a6aa25528c08a906f9 | dc8073eb175ea925eb048df9f6a37c957a190f08 | Edit agent feature 1 | <!-- Thank you for submitting this PR! :) -->
<!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
### Description
<!-- The title might not be enough to convey how this change affects the user. -->
<!-- Describe the changes from a user's perspe... | diff --git a/superagi/controllers/agent.py b/superagi/controllers/agent.py
index aa4056895f..a05d800960 100644
--- a/superagi/controllers/agent.py
+++ b/superagi/controllers/agent.py
@@ -1,11 +1,13 @@
import json
from datetime import datetime
-
+from typing import Union, List
from fastapi import APIRouter
from fast... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add unit tests for the new update_agent_configurations_table method.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the intermediate key variable in the config-update loop and use agent_config.key directly.", "category": "... | null |
TremblingV5__DouTok__118 | TremblingV5/DouTok | 118 | defect | 79ac3bd230e36919014c83b0cc808ab26eb9dfe2 | 8f3483faf1bfd0c13723a20d0514c9d7b5e74b38 | Override environment variables using YAML configuration | ## Link to an issue
<!-- https://github.com/TremblingV5/DouTok/issues/112 -->
<!-- Please add an issue link if this PR is related with one. -->
## What
We simply write yaml files to set variables those should be setted throwing environment.
What's more, I add a new variable 'Otel.Enable' to decide whether to use... | diff --git a/applications/api/initialize/init_hertz.go b/applications/api/initialize/init_hertz.go
index a3eb10f3..f2ae8ace 100644
--- a/applications/api/initialize/init_hertz.go
+++ b/applications/api/initialize/init_hertz.go
@@ -123,12 +123,15 @@ func InitHertz() (*server.Hertz, func()) {
}))
}
- // 链路追踪
- p :... | 5 | 3 | 0 | [{"id": "G0", "claim": "The Otel.IsEnable() method is unnecessary since it only returns o.Enable, and the field can be used directly where needed.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Not every service needs every config struct, so services tha... | null |
TrenchBroom__TrenchBroom__4724 | TrenchBroom/TrenchBroom | 4,724 | defect | 6aca4e1da9ff94590caa90ad90a9f57d6af1cd73 | 900053227097900b83ac20d1e02767bd48b4ade2 | Load BSPv30 models | Minor update to the BspLoader to allow loading GoldSrc BSPs as well a Quake's.
The model loads as it shows in-engine: only the world bmodel.
Single `env_sprite` to a complex BSP: [in TB](https://github.com/user-attachments/assets/35e95664-2a93-4309-a2c2-df6b593eddd4), [in engine](https://github.com/user-attachmen... | diff --git a/common/src/io/BspLoader.cpp b/common/src/io/BspLoader.cpp
index 91e08429efb..b8fba767454 100644
--- a/common/src/io/BspLoader.cpp
+++ b/common/src/io/BspLoader.cpp
@@ -67,6 +67,12 @@ static const size_t ModelFaceIndex = 0x38;
namespace
{
+bool isBSPVersionSupported(const int version)
+{
+ // 29 is Qua... | 2 | 2 | 1 | [{"id": "G0", "claim": "In parseMaterials, move the version parameter behind the reader parameter.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test for loading a valid BSP30 file, with a (licensed) BSP file placed in common/test/fixture... | null |
TrenchBroom__TrenchBroom__5135 | TrenchBroom/TrenchBroom | 5,135 | defect | e9d968b705e8a59b0c2c90dc4f46218428e273be | f056da7ea9496f876b7a58fe176a480128f90cde | Don't crash when running AppImage with --portable | Closes #4988.
When running the Linux app image with the --portable flag, the user data
directory would point into the read only app image, causing issues when TB tries
to write to it. Pointing the user data directory to a folder next to the app
image should fix this issue.
| diff --git a/lib/KdLib/include/kd/optional_utils.h b/lib/KdLib/include/kd/optional_utils.h
index f1b5c89329e..1f81fb331d6 100644
--- a/lib/KdLib/include/kd/optional_utils.h
+++ b/lib/KdLib/include/kd/optional_utils.h
@@ -86,6 +86,26 @@ constexpr auto operator|(const std::optional<T>& o, const transform_helper<F>& h
... | 4 | 3 | 2 | [{"id": "G0", "claim": "appImageFile() treats any non-null APPIMAGE pointer as valid, so APPIMAGE set to an empty string yields an engaged optional holding an empty path that makes userDataDirectory() produce a relative config path; it should check both that getenv(\"APPIMAGE\") is non-null and non-empty (and ideally t... | null |
TrenchBroom__TrenchBroom__5144 | TrenchBroom/TrenchBroom | 5,144 | defect | 45df4c6a1d2f6381eec040ce28540d4d540549fd | 13204e48701d356efc990ed9387fba04f933ac9d | Add stairs shape | Closes #5051.
This PR adds an extension to the shape tool to create stairs. Users choose a direction and a step height, and the tool creates the correct number of steps to fill the bounding box. | diff --git a/app/TrenchBroom/resources/documentation/manual/index.md b/app/TrenchBroom/resources/documentation/manual/index.md
index b22351eeaf3..838b6288c77 100644
--- a/app/TrenchBroom/resources/documentation/manual/index.md
+++ b/app/TrenchBroom/resources/documentation/manual/index.md
@@ -455,6 +455,7 @@ This way of... | 2 | 2 | 2 | [{"id": "G0", "claim": "Encoding stair direction through the shared ShapeParameters axis plus the sign of stepHeight makes the stairs UI mutate state shared with the other shape extensions, so adjusting stairs direction also changes the axis used by cylinder/cone/sphere shapes; an explicit stairDirection (or stairAxis ... | null |
TrenchBroom__TrenchBroom__5145 | TrenchBroom/TrenchBroom | 5,145 | defect | 45df4c6a1d2f6381eec040ce28540d4d540549fd | 32f0a0f34917c8fee7cb7a0ca7b9a77e52f2ddca | Warn that the app folder will be erased when updating TrenchBroom on Windows | Closes #5057.
On Windows, some users put their game configs into the application folder even though they should go in the user folder. When installing an update, TB wipes the application folder, so the custom game configs are lost.
This PR adds an extra step to the update flow to warn the user to back up their fi... | diff --git a/lib/TbUiLib/src/UpdateConfig.cpp b/lib/TbUiLib/src/UpdateConfig.cpp
index 9d80b20425c..4fa1fd10592 100644
--- a/lib/TbUiLib/src/UpdateConfig.cpp
+++ b/lib/TbUiLib/src/UpdateConfig.cpp
@@ -77,13 +77,7 @@ std::optional<std::filesystem::path> getAppFolderPath()
#elif defined(__APPLE__)
return SystemPaths:... | 6 | 4 | 3 | [{"id": "G0", "claim": "UpdatePendingState::operator== and operator<< in UpdateController.cpp do not compare or serialize the new showUpdateWarning field, so state equality checks (including the test assertion) cannot detect a wrong value and logs are less informative; include the field in those helpers.", "category": ... | null |
TrenchBroom__TrenchBroom__5147 | TrenchBroom/TrenchBroom | 5,147 | defect | 2437f3984e3db66cb86338e953179561cb248152 | 364774644ae589bff87cf9afdb7c6b0b4e410eec | Ask before closing preference dialog when there are unsaved changes | Closes #5109. | diff --git a/lib/TbBaseLib/include/PreferenceManager.h b/lib/TbBaseLib/include/PreferenceManager.h
index 314d6b1dce0..3fab42149c0 100644
--- a/lib/TbBaseLib/include/PreferenceManager.h
+++ b/lib/TbBaseLib/include/PreferenceManager.h
@@ -130,11 +130,10 @@ class PreferenceManager
* Whether preferences should be saved... | 2 | 1 | 1 | [{"id": "G0", "claim": "The QMessageBox shown when closing the dialog sets no default or escape button, so pressing Enter may unintentionally activate Save or Discard when the user only meant to close; consider explicitly setting the default button (and optionally the escape button) to Cancel before exec().", "category... | null |
TrenchBroom__TrenchBroom__5167 | TrenchBroom/TrenchBroom | 5,167 | defect | 6cf897a227185a42f6a623ddd315da6945072d17 | 94a747e9340d1ff5d39954dd546f4b7daae09f94 | Scale average texture color correctly | Closes #5165. | diff --git a/lib/TbMdlLib/src/LoadFreeImageTexture.cpp b/lib/TbMdlLib/src/LoadFreeImageTexture.cpp
index 824a824c831..a6d0a278352 100644
--- a/lib/TbMdlLib/src/LoadFreeImageTexture.cpp
+++ b/lib/TbMdlLib/src/LoadFreeImageTexture.cpp
@@ -89,21 +89,26 @@ Color getAverageColor(const gl::TextureBuffer& buffer, const GLenum... | 2 | 2 | 1 | [{"id": "G0", "claim": "getAverageColor normalizes byte channels with /256.0f, mapping byte 255 to 0.996... which systematically darkens colors and makes fully opaque textures report alpha < 1, and the new test's expected vector encodes those /256 values; it should use 255.0f (or a single 1.0f/255.0f scale after summin... | null |
TriPSs__nestjs-query__136 | TriPSs/nestjs-query | 136 | defect | 1dbbe5c9c1299bfb729559dfcc3fbed22988d56e | feae58dd70cc3d9d5ea9b30bbff6f1657735cc66 | feat(nestjs-query): make dataLoader configurable | We needed the possibility to configure the `batchScheduleFn` of the DataLoader. Because in connection with a `CustomAuthorizer` the default scheduler fails and the n+1 problem occurs again.
Following the NestJS common practice, I implemented the following configuration option in the `AppModule`:
```typescript
Ne... | diff --git a/documentation/docs/graphql/dataloaders.mdx b/documentation/docs/graphql/dataloaders.mdx
new file mode 100644
index 000000000..f72f25573
--- /dev/null
+++ b/documentation/docs/graphql/dataloaders.mdx
@@ -0,0 +1,35 @@
+---
+title: Dataloaders
+sidebar_label: Dataloaders
+---
+
+Nestjs-query integrates a stan... | 5 | 3 | 2 | [{"id": "G0", "claim": "Add the new dataloader configuration option to the documentation.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add specific test cases covering overriding the dataloader, in both the E2E and unit tests.", "category": "tes... | null |
TriPSs__nestjs-query__337 | TriPSs/nestjs-query | 337 | defect | dd94855c9f52e89b7c98ed1e501678c233343955 | 3ce86913e60a52188e61149c495a533ffa81fd59 | chore: typed jest conf + remove `version` from compose file + fix typo | Just some chores like getting rid of this warning in terminal each time you run e2e tests:
```shell
WARN[0000] /home/kasir/projects/nestjs-query/examples/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
```
Typed jest conf file for bett... | diff --git a/documentation/docs/introduction/example.mdx b/documentation/docs/introduction/example.mdx
index aac8bfb35..59f714319 100644
--- a/documentation/docs/introduction/example.mdx
+++ b/documentation/docs/introduction/example.mdx
@@ -270,6 +270,7 @@ npx nest g cl todo-item.create.dto todo-item --flat
```ts ... | 3 | 1 | 0 | [{"id": "G0", "claim": "The postgres image tag in the docs compose example can be just 17 instead of 17.0-alpine3.20.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Keep the docker-compose.yml file name in the docs rather than renaming it to com... | null |
TriPSs__nestjs-query__391 | TriPSs/nestjs-query | 391 | defect | 9a6145ffb538e8cc8cbdb1a8ef6bd5214d13d4bb | 695a4305d2955fc9560b14cb5fb9886f204e14fe | fix(query-graphql): use DataLoader in ReferenceResolver to prevent N+1 queries (#389) | closes #389 | diff --git a/packages/query-graphql/__tests__/resolvers/reference.resolver.spec.ts b/packages/query-graphql/__tests__/resolvers/reference.resolver.spec.ts
index 4bb3ac495..704aa08e2 100644
--- a/packages/query-graphql/__tests__/resolvers/reference.resolver.spec.ts
+++ b/packages/query-graphql/__tests__/resolvers/refere... | 2 | 1 | 0 | [{"id": "G0", "claim": "The `as unknown as Filter<DTO>` double type assertion suggests the filter structure may not match the expected Filter type; consider defining a proper type-safe filter instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"... | null |
TriggerReactor__TriggerReactor__195 | TriggerReactor/TriggerReactor | 195 | defect | 6aeea9657b6f013a636c40649fbedf917c88ab13 | 568e538902ce6cd5f68055d13bcdbea6d6851804 | A new executor, and a renewed executor | ## 1. New executor, #KICK
### This #KICK Executor is simply used to kick player.
**1)** kick sender - Not giving any argument
#KICK
**2)** kick sender with custom kick message - giving only one argument
#KICK "You are kicked"
**3)** kick specific player - giving only one argument
#KICK pl... | diff --git a/bukkit/src/main/resources/Executor/CLEARCHAT.js b/bukkit/src/main/resources/Executor/CLEARCHAT.js
index 416d5cfb6..93b67f45c 100644
--- a/bukkit/src/main/resources/Executor/CLEARCHAT.js
+++ b/bukkit/src/main/resources/Executor/CLEARCHAT.js
@@ -15,11 +15,26 @@
* along with this program. If not, see <... | 10 | 10 | 3 | [{"id": "G0", "claim": "Add a validation check to reject argument lists that are too long, such as more than 2 args for #KICK.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When an argument has the wrong type, always print the argument itself in th... | null |
TriggerReactor__TriggerReactor__396 | TriggerReactor/TriggerReactor | 396 | defect | f68168845f6127a7ba72525f66f4f66c42e9c8f7 | 814809f8c8e56d3f8280ab4ee8bedaca71d830c7 | Added assignment, bitwise, and bit shift operator | I think I messed up the commit list. Sorry for that. | diff --git a/bukkit/latest/src/main/resources/plugin.yml b/bukkit/latest/src/main/resources/plugin.yml
index 52ce1cc9a..e38ba7c81 100644
--- a/bukkit/latest/src/main/resources/plugin.yml
+++ b/bukkit/latest/src/main/resources/plugin.yml
@@ -13,6 +13,7 @@ authors:
- mrandriyg
- professer_snape
- gerzytet
+- Kuiprux
... | 2 | 2 | 2 | [{"id": "G0", "claim": "Unit tests at least sufficient to cover the new operator implementations should be written.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The bitwise/bit-shift interpretation block in Interpreter.java's interpret method (around ... | null |
TriggerReactor__TriggerReactor__432 | TriggerReactor/TriggerReactor | 432 | defect | 7d995e5f7bea4df9fe6e711d194531bc14b1a07e | 53e78d65eb2547ea7289c5c1f7653dfbfdeb675c | Resolve #431 - new operator: try catch (finally) | Added [try, catch, finally] statements.
If any error occurs, the error is stored in the variable **e**.
Usage:
```
TRY
...
CATCH (err var name)
...
ENDTRY
```
or
```
TRY
...
FINALLY
...
ENDTRY
```
or
```
TRY
...
CATCH (err var name)
...
FINALLY
...
ENDTRY
```
... | diff --git a/core/src/main/java/io/github/wysohn/triggerreactor/core/script/interpreter/Interpreter.java b/core/src/main/java/io/github/wysohn/triggerreactor/core/script/interpreter/Interpreter.java
index 6e9586c19..b2c03a728 100644
--- a/core/src/main/java/io/github/wysohn/triggerreactor/core/script/interpreter/Interp... | 5 | 5 | 2 | [{"id": "G0", "claim": "The unit tests should cover all the newly added try/catch/finally lines in Interpreter.start, particularly the long nested call, which the author should verify with code coverage.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It... | null |
TriggerReactor__TriggerReactor__438 | TriggerReactor/TriggerReactor | 438 | defect | 0dce7f3d5df2f0b0504b67ac88f7238edef22062 | 730b326b75938d4cff5daad20a7183f60be820cf | Fix #436 - CATCH statement only execute first line. | Before:
```
CATCHBODY
ID // for saving error
...
```
After:
```
CATCHBODY
ID // for saving error
BODY
...
```
| diff --git a/core/src/main/java/io/github/wysohn/triggerreactor/core/script/parser/Parser.java b/core/src/main/java/io/github/wysohn/triggerreactor/core/script/parser/Parser.java
index a7f185f89..0ab5232ad 100644
--- a/core/src/main/java/io/github/wysohn/triggerreactor/core/script/parser/Parser.java
+++ b/core/src/main... | 2 | 2 | 1 | [{"id": "G0", "claim": "Test code should be added for the newly found edge case where a CATCH statement only executes its first line.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test cases in TestInterpreter should be separated into one method pe... | null |
TriggerReactor__TriggerReactor__460 | TriggerReactor/TriggerReactor | 460 | defect | 46166a76798c60f46e89987a234b32587fe9e536 | 5a46c794a4c4a7b88f18cdc380ce6b7fcea7c379 | Add `import as` spec | - Resolves #440 | diff --git a/build.gradle b/build.gradle
index 6afddcf4f..7791011ff 100644
--- a/build.gradle
+++ b/build.gradle
@@ -42,7 +42,8 @@ subprojects {
'professer_snape',
'gerzytet',
'Kuiprux',
- 'Ioloolo'
+ 'Ioloolo',
+ 'Sayakie'
... | 3 | 2 | 2 | [{"id": "G0", "claim": "The attribute comparison should use \"AS\".equalsIgnoreCase(attribute) instead of attribute.equalsIgnoreCase(\"AS\") so a null attribute does not throw a NullPointerException, as a convention.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "... | null |
TriggerReactor__TriggerReactor__467 | TriggerReactor/TriggerReactor | 467 | defect | 8fa960e5724833ed4ee97daea29d1bdb00b6276e | b2c9ea077f9984f688066b0ca6e6a830d5ed2d56 | Fix #466 - Not CATCH bug? | We can't catch invoked-method-error in the TRY-CATCH statements.
because ReflectionUtil handle the error internally, not Caller. | diff --git a/core/src/main/java/io/github/wysohn/triggerreactor/tools/ReflectionUtil.java b/core/src/main/java/io/github/wysohn/triggerreactor/tools/ReflectionUtil.java
index 55bac0843..9ade3ed43 100644
--- a/core/src/main/java/io/github/wysohn/triggerreactor/tools/ReflectionUtil.java
+++ b/core/src/main/java/io/github... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new testTryCatchInvokedMethod test should use the mock&verify (Mockito) pattern instead of the hand-written VERIFY executor lambda, returning null from when() so the interpreter does not stop.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TriggerReactor__TriggerReactor__497 | TriggerReactor/TriggerReactor | 497 | defect | 76fc30a450542b8637e7d710dbf5d4626e393d13 | 0e02daa0570bfcb3b18ed74c888c882fb7f6ed6e | Development inconsistent json | https://github.com/TriggerReactor/TriggerReactor/pull/480/files
This should fix the mentioned problem
refactor_dagger will be abandoned for now cause it would break too much things (will try again with part by part at the time though)
---
Haven't tested it in-game yet | diff --git a/core/src/main/java/io/github/wysohn/triggerreactor/core/config/InvalidTrgConfigurationException.java b/core/src/main/java/io/github/wysohn/triggerreactor/core/config/InvalidTrgConfigurationException.java
index bfd4c3041..2394132a7 100644
--- a/core/src/main/java/io/github/wysohn/triggerreactor/core/config/... | 3 | 3 | 2 | [{"id": "G0", "claim": "The old-key fallback should be updated with a valid key name, because each trigger config creates a new key for keys not expected in this PR and the duplicated inconsistent keys (e.g. 'event' and 'Event') will confuse server devs.", "category": "correctness", "verdict": "supported", "priority": ... | null |
TriggerReactor__TriggerReactor__551 | TriggerReactor/TriggerReactor | 551 | defect | 7a62adcd77f13771aa81092d2b83e3fb1836846a | d93e96d174999c8361a98c7d91bde26b7a0b77a2 | Improve Give Executor | # Improve Give Executor</br>
### ❓| What's different?
- The previous Give Executor used to perform addItem by detecting empty slots,
regardless of the potential inventory space the player had.
- However, in this PR, it calculates the size of the player's potential inventory space and performs addItem when Size >=... | diff --git a/bukkit/src/main/resources/Executor/GIVE.js b/bukkit/src/main/resources/Executor/GIVE.js
index 2b5dae64e..2f864e4a7 100644
--- a/bukkit/src/main/resources/Executor/GIVE.js
+++ b/bukkit/src/main/resources/Executor/GIVE.js
@@ -15,36 +15,47 @@
* You should have received a copy of the GNU General Public L... | 3 | 3 | 2 | [{"id": "G0", "claim": "The capacity-counting loop should use inv.getSize() instead of the hardcoded 36, since a player's inventory size could differ in the future.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The empty-slot check should also ... | null |
TriggerReactor__TriggerReactor__557 | TriggerReactor/TriggerReactor | 557 | defect | b37eb455a514a7541ae3be5d53b5f9f40f2c9c03 | b2236f4d2ee6cb2d4ae0f571bf8299d0dee288f3 | Support for more sophisticated numeric literals | This pull request includes enhanced numeric literals things.
## Numeric separators
Using underscores as separators helps improve readability for numeric literals, both integers and decimals. This closes #556
```java
1_000_000_000
0.000_000_001
```
## Based literals
Express in a form that specifies the ba... | diff --git a/core/src/main/java/io/github/wysohn/triggerreactor/core/script/Token.java b/core/src/main/java/io/github/wysohn/triggerreactor/core/script/Token.java
index 59a581d60..8d8ae4bb4 100644
--- a/core/src/main/java/io/github/wysohn/triggerreactor/core/script/Token.java
+++ b/core/src/main/java/io/github/wysohn/t... | 1 | 1 | 1 | [{"id": "G0", "claim": "tryParseInt should throw an exception such as NumberFormatException instead of silently returning 0 when the string cannot be parsed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TriggerReactor__TriggerReactor__563 | TriggerReactor/TriggerReactor | 563 | defect | 209f0aef4d079a799c65a1714b423120acf69030 | df9798c4e126d533d319c3c700b37e1f3f0fbe76 | Deprecate `:` operator in FOR statement, add `..` and `..=` operators instead | ## 🌟 Features
* Introduce new `RANGE` token type
* Add new `..` and `..=` range operators
* Support backward iteration
* Mark `:` operator as deprecated symbol
## 🚩 Syntax
```java
[0-9]..[0-9] (End should be exclusive)
[0-9]..=[0-9] (End should be inclusive)
```
## 📜 Examples
```java
FOR i = 3... | diff --git a/core/src/main/java/io/github/wysohn/triggerreactor/core/script/Token.java b/core/src/main/java/io/github/wysohn/triggerreactor/core/script/Token.java
index 8d8ae4bb4..b98fd7b66 100644
--- a/core/src/main/java/io/github/wysohn/triggerreactor/core/script/Token.java
+++ b/core/src/main/java/io/github/wysohn/t... | 1 | 1 | 0 | [{"id": "G0", "claim": "For the sake of an upcoming refactoring, the author should remove the pull request's unnecessary modifications (e.g. the whitespace-only change to the `Token valueToken = context.popToken();` line in Interpreter.java) and keep the number of changed lines as small as possible to avoid merge conf... | null |
TriggerReactor__TriggerReactor__567 | TriggerReactor/TriggerReactor | 567 | defect | 926f574e4a6128b580da9698d12343f15f8e2d27 | 47b9ff146531c168492a73c6d1a39ca3949cdd1b | Introduce new statement: SWITCH | This pull request adds a switch statement. Closes #186 and also closes #495.
## 🌟 Syntaxes
* Add new reversed keywords: `SWITCH`, `CASE`, `ENDCASE`, `DEFAULT`.
* Switch statement must start with `SWITCH`.
* Switch statement must end with `ENDSWITCH`.
* Each case clause can be ended with `ENDCASE` (optional).
... | diff --git a/core/src/main/java/io/github/wysohn/triggerreactor/core/main/Dependency.java b/core/src/main/java/io/github/wysohn/triggerreactor/core/main/Dependency.java
index 7734fd3bb..ec336ebbc 100644
--- a/core/src/main/java/io/github/wysohn/triggerreactor/core/main/Dependency.java
+++ b/core/src/main/java/io/github... | 1 | 1 | 0 | [{"id": "G0", "claim": "Resolve the open TODO at the no-matched-arm branch by throwing an exception, which the reviewer deems fine since parsing already guarantees SWITCH has at least one arm.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
TriggerReactor__TriggerReactor__575 | TriggerReactor/TriggerReactor | 575 | defect | 051a89a16bbe36033d23a28a1260bc6cc33c7d33 | 394d75d81c7b7ce8c1ff3eaf4bd2b6bf03b87c7a | Pickupable inventory trigger | # Add Command
`./trg i <trigger name> pickup`
> can Enable/Disable pickup Item in Inventory
| diff --git a/core/src/main/java/io/github/wysohn/triggerreactor/core/main/TRGCommandHandler.java b/core/src/main/java/io/github/wysohn/triggerreactor/core/main/TRGCommandHandler.java
index 6881978f3..b4547923d 100644
--- a/core/src/main/java/io/github/wysohn/triggerreactor/core/main/TRGCommandHandler.java
+++ b/core/sr... | 3 | 3 | 2 | [{"id": "G0", "claim": "Please fix the test issues and add specific test cases for the pull request if possible.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The new getter isPickup() should be named canPickup() instead, including in InventoryTriggerL... | null |
TriggerReactor__TriggerReactor__611 | TriggerReactor/TriggerReactor | 611 | defect | d3eac24b05c973e1d6aeb9a9a4d17b045be41444 | d8aa74b369f74e3cb4d10fb39f56a0cb6f6b8d68 | feat: Elvis 연산자 및 Optional Chaining 연산자 추가 | 이 PR은 Elvis 연산자(`?:`)와 Optional Chaining 연산자(`?.`)를 추가합니다.
## Elvis Operator (엘비스 연산자)
엘비스 연산자(`?:` 연산자)는 코틀린 문법에서 영감을 받았습니다. 왼쪽 피연산자가 `null`일 때 오른쪽 피연산자를 반환하고, 그렇지 않다면 왼쪽 피연산자를 반환하는 논리 연산자입니다.
### 문법
```kt
leftExpr ?: rightExpr
```
### 예제
```kt
thePlayer = Bukkit.getServer().getPlayer(args[0]) ?: player... | diff --git a/Production_Code.bnf b/Production_Code.bnf
index fb248d96e..283f2d5ab 100644
--- a/Production_Code.bnf
+++ b/Production_Code.bnf
@@ -38,10 +38,12 @@
<expression> ::= <term> '+' <expression>
| <term> '-' <expression>
+ | <term> '?:' <expression>
... | 2 | 2 | 2 | [{"id": "G0", "claim": "The safeAccessStack counter kept in the Interpreter instance can race when one Interpreter is shared by multiple triggers concurrently, so it should be moved to InterpreterLocalContext.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "c... | null |
TriliumNext__Trilium__7374 | TriliumNext/Trilium | 7,374 | defect | 1e377df6da2dedb3d858dd57d352b57bb57b60d9 | 319e753e7eb405c35aef795ab70ede63699c3336 | Feature/presentation_poc | Closes #2779. | diff --git a/apps/client/package.json b/apps/client/package.json
index 6fe3949c4ed..856f7db7320 100644
--- a/apps/client/package.json
+++ b/apps/client/package.json
@@ -58,6 +58,7 @@
"panzoom": "9.4.3",
"preact": "10.27.2",
"react-i18next": "16.0.1",
+ "reveal.js": "5.2.1",
"split.js": "1.6.5",
... | 8 | 8 | 4 | [{"id": "G0", "claim": "ButtonOverlay's useEffect depends on the stable apiRef, so it runs once on mount when apiRef.current is still null and the overviewshown/overviewhidden listeners are never attached, leaving the toggle-overview button's active state wrong; the api should be managed as state in PresentationView an... | null |
TriliumNext__Trilium__7509 | TriliumNext/Trilium | 7,509 | defect | 35efd2a680f71eb198d8cf02c55437684904fc75 | 35f244cf506f2482256c0595065a3aec46b36edb | chore(deps): update vitest monorepo to v4 (major) | This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [@vitest/browser](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/browser#readme) ([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/browser)) | [`3.2.4` -> `4.0.6`](https://reno... | diff --git a/_regroup/package.json b/_regroup/package.json
index 0b2a759a973..a3eb68e35f7 100644
--- a/_regroup/package.json
+++ b/_regroup/package.json
@@ -40,7 +40,7 @@
"@types/express": "5.0.5",
"@types/node": "24.9.1",
"@types/yargs": "17.0.34",
- "@vitest/coverage-v8": "3.2.4",
+ "@vit... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `};` closing the OpenAIService mockImplementation in ai_service_manager.spec.ts introduces a syntax error; the function body should be closed with `}` and the call with `)`.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
TriliumNext__Trilium__7767 | TriliumNext/Trilium | 7,767 | defect | bbcc670655124599e0cc241161b0b826435bbc57 | 5281e8e5b4b6f0a434cb0de46b2dc759e06cf637 | Internationalization v2 | Closes #7752. | diff --git a/apps/client/src/widgets/type_widgets/MindMap.tsx b/apps/client/src/widgets/type_widgets/MindMap.tsx
index 4b3c8fe0de7..7156129471f 100644
--- a/apps/client/src/widgets/type_widgets/MindMap.tsx
+++ b/apps/client/src/widgets/type_widgets/MindMap.tsx
@@ -1,15 +1,16 @@
import { useCallback, useEffect, useRef ... | 8 | 3 | 1 | [{"id": "G0", "claim": "Add a `DISPLAYABLE_LOCALE_IDS` type assertion when indexing LOCALE_MAPPINGS in MindMap.tsx and LANGUAGE_MAPPINGS in Canvas.tsx with the `string` returned by useTriliumOption, for type safety and consistency with CKEditorWithWatchdog.tsx.", "category": "correctness", "verdict": "supported", "prio... | null |
TriliumNext__Trilium__7842 | TriliumNext/Trilium | 7,842 | defect | 3ee8e7b755adb267f5f89012558d824cc2ae1a20 | de80eb4806e17f6e04b843c21fdd6cdc5672475a | Feat(math): Improve legacy math input with MathLive | Description :
Integrates a MathLive field to provide a richer math-editing experience, offering both a visual equation editor and a raw LaTeX code editor.
Key Features
Visual equation editing using MathLive, while preserving an area for directly editing raw LaTeX.
Technical Implementation:
* MathLiveInpu... | diff --git a/.gitignore b/.gitignore
index b2c4e3c4640..9321d866fe8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,4 +48,4 @@ upload
.svelte-kit
# docs
-site/
+**/__screenshots__/
diff --git a/packages/ckeditor5-math/package.json b/packages/ckeditor5-math/package.json
index 785f02d564b..0f3e8a37aa6 100644
--- a/pa... | 16 | 16 | 7 | [{"id": "G0", "claim": "The trailing comma inside var(--ck-color-input-background,) is invalid CSS that will likely make the background rule be ignored by browsers, and the comma should be removed in both places it occurs in mathform.css.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
TriliumNext__Trilium__7877 | TriliumNext/Trilium | 7,877 | defect | 2e431b11350698b6095037bb51aedb95f3466464 | 4d1a91baa6d9d7d903ee7c3e2c8f78d45c53612a | Resolve focus issues within split pane | 1. [fix(empty): open note in the correct split pane](https://github.com/TriliumNext/Trilium/commit/210dcfb98969a9bdda26073c89b7bac352404e3d)
Fix issue: After opening two splits, when focusing the first split and then clicking an item in the second empty split, Trilium opens the note in the first split instead of the s... | diff --git a/apps/client/src/components/app_context.ts b/apps/client/src/components/app_context.ts
index bda3536da86..c44ca01aa76 100644
--- a/apps/client/src/components/app_context.ts
+++ b/apps/client/src/components/app_context.ts
@@ -487,7 +487,7 @@ type EventMappings = {
relationMapResetPanZoom: { ntxId: strin... | 1 | 1 | 0 | [{"id": "G0", "claim": "Instead of querying the ntxId from the DOM, obtain it at React level from TypeWidgetProps in Empty and pass it as a prop to NoteSearch.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TriliumNext__Trilium__7878 | TriliumNext/Trilium | 7,878 | defect | 3cc64b576429b050ea356c3c76b8bf72f4a5b9b7 | a1c03143342078c68301cc7bc51a68ce4840c5dc | Fix sorting | - Ensure that "folders first" ordering mode doesn't place folder notes on top of notes flagged as `#top`
- Improve tests by documenting the new behaviour and increasing coverage for existing sorting functions | diff --git a/apps/server/src/services/tree.spec.ts b/apps/server/src/services/tree.spec.ts
index 1efd9acbeba..7107152627f 100644
--- a/apps/server/src/services/tree.spec.ts
+++ b/apps/server/src/services/tree.spec.ts
@@ -1,11 +1,11 @@
-import { beforeEach, describe, expect, it, vi } from "vitest";
-import { note, NoteB... | 2 | 2 | 0 | [{"id": "G0", "claim": "The `#sortFoldersFirst` logic ignores the `reverse` flag, so under reversed (desc) sorting folders end up sorted last instead of first; reviewers asked that folder-first grouping be maintained regardless of sort direction, as `#top` already is, with a desc test to cover it.", "category": "correc... | null |
TriliumNext__Trilium__8273 | TriliumNext/Trilium | 8,273 | defect | 51513d3779bdebd5cb13f9b2e9d6715572d733c1 | 142ed42d90a85da1cc4398034049e1475d7bb4ac | feat(ux): show more helpful output when users encounter permissions issues within the data directory |
The updated console output looks like this:
```
========== PERMISSION ERROR DIAGNOSTICS ==========
Failed to create directory: /tmp/trilium-eacces-test-127676/subdir
Process running as UID:GID = 65534:65534
Parent directory: /tmp/trilium-eacces-test-127676
Owner UID:GID = 0:0
Permissions = 700 ... | diff --git a/apps/server/src/services/data_dir.ts b/apps/server/src/services/data_dir.ts
index 4f277736bd8..1e6de81bfb3 100644
--- a/apps/server/src/services/data_dir.ts
+++ b/apps/server/src/services/data_dir.ts
@@ -75,9 +75,45 @@ export function getPlatformAppDataDir(platform: ReturnType<typeof os.platform>,
}
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The existing check of fs.existsSync before fs.mkdirSync in createDirIfNotExisting can lead to a TOCTOU race in which another process creates the directory in between, so mkdirSync throws EEXIST and the application could crash unnecessarily; it should attempt mkdirSync directly and handle EEXIST ... | null |
TriliumNext__Trilium__8350 | TriliumNext/Trilium | 8,350 | defect | de6a6cbb07ddcd1b684dbbc055d6141289d59291 | b6362f838aea281d20f7265d23930e291c9ef0ff | feat(flake): provide .#edit-docs as a standalone docs editor | This pull request makes it possible to use `edit-docs` in other projects by decoupling the edit-docs from the Trilium repository with the introduction of the `edit-docs-config.yaml` file at the root of the repository; It's also overridable with `-c|--config` flags.
It's best to review this PR one commit at a time. T... | diff --git a/README.md b/README.md
index 34664689bb0..0fc8e562b39 100644
--- a/README.md
+++ b/README.md
@@ -165,6 +165,17 @@ pnpm install
pnpm edit-docs:edit-docs
```
+Alternatively, if you have Nix installed:
+```shell
+# Run directly
+nix run .#edit-docs
+
+# Or install to your profile
+nix profile install .#edi... | 3 | 3 | 2 | [{"id": "G0", "claim": "Since `archiver` and `fs-extra` are pure-JavaScript packages that esbuild bundles, remove them from the `copyNodeModules` list and drop `archiver` from the generated `package.json` dependencies.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
TriliumNext__Trilium__8799 | TriliumNext/Trilium | 8,799 | defect | a3e4044fecc8c340686256f185b7ca5e6b71190f | e53cd7443a37958dd9b78d1deeab1e92d5d484a1 | Add Support for Recurrence In Calendar Collection | This PR enables the calendar collection to support recurrences.
If a child note of a calendar collection has a `#recurrence label` with an ICAL recurrence string e.g. `FREQ=WEEKLY;INTERVAL=5;` it will repeat multiple times in the calendar view based on its recurrence.
Normally the FullCalendar recurrence plugin r... | diff --git a/apps/client/package.json b/apps/client/package.json
index 7acbff720f5..9db5093b455 100644
--- a/apps/client/package.json
+++ b/apps/client/package.json
@@ -23,6 +23,7 @@
"@fullcalendar/list": "6.1.20",
"@fullcalendar/multimonth": "6.1.20",
"@fullcalendar/timegrid": "6.1.20",
+ "@fullcalen... | 5 | 5 | 3 | [{"id": "G0", "claim": "When recurrence is present, eventData.end must be deleted, because FullCalendar ignores the recurrence if an end is set, so recurring events that have an end date would not recur.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim":... | null |
TriliumNext__Trilium__9317 | TriliumNext/Trilium | 9,317 | defect | bf8cfa1421f76f6e1036e74f123be06fd4743b4d | bd1491e6e5b7545cbe2bc8828696737e03822c9d | Custom dictionary | Closes #1801. | diff --git a/CLAUDE.md b/CLAUDE.md
index 70d9757ae5e..56073acda4e 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -122,6 +122,12 @@ Trilium provides powerful user scripting capabilities:
- Third-party components (e.g., mind-map context menu) should use i18next `t()` for their labels, with the English strings added to `en/tr... | 4 | 3 | 2 | [{"id": "G0", "claim": "The `add-word-to-dictionary` IPC listener registered inside `configureWebContents` should be moved to the top level of the module, because the function runs for every new window and `ipcMain.on` attaches a new global listener each time, causing redundant execution and potential race conditions."... | null |
TriliumNext__Trilium__9362 | TriliumNext/Trilium | 9,362 | defect | a4b716f8c7ef2a54c8cc025d856131f24da678fb | ff31104b9942b577c9981612c5ddfd8acc0cad20 | Editing quirks | Closes #9345. | diff --git a/apps/client/src/services/spaced_update.spec.ts b/apps/client/src/services/spaced_update.spec.ts
new file mode 100644
index 00000000000..ab649f34352
--- /dev/null
+++ b/apps/client/src/services/spaced_update.spec.ts
@@ -0,0 +1,87 @@
+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The datesChanged check should also include the allDay property, because moving an event between a timed slot and the all-day slot while the start time stays at midnight would go undetected and the update would be ignored.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc... | null |
TriliumNext__Trilium__9475 | TriliumNext/Trilium | 9,475 | defect | ec7f6a932551dd9e222e9c9cc720e9f1748bd41a | 1b4400db03e32b4192a0074b78c94b7ed1ffbe81 | Basic Markdown support | Closes #5690 | diff --git a/apps/client/src/entities/fnote.ts b/apps/client/src/entities/fnote.ts
index a30a83975a9..6f72e68defc 100644
--- a/apps/client/src/entities/fnote.ts
+++ b/apps/client/src/entities/fnote.ts
@@ -1069,6 +1069,10 @@ export default class FNote {
return this.mime === "text/x-sqlite;schema=trilium";
... | 8 | 3 | 2 | [{"id": "G0", "claim": "Use console.error instead of console.log for error reporting in the mermaid rendering catch block, so errors are correctly categorized in browser consoles and logging aggregators.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "c... | null |
Trisia__gotlcp__15 | Trisia/gotlcp | 15 | defect | 07b73f8141f269ecdd68de27fac119861ed39338 | 5fd50105c2d48fc08c7d3f35881ac1b85d02d759 | ECDHE implementation update | 1. 客户端支持ECDHE也需要双证书;
2. ClientECDHEParameter无需首二字节长度。
客户端实现已与gmssl.cn进行过集成测试,服务端与自己的客户端进行了集成测试。 | diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index a5a2bd6..b0762a3 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -28,3 +28,6 @@ jobs:
- name: Build
run: go build -v ./...
+
+ - name: Test
+ run: go test -v -short ./...
diff --git a/example/https/clien... | 2 | 2 | 1 | [{"id": "G0", "claim": "The PR should get the cipher suite from Conn.cipherSuite internally instead of passing it as an extra parameter to processCertsFromClient.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "generateClientKeyExchange omits the 2-byte l... | null |
TrueFiEng__Waffle__189 | TrueFiEng/Waffle | 189 | defect | 0f221ae6efee7637fa50aad255c888a777e7928a | 06bacdb5a74eaf7564df98a0f6ebbe4125b6e89f | Filter logs for the contract in question | Solves one part of https://github.com/EthWorks/Waffle/issues/100
| diff --git a/waffle-chai/src/matchers.ts b/waffle-chai/src/matchers.ts
index 070eb1d9f..a0672f1d3 100644
--- a/waffle-chai/src/matchers.ts
+++ b/waffle-chai/src/matchers.ts
@@ -67,8 +67,9 @@ export const waffleChai = (chai: any, chaiUtils: any) => {
return this;
});
- const filterLogsWithTopics = (logs: any[... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test setup needlessly creates a second identical ContractFactory and deploys the contract twice; store the existing factory from the beforeEach in a variable and use it in the new test instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TrueFiEng__Waffle__328 | TrueFiEng/Waffle | 328 | defect | b9a3ad2c2f1977e64a16b89dcfa4cad2ba761a69 | 6641698ab90fefbb30a5d8da5f6b542176449d14 | Mocks can now call and staticcall through to contracts | - call will execute a tx on behalf of a mock
- staticcall will call a constant fxn on behalf of a mock | diff --git a/waffle-mock-contract/README.md b/waffle-mock-contract/README.md
index 1742ed0b2..ddfb8ee85 100644
--- a/waffle-mock-contract/README.md
+++ b/waffle-mock-contract/README.md
@@ -70,6 +70,30 @@ await mockContract.mock['burn(uint256)'].returns(true)
await mockContract.mock['burn(address,uint256)'].withArgs('0... | 1 | 1 | 1 | [{"id": "G0", "claim": "Apply the same changes to this pull request as were requested in #329.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TrueFiEng__Waffle__329 | TrueFiEng/Waffle | 329 | defect | b8b75335882ac85d33c8ce603662e9aeb1bd7052 | 6009e25c46fdee46ad8e565174d2d16a6bbd90fb | Mock can call and staticcall through to other contracts | - Mocks can call constant functions
- Mocks can execute transactions | diff --git a/waffle-mock-contract/README.md b/waffle-mock-contract/README.md
index 68f683d36..1e3f2809f 100644
--- a/waffle-mock-contract/README.md
+++ b/waffle-mock-contract/README.md
@@ -52,6 +52,26 @@ await mockContract.mock.<nameOfMethod>.reverts()
await mockContract.mock.<nameOfMethod>.withArgs(<arguments>).rever... | 4 | 4 | 1 | [{"id": "G0", "claim": "The call and staticcall properties should be declared with their actual signatures instead of the bare `call: Function` type.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rest parameters of the staticcall and call implementa... | null |
TrueFiEng__Waffle__807 | TrueFiEng/Waffle | 807 | defect | e1c352a6e2520fe751c295966317008dd10c7eef | 2fd5816057780a32832e044cb5c2da332d666b91 | 🍶 Implement mocking receive function to revert | Closes https://github.com/TrueFiEng/Waffle/issues/739
Closes https://github.com/TrueFiEng/Waffle/issues/557 | diff --git a/.changeset/quiet-bugs-jam.md b/.changeset/quiet-bugs-jam.md
new file mode 100644
index 000000000..6c4a6ad5a
--- /dev/null
+++ b/.changeset/quiet-bugs-jam.md
@@ -0,0 +1,5 @@
+---
+"@ethereum-waffle/mock-contract": patch
+---
+
+🍶 Implement mocking receive function to revert
diff --git a/docs/source/mock-co... | 2 | 2 | 0 | [{"id": "G0", "claim": "The gas limit of 10000 in forwardByCall's low-level call should be explained or removed since it is not actually needed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Accessing mockERC20.provider each time feels unnatural; a prov... | null |
TrueLayer__ginepro__23 | TrueLayer/ginepro | 23 | defect | c2c22ab4a2c3ad4d5d78cbad962979cfc592d116 | f04fef961b1a08aefa93db4f95adaf768c3d6891 | Add hostname verification and try to resolve ips on build. | This PR tries to address the following:
* Make sure that the `hostname` part of the `ServiceDefinition` is valid by making the fields private and force constructing it through `from_parts` that includes the validation.
* Allow users to resolve the `ServiceDefinition` once before building the `LoadBalancedChannel` thr... | diff --git a/ginepro/Cargo.toml b/ginepro/Cargo.toml
index aef4fc2..d08af3c 100644
--- a/ginepro/Cargo.toml
+++ b/ginepro/Cargo.toml
@@ -23,7 +23,9 @@ tracing-futures = "0.2"
http = "0.2"
prost = "0.8"
openssl = "0.10.34"
+thiserror = "1.0.29"
[dev-dependencies]
shared-proto = { path = "../shared_proto" }
tests... | 2 | 2 | 2 | [{"id": "G0", "claim": "The builder should accept anything convertible via a `TryInto<ServiceDefinition>` bound instead of requiring an already-constructed `ServiceDefinition`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Eager resolution should be a c... | null |
TrueLayer__ginepro__32 | TrueLayer/ginepro | 32 | defect | dd922cc14a942d66b4c25ac0744c1ec2d13680aa | 75b42156a11699fc098405efe9299e5216308143 | Upgrade tonic to 0.7 | <!-- Please explain the changes you made -->
Upgrade tonic to 0.7
**This is a breaking change**
<!--
Please, make sure:
- you have read the contributing guidelines:
https://github.com/TrueLayer/ginepro/blob/main/docs/CONTRIBUTING.md
- you have formatted the code using rustfmt:
https://github.com/rust-... | diff --git a/ginepro/Cargo.toml b/ginepro/Cargo.toml
index e6b73bd..0b47f45 100644
--- a/ginepro/Cargo.toml
+++ b/ginepro/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ginepro"
-version = "0.3.1-alpha.0"
+version = "0.4.0-alpha.0"
authors = ["Helge Hoff <helge.hoff@truelayer.com>"]
edition = "2021"
description = "A... | 3 | 3 | 0 | [{"id": "G0", "claim": "The pull request should also update the changelog.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ginepro's version could be bumped to a 0.4.0 release instead of 0.4.0-alpha.0 to prepare the release here.", "category": "mai... | null |
TrueLayer__ginepro__38 | TrueLayer/ginepro | 38 | defect | 485a76ddf00a08645480319e4eaddbf720347a3c | 077110c9e44d0c46bfa92749eed1f7b57736b451 | Add connection timeout | Adds a `connect_timeout()` option to `LoadBalancedChannelBuilder`.
Relevant to #37.
Note: hyperium/tonic#1215 will need merging first for this to work. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0231cda..c1a1512 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Vers... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `.cloned()` call in TestDnsResolver's lookup is not needed as `address.parse()` operates on `&str`, not `String` — remove it.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The builder should have safe defaults: if only... | null |
TrueLayer__ginepro__50 | TrueLayer/ginepro | 50 | defect | 9be0d15b3f9802b616248dabeec85e368bf567b7 | f2309c52f944691e4e270bd0c000b3b18da3a2d1 | Update tonic to 0.11 using a version range | There is a new version of `tonic` available. This updates the various `Cargo.toml` files to accept a range of versions for that crate, allowing to update as needed. | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9738864..d6e7a78 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,8 +1,9 @@
+name: CI # Continuous Integration
+
on:
push:
branches: [main]
pull_request:
-name: CI # Continuous Integration
jobs:
@@ -125,10 ... | 3 | 3 | 0 | [{"id": "G0", "claim": "shared_proto/Cargo.toml should not use range version requirements (\"they are not published\"), i.e. its tonic/tonic-build dependencies should not use version ranges.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "tests/C... | null |
TrueLayer__reqwest-middleware__104 | TrueLayer/reqwest-middleware | 104 | defect | c2d477edae010fd9d46cf199db2d9ea665d5f790 | d4751bfb38b127ef0be6f5a9095e6eb5d5be7f8c | [EWT-319] Upgrade retry-policies | Backwards-incompatible because this forces clients to also upgrade `retry-policies`.
<!--
Please, make sure:
- you have read the contributing guidelines:
https://github.com/TrueLayer/reqwest-middleware/blob/main/docs/CONTRIBUTING.md
- you have formatted the code using rustfmt:
https://github.com/rust-lang/r... | diff --git a/reqwest-retry/Cargo.toml b/reqwest-retry/Cargo.toml
index a3658be..5838f84 100644
--- a/reqwest-retry/Cargo.toml
+++ b/reqwest-retry/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "reqwest-retry"
-version = "0.2.3"
+version = "0.3.0"
authors = ["Rodrigo Gryzinski <rodrigo.gryzinski@truelayer.com>"]
editio... | 1 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asked that `CHANGELOG.md` be updated for the release, since the pull request bumps `reqwest-retry` to 0.3.0 and upgrades `retry-policies` to 0.2.0 without documenting it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TrueLayer__reqwest-middleware__14 | TrueLayer/reqwest-middleware | 14 | defect | 4be18c476a3ec8ea0f44e8ff85054f73783ad016 | 87726e0a1ada49cd2511ccee41036bbd17e3eec1 | fix(retry): handle hyper::Error(IncompleteMessage) as Transient | Some errors from `hyper` are not classified by `reqwest` at all.
This PR adds the classification for `hyper::Error(IncompleteMessage)` as a `Transient` error in the retry middleware.
It adds also a test case that creates a simple Tcp server that sends incomplete HTTP messages as responses. | diff --git a/reqwest-retry/Cargo.toml b/reqwest-retry/Cargo.toml
index b611c81..d11984d 100644
--- a/reqwest-retry/Cargo.toml
+++ b/reqwest-retry/Cargo.toml
@@ -17,6 +17,7 @@ async-trait = "0.1.51"
chrono = "0.4"
futures = "0.3"
http = "0.2"
+hyper = "0.14"
retry-policies = "0.1"
reqwest = { version = "0.11", defa... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new test's ExponentialBackoff is configured with min_retry_interval (100ms) greater than max_retry_interval (30ms) — the reviewer asks whether the two values are switched.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
TrueLayer__reqwest-middleware__79 | TrueLayer/reqwest-middleware | 79 | defect | f854725791ccf4a02c401a26cab3d9db753f468c | 7690746f07df7d6acd1576e8eb28fdda3b6f50f4 | feat: wasm32-unknown-unknown support | Makes a bunch of stuff not require `Send`, since `reqwest` on wasm32 produces non-send futures.
I tried it out in [the project that triggered this PR](https://github.com/Ekleog/risuto), and it seems to work perfectly fine! | diff --git a/CHANGELOG.md b/CHANGELOG.md
index b73c5f8..ecb264b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Changed
+- Added support for `wasm32-unknown-unknown` by replacing extensions with async... | 4 | 2 | 2 | [{"id": "G0", "claim": "Asks whether the Send bound should also be removed from the Middleware trait now that wasm32 makes the async trait (?Send), since wasm is single-threaded anyway.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Requests finding a ... | null |
TryGhost__Ghost-CLI__1037 | TryGhost/Ghost-CLI | 1,037 | defect | 55723324441752ab2b1c9af3451ff1fe5fb2acb1 | 33058ea226540105b880e7880706b7a8e97e9c69 | Added verbose yarn output | @acburdine Can we add a tiny little fix like this and ship it to help with debugging https://github.com/TryGhost/Ghost/issues/11129?
I'm not sure if we also need to fix https://github.com/TryGhost/Ghost-CLI/blob/master/lib/utils/yarn.js to include stderr as mentioned in https://github.com/lovell/sharp/issues/1942#is... | diff --git a/lib/tasks/yarn-install.js b/lib/tasks/yarn-install.js
index b2636b8a6b..4c0110c363 100644
--- a/lib/tasks/yarn-install.js
+++ b/lib/tasks/yarn-install.js
@@ -62,7 +62,11 @@ module.exports = function yarnInstall(ui, zipFile) {
tasks.push({
title: 'Installing dependencies',
task: (ctx)... | 1 | 1 | 1 | [{"id": "G0", "claim": "The verbose flag pushed to the yarn options should be '--verbose' rather than 'verbose', otherwise yarn will not receive a valid verbose flag.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TryGhost__Ghost-CLI__1042 | TryGhost/Ghost-CLI | 1,042 | defect | 6e8c98c5d9f85fe1c36e535d649d1d932cf9b66e | 25aa9efaf078874e3387760b05680975a3f48b29 | feat(proxy): add support for cli behind proxy | add proxy-agent to get proxy settings
make sure all requests are handled properly with proxy agent
fix all unit tests failures | diff --git a/lib/tasks/yarn-install.js b/lib/tasks/yarn-install.js
index a88e52426..037a1ef54 100644
--- a/lib/tasks/yarn-install.js
+++ b/lib/tasks/yarn-install.js
@@ -9,9 +9,13 @@ const {prerelease, satisfies} = require('semver');
const errors = require('../errors');
const yarn = require('../utils/yarn');
+const ... | 4 | 4 | 0 | [{"id": "G0", "claim": "The new file should not add 'use strict' to the top, since it is no longer needed.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The proxy-from-env require should use destructuring, as in the suggested `const {getProxyForUrl} = re... | null |
TryGhost__Ghost-CLI__1202 | TryGhost/Ghost-CLI | 1,202 | defect | 984e313d5da33bfc4909555ca8eba13ac0867827 | 73a1f9f8c4a89dfd45ab2ca8b6f3aec3ca9c115e | fix(local-process) output Ghost error message when process exits | Tests are broken, but I'd like to get a logic review first 😄 | diff --git a/lib/utils/local-process.js b/lib/utils/local-process.js
index 05da8f3598..2c55118c9d 100644
--- a/lib/utils/local-process.js
+++ b/lib/utils/local-process.js
@@ -34,16 +34,21 @@ Ensure the content folder has correct permissions and try again.`));
}
return new Promise((resolve, reject) =... | 2 | 2 | 1 | [{"id": "G0", "claim": "After the child process is disconnected the stderr pipe will likely still be connected on the CLI side, so cp.stderr.destroy() may need to be called to close the stream.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `buf... | null |
TryGhost__Ghost-CLI__1311 | TryGhost/Ghost-CLI | 1,311 | defect | 2669dd38276d3e8de325fc65ec5bc28f49ecd7b8 | 9ef97e257148b43ad3d6e2f9e282d5a0cc54009d | feat(extensions): add `user skipped` task hook | refs #308, #1115
I'm not sure if this is the best way to do this, but it's the most pluggable thing that came to mind. I haven't fully tested this or ensured that changing the process manager the way I did will actually work 😄 It's best to look at 28a85b8 individually since it's the only logical change.
@acburdi... | diff --git a/extensions/systemd/index.js b/extensions/systemd/index.js
index 15ef530906..9dc7d70073 100644
--- a/extensions/systemd/index.js
+++ b/extensions/systemd/index.js
@@ -22,6 +22,9 @@ class SystemdExtension extends Extension {
}
return false;
+ },
+ use... | 4 | 4 | 0 | [{"id": "G0", "claim": "The new `userSkip` task hook might be better named, e.g. `onSkip` (agreed alternative: `onUserSkip`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add an `await` when calling the skip hook in setup.js to support promise... | null |
TryGhost__Ghost-CLI__1320 | TryGhost/Ghost-CLI | 1,320 | defect | f733d940979ea038d996fe3a9f32b333bc065b8e | 10f16eaf70890bb163b3685714750b6c5fa8e988 | feat(extension): rewrite template method | The idea behind this PR is to rethink how we're handling the generation of configuration files for things like nginx + systemd. Currently, the configuration files are stored inside the Ghost site's installation directory and symlinked into the proper directory on the system, but this has come with a few drawbacks, and ... | diff --git a/lib/extension.js b/lib/extension.js
index fec2df5529..ad32edaeba 100644
--- a/lib/extension.js
+++ b/lib/extension.js
@@ -1,5 +1,6 @@
// @ts-check
const fs = require('fs-extra');
+const os = require('os');
const path = require('path');
const mapValues = require('lodash/mapValues');
@@ -56,78 +57,24 @... | 2 | 1 | 0 | [{"id": "G0", "claim": "The JSDoc @return tag on the template method should say Promise<void> instead of promising a boolean, since the method no longer returns one.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The acceptance tests may no longer... | null |
TryGhost__Ghost-CLI__1350 | TryGhost/Ghost-CLI | 1,350 | defect | 9ddcf0b34a02f83f94249a218873dbd14603e99f | d06215e69d021cac6f73594e9355906822a95cc3 | feat(version): add handling for deprecated Ghost versions | this will allow Ghost maintainers to "deprecate" a Ghost version if it contains known severe bugs. A deprecated version will not be installable unless someone specifies the version exactly, and provides the `--force` flag. | diff --git a/lib/commands/install.js b/lib/commands/install.js
index 30906d68fc..f4d25a9162 100644
--- a/lib/commands/install.js
+++ b/lib/commands/install.js
@@ -80,7 +80,7 @@ class InstallCommand extends Command {
const semver = require('semver');
const {SystemError} = require('../errors');
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The reduce should mutate the accumulator (obj[v] = ...) instead of cloning the object every iteration.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
TryGhost__Ghost-CLI__1410 | TryGhost/Ghost-CLI | 1,410 | defect | 2b4abdcae02a0a5d9635312c0bcd97934d3bba3d | ba982779aae22a4ba504478ae39eb0bb282faf99 | feat(version): expand v1 update policy to cover all versions | no issue
- previously, the supported version policy was you could update to any new major if you were on the latest v1
- now, we're expanding that to say you can upgrade to any new major only if you're on the latest version of the current major | diff --git a/lib/utils/version.js b/lib/utils/version.js
index 41abe9fcc2..5f4176cfed 100644
--- a/lib/utils/version.js
+++ b/lib/utils/version.js
@@ -100,7 +100,7 @@ const utils = {
return parsed.version;
},
- checkActiveVersion(activeVersion, versionToUse, latestV1, opts = {}) {
+ checkActiveVer... | 2 | 2 | 0 | [{"id": "G0", "claim": "The help message should drop the leading word 'First' (suggested wording: \"Upgrade to the latest Ghost v${activeMajor} with \\\"ghost update v${activeMajor}\\\", then update to Ghost ${majorToUse} with \\\"ghost update\\\".\").", "category": "documentation", "verdict": "supported", "priority": ... | null |
TryGhost__Ghost-CLI__1417 | TryGhost/Ghost-CLI | 1,417 | defect | aed312cb98a9be38ed76df8f477e4fd898da08b8 | 363af5ab629bfc681af9695e32b56b36bbfafa7c | Add support for more environments than production and development | Does a few things:
1. Updates default environment logic
a. Adds `--environment (-e)` flag to specify the environment (still has explicit handling for `--development`)
```javascript
/**
* From user input (overrides operating system default):
* 1. If the user passes --development or -d, use development
* 2.... | diff --git a/lib/bootstrap.js b/lib/bootstrap.js
index e7b49ed2fb..0ff3a173e3 100644
--- a/lib/bootstrap.js
+++ b/lib/bootstrap.js
@@ -148,9 +148,15 @@ const bootstrap = {
alias: 'dir',
describe: 'Folder to run command in',
group: 'Global Options:'
- }).opti... | 5 | 4 | 0 | [{"id": "G0", "claim": "The PR questions whether the store-and-fetch dance for the environment in uninstall is needed at all and asks why it was implemented that way previously.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The instance-mutating system ... | null |
TryGhost__Ghost-CLI__1581 | TryGhost/Ghost-CLI | 1,581 | defect | 08943e54b27361b45360ab65c2e81803f7a122c5 | c67449134286a81e2ba446b24fd646b6c9948465 | Added 3 new folders to content | - Recently we've added 3 new folders to content in Ghost: media, files and public
- This updates Ghost-CLI to create the folders for both new and existing installs
This is not urgent, but the migration before version will need updating in line with whenever this gets released, I think. Not sure I understood how tha... | diff --git a/packages/ghost-cli/lib/migrations.js b/packages/ghost-cli/lib/migrations.js
index 8dce416a2..69e91f589 100644
--- a/packages/ghost-cli/lib/migrations.js
+++ b/packages/ghost-cli/lib/migrations.js
@@ -1,18 +1,23 @@
const path = require('path');
-async function ensureSettingsFolder(context) {
+
+async fun... | 2 | 2 | 1 | [{"id": "G0", "claim": "The outer test block closing brace is missing a semicolon.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new migration's 'before' version should be bumped to 1.18.1 so it also runs on instances created with CLI 1.18.... | null |
TryGhost__Ghost-CLI__1595 | TryGhost/Ghost-CLI | 1,595 | defect | eb3e5de24336c957fbd3de16f9be2a5eda031675 | b0bdb45155271a75e7bb1512f2192b69f399ef52 | fix(yarn): use bundled yarn version | closes #1590, #1591
Yarn 1.x is the launching point for users to get yarn >2. When a user runs `yarn set version berry`, a .yarnrc.yml will be created in their home directory with the path to yarn >2:
```bash
$ cat ~/.yarnrc.yml
yarnPath: .yarn/releases/yarn-3.1.1.cjs
```
The YARN_IGNORE_PATH environment va... | diff --git a/.github/workflows/local-e2e-test.yml b/.github/workflows/local-e2e-test.yml
index 9c7ecc4631..781bc9454b 100644
--- a/.github/workflows/local-e2e-test.yml
+++ b/.github/workflows/local-e2e-test.yml
@@ -23,8 +23,13 @@ jobs:
node-version: ${{ matrix.node }}
- name: Prepare CLI
run:... | 3 | 3 | 0 | [{"id": "G0", "claim": "Add `cache: yarn` to the `actions/setup-node` step's config in the e2e workflow, if there is no issue with doing so.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The temporary debugging additions to the e2e workflow — the... | null |
TryGhost__Ghost-CLI__1639 | TryGhost/Ghost-CLI | 1,639 | defect | 1043da5dabffa817cd4b450dff9af04e294ae79f | d7d6619885714d1c6592b3fd3ac424f50e9df52e | Updated backup to export members as well | - this changes adds a members.csv file if the endpoint exists
Not added any new tests yet 😬 | diff --git a/lib/tasks/backup.js b/lib/tasks/backup.js
index 7dd8f5f877..0aec7cec47 100644
--- a/lib/tasks/backup.js
+++ b/lib/tasks/backup.js
@@ -8,9 +8,11 @@ const {ProcessError} = require('../errors');
const {exportTask} = require('./import');
module.exports = async function (ui, instance) {
- // First we nee... | 1 | 1 | 1 | [{"id": "G0", "claim": "The catch block uses `!error.statusCode === 404`, which is always false, so errors other than a 404 are never rethrown; it should be `error.statusCode !== 404`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TryGhost__Ghost-CLI__1784 | TryGhost/Ghost-CLI | 1,784 | defect | ee26bf9abea17da1dfd063d17e810bd7f48a2542 | 4a28f492d04a864b7d0a063a7a1cfc734a9e3c2d | ✨ Added support for multiple built-in themes | refs TryGhost/Product#3510
- Until now, Ghost has always shipped with a single built-in theme, Casper. This change adds support for Ghost to ship with multiple built-in themes.
- Updated the install and update commands to create symlinks for any theme that is shipped alongside Ghost (e.g. any theme in `ghost/core/c... | diff --git a/lib/commands/install.js b/lib/commands/install.js
index f27c9cd8bf..309fb4e989 100644
--- a/lib/commands/install.js
+++ b/lib/commands/install.js
@@ -69,8 +69,8 @@ class InstallCommand extends Command {
title: 'Linking latest Ghost and recording versions',
task: th... | 3 | 1 | 1 | [{"id": "G0", "claim": "The symlink-creation logic inside the update command's link task should be handled by the CLI's migrations framework (extending it with rollback/beforeInstance support) instead of inline in link().", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
TryGhost__Ghost-CLI__2107 | TryGhost/Ghost-CLI | 2,107 | defect | 4cb5fd1a38b9ea759722a8cc34c2dbb1b22c2a0b | 9b258c2cf77fc34e5f04c6c0ae9c8c93f78bafd5 | ci: add OIDC npm publish workflow | ## Summary
- Adds a GitHub Actions workflow that publishes to npm via OIDC provenance when a version bump lands on main
- CI compares `package.json` version against npm to determine if a publish is needed
- Git tags are created by CI after successful publish (no more local tag management)
- Updates `yarn ship` to s... | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
new file mode 100644
index 000000000..56589f00d
--- /dev/null
+++ b/.github/workflows/publish.yml
@@ -0,0 +1,46 @@
+name: Publish to npm
+on:
+ push:
+ branches:
+ - main
+ paths:
+ - 'package.json'
+jobs:
+ publish:
+ runs-... | 2 | 1 | 1 | [{"id": "G0", "claim": "Tag creation is gated on should_publish, so if publish succeeds and the tag step fails once, reruns skip both publish and tag because npm already has that version, leaving the release permanently without a tag; decouple tag creation from publish gating.", "category": "correctness", "verdict": "s... | null |
TryGhost__Ghost-CLI__2109 | TryGhost/Ghost-CLI | 2,109 | defect | f1d866fc0c165b890f8b355598944c8a272e9877 | f7125ccd27cc46b8485fd0da34fd1d6f1452cca9 | Fixed fkill usage | ref ea2f9d3c3e2bed64deb842d1d86cd2446d14f2e9
We recently updated `fkill` to a version that uses ECMAScript modules, not CommonJS, which means we need to change the way we import it.
I updated a test to actually use this dependency (it was previously all stubbed) so this doesn't happen again.
| diff --git a/lib/utils/local-process.js b/lib/utils/local-process.js
index f05e528a02..584c997a5b 100644
--- a/lib/utils/local-process.js
+++ b/lib/utils/local-process.js
@@ -99,7 +99,7 @@ Ensure the content folder has correct permissions and try again.`));
* @public
*/
stop(cwd) {
- const fkill... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new 'kills the process and removes the pidfile' test has a race: the child's 'close' event fires asynchronously and may not have been processed when stop() resolves, so the isChildRunning assertion can fail (and did fail in CI); the test should await the close event before asserting.", "cate... | null |
TryGhost__Ghost-CLI__535 | TryGhost/Ghost-CLI | 535 | defect | 0b93970ff9fadafac6f5fcb7c5b190a83ee60353 | 4721d1e442e5ac4557eff674e92272571b4408f9 | feat(ui): improve update notifications | closes #525
- make update check more prominent
TODO: add tests | diff --git a/bin/ghost b/bin/ghost
index 6d02360925..1ed4c8f78b 100755
--- a/bin/ghost
+++ b/bin/ghost
@@ -4,11 +4,22 @@
// provide a title to the process
process.title = 'ghost';
+function startup() {
+ const yargs = require('yargs');
+ const bootstrap = require('../lib/bootstrap');
+ bootstrap.run(proces... | 1 | 1 | 0 | [{"id": "G0", "claim": "The promise callback could pass the `startup` function directly instead of wrapping it in an arrow function.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
TryGhost__Ghost-CLI__564 | TryGhost/Ghost-CLI | 564 | defect | 98f95f17bddba010a0d85b5260d02080e83abac4 | 2e7ad6cb70b30d4a5daa26fec7ef2e1ddcd2894b | feat(log): Log improvements for `ghost update` | closes #562
- be able to pass a command suggestion
- added basic toString fn to error module
| diff --git a/lib/errors.js b/lib/errors.js
index 820178e900..355e80f2b7 100644
--- a/lib/errors.js
+++ b/lib/errors.js
@@ -22,9 +22,11 @@ class CliError extends Error {
// see https://nodejs.org/api/errors.html#errors_error_capturestacktrace_targetobject_constructoropt
Error.captureStackTrace(this, th... | 3 | 3 | 2 | [{"id": "G0", "claim": "`this.context` never contains the context object passed in the options — it is always a huge object of unclear origin, and the code actually uses `this.options.help`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Tests shoul... | null |
TryGhost__Ghost-CLI__589 | TryGhost/Ghost-CLI | 589 | defect | bbb6710c3d8ba299c6c347745a4d07212d2c6800 | 929bca4c2b537ef17917a5960954062c1448d0de | feat(ui): add `ghost doctor` reference to error messages | no issue
Adds information to ui error message that suggests to run `ghost doctor`:

@kirrg001 @acburdine Not sure about the wording. For now `ghost doctor` doesn't fix anything, but will check the corre... | diff --git a/lib/ui/index.js b/lib/ui/index.js
index 9584e70b41..85086eedeb 100644
--- a/lib/ui/index.js
+++ b/lib/ui/index.js
@@ -312,7 +312,7 @@ class UI {
if (error instanceof errors.CliError) {
// Error is one that is generated by CLI usage (as in, the CLI itself
- // maunally gen... | 3 | 2 | 1 | [{"id": "G0", "claim": "The suggested error-message wording should be adjusted to \"Try running `ghost doctor` to check your system for known issues.\" because `ghost doctor` is not a definitive check.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
TryGhost__Ghost-CLI__606 | TryGhost/Ghost-CLI | 606 | defect | 509aa5afbae6a0da08289182872ffa48b0869230 | f2505db40c1c9d60769416db7d10905191e7f2a3 | fix(local-process): error if content folder owned by other user | closes #501
- if the content folder is owned by a separate user, the local process manager will fail
- improve local process manager errors
- add local process manager tests | diff --git a/lib/utils/local-process.js b/lib/utils/local-process.js
index 0a1a72d3f9..de6d0260bf 100644
--- a/lib/utils/local-process.js
+++ b/lib/utils/local-process.js
@@ -1,5 +1,6 @@
'use strict';
const fs = require('fs-extra');
+const os = require('os');
const path = require('path');
const fkill = require('fki... | 1 | 1 | 1 | [{"id": "G0", "claim": "process.getuid() is not a thing on Windows, so the new ownership check calling it unconditionally in start() would fail there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
TryGhost__Ghost-CLI__612 | TryGhost/Ghost-CLI | 612 | defect | c6b8b404be60322fce5d0c75cf97a0a955db6853 | e449402af184e1ecf38a607c11cda2495d390b79 | feat(core): Ensure that Ghost was started | closes #472
- added port polling utility
- general process manager class offers `ensureStarted` function
- systemd extension makes use of `ensureStarted` | diff --git a/extensions/systemd/systemd.js b/extensions/systemd/systemd.js
index f20eac74f5..15ed96403b 100644
--- a/extensions/systemd/systemd.js
+++ b/extensions/systemd/systemd.js
@@ -10,6 +10,10 @@ class SystemdProcessManager extends cli.ProcessManager {
return `ghost_${this.instance.name}`;
}
+ ... | 3 | 1 | 1 | [{"id": "G0", "claim": "Ghost logs errors too late, so for backwards compatibility with older Ghost versions the CLI should keep a timeout delay before forwarding the process error, until the fixed Ghost version is released and the CLI engine is bumped.", "category": "correctness", "verdict": "supported", "priority": "... | null |
TryGhost__Ghost-CLI__623 | TryGhost/Ghost-CLI | 623 | defect | 324a0809b59966b740e18a5f8ded96e4843b1d8b | 4be4bb608275d0ecb4d6d154478b0eb1d54add62 | fix(doctor) skip validate config check for running instances | no issue
- skips the validate config check when the tested instance is currently running, as it would fail for testing the server port | diff --git a/lib/commands/doctor/checks/validate-config.js b/lib/commands/doctor/checks/validate-config.js
index bfaf0ec70d..0b911195ee 100644
--- a/lib/commands/doctor/checks/validate-config.js
+++ b/lib/commands/doctor/checks/validate-config.js
@@ -49,5 +49,10 @@ function validateConfig(ctx) {
module.exports = {
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The skip function added to the validate-config check could be a lot shorter, written as a one-liner: `skip: (ctx) => ctx.instance && ctx.instance.process.isRunning(ctx.instance.dir);`.", "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.