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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
run-llama__llama_index__20972 | run-llama/llama_index | 20,972 | defect | 9542621aec4ff90602806525f024a0f5812c5054 | 5f0b9ebae4bbd54804f6f6eb100023ed3c9fd848 | feat(redis): implement safe get_nodes and delete_nodes support | # Description
This PR adds `get_nodes()` and `delete_nodes()` support to `RedisVectorStore` for document management by node ID and metadata filters, with matching async coverage and tests.
It also makes unindexed metadata filters fail closed and fixes Redis `OR` filter construction to avoid accidental match-all beh... | diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-redis/llama_index/vector_stores/redis/base.py b/llama-index-integrations/vector_stores/llama-index-vector-stores-redis/llama_index/vector_stores/redis/base.py
index b1efe508e3a..eef01126a0b 100644
--- a/llama-index-integrations/vector_stores/... | 3 | 2 | 0 | [{"id": "G0", "claim": "`_build_node_id_filter_expression` is not used anywhere and should not have been introduced (possibly a coding-agent hallucination).", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The helper `_build_legacy_node_id_filter` s... | null |
run-llama__llama_index__20977 | run-llama/llama_index | 20,977 | defect | 6109664cf26ae41177356dd5cf51ec52b1b96c3b | 90fb453c60aaf9ca33e76c2bbc76e1e73ce19d58 | test(embeddings-fireworks): add test suite and fix docs | ## Summary
- Add unit tests for `llama-index-embeddings-fireworks` (100% coverage)
- Fix incorrect API URL in `utils.py`
- Fix README and docstring branding errors
## Test plan
- [x] All tests pass
- [x] Ruff passes | diff --git a/llama-index-integrations/embeddings/llama-index-embeddings-fireworks/README.md b/llama-index-integrations/embeddings/llama-index-embeddings-fireworks/README.md
index db59cfd0c09..11498d3a946 100644
--- a/llama-index-integrations/embeddings/llama-index-embeddings-fireworks/README.md
+++ b/llama-index-integr... | 3 | 2 | 1 | [{"id": "G0", "claim": "The mypy python_version setting this pull request sets should be 3.10, not 3.9.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Instead of only correcting the integration name in the README heading, the pull request should add... | null |
run-llama__llama_index__20990 | run-llama/llama_index | 20,990 | defect | 468f848e5665baaea2ebb2c64fa1a567fc16a31f | cb5f09bdf93c46ffbeb1003377c1062a6b98738f | fix: pass `delete_from_docstore` parameter in `BaseIndex.delete_ref_doc` | ## Description
Fixes #15529
The `delete_ref_doc()` and `adelete_ref_doc()` methods in `BaseIndex` were hardcoding `delete_from_docstore=False` when calling `self.delete_nodes()` / `self.adelete_nodes()`, effectively ignoring the user-provided parameter. This meant that individual nodes were **never** deleted from the... | diff --git a/llama-index-core/llama_index/core/indices/base.py b/llama-index-core/llama_index/core/indices/base.py
index 815e55f4869..af94d2c220e 100644
--- a/llama-index-core/llama_index/core/indices/base.py
+++ b/llama-index-core/llama_index/core/indices/base.py
@@ -325,7 +325,7 @@ def delete_ref_doc(
self... | 2 | 2 | 2 | [{"id": "G0", "claim": "The regression test calls VectorStoreIndex.delete_ref_doc(), which overrides the base method and does not call BaseIndex.delete_ref_doc(), so the test would not fail if the base-class bug (hardcoded delete_from_docstore=False) were reintroduced; it should be moved/rewritten to exercise an index ... | null |
run-llama__llama_index__21034 | run-llama/llama_index | 21,034 | defect | db6f8dfff02f707c2a703f412c84d92cca8900c7 | ab7e371395542f3c61666bc2f2ec2bacd91b13a9 | fix(core): align sync retrieval dedup key with async (hash + ref_doc_id) | # Description
Aligns the sync dedup key in _handle_recursive_retrieval with the async path by using (node.hash, node.ref_doc_id), fixing a discrepancy introduced in #14383
Fixes #21033
## New Package?
Did I fill in the `tool.llamahub` section in the `pyproject.toml` and provide a detailed README.md for my ... | diff --git a/llama-index-core/llama_index/core/base/base_retriever.py b/llama-index-core/llama_index/core/base/base_retriever.py
index e8f1809bd47..b3a53d7ca8f 100644
--- a/llama-index-core/llama_index/core/base/base_retriever.py
+++ b/llama-index-core/llama_index/core/base/base_retriever.py
@@ -147,7 +147,10 @@ def _h... | 1 | 1 | 1 | [{"id": "G0", "claim": "Use `node_id` (always a str) instead of `ref_doc_id` as the retrieval dedup key, because `ref_doc_id` could be None and so may not distinguish two nodes coming from different documents.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
run-llama__llama_index__21036 | run-llama/llama_index | 21,036 | defect | 61bc305e93fc773c587d273d60bb5c539aeddc99 | 97437637b7587503092e02f319b4d0a8f947646d | fix(core): raise ValueError instead of returning string from structured_predict | # Description
`structured_predict()` and related methods sometimes return a raw string instead of a Pydantic model, causing `AttributeError: 'str' object has no attribute 'model_dump_json'`.
**Root cause:** `FunctionCallingProgram._parse_tool_outputs()` blindly `cast()` `raw_output` to the model type without checking... | diff --git a/llama-index-core/llama_index/core/llms/llm.py b/llama-index-core/llama_index/core/llms/llm.py
index 0dab0eeb843..38cde2556b7 100644
--- a/llama-index-core/llama_index/core/llms/llm.py
+++ b/llama-index-core/llama_index/core/llms/llm.py
@@ -360,6 +360,13 @@ class Test(BaseModel):
result = program(l... | 2 | 2 | 0 | [{"id": "G0", "claim": "TypeError is probably more suited than ValueError for the failure raised when structured_predict returns a non-BaseModel result, since it is a type discrepancy.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The _parse_tool_output... | null |
run-llama__notebookllama__31 | run-llama/notebookllama | 31 | defect | 5420cfe50c03f862ae244a778358f8710adbf5a0 | d1f3944b8345c376246877fe8119e1d244da69a2 | Refactoring utils.py and creating a document management UI | ## Description
### Refactoring changes
The `utils` module had exploded with hundreds of lines of miscellaneous code that does a lot of different things.
To keep it clean and maintainable, I decided to move different functionalities into their own modules, more specifically:
- `processing.py`: everything conc... | diff --git a/pyproject.toml b/pyproject.toml
index 9ccdc9d..a0d331f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "notebookllama"
-version = "0.3.1"
+version = "0.4.0"
description = "An OSS and LlamaCloud-backed alternative to NotebookLM"
readme = "README.md"
requires-python = "... | 15 | 13 | 4 | [{"id": "G0", "claim": "export_documents can raise psycopg2.errors.UndefinedTable when the documents table does not exist yet (fresh DB, nothing uploaded) because _create_table() is not ensured before the SELECT; the reviewer suggests ensuring table creation at startup/in __init__ or in _connect()/_execute().", "catego... | null |
run-llama__notebookllama__43 | run-llama/notebookllama | 43 | defect | fbae0294329853932e19cf1be10885a81a1e2cd5 | ce5371bf6d14de23a93457fc533639533c7393ae | Add Parquet export support to OtelTracesSqlEngine | ## Summary
Adds `to_parquet()` method to `OtelTracesSqlEngine` for exporting trace data in Apache Parquet format, enabling efficient storage and high-performance analytics.
## Motivation
Currently, trace data can only be exported to SQL databases or kept in memory as pandas DataFrames. For long-term storage, archi... | diff --git a/src/notebookllama/instrumentation.py b/src/notebookllama/instrumentation.py
index 0b1d46f..5340252 100644
--- a/src/notebookllama/instrumentation.py
+++ b/src/notebookllama/instrumentation.py
@@ -139,6 +139,43 @@ def to_pandas(
self._connect()
return pd.read_sql_table(table_name=self.... | 4 | 4 | 2 | [{"id": "G0", "claim": "The reviewer questions why a separate 'date' column is added and asks whether converting the start_time column to datetime would suffice instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The partition columns are not validat... | null |
runabol__tork__452 | runabol/tork | 452 | defect | 455cdfdb43491c3c385adbdca7e473640f9a8ad2 | 50acfd10c7a02e8989eb8c24a43be905fc946293 | Add search functionality to logs | Adds optional query param `q` to `getTaskLogParts`. | diff --git a/datastore/datastore.go b/datastore/datastore.go
index 6defc35c..150bba42 100644
--- a/datastore/datastore.go
+++ b/datastore/datastore.go
@@ -30,7 +30,7 @@ type Datastore interface {
GetActiveTasks(ctx context.Context, jobID string) ([]*tork.Task, error)
GetNextTask(ctx context.Context, parentTaskID st... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new `q` query parameter read in getTaskLog should also be documented as an `@Param` entry in the function's swaggo docblock.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
runabol__tork__594 | runabol/tork | 594 | defect | c0da803f9f3aa2848fea5c85d6f1a4e6cdb05781 | e4f028f991beee46950cbe97ff24a1566dc35dba | feat: add toggle to enable podman host network usage | #### Enabling host network usage in the podman worker runtime (Option 2 of 2)
This change adds a new configuration parameter, "runtime.podman.host.network", which allows for the usage of the "host" network in podman jobs. This is a reserved word in podman networks since it's the name of a network mode. This network ... | diff --git a/engine/worker.go b/engine/worker.go
index c013fbc7..4edbfedb 100644
--- a/engine/worker.go
+++ b/engine/worker.go
@@ -103,6 +103,7 @@ func (e *Engine) initRuntime() (runtime.Runtime, error) {
podman.WithBroker(e.brokerRef),
podman.WithMounter(mounter),
podman.WithPrivileged(conf.Bool("runtime.p... | 3 | 2 | 1 | [{"id": "G0", "claim": "The --network-alias may not be worth keeping: the reviewer is unsure of its purpose, guesses it only handles odd network names, and notes it obscures the original task name and might confuse users, suggesting it could be removed altogether.", "category": "design", "verdict": "opposed", "priority... | null |
runatlantis__atlantis__3378 | runatlantis/atlantis | 3,378 | defect | 2d9a6d30ad05105b1487cc043a8bea93c6a0509f | 88a687e0b7926272a350f08ad7e38d4dfbe3a209 | feat: set `atlantis/apply` check to `successful` if all plans are `No Changes` | ## what
<!--
- Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
- Use bullet points to be concise and to the point.
-->
Add `--skip-apply-no-changes` option. This option will allow skipping the apply command if the plan command results in "No Chan... | diff --git a/cmd/server.go b/cmd/server.go
index f8f92c5cb1..2e5647542c 100644
--- a/cmd/server.go
+++ b/cmd/server.go
@@ -117,6 +117,7 @@ const (
SilenceAllowlistErrorsFlag = "silence-allowlist-errors"
// SilenceWhitelistErrorsFlag is deprecated for SilenceAllowlistErrorsFlag.
SilenceWhitelistErrorsFlag = "silen... | 2 | 2 | 1 | [{"id": "G0", "claim": "Fix the typo in the flag description: 'resutls' should be 'results'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G6", "claim": "Do not bypass or fake the atlantis/apply status: set the atlantis/apply check green when all plans are No C... | null |
runatlantis__atlantis__3402 | runatlantis/atlantis | 3,402 | defect | bd284eb76d9a3c985e0d9905c6662a97d5fae654 | 0c2db4ee88926b1eaed6aa79c4a7fa240427e440 | fix(bitbucket): avoid extra plans using a local LRU | ## what
<!--
- Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
- Use bullet points to be concise and to the point.
-->
* We only need to run plan if the code changes
* The code changes if the git SHA changes
* Therefore, we can skip the plan... | diff --git a/.gitignore b/.gitignore
index 2d9dad12f1..2e43ae9f99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,3 +24,6 @@ dist/
tmp-CHANGELOG.md
.envrc
+
+# IDE files
+*.code-workspace
\ No newline at end of file
diff --git a/go.mod b/go.mod
index 63e38b6ff7..ab0f21acd0 100644
--- a/go.mod
+++ b/go.mod
@@ -20,6 ... | 4 | 2 | 0 | [{"id": "G0", "claim": "The .gitignore file the PR appended to should end with a newline.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Avoid adding the golang-lru dependency because new dependencies are hard to maintain, expand the blast radiu... | null |
runatlantis__atlantis__3428 | runatlantis/atlantis | 3,428 | defect | 767a5e7a01e97d92379076281b9cee9728abfcdd | 62e1ba27d3e1403843a1bb66743cf0ab6db92501 | fix(gitlab): Prevent nil pointer dereference when HeadPipeline is empty | In this particular example, `mr.HeadPipeline.SHA` panics on a nil pointer dereference because HeadPipeline is empty.
This seems to be caused by the lack of permission to update the commit status.
```
runtime.gopanic
runtime/panic.go:1038
runtime.panicmem
runtime/panic.go:221
runtime.sigpanic
... | diff --git a/scripts/e2e-deps.sh b/scripts/e2e-deps.sh
index 6791d918fb..5a2db14af6 100755
--- a/scripts/e2e-deps.sh
+++ b/scripts/e2e-deps.sh
@@ -16,9 +16,9 @@ chmod +x terraform
cp terraform /go/bin/
# Download ngrok to create a tunnel to expose atlantis server
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stabl... | 2 | 1 | 1 | [{"id": "G0", "claim": "The PR should add a test covering the new nil HeadPipeline guard in PullIsMergeable before it merges.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request description should be filled out according to the project's PR ... | null |
runatlantis__atlantis__3484 | runatlantis/atlantis | 3,484 | defect | 773fb0c2f6e61a285b56e271dbf8dc20694ac469 | 7c60f3e787ed92f3a95b2d9d90a505200da2edc1 | feat: Add Terraform command duration to log messages | ## what
This PR adds the wall clock duration of executing any Terraform command to the logs.
## why
This information is useful for observability purposes.
## tests
Tested the changes running Atlantis locally. Because it relies on `time.Now` adding tests that are not flaky is difficult.
## references
... | diff --git a/server/core/runtime/models/shell_command_runner.go b/server/core/runtime/models/shell_command_runner.go
index c30f97378d6..3dcd56dd8ad 100644
--- a/server/core/runtime/models/shell_command_runner.go
+++ b/server/core/runtime/models/shell_command_runner.go
@@ -6,6 +6,7 @@ import (
"os/exec"
"strings"
... | 2 | 2 | 2 | [{"id": "G0", "claim": "Add a unit test for the duration logging in shell_command_runner.go (in shell_command_runner_test.go, creating it if needed) to ensure the functionality works and does not break in the future.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
runatlantis__atlantis__3900 | runatlantis/atlantis | 3,900 | defect | 5e1f50b073efeaa88422ae5217055869973df94f | a0ca05dc148f132c8b88d20f150bffe8b6065a1a | fix: Use HeadRepo instead of BaseRepo in --skip-clone-no-changes flow (#3891) | ## what
<!--
- Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
- Use bullet points to be concise and to the point.
-->
This PR modifies the function signature of `VCSClient.GetFileContent` and enforces that when attempting to check the `repoCfgFi... | diff --git a/server/events/project_command_builder.go b/server/events/project_command_builder.go
index 2347c9072af..47696bd2558 100644
--- a/server/events/project_command_builder.go
+++ b/server/events/project_command_builder.go
@@ -338,7 +338,17 @@ func (p *DefaultProjectCommandBuilder) buildAllCommandsByCfg(ctx *comm... | 2 | 1 | 1 | [{"id": "G0", "claim": "Consider whether the documented --checkout-depth server configuration would address the cloning instead of this change.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a test covering the new HeadRepo-based GetFileContent code ... | null |
runatlantis__atlantis__4275 | runatlantis/atlantis | 4,275 | defect | 34c09b13b9ef42f84f880f92c01d2b18bc411ede | 399e4af5db29b77b8617582e16f9b58e5cc27c24 | feat: BitBucket Cloud: add support for webhook secrets | ## what
Added support for Bitbucket Cloud Webhook secrets. Bitbucket added support in the cloud offering in October of 2023 [Announcement](https://bitbucket.org/blog/enhanced-webhook-security)
* Ported the request validation libraries from bitbucket server to bitbucket cloud client.
* Removed error check and ass... | diff --git a/cmd/server.go b/cmd/server.go
index 31ecfd393e..73dc7b71c6 100644
--- a/cmd/server.go
+++ b/cmd/server.go
@@ -238,7 +238,7 @@ var stringFlags = map[string]stringFlag{
defaultValue: DefaultBitbucketBaseURL,
},
BitbucketWebhookSecretFlag: {
- description: "Secret used to validate Bitbucket webhooks. ... | 3 | 2 | 1 | [{"id": "G0", "claim": "If Bitbucket Cloud still does not support webhook secrets, the removed documentation tip saying so should be left in place.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The constant bitbucketServerSignatureHeader should b... | null |
runatlantis__atlantis__4331 | runatlantis/atlantis | 4,331 | defect | 870d91e3206238ccda8e5e2147e25999ffca8a8d | 251e62b9d153b2b9f7652c8d89f73a50b082f20e | feat: allow masking output on comments | ## what
Part of https://github.com/runatlantis/atlantis/issues/163#issuecomment-1986854570.
## why
I have the requirements to mask some values that are passed to the comments posted by Atlantis, building up on `strip_refreshing` I added two new output configurations that will allow this via a regex configured ... | diff --git a/.gitignore b/.gitignore
index 92cc521107a..9338419bce6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,7 @@ atlantis
atlantis.env
*.act
Dockerfile.local
+vendor/
# gitreleaser
dist/
diff --git a/runatlantis.io/docs/custom-workflows.md b/runatlantis.io/docs/custom-workflows.md
index 0a3ca5de89c... | 6 | 5 | 2 | [{"id": "G0", "claim": "The run step `output` API should accept both the old string form and a list of strings/maps that applies filters sequentially, with the key named `filter_regex`, to keep backward compatibility and allow extension without breaking the API.", "category": "design", "verdict": "supported", "priority... | null |
runatlantis__atlantis__4495 | runatlantis/atlantis | 4,495 | defect | 94791d588a038fb2e7711ee7ce8f4361e0f5206b | e2da6e17f3b5dd9a037e9ca5778b1d9b370b88b0 | feat: Enable `hide-prev-plan-comments` Feature for BitBucket Cloud | ## what
Atlantis produces a truly ungodly amount of comments during an extensive work on a PR in the bitbucket. For GH integration, there's an ability to collapse comments that are no longer relevant for a discussion (i.e. old plans that are now discarded, etc).
This PR tries to add that to bitbucket with all its ... | diff --git a/server/events/vcs/bitbucketcloud/client.go b/server/events/vcs/bitbucketcloud/client.go
index a0dcfd7161..df337812ef 100644
--- a/server/events/vcs/bitbucketcloud/client.go
+++ b/server/events/vcs/bitbucketcloud/client.go
@@ -6,6 +6,7 @@ import (
"fmt"
"io"
"net/http"
+ "strings"
"unicode/utf8"
... | 2 | 2 | 2 | [{"id": "G0", "claim": "Add tests and documentation for the new Bitbucket Cloud hide-prev-plan-comments implementation, which S1 ships with neither.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Cache the Atlantis user's Bitbucket UUID (or fetch it onc... | null |
runatlantis__atlantis__4928 | runatlantis/atlantis | 4,928 | defect | 95d55b6324ef45fe88885cc50595bc7290bb897f | 772ad71eb68a796236ae61a85bc37b355d1d86d4 | feat: GitHub - Support loading git token from disk | ## what
Adds a `gh-token-file` server setting that can be used instead of `gh-token`. The token is read from disk as part of the GitHub client transport, allowing the token to be rotated without needing to restart the Atlantis process. I've also re-used the `.git-credentials` token rotator from the GitHub app integr... | diff --git a/cmd/server.go b/cmd/server.go
index e53ca204180..f967e5a5c4f 100644
--- a/cmd/server.go
+++ b/cmd/server.go
@@ -91,6 +91,7 @@ const (
GHHostnameFlag = "gh-hostname"
GHTeamAllowlistFlag = "gh-team-allowlist"
GHTokenFlag = "gh-token"
+ GHTokenFileFlag... | 5 | 4 | 1 | [{"id": "G0", "claim": "Validation should be added so the server rejects a configuration where both GithubToken and GithubTokenFile are specified.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new --gh-token-file docs read \"loaded loaded\"; th... | null |
runatlantis__atlantis__4974 | runatlantis/atlantis | 4,974 | defect | 95d55b6324ef45fe88885cc50595bc7290bb897f | 4c98c5d60ebc9b7921d920e9274059416829a35a | fix: Ignore apply check(s) even if missing from rollup when determining mergeability for GitHub | ## what
<!--
- Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
- Use bullet points to be concise and to the point.
-->
Ignores the atlantis/apply check even if it's missing in the API rollup response.
## why
<!--
- Provide the justificat... | diff --git a/server/events/vcs/github_client.go b/server/events/vcs/github_client.go
index 86a7bfd48f..e455b206f4 100644
--- a/server/events/vcs/github_client.go
+++ b/server/events/vcs/github_client.go
@@ -711,8 +711,7 @@ func CheckRunPassed(checkRun CheckRun) bool {
}
func StatusContextPassed(statusContext Status... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new ruleset-atlantis-apply-expected.json testdata file ends without a final newline character and should end with EOF LF.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
runatlantis__atlantis__5388 | runatlantis/atlantis | 5,388 | defect | 4bea4e934a5e26215134c411413e88d634fe29fc | b4831e0c905962d94f0324e0f7f59aa8ce9aa36a | feat: Enable discard-approval-on-plan for gitlab | ## what
<!--
- Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
- Use bullet points to be concise and to the point.
-->
This pull request enables `discard-approval-on-plan` for gitlab.
## why
<!--
- Provide the justifications for the change... | diff --git a/server/events/vcs/gitlab_client.go b/server/events/vcs/gitlab_client.go
index 72280b127d..ac8f4d61e7 100644
--- a/server/events/vcs/gitlab_client.go
+++ b/server/events/vcs/gitlab_client.go
@@ -577,8 +577,17 @@ func (g *GitlabClient) MarkdownPullLink(pull models.PullRequest) (string, error)
return fmt.Sp... | 6 | 5 | 2 | [{"id": "G0", "claim": "The error returned when ResetApprovalsOfMergeRequest fails should be wrapped as \"unable to reset approvals\" instead of \"unable to discard reviews\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new code comment's... | null |
runatlantis__atlantis__5510 | runatlantis/atlantis | 5,510 | defect | 7a309133f30fd1ff1b1e30b82194f355ca91286a | 917d8245f74b78e8cf68c2c2a2e241da34bf98ca | fix: only allow team slug support in `--gh-team-allowlist` by dropping support for ambiguous team names | ## what
- Drops GitHub team name support in `--gh-team-allowlist`.
## why
- Team names are ambiguous, mutable, and can be abused. Team slugs are immutable.
## tests
- [X] I have updated the relevant tests.
- [X] I have tested my changes by running `make test-all`.
## references
- Closes #5509 | diff --git a/server/events/vcs/github_client.go b/server/events/vcs/github_client.go
index fc8eb18656..f598e329c0 100644
--- a/server/events/vcs/github_client.go
+++ b/server/events/vcs/github_client.go
@@ -1052,7 +1052,7 @@ func (g *GithubClient) GetTeamNamesForUser(logger logging.SimpleLogging, repo mo
return nil... | 2 | 1 | 1 | [{"id": "G0", "claim": "Comms about the breaking change (GitHub team names no longer accepted in --gh-team-allowlist) should be sent in the release notes and Slack.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docs should be updated to add a... | null |
runatlantis__atlantis__5659 | runatlantis/atlantis | 5,659 | defect | 0097330d1b49848602ac1448089f50f5985c3496 | c5e4da7a9925faefa6ce229a57b24c6f560c04c9 | feat: Comment on pull request if pre-workflow hooks fail | ## Comment on pull request if pre-workflow hooks fail
If a preworkflow hook fails, its status is currently reported to the VCS Provider.
However, the reason for the failure is not reported back to the end user, making it very hard to debug issues leading to the failure of the pre-workflow hook without having access... | diff --git a/scripts/pin_ci_terraform_providers.sh b/scripts/pin_ci_terraform_providers.sh
index db4d9256de6..bd84ec53bc1 100755
--- a/scripts/pin_ci_terraform_providers.sh
+++ b/scripts/pin_ci_terraform_providers.sh
@@ -3,7 +3,7 @@
# Script to pin terraform providers in e2e tests
RANDOM_PROVIDER_VERSION="3.6.1"
-N... | 4 | 2 | 1 | [{"id": "G0", "claim": "The pre-workflow-hook error message formatting is duplicated between the autoplan and comment code paths; extract it into a shared constant or helper function.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The posted com... | null |
runatlantis__atlantis__5786 | runatlantis/atlantis | 5,786 | defect | 466c4856f4ece3b92543c51418ea0d34edbf0cc8 | c11463f8afeac2a6d18914ad52f1c590d242f5fb | feat: intelligent comment splits | ## what
Handle closure for code/detail/etc blocks appropriately when splitting VCS comments.
## why
The logic for splitting comments has always assumed it would happen in the middle of a code block, which is not always the case, leading to poor UX.
## tests
Updated the old tests and added new ones to v... | diff --git a/runatlantis.io/docs/server-configuration.md b/runatlantis.io/docs/server-configuration.md
index 0e43ab2ecd..cede69bc51 100644
--- a/runatlantis.io/docs/server-configuration.md
+++ b/runatlantis.io/docs/server-configuration.md
@@ -1058,6 +1058,8 @@ ATLANTIS_MAX_COMMENTS_PER_COMMAND=100
Limit the number o... | 6 | 1 | 0 | [{"id": "G0", "claim": "Documentation should be added describing the new comment-splitting behaviour.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the table-driven test the max-size check unconditionally indexes split[i] while the equality as... | null |
runatlantis__atlantis__5867 | runatlantis/atlantis | 5,867 | defect | 640f695b63f0c47973ee672b52b04a53cdbad3dc | 0747032b43e54357659e131469eaaf713353cd56 | fix: Determine need_rebase as not a mergeable status | ## what
In Gitlab, make it so if a merge request is in status `needs_rebase`, then mark it as not mergeable.
## why
Previously, when an MR was determined to be in the `need_rebase` status, we counted it as "mergeable", see #4402. Since then a number of bugs have been reported (#5826, #4025, #5124), indicating... | diff --git a/runatlantis.io/docs/command-requirements.md b/runatlantis.io/docs/command-requirements.md
index 9be7bcef2d7..8c45ccc8575 100644
--- a/runatlantis.io/docs/command-requirements.md
+++ b/runatlantis.io/docs/command-requirements.md
@@ -142,7 +142,7 @@ If you set `atlantis/apply` to the mergeable requirement, u... | 1 | 1 | 0 | [{"id": "G0", "claim": "The MergeMethod check inside the need_rebase branch is not needed, since GitLab returns detailed_merge_status \"need_rebase\" only when the project's merge method is fast-forward or rebase (with merge commits the API returns \"mergeable\" even when a rebase is possible).", "category": "design", ... | null |
runatlantis__atlantis__5915 | runatlantis/atlantis | 5,915 | defect | 57a2797fb05a197660ed37d433d79736e5a11ef6 | 32e1cbb939d487d3234a72f600ac50370dfe94ae | fix: Prevent any users from approving custom policy sets - fix tests, handle extra edge cases | ## what
contains the changes of https://github.com/runatlantis/atlantis/pull/5331 but in addition fixes the tests (as requested by the maintainers here: https://github.com/runatlantis/atlantis/pull/5331#issuecomment-2709040930, https://github.com/runatlantis/atlantis/pull/5331#issuecomment-3457413561) so that the ch... | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c146c108cf7..4beed7a8586 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -53,7 +53,7 @@ jobs:
if: needs.changes.outputs.should-run-tests == 'true'
name: Tests
runs-on: ubuntu-24.04
- container: ghcr.... | 2 | 1 | 1 | [{"id": "G0", "claim": "The pull request removes the digest pin (@sha256:...) from the ghcr.io/runatlantis/testing-env container image in .github/workflows/test.yml — the reviewer asks why.", "category": "security", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR's logic ... | null |
runatlantis__atlantis__5926 | runatlantis/atlantis | 5,926 | defect | 647f1d51f6e3661835fc0ba83da3e0210f6bf71a | 78250274ab97d219426e7304cb4581dcb4ae36c3 | feat: enabling pending apply status when any of the projects has changes to… | ## What
This MR restores the ability to set commit status to pending when there are planned Terraform changes that haven't been applied yet. This feature is now:
## GitLab-specific (controlled by the --pending-apply-status flag)
Opt-in (defaults to false to maintain backward compatibility)
Provides better visibil... | diff --git a/cmd/server.go b/cmd/server.go
index 5b724315d2..2810002af9 100644
--- a/cmd/server.go
+++ b/cmd/server.go
@@ -123,6 +123,7 @@ const (
MarkdownTemplateOverridesDirFlag = "markdown-template-overrides-dir"
MaxCommentsPerCommand = "max-comments-per-command"
ParallelPoolSize = "... | 2 | 2 | 0 | [{"id": "G0", "claim": "The docs should drop ' on GitLab' from the '--pending-apply-status' description and instead state 'Only supported on GitLab' on a line at the end of the block.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PlanCommandR... | null |
runatlantis__atlantis__6004 | runatlantis/atlantis | 6,004 | defect | a8194e67474506e543a2a6e69af733da4c8a0241 | 497196337a3307af4f5c1beb5678e1b16027b7d9 | fix: Add project name to locking key | ## what
* Fixed the lockKeyToProjectWorkspace function in the locking client to correctly parse the updated lock key format that includes the project name
* Updated the keyRegex pattern to capture all four components of the lock key: `{repoFullName}/{path}/{workspace}/{projectName}`
* Modified the regex match vali... | diff --git a/server/core/boltdb/boltdb.go b/server/core/boltdb/boltdb.go
index 7d165d19dc0..db9c3c0704d 100644
--- a/server/core/boltdb/boltdb.go
+++ b/server/core/boltdb/boltdb.go
@@ -7,13 +7,14 @@ package boltdb
import (
"bytes"
"encoding/json"
- "errors"
"fmt"
"os"
"path"
"strings"
"time"
+ "github.... | 3 | 3 | 2 | [{"id": "G0", "claim": "Because persisted lock keys are stored outside a running atlantis process, changing the key format makes in-place upgrades unsafe, so a reconciliation step should be added at startup that translates keys in known old formats and warns about unrecognized ones.", "category": "correctness", "verdic... | null |
runatlantis__atlantis__6032 | runatlantis/atlantis | 6,032 | defect | 9697e568344b593c6dd021202cad9face76a09af | 701193f498023781eb3667d92865a75da833e80f | fix: Prevent infinite Gitea pagination loops | Fix page increment in Gitea client pagination loops so paged endpoints advance and terminate properly.
## what
- Fix Gitea client pagination loops to increment the page counter correctly (page++) instead of resetting it.
- Ensure paged Gitea endpoints (files/reviews/labels) advance through pages and terminat... | diff --git a/server/events/vcs/gitea/client.go b/server/events/vcs/gitea/client.go
index 6ec09850c4..1e23520426 100644
--- a/server/events/vcs/gitea/client.go
+++ b/server/events/vcs/gitea/client.go
@@ -110,7 +110,7 @@ func (c *Client) GetModifiedFiles(logger logging.SimpleLogging, repo models.Repo
}
for page < n... | 1 | 1 | 1 | [{"id": "G0", "claim": "Tests should be added for the PR's Gitea pagination fix, if possible.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
runatlantis__atlantis__6069 | runatlantis/atlantis | 6,069 | defect | c1cf4d925c26631f396e4aae355d1d53d8528049 | b62e91f66834493bf1426c5795838477ad58dcb7 | fix: diff cloudformation stack list items | ## what
<!--
- Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
- Use bullet points to be concise and to the point.
-->
- update `DiffKeywordRegex` to only catch resource names
## why
<!--
- Provide the justifications for the changes (e.g. ... | diff --git a/server/events/models/models.go b/server/events/models/models.go
index 38aa91147f..c8942c1d1e 100644
--- a/server/events/models/models.go
+++ b/server/events/models/models.go
@@ -437,7 +437,9 @@ func (p *PlanSuccess) NoChanges() bool {
// Diff Markdown regexes
var (
- diffKeywordRegex = regexp.MustCompi... | 2 | 2 | 2 | [{"id": "G0", "claim": "diffColonRegex still matches YAML list items inside heredocs when they use extra indentation after the hyphen (e.g. `- isOrg:`), reintroducing the original false-positive reformatting the PR set out to fix, and the new test matrix lacks a regression case for that pattern.", "category": "correc... | null |
runatlantis__atlantis__6102 | runatlantis/atlantis | 6,102 | defect | 20394b647d1e880403073482c689d418d97614ad | 81df2b677b3d9e226d8895912ac7b2020ff219f3 | fix: update PullStatus between execution group runs | ## what
Update `PullStatus` between runs of execution groups.
## why
PullStatus is only updated once before running execution groups and then written to the DB after running all groups.
Therefore, when we have two groups where the second depends_on the first, `ValidateProjectDependencies` for the second gro... | diff --git a/server/events/project_command_pool_executor.go b/server/events/project_command_pool_executor.go
index bac02945a87..0ee452e7ad9 100644
--- a/server/events/project_command_pool_executor.go
+++ b/server/events/project_command_pool_executor.go
@@ -1,4 +1,4 @@
-// Copyright 2025 The Atlantis Authors
+// Copyrig... | 3 | 2 | 1 | [{"id": "G0", "claim": "The nested scan over groupResult.ProjectResults × ctx.PullStatus.Projects is O(n²) across large project sets and execution groups; the author should precompute an index (e.g. a map keyed by workspace/dir/name) so updates are O(1) per result.", "category": "performance", "verdict": "opposed", "pr... | null |
runatlantis__atlantis__6159 | runatlantis/atlantis | 6,159 | defect | 9697e568344b593c6dd021202cad9face76a09af | eb6b05e1c2dd335b7ddb1a4177ee0a1ff11e77f9 | fix: webhook authentication for Azure DevOps Server | ## what
When parsing Azure DevOps webhooks, this pull request changes Atlantis to look for `X-VSS-ActivityId` headers in addition to "Request-Id" readers (instead of only the latter).
## why
This is how Azure DevOps Server 2022 (the current latest version) communicates.
## tests
I added a test.
## r... | diff --git a/server/controllers/events/events_controller.go b/server/controllers/events/events_controller.go
index a4aefbe3c7..98e3572e01 100644
--- a/server/controllers/events/events_controller.go
+++ b/server/controllers/events/events_controller.go
@@ -42,6 +42,7 @@ import (
const githubHeader = "X-Github-Event"
co... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test assertion is too permissive: any non-400 response (including 500/panic paths) satisfies `w.Code != http.StatusBadRequest` and can make the test pass even if the handler is broken, so it should assert a specific expected status/body and/or verify the Azure DevOps validator mock was calle... | null |
runatlantis__atlantis__6165 | runatlantis/atlantis | 6,165 | defect | 9697e568344b593c6dd021202cad9face76a09af | d6f5b6566a85c0d84016814c145a857f7954031b | fix: respect executable name in lock message | ## what
respect executable name in lock message
<!--
- Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
- Use bullet points to be concise and to the point.
-->
## why
It confuses people who are not familiries whith custom name and when they co... | diff --git a/server/controllers/events/events_controller_e2e_test.go b/server/controllers/events/events_controller_e2e_test.go
index 79db506e485..ac70d64e8b5 100644
--- a/server/controllers/events/events_controller_e2e_test.go
+++ b/server/controllers/events/events_controller_e2e_test.go
@@ -1353,9 +1353,10 @@ func set... | 2 | 1 | 1 | [{"id": "G0", "claim": "ExecutableName can still be the empty string when server.NewServer is called with a zero-value UserConfig, producing a confusing ` plan` lock failure message; consider defaulting ExecutableName to \"atlantis\" when it is empty (in NewServer or in TryLock).", "category": "correctness", "verdict":... | null |
runatlantis__atlantis__6215 | runatlantis/atlantis | 6,215 | defect | 551af92222ae43062f105b2ca3e849a54815b606 | bda1772c95ee209768c2923db2a06ed680e0fb65 | fix: cancellation bug for parallel invocations without `execution_order` and a larger amount of tasks than the `poolSize` | ## what
This PR fixes a bug where `atlantis cancel` does not properly cancel parallel invocations when they exceed the configured parallel pool size, as reported in https://github.com/runatlantis/atlantis/pull/5813#issuecomment-3893031969.
This change implements cancellation checks at the pool size throttling granu... | diff --git a/server/events/policy_check_command_runner.go b/server/events/policy_check_command_runner.go
index d3c083e713f..b74f5ef592c 100644
--- a/server/events/policy_check_command_runner.go
+++ b/server/events/policy_check_command_runner.go
@@ -63,7 +63,7 @@ func (p *PolicyCheckCommandRunner) Run(ctx *command.Conte... | 3 | 3 | 1 | [{"id": "G0", "claim": "The cancellation fix is not covered by automated tests; add tests so there is a regression guard for the new pool-size cancellation behaviour.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cancellation check runs only before... | null |
runatlantis__atlantis__6216 | runatlantis/atlantis | 6,216 | defect | b25d13c495c48a768dfa94d4489d325c5c664adc | 13a123de8c1126b4c305b3076ef50bfed83e5161 | fix: intelligent comment split issues | ## what
<!--
- Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
- Use bullet points to be concise and to the point.
-->
There were a few bugs with intelligent comment splits
- split in middle of word
- code in details block was not appropriate... | diff --git a/server/events/vcs/common/common.go b/server/events/vcs/common/common.go
index fe4f34a497b..2c06dd7ba8a 100644
--- a/server/events/vcs/common/common.go
+++ b/server/events/vcs/common/common.go
@@ -8,8 +8,9 @@ package common
import (
"crypto/tls"
"fmt"
- "math"
"net/http"
+ "regexp"
+ "strings"
"g... | 4 | 4 | 2 | [{"id": "G0", "claim": "estimatedDownFrom can exceed upTo (and even len(comment)) when maxSize - endSepLength - 50 is negative, which can panic in detectClosureType because it slices comment[:position]; clamp estimatedDownFrom to [0, upTo] and consider guarding the later stabilize loop so downFrom never exceeds upTo.",... | null |
runatlantis__atlantis__6219 | runatlantis/atlantis | 6,219 | defect | f1fd4c4863a42cf016ee9dfba8995d7c8111b5a5 | f2b90258d7c6b3436974f77991ea4fcb8be27cc0 | fix: duplicated custom policy check output in pull request comment | ## what
<!--
- Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?)
- Use bullet points to be concise and to the point.
-->
When using `custom_policy_check: true` there are two bugs in how the output is represented in the comment on the pull request... | diff --git a/server/controllers/events/events_controller_e2e_test.go b/server/controllers/events/events_controller_e2e_test.go
index 79db506e48..1fd23dd762 100644
--- a/server/controllers/events/events_controller_e2e_test.go
+++ b/server/controllers/events/events_controller_e2e_test.go
@@ -1197,6 +1197,23 @@ func TestG... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new expected-output file shows only 2 of the 3 configured policy sets (another_policy is missing entirely), so the e2e test may pass even if the code doesn't correctly handle all 3 policy sets; all 3 policy sets should appear in the output.", "category": "testing", "verdict": "supported", "p... | null |
runatlantis__atlantis__6240 | runatlantis/atlantis | 6,240 | defect | 2cc67fbdda8d2dc7354ee211dccb458daa512b35 | 26f643ac45a924643257ea038ab8cd6d33a6d4ec | fix: Reorder autodiscover logic | ## what
Make it so both which auto discover mode, as well as which paths to ignore, have the same precedence in configuration: first global, then per repo, then the default configured by the CLI.
## compatibility note
This changes behavior when autodiscover is configured in both server-side repo config and repo-leve... | diff --git a/server/core/config/valid/repo_cfg.go b/server/core/config/valid/repo_cfg.go
index e2b4466478..bfce402e3a 100644
--- a/server/core/config/valid/repo_cfg.go
+++ b/server/core/config/valid/repo_cfg.go
@@ -126,16 +126,11 @@ func isRegexAllowed(name string, allowedRegexpPrefixes []string) bool {
return false
... | 3 | 2 | 1 | [{"id": "G0", "claim": "The comment above AutoDiscoverEnabled misspells \"precedence\" as \"precdence\" and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Respecting autodiscover mode from the global config means the implicit ... | null |
runatlantis__atlantis__6255 | runatlantis/atlantis | 6,255 | defect | e717fea883f0cfebe26267b1dfa186ca2833c1fe | e420efac5dcabdd202dc3f7f5dbd2bef5f6513d7 | ci: add ClusterFuzzLite GitHub Action for fuzzing on PRs to main and release branches | Satisfies the [OpenSSF Scorecard fuzzing requirement](https://github.com/runatlantis/atlantis/security/code-scanning/70) by integrating [ClusterFuzzLite](https://google.github.io/clusterfuzzlite/) via GitHub Actions.
## Workflow (`.github/workflows/clusterfuzzlite.yml`)
- Triggers on non-draft PRs to `main`/`release-*... | diff --git a/.github/workflows/clusterfuzzlite.yml b/.github/workflows/clusterfuzzlite.yml
new file mode 100644
index 0000000000..f0ec1c4bde
--- /dev/null
+++ b/.github/workflows/clusterfuzzlite.yml
@@ -0,0 +1,49 @@
+name: ClusterFuzzLite
+
+on:
+ push:
+ branches:
+ - main
+ - 'release-**'
+
+permissions... | 8 | 5 | 1 | [{"id": "G0", "claim": "The reviewer questions whether the new Go fuzz test file is necessary at all.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The workflow trigger should be `pull_request` instead of `push`, as the PR is about fuzzing PRs.", "categor... | null |
runatlantis__atlantis__6369 | runatlantis/atlantis | 6,369 | defect | 942070e0f0cf6ef5ec539757eb7f612607c8505d | a006fa2dbee522eb392bed80b55f52f5abcbb8bb | fix(gitlab): prevent PullIsMergeable from self-blocking on Atlantis commit statuses | ## What
Change `PullIsMergeable` in the GitLab client to skip **all** Atlantis-owned commit statuses instead of only `atlantis/apply` prefixed ones.
## Why
Fixes #4949
When `only_allow_merge_if_pipeline_succeeds` is enabled in GitLab, Atlantis self-blocks because its own `plan`, `policy_check`, `pre_workflow_hook`,... | diff --git a/server/events/vcs/gitlab/client.go b/server/events/vcs/gitlab/client.go
index 0e02014388..13a4717e49 100644
--- a/server/events/vcs/gitlab/client.go
+++ b/server/events/vcs/gitlab/client.go
@@ -25,7 +25,6 @@ import (
"github.com/hashicorp/go-version"
"github.com/jpillora/backoff"
- "github.com/runatl... | 1 | 1 | 0 | [{"id": "G0", "claim": "At least one test case with a non-Atlantis pipeline should be (re)added so the suite shows which kinds of pipelines are blocked, replacing the removed `Pipeline <> has status <>` cases.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
runatlantis__atlantis__6397 | runatlantis/atlantis | 6,397 | defect | eb0d0fce6e4944c1dfc79383784350756cca5c75 | 73a8ace81fa79ea319ee8b0504e0900aed441328 | fix: respect autodiscover.ignore_paths during apply-all | ## Summary
Fixes apply-all handling for pending plan files in paths covered by `autodiscover.ignore_paths`.
When Atlantis discovers unapplied `.tfplan` files for a plain `atlantis apply`, it now filters ignored autodiscovery paths so stale or copied plan files under ignored directories are not applied. The filtering ... | diff --git a/server/events/project_command_builder.go b/server/events/project_command_builder.go
index a2a06b13bc..1bf2b785fa 100644
--- a/server/events/project_command_builder.go
+++ b/server/events/project_command_builder.go
@@ -381,10 +381,32 @@ func (p *DefaultProjectCommandBuilder) autoDiscoverModeEnabled(ctx *com... | 2 | 1 | 1 | [{"id": "G0", "claim": "buildAllProjectCommandsByPlan parses the repo config via parseRepoCfg but each subsequent buildProjectCommandCtx call parses the same config again via getCfg, adding repeated file I/O/YAML parsing on large multi-apply runs and an extra parse even when the config exists; consider reusing the alre... | null |
runatlantis__atlantis__6401 | runatlantis/atlantis | 6,401 | defect | 2d92a9bfc8f1033d55ed9fb3f0797bb5399c2e01 | 0bab2e4a9fec4d63567b773e60158e30c03abe20 | fix(github): Fall back to git blobs API for large files in GetFileContent | ## what
- `GetFileContent` on the GitHub client now falls back to the Git Blobs API when a file exceeds GitHub's 1MB Contents API limit
- Affects the `skip-clone-no-changes` feature, which uses `GetFileContent` to fetch `atlantis.yaml` before deciding whether to clone
## why
- GitHub's `GET /repos/{owner}/{re... | diff --git a/server/events/vcs/github/client.go b/server/events/vcs/github/client.go
index 57f91383ab6..575636bf7e5 100644
--- a/server/events/vcs/github/client.go
+++ b/server/events/vcs/github/client.go
@@ -1135,6 +1135,23 @@ func (g *Client) GetFileContent(logger logging.SimpleLogging, repo models.Repo,
return tr... | 4 | 3 | 2 | [{"id": "G0", "claim": "The blob fallback also triggers for legitimate empty files (base64 of empty content is an empty string), unnecessarily fetching a blob and possibly failing when SHA is absent; the fallback should be gated on file size rather than content == \"\" alone.", "category": "correctness", "verdict": "su... | null |
runatlantis__atlantis__6406 | runatlantis/atlantis | 6,406 | defect | bb69b3e38351abd5edcbafe9f75e9e8cb29ae929 | 24f9843ac6c1fc3d044e40e2fa25649753b534d0 | fix: support GitLab hosted under a URL subpath | ## what
When GitLab is hosted at a URL subpath (e.g. `https://acme.com/gitlab/owner/repo.git`), `models.NewRepo` rejects incoming webhooks because it validates that the clone URL path is *exactly* `/{owner}/{repo}.git`. This PR threads the already-configured `ATLANTIS_GITLAB_HOSTNAME` through to `NewRepo` and validate... | diff --git a/server/controllers/events/events_controller_test.go b/server/controllers/events/events_controller_test.go
index 0abc37477ff..2b54e717b9c 100644
--- a/server/controllers/events/events_controller_test.go
+++ b/server/controllers/events/events_controller_test.go
@@ -234,7 +234,7 @@ func TestPost_GitlabComment... | 1 | 1 | 1 | [{"id": "G0", "claim": "ParseGitlabHostname uses strings.TrimSuffix(u.Path, \"/\"), which only removes a single trailing slash, so inputs like \"acme.com/gitlab///\" return basePath \"/gitlab//\" despite the doc comment promising no trailing slash, which could make NewRepo incorrectly reject valid clone URLs; trim all ... | null |
runatlantis__atlantis__6428 | runatlantis/atlantis | 6,428 | defect | 80a7d55e61f97ce90a583c71c74b18b611cfee14 | ed1946aea90d15aecde2cf91e8fabd523687b8de | fix(events): make undiverged honor module autoplanning | ## what
- Make targeted `undiverged` checks use Atlantis project-impact resolution instead of only matching base branch changes against raw `autoplan.when_modified` patterns.
- Reuse the existing configured-project and autodiscovery logic so default branch divergence is evaluated the same way Atlantis decides wheth... | diff --git a/runatlantis.io/docs/command-requirements.md b/runatlantis.io/docs/command-requirements.md
index ae77074fd7..63b59f2c95 100644
--- a/runatlantis.io/docs/command-requirements.md
+++ b/runatlantis.io/docs/command-requirements.md
@@ -230,7 +230,12 @@ patterns to perform a **targeted** divergence check. Instead... | 2 | 2 | 0 | [{"id": "G0", "claim": "HasUndivergedImpact should early-return handled=true, impacted=false when GetDivergedFiles yields no changed files, so it does not always run the module-scanning impactedByModifiedFiles even when nothing diverged.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "i... | null |
rune-rs__rune__408 | rune-rs/rune | 408 | defect | bd33c6b796f676242007fdc1d6bf0fb4559fbc13 | eba323ca11f3277fbb646f47754e5882b4afd326 | Emit doc attributes from doc comments and expose them to CompileVisitor | When encountering comments, the lexer will now attempt to transform them into tokens to later be interpreted as doc attributes should they match the format of Rust's own style of doc comments, as described by [syn::Attribute's doc comments section](https://docs.rs/syn/1.0.98/syn/struct.Attribute.html#doc-comments).
... | diff --git a/crates/rune/src/ast/generated.rs b/crates/rune/src/ast/generated.rs
index 0f70d8752..c43085de1 100644
--- a/crates/rune/src/ast/generated.rs
+++ b/crates/rune/src/ast/generated.rs
@@ -3,7 +3,7 @@ use crate::macros;
use crate::parse;
use std::fmt;
-/// This file has been generated from `assets\tokens.ya... | 2 | 2 | 0 | [{"id": "G0", "claim": "The unterminated-multiline-comment error should be emitted at a later stage, such as during parsing, so that the lexer stays resilient and can be reused for live-editing parsers where comments may be incomplete.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
rune-rs__rune__544 | rune-rs/rune | 544 | defect | d1971eae42081a2fdba728a882454a34b8861417 | 31e1c657aeb3aa5472676fbe6090772ce81b5890 | add `Protocol::TRY` | - [x] added Protocol::TRY and call it in `?`
- [x] add tests
- [x] bikeshed the name
| diff --git a/crates/rune-core/src/protocol.rs b/crates/rune-core/src/protocol.rs
index b3304609a..217cb92cf 100644
--- a/crates/rune-core/src/protocol.rs
+++ b/crates/rune-core/src/protocol.rs
@@ -414,5 +414,19 @@ impl Protocol {
repr: None,
doc: ["Test if the provided argument is a variant."]... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `TRY` protocol entry should have a `repr` of `Some(\"value?\")` instead of `repr: None`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
rune-rs__rune__589 | rune-rs/rune | 589 | defect | ad08e89d92ec56fb01e1ae13699f3f6e20bd5f48 | 3698d713fd7a77ea38bfa8115da914416a9e5395 | Construct external Rust types with named fields | This pull request allows Rune scripts to construct Rust types with named fields, like so:
```rust
#[derive(Default, Debug, Any, PartialEq, Eq)]
#[rune(constructor)]
struct External {
#[rune(get, set)]
suite_name: String,
#[rune(get, set)]
room_number: usize,
}
```
```rust
pub fn main() {
... | diff --git a/crates/rune-macros/src/any.rs b/crates/rune-macros/src/any.rs
index 4f2bb86d5..aee918616 100644
--- a/crates/rune-macros/src/any.rs
+++ b/crates/rune-macros/src/any.rs
@@ -138,7 +138,7 @@ pub(crate) fn expand_install_with(
match &input.data {
syn::Data::Struct(st) => {
- expand_s... | 8 | 8 | 4 | [{"id": "G0", "claim": "The registered constructor only works if the caller supplies field values in declaration order, so field assignments need to be reordered (e.g. by swapping stack values while preserving evaluation order) before the constructor call.", "category": "correctness", "verdict": "supported", "priority"... | null |
rune-rs__rune__682 | rune-rs/rune | 682 | defect | fc2bc0c6b48893b819dc1681ab08a19655ce77b1 | 60d2b374d182e91ff259fae6917889cb694a550f | Fallback to debug-printing generic info | Fixes #681 by falling back to a `<$OBJECT_NAME at $ADDRESS>` style of debug. | diff --git a/crates/rune/src/runtime/value.rs b/crates/rune/src/runtime/value.rs
index 97c526216..6029e73c0 100644
--- a/crates/rune/src/runtime/value.rs
+++ b/crates/rune/src/runtime/value.rs
@@ -852,10 +852,14 @@ impl Value {
}
_ => {
let result =
- vm_try... | 1 | 1 | 0 | [{"id": "G0", "claim": "The debug fallback should not leak real address information via {:p} — maybe print only type info, or something harder to exploit for defeating address-space randomization.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
rune-rs__rune__685 | rune-rs/rune | 685 | defect | 4ff86ea83ef286ba7826ca8693ae1e9e72475bac | 722125a4546dcd619e7403fdf7cc02d45dc8a83a | Generate warnings when using deprecated functions | This PR extends rune with the functionality to emit warnings when deprecated functions are used.
When possible the deprecation warning is created while compilation.
For instance and field functions the warning will only be created/emitted when the VM has a shared Diagnostic struct set. If this diagnostic has not been... | diff --git a/crates/rune/src/compile/context.rs b/crates/rune/src/compile/context.rs
index 226d8c3f0..9e17e87f1 100644
--- a/crates/rune/src/compile/context.rs
+++ b/crates/rune/src/compile/context.rs
@@ -95,6 +95,8 @@ pub struct Context {
item_to_hash: HashMap<ItemBuf, BTreeSet<Hash>>,
/// Registered native ... | 8 | 6 | 3 | [{"id": "G0", "claim": "The nested checks in `Vm::deprecation_check` could use let-else.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `Vm` should get a more generic mechanism for emitting diagnostics - a `VmDiagnostic` trait (e.g. `functio... | null |
rune-rs__rune__904 | rune-rs/rune | 904 | defect | a833d25625fde93de2120ec3e6bca6e6fde293ad | 2803acaa4a1637b0383a1d56afd6a251cda052f4 | Add optional static typing to functions and structs | This tiny PR adds the option for the parser to detect "-> Type" at the end of the function if its detected. | diff --git a/crates/rune/src/ast/item_fn.rs b/crates/rune/src/ast/item_fn.rs
index f49306d01..edc4f9d7c 100644
--- a/crates/rune/src/ast/item_fn.rs
+++ b/crates/rune/src/ast/item_fn.rs
@@ -36,6 +36,10 @@ fn ast_parse() {
assert_eq!(item.attributes.len(), 1);
assert!(item.async_token.is_none());
assert!(i... | 4 | 4 | 3 | [{"id": "G0", "claim": "Type information on struct fields should be held in a single component like Option<(Token![:], ast::Type)> instead of separate optional colon and type fields, and the type should be a real ast::Type supporting paths rather than ast::Ident.", "category": "design", "verdict": "supported", "priorit... | null |
rune-rs__rune__966 | rune-rs/rune | 966 | defect | f80e596a9a71bd1b3a6b09ca7b25066103d268b2 | 9c230ac484c2b206ffab2f9b5d1bd7f1bed659e1 | Add std::f64::consts module and more f64 mathematical functions | Closes #964
See:
* https://doc.rust-lang.org/core/f64/consts/index.html
* https://doc.rust-lang.org/core/primitive.f64.html
* https://doc.rust-lang.org/std/primitive.f64.html | diff --git a/crates/rune/src/compile/context.rs b/crates/rune/src/compile/context.rs
index 638beac54..9f39551d3 100644
--- a/crates/rune/src/compile/context.rs
+++ b/crates/rune/src/compile/context.rs
@@ -365,6 +365,7 @@ impl Context {
this.install(crate::modules::char::module()?)?;
this.install(cra... | 4 | 3 | 1 | [{"id": "G0", "claim": "The doc example on the new ln() function is botched: its example code is not wrapped in a # Examples section with a ```rune code fence, so it reads as plain prose.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The newly ad... | null |
runejs__refactored-client-435__82 | runejs/refactored-client-435 | 82 | defect | 28e607739b41bb4d1ea0894aa52259fa0fedd5fb | d13eaccb26c0488e4df33bea7ae7d5cefdfa906c | refactor: various renaming/deobfusaction refactors | I advise going commit-by-commit if you want to review this, it should be fairly easy to follow!
Tested and working on `server` | diff --git a/src/main/java/org/runejs/client/Class13.java b/src/main/java/org/runejs/client/Class13.java
index fdbbcadf2..94bb1a77b 100644
--- a/src/main/java/org/runejs/client/Class13.java
+++ b/src/main/java/org/runejs/client/Class13.java
@@ -53,7 +53,7 @@ public static void handleRequests(byte arg0) {
for(;... | 3 | 2 | 0 | [{"id": "G0", "claim": "LinkedList.peekFront should be renamed to LinkedList.peekFirst to be in line with the naming of java.util.LinkedList.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The LinkedList method method911, which inserts node arg2... | null |
runelite__runelite__13284 | runelite/runelite | 13,284 | defect | 9588d72a62b6741f0825cb2fa90592f69a54de6d | b0269186b7c8471f0a3c9bdb7c1ee46d107a2d54 | Fix POH altar burners false positive burn message | Closes #13281 | diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/cooking/CookingPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/cooking/CookingPlugin.java
index 19dacaf7b7e..e3d43ac7136 100644
--- a/runelite-client/src/main/java/net/runelite/client/plugins/cooking/CookingPlugin.java
+++ b/... | 2 | 2 | 1 | [{"id": "G0", "claim": "The incense burner message should not be added to the successful cooking messages array; define it and test it separately from that array.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Based on the spreadsheet linked in #13222 t... | null |
runelite__runelite__18180 | runelite/runelite | 18,180 | defect | 573208d6ed9a2adcddbc86f8327d9a1cd730b3d8 | 198e6d3f239643373003c60e23380e112c9c6eb6 | Add varrock armour smelting tracking | A buddy of mine realized that during our smelting grind we were not tracking the number of bars that we smelted with our Varrock platebody. This commit (which is my first time contributing to this community 😄 ) adds that functionality to the smelting tracker. | diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/smelting/SmeltingPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/smelting/SmeltingPlugin.java
index 0937232a761..f941bb4e95f 100644
--- a/runelite-client/src/main/java/net/runelite/client/plugins/smelting/SmeltingPlugin.java
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new Varrock-platebody branch should be folded into the existing \"You retrieve a bar of\" if-condition with an ||, since the body is the same.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
runelite__runelite__18232 | runelite/runelite | 18,232 | defect | 254bc3869c4f42c924ce3a9f9f63df0bff757867 | 7228738a844df9c2e65d8b6d7cebc01ff168d23f | chat commands: add bird's egg sacrifices kc | This adds a chat command to track the kc of bird's eggs sacrificed at the shrine in the woodcutting guild.
Discussion: https://github.com/runelite/runelite/discussions/18230 | diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java
index 8524914f485..91ac7965810 100644
--- a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/... | 5 | 5 | 2 | [{"id": "G0", "claim": "The new constant SACRIFICECOUNT_PATTERN should be named something like BIRD_EGG_OFFERING_PATTERN.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The kill-count name \"Bird's egg sacrifices\" should be \"Bird's egg offerin... | null |
runelite__runelite__18312 | runelite/runelite | 18,312 | defect | 68983a8c95dbf252e29e08884fc13d568f277779 | c9cca48d70f758e47b8a70fbcac98a56d7e3338b | chatcommands: fix gotr above 1000 & clean up the use of replaceAll | Fixes the issue a user reported, their log shows that the value coming in was "1,841".
[client (4).log](https://github.com/user-attachments/files/17106892/client.4.log)
This also removes the uses of replaceAll with replace for instances that regex is not used.
| diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java
index 7a5b18c6f0c..b2c4017a640 100644
--- a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use String#replace instead of replaceAll when removing commas from the parsed Guardians of the Rift kill count, to avoid regex overhead.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
runelite__runelite__18787 | runelite/runelite | 18,787 | defect | 660702f4fd2e794bf0d335c8ba464c521847b7c8 | 1be216c7ffe1a4d608e4c7b655cdf2b5ece8fa2b | item stats: fix ancient brew obo | This PR fixes the statChange filter of lowered stats for Ancient Brews to include stats at level 1.
Fixes #18712 | diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/itemstats/potions/AncientBrew.java b/runelite-client/src/main/java/net/runelite/client/plugins/itemstats/potions/AncientBrew.java
index d82a43cebbf..bbf08e08d63 100644
--- a/runelite-client/src/main/java/net/runelite/client/plugins/itemstats/potions... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add some checks for the changed ancient brew filtering behaviour in the ancient brew test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
runelite__runelite__19970 | runelite/runelite | 19,970 | defect | 167cc76d5223d275bcc99a10c1d68a796a252668 | ed0e5f667632348309450d9f16fa09523cbef10f | screenshot: add delve loot | Takes a screenshot of the loot screen on claim.
closes #19236 | diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotPlugin.java
index 93bc517f118..adb0fc85fc3 100644
--- a/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/Screenshot... | 1 | 1 | 0 | [{"id": "G0", "claim": "The DELVE_LOOT_SCRIPT constant should live in ScriptID named something like DOM_BUILD_LOOT_UI, and the script's last argument, which tells whether the loot has been claimed, could be used instead of checking whether the widget is hidden.", "category": "maintainability", "verdict": "supported", "... | null |
runelite__runelite__20077 | runelite/runelite | 20,077 | defect | befc2bb56b9efc09e888ca4d9158995586a87c48 | 62c0810ae74ab8504f0343baa11a171c7b85ce27 | clue scroll: fix hot/cold steps on leagues | fixes #20073
Fixes the clue scroll plugin to work with hot/cold steps in leagues | diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/ClueScrollPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/ClueScrollPlugin.java
index a4489587d8e..9e4671ef3cb 100644
--- a/runelite-client/src/main/java/net/runelite/client/plugins/cluescrolls/ClueScr... | 3 | 3 | 2 | [{"id": "G0", "claim": "The single-argument forText(String) overload is kept only for the tests and should be deleted, with the tests calling forText(String,int) directly.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The parameter of forText should be ... | null |
runfinch__finch__100 | runfinch/finch | 100 | defect | 184119eb30d0fb52900c0e3e82d0acf220de9f13 | a3ebb53057e4a5e9d8eb9cdac898e8c0e5dd0131 | refactor: Inject version in buildtime | Issue #, if available:
#95
*Description of changes:*
Change `fetch-depth` in actions to get the version from GO buildtime
*Testing done:*
https://github.com/runfinch/finch/actions/runs/3637545601/jobs/6138677221 (e.g., [`v0.1.0-37-g1afbe3a`](https://github.com/runfinch/finch/actions/runs/3637545601/jobs/61386... | diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 4e7255b10..bcf01d3d5 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -34,6 +34,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ pers... | 2 | 2 | 0 | [{"id": "G0", "claim": "The unit-tests job's checkout step does not need the added fetch-depth: 0 / persist-credentials: false block, since unit tests do not use the buildtime version.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment abo... | null |
runfinch__finch__1102 | runfinch/finch | 1,102 | defect | 1b69542af0319ecb1f187c51f0b6da40ef090e05 | c4a6297186b580c34c246774668da3d7bd672a53 | fix(linux): DOCKER_CONFIG path | Issue #, if available:
*Description of changes:*
*Testing done:*
- [x] I've reviewed the guidance in CONTRIBUTING.md
#### License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
| diff --git a/cmd/finch/main_native.go b/cmd/finch/main_native.go
index 708f07591..47e72816b 100644
--- a/cmd/finch/main_native.go
+++ b/cmd/finch/main_native.go
@@ -86,6 +86,7 @@ var newApp = func(
logger,
fp.NerdctlConfigFilePath(),
fp.BuildkitSocketPath(),
+ fp.DockerConfigPath(),
fp.FinchDependencyBinDi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The method should be named DockerConfigDir instead of DockerConfigPath, and a comment should be added explaining that nerdctl uses ${DOCKER_CONFIG}/config.json for authentication with image registries.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
runfinch__finch__315 | runfinch/finch | 315 | defect | b221ea0156476c2c18337a0cfcdd03fa30639596 | 476b269013b814dd76013dc6bad358970f56c254 | fix: Correctly set and pick up environment variables | Issue #, if available:
Currently the environment variable is set in `/root/.bashrc` so that it is [not easily accessible](https://superuser.com/questions/1254422/linux-sudo-env-does-not-have-environment-variable-while-root-user-has) by regular users even by specifying `sudo -E`. Normally we would access the VM by regu... | diff --git a/cmd/finch/main.go b/cmd/finch/main.go
index a93cf811b..5c68b5517 100644
--- a/cmd/finch/main.go
+++ b/cmd/finch/main.go
@@ -117,7 +117,7 @@ func virtualMachineCommands(
logger,
optionalDepGroups,
config.NewLimaApplier(fc, fs, fp.LimaOverrideConfigPath()),
- config.NewNerdctlApplier(fssh.NewDialer... | 5 | 4 | 1 | [{"id": "G0", "claim": "E2e tests covering the logout/verify-config/login/verify-config flow should be added to the finch repo, since this behavior is finch specific.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A comment explaining why the host user'... | null |
runfinch__finch__344 | runfinch/finch | 344 | defect | 9fed740eb35b3c2682d38291d2f75d90d96e76ae | 5f12ef322d08cfaaf4a23eddd2859a8fb98f0ee1 | test: add vm init and start benchmarking | *Description of changes:*
https://github.com/runfinch/finch/issues/345
Basic vm init and start benchmarking without automation, mainly for barebone example.
More scenarios like finch pull/build can be added later on top of this.
It can be added to CI later by integrating this continuous benchmark Github [acti... | diff --git a/Makefile b/Makefile
index 81839e8b7..425eff1e6 100644
--- a/Makefile
+++ b/Makefile
@@ -252,6 +252,13 @@ test-e2e-container:
test-e2e-vm:
go test -ldflags $(LDFLAGS) -timeout 45m ./e2e/vm -test.v -ginkgo.v --installed="$(INSTALLED)"
+.PHONY: test-benchmark
+test-benchmark: test-benchmark-vm
+
+.PHONY:... | 2 | 1 | 0 | [{"id": "G0", "claim": "The pull request has linting issues that should be fixed (approval was conditional on fixing them).", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "unclear"}, {"id": "G1", "claim": "An example of what the benchmark output would look like should be posted (the... | null |
runfinch__finch__510 | runfinch/finch | 510 | defect | b094751d3ba56c7855fc6f3af7b8bef2618a7206 | 3e402d63ed87bac61361a5c2cd8edaa9d283b4e2 | fix: ecr creds helper and credential_process | Issue #, if available: #656
*Description of changes:*
- invoke `aws configure export-credentials --format process` before running any commands that could need credentials (build, pull, push)
- Pass the results into the VM in the as environment variables if the command returns output
- Not every user may h... | diff --git a/cmd/finch/main.go b/cmd/finch/main.go
index 57d6079a7..d7a5d36bb 100644
--- a/cmd/finch/main.go
+++ b/cmd/finch/main.go
@@ -101,7 +101,7 @@ var newApp = func(logger flog.Logger, fp path.Finch, fs afero.Fs, fc *config.Fin
)
// append nerdctl commands
- allCommands := initializeNerdctlCommands(lcc, log... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pull request should use aws-sdk-go-v2 instead of aws-sdk-go v1 for the credentials values it borrows.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
runfinch__finch__619 | runfinch/finch | 619 | defect | 19c70548a6487bed33dac5072108a10cd6129652 | 6955867d805ba0a8bdbb96a1d5f89315dccabfdb | fix: wsl custom ip mapping | Issue #, if available:
*Description of changes:*
- resolve `host-gateway` ip address of "vEthernet (WSL) interface used for connecting from wsl to host.
- this change allows accessing networking apps on windows hosts from finch vm.
*Testing done:*
- Unit tests
- e2e test with [host-gateway](https://github.com/... | diff --git a/cmd/finch/main.go b/cmd/finch/main.go
index 5fae3798c..f47f0bad7 100644
--- a/cmd/finch/main.go
+++ b/cmd/finch/main.go
@@ -113,7 +113,7 @@ var newApp = func(
)
// append nerdctl commands
- allCommands := initializeNerdctlCommands(lcc, logger, fs)
+ allCommands := initializeNerdctlCommands(ecc, lcc, ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The ecc parameter of resolveIP in cmd/finch/nerdctl_darwin.go is unused and should be replaced with _ as proposed in the suggestion block.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
runfinch__finch__673 | runfinch/finch | 673 | defect | 0525753105403e27e5d1372588c0c87aa6b6cbe6 | 939ba77601a9d579bbf406264b9119e44982be83 | fix: improve creds helper UX | Issue #, if available:
*Description of changes:*
- Make it so aws configure is also run on the run command, since that may invoke a pull
- Clean up code and consider `config.json`'s state when checking if the cred helper is "installed" or not
- TODO: remove need for var overriding to facilitate testing
*Testin... | diff --git a/cmd/finch/nerdctl.go b/cmd/finch/nerdctl.go
index bcf5ccde1..2a54d0bca 100644
--- a/cmd/finch/nerdctl.go
+++ b/cmd/finch/nerdctl.go
@@ -173,7 +173,7 @@ func (nc *nerdctlCommand) run(cmdName string, args []string) error {
var additionalEnv []string
switch cmdName {
- case "build", "pull", "push":
+ ca... | 5 | 5 | 2 | [{"id": "G0", "claim": "The defer that closes the opened config file sits below two early-return error paths, so the file is leaked when reading or unmarshalling fails; it should be moved up right after the Open.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
runfinch__finch__712 | runfinch/finch | 712 | defect | 4d1e6cf6d8f4b6f2cbdf0229e8dcf4ad0c80d80c | 05cdd112b50d472da59eb8370980a298c09f6e23 | fix: Use LimaUser method instead of host user name | Issue #, if available: #399
*Description of changes:*
In `nerdctl_config_applier.go`, editing `.bashrc` uses a file path based on the host's username. However, if the host's username contains `.` or `@`, lima uses `lima` as the username instead of the host's username.
(ref: https://github.com/lima-vm/lima/blob/a8... | diff --git a/cmd/finch/main.go b/cmd/finch/main.go
index d7a5d36bb..5344be673 100644
--- a/cmd/finch/main.go
+++ b/cmd/finch/main.go
@@ -90,6 +90,7 @@ var newApp = func(logger flog.Logger, fp path.Finch, fs afero.Fs, fc *config.Fin
fp.QEMUBinDir(),
system.NewStdLib(),
)
+ lima := wrapper.NewLimaWrapper()
supp... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test in nerdctl_config_applier_test.go covering the case where the local (host) user is not a valid linux username.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
runmat-org__runmat__107 | runmat-org/runmat | 107 | defect | 7acc386b7fecb4964b88416de1f5beb79e922a40 | bb9e6335679f4a891b2fbba80599b5f5a993a359 | refactor: removed runmat-repl crate; moved relevant code to cli and core | This PR removes the runmat-repl crate and consolidates its functionality into runmat-cli and runmat-core, simplifying the workspace structure.
Changes:
- Removed the runmat-repl crate entirely (Cargo.toml, lib.rs, main.rs)
- Migrated REPL engine logic: runmat-core::RunMatSession now serves as the REPL engine (al... | diff --git a/Cargo.lock b/Cargo.lock
index e0a48acff1..3c46f1c5c8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5903,13 +5903,13 @@ dependencies = [
"runmat-accelerate-api",
"runmat-builtins",
"runmat-config",
+ "runmat-core",
"runmat-gc",
"runmat-hir",
"runmat-ignition",
"runmat-kernel",
"runmat-parser"... | 2 | 1 | 0 | [{"id": "G0", "claim": "Piped REPL usage should consider printing nothing on the stdout stream (and likewise stderr) so that user code is the only thing that writes to those streams.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The moved test files sho... | null |
runmat-org__runmat__173 | runmat-org/runmat | 173 | defect | 959b3be6bd2cacdfad3406ce778446f3fb8ae089 | d470774443dd8b1ffac1e65ad4d89eb32037573a | Slice index issue status | Align `colon` operator and array indexing semantics with MATLAB for `start:end` ranges where `start > end`.
Previously, `colon(start, end)` would automatically infer a `-1` step if `start > end`, producing a descending sequence. When this sequence was used for array indexing, the `0` value would cause an `IndexOutOfBo... | diff --git a/crates/runmat-ignition/tests/matrix_slicing.rs b/crates/runmat-ignition/tests/matrix_slicing.rs
index f10f829c48..153d6dd909 100644
--- a/crates/runmat-ignition/tests/matrix_slicing.rs
+++ b/crates/runmat-ignition/tests/matrix_slicing.rs
@@ -56,3 +56,52 @@ fn basic_matrix_and_slices() {
panic!("Ex... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `infer_range_shape` function in shape_rules.rs still infers `step = -1.0` when `end < start` for two-argument colon, while the runtime's `default_step` now always returns `+1.0`, causing the type system to predict a non-empty shape (e.g., `[1, 5]` for `5:1`) when the runtime actually produce... | null |
runmat-org__runmat__96 | runmat-org/runmat | 96 | defect | d42a3f71da78b88a53baa239cda41cef27bd2cbc | 8716d25f69f0d1440eb194e784b9946fe1858a24 | Fix transpose operator semantics and unify transpose implementation | Summary
- Split postfix transpose handling so A' compiles to a new ConjugateTranspose instruction that dispatches to the ctranspose builtin, while A.' keeps using transpose; accel graph
treats both as transpose ops for fusion.
- Routed the transpose operator through the builtin implementation for consisten... | diff --git a/crates/runmat-ignition/src/accel_graph.rs b/crates/runmat-ignition/src/accel_graph.rs
index 9b417434a8..75a42b0d09 100644
--- a/crates/runmat-ignition/src/accel_graph.rs
+++ b/crates/runmat-ignition/src/accel_graph.rs
@@ -116,7 +116,7 @@ impl<'a> GraphBuilder<'a> {
Instr::NotEqual => self.hand... | 3 | 3 | 0 | [{"id": "G0", "claim": "The tests added by the pull request should be formatted as multi-line statements for readability, except where explicitly testing `\\n` behavior.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The transpose() site in lib.... | null |
runpod__runpod-python__467 | runpod/runpod-python | 467 | defect | cc05a5bec7a81fd809b3a40c73e47f4316de1de4 | 3f29b04f2a1812dc2d3d978eed22864a86d6e71e | test(performance): add cold start benchmarking infrastructure | Performance benchmarking tools for measuring and comparing cold start times across different code changes.
Instructions inside scripts/README.md | diff --git a/.gitignore b/.gitignore
index 36fa868c..eb63accf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -141,3 +141,4 @@ runpod/_version.py
.runpod_jobs.pkl
*.lock
+benchmark_results/
diff --git a/scripts/README.md b/scripts/README.md
new file mode 100644
index 00000000..cfa29e64
--- /dev/null
+++ b/scripts/READM... | 2 | 2 | 1 | [{"id": "G0", "claim": "The median calculation is incorrect for even-length lists: it returns only one of the two middle values instead of their average.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The usage error message says 'python' while the ... | null |
runreveal__kawa__70 | runreveal/kawa | 70 | defect | 3d9596564ff7af89f2226dfe55041951306c6480 | f175866933c4621173893fa9fab20abbfb5be989 | Df/improve watchdog idle | Update the watchdog timer to more accurately detect deadlocks.
The changes here are twofold:
1) Update the watchdog to be able to tell between a deadlock (flushes are stuck, and not respecting the flush timeout context cancellation), and an idle system. It does this by only throwing a deadlock error if there are... | diff --git a/x/batcher/batcher.go b/x/batcher/batcher.go
index d7801c6..1cb6491 100644
--- a/x/batcher/batcher.go
+++ b/x/batcher/batcher.go
@@ -295,6 +295,7 @@ func (d *Destination[T]) Run(ctx context.Context) error {
var wdChan <-chan time.Time
var wdTimer *time.Timer
+ wdResetC := make(chan struct{}, 10) // bu... | 4 | 3 | 0 | [{"id": "G0", "claim": "Size the wdResetC buffer from the flush parallelism instead of the magic number 10.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The wdResetC branch need not do a non-blocking read of the timer channel; since it only dr... | null |
runtipi__runtipi__1366 | runtipi/runtipi | 1,366 | defect | a4d1f14c9633afbdfc30b1299fef550294aceb3c | bac0a0ec06288489828e6405a473073e4daec03f | feat: app restart button |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added a new "Restart" action for applications, allowing users to restart their apps directly from the dashboard.
- Introduced a `RestartModal` component for better user interaction during app ... | diff --git a/packages/shared/src/schemas/queue-schemas.ts b/packages/shared/src/schemas/queue-schemas.ts
index 2a291d8002..d0ba666ed3 100644
--- a/packages/shared/src/schemas/queue-schemas.ts
+++ b/packages/shared/src/schemas/queue-schemas.ts
@@ -17,6 +17,7 @@ const appCommandSchema = z.object({
z.literal('uninsta... | 6 | 2 | 1 | [{"id": "G0", "claim": "The environment-file regeneration logic is duplicated inside restartApp and could be refactored into a separate method to avoid duplication and improve maintainability.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Errors ... | null |
runtipi__runtipi__1445 | runtipi/runtipi | 1,445 | defect | 3a72fa4129fd9bc2e7c4f22b8ef1802bed304690 | f944b7825c15a94b81cbc6d1ab202f745349574e | feat: view app logs in dashboard | Iteration over https://github.com/runtipi/runtipi/pull/1369 by @MontejoJorge
Resolves #1006 | diff --git a/packages/shared/src/schemas/socket-schemas.ts b/packages/shared/src/schemas/socket-schemas.ts
index 21f22356a5..d009d0028f 100644
--- a/packages/shared/src/schemas/socket-schemas.ts
+++ b/packages/shared/src/schemas/socket-schemas.ts
@@ -28,10 +28,11 @@ export const socketEventSchema = z.union([
}),
... | 10 | 3 | 1 | [{"id": "G0", "claim": "The useEffect in useSocket runs with an empty dependency array while using the new props; all relevant dependencies (onEvent, onError, onCleanup, selector, initialData, emitOnConnect, emitOnDisconnect) should be listed to avoid stale-closure bugs.", "category": "correctness", "verdict": "uncerta... | null |
runtipi__runtipi__1475 | runtipi/runtipi | 1,475 | defect | 9836563aaa77fd9d8df21a783c67ff71a033e673 | e6914d1ce47587772e70fe8a150a0560982aa36f | feat(worker): add support for docker-compose.arm64.json files |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Enhanced the application to automatically detect and handle architecture-specific Docker Compose files (`docker-compose.yml` and `docker-compose.arm64.yml`).
- **Bug Fixes**
- Improved file ... | diff --git a/packages/worker/src/services/app/app.executors.ts b/packages/worker/src/services/app/app.executors.ts
index 52789a7160..91809847b8 100644
--- a/packages/worker/src/services/app/app.executors.ts
+++ b/packages/worker/src/services/app/app.executors.ts
@@ -58,9 +58,12 @@ export class AppExecutors {
*/
... | 3 | 2 | 0 | [{"id": "G0", "claim": "Use strict equality (===) instead of == when comparing arch to 'arm64', as == can lead to unexpected type coercion and Biome flags it as an error.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The architecture-based dock... | null |
runtipi__runtipi__1568 | runtipi/runtipi | 1,568 | defect | b0c91bb890303b5ef1605f1a375b79720aee5940 | da98a90514c402dfa749effa72e64e6be987d617 | fix(backups): use streaming to allow large files backups |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced an option for users to decide on backing up their app before updates.
- Added new schemas to enhance event handling for app updates.
- New state management for backup options in the... | diff --git a/packages/shared/src/schemas/queue-schemas.ts b/packages/shared/src/schemas/queue-schemas.ts
index 88039d0af8..25f5a873d5 100644
--- a/packages/shared/src/schemas/queue-schemas.ts
+++ b/packages/shared/src/schemas/queue-schemas.ts
@@ -8,6 +8,17 @@ export const EVENT_TYPES = {
export type EventType = (typ... | 7 | 2 | 1 | [{"id": "G0", "claim": "Not all calls to dispatchEventAsync pass the new timeout parameter, which could lead to inconsistencies in handling long-running operations; all instances should be updated.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Some... | null |
runtipi__runtipi__1681 | runtipi/runtipi | 1,681 | defect | f72ab67ea8554d034a7708108f8d2a37f673328d | 5e602216f920e504a30f1195e88e0c498b148925 | Release/3.6.1 sync with develop |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
## Release Notes
- **New Features**
- Enhanced Docker Hub authentication and Buildx setup in release workflows for improved deployment processes.
- **Bug Fixes**
- Improved error handling in the `getInstalledApp... | diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml
index 638fc1643a..bfc5c1292a 100644
--- a/docker-compose.prod.yml
+++ b/docker-compose.prod.yml
@@ -32,7 +32,7 @@ services:
POSTGRES_USER: tipi
POSTGRES_DB: tipi
healthcheck:
- test: ['CMD-SHELL', 'pg_isready -d tipi -U tipi']
+ ... | 3 | 1 | 0 | [{"id": "G0", "claim": "Remove the duplicate declaration of APPS_REPO_ID from the ProcessEnv interface in packages/worker/src/types/global.d.ts to keep the code clean and maintainable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Logging the e... | null |
runtipi__runtipi__1685 | runtipi/runtipi | 1,685 | defect | 634a2bb42afc819105def11e30ae042c1a173abe | b4ccdf370ecf8c14260b4848aebf32aef35cb540 | Added new `interface` key to ports in the dynamic compose | # Changes
This PR implements an `interface` key when defining ports for an app with the dynamic compose. It is useful for apps like adguard, so they can bind to one specific interface (as opposed to all, which is the default).
# Example usage
```json
...
"addPorts": [
{
"hostPort": 53,
"co... | diff --git a/packages/worker/src/config/__tests__/docker-templates.test.ts b/packages/worker/src/config/__tests__/docker-templates.test.ts
index 9ba25b25eb..1624757a7b 100644
--- a/packages/worker/src/config/__tests__/docker-templates.test.ts
+++ b/packages/worker/src/config/__tests__/docker-templates.test.ts
@@ -49,6 ... | 1 | 1 | 1 | [{"id": "G0", "claim": "If the APP_PORT environment variable is not set or set to an invalid value, `Number('${APP_PORT}')` evaluates to NaN, which could lead to unexpected behaviour for hostPort; a fallback value should be added to ensure a valid number is always used.", "category": "correctness", "verdict": "supporte... | null |
runtipi__runtipi__1835 | runtipi/runtipi | 1,835 | defect | 8f880d94336b16a060e46a0a94228617882ee0fa | 912d6961969fbf4596ec936bac07dc044490636a | Chore/various improvements |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Enhanced Docker command error handling with custom configuration feedback.
- Improved logging integration in the QueueFactory for better error visibility.
- **Bug Fixes**
- Streamlined databa... | diff --git a/e2e/helpers/db.ts b/e2e/helpers/db.ts
index abf744f6f4..f33f375e1a 100644
--- a/e2e/helpers/db.ts
+++ b/e2e/helpers/db.ts
@@ -1,14 +1,9 @@
import { drizzle } from 'drizzle-orm/node-postgres';
-import { Pool } from 'pg';
import * as schema from '../../packages/backend/src/core/database/drizzle/schema';
... | 5 | 1 | 1 | [{"id": "G0", "claim": "After replacing the explicit pg Pool with a direct drizzle connection string, ensure that drizzle handles connection pooling and that error handling for database connections is appropriately implemented, since the previous pool event listeners were removed (DatabaseService in production and the ... | null |
runtipi__runtipi__1901 | runtipi/runtipi | 1,901 | defect | a2332afe0e964b5f4e06324a505adad6c0a72686 | 4c3da544d3780865808208a93d56e63632fd5c11 | Release/3.8.2 |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
## Release Notes v3.8.2
- **Version Update**
- Upgraded package version to 3.8.2
- **Logging Improvements**
- Refined logging configuration for enhanced message clarity
- **Docker Configuration**
- Added flex... | diff --git a/package.json b/package.json
index b536e3c60d..0db65c479f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "runtipi",
- "version": "3.8.1",
+ "version": "3.8.2",
"description": "",
"packageManager": "pnpm@9.12.2",
"scripts": {
diff --git a/packages/backend/src/core/logge... | 5 | 1 | 1 | [{"id": "G0", "claim": "Using `name` instead of `container_name` is incorrect for Docker container naming; change `name` back to `container_name` in the built service.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The network override for main serv... | null |
runtipi__runtipi__1994 | runtipi/runtipi | 1,994 | defect | 9564a8a4120bf61eec8d69500c3759e075daa584 | 3bf85db74a60bc23045aff16fb31bdf321e13881 | Release/3.9.4 |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **Chores**
- Bumped the application version to 3.9.4.
- Updated the dependency installation process for better management and consistency.
- **Refactor**
- Streamlined caching logic by removing the dependency ... | diff --git a/.github/actions/install-dependencies/action.yml b/.github/actions/install-dependencies/action.yml
new file mode 100644
index 0000000000..7944e07af1
--- /dev/null
+++ b/.github/actions/install-dependencies/action.yml
@@ -0,0 +1,36 @@
+name: Install dependencies
+
+description: Install dependencies
+
+runs:
... | 4 | 2 | 0 | [{"id": "G0", "claim": "Creating a temporary DatabaseSync instance per getByPrefix call may cause inconsistent state under concurrent file access; reuse the shared connection or add file-level locks.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
runtipi__runtipi__2028 | runtipi/runtipi | 2,028 | defect | 5e341cde40b92d89b0c34aac1f31ec2497b8de0f | 65f6cb0239acf916fb1719bd01c9fd0fa57f8400 | refactor(queue): move rabbitmq from runtipi to external container |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Integrated RabbitMQ configuration for enhanced connectivity.
- Enhanced health monitoring capabilities for improved system reliability.
- **Refactor**
- Streamlined container startup comman... | diff --git a/Dockerfile b/Dockerfile
index 4ef3b67d67..104bc476f2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,7 +17,7 @@ RUN pnpm fetch
# ---- RUNNER BASE ----
FROM node_base AS runner_base
-RUN apk add --no-cache curl openssl git rabbitmq-server supervisor
+RUN apk add --no-cache curl openssl git
# ---- BUI... | 7 | 1 | 1 | [{"id": "G0", "claim": "The test's mock ConfigurationService lacks the RabbitMQ queue settings, which is likely causing the CI pipeline failure; update the mock to include the queue connection parameters.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "i... | null |
runtipi__runtipi__2286 | runtipi/runtipi | 2,286 | defect | 00025271aca745ebcfac1fb14e5e87a8d6274361 | 7c7c463e038db7a8179d35f1618618ef18e32a1c | refactor(app-events-queue): enable multi workers in app events queue |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Improved handling of concurrent app events to prevent overlapping operations.
* Expanded subnet allocation range for network management, allowing more subnets and better exhaustion handling.
... | diff --git a/packages/backend/src/app.module.ts b/packages/backend/src/app.module.ts
index b190c82eeb..32bbec6665 100644
--- a/packages/backend/src/app.module.ts
+++ b/packages/backend/src/app.module.ts
@@ -30,6 +30,7 @@ import { QueueModule } from './modules/queue/queue.module';
import { SystemModule } from './module... | 12 | 3 | 2 | [{"id": "G0", "claim": "The 0026 migration's blanket `UPDATE \"app\" SET \"subnet\" = NULL` wipes the subnet allocation of every existing app and could break app networking, so it should only clear truly duplicate subnets and reallocate the rest afterwards.", "category": "correctness", "verdict": "supported", "priority... | null |
runtipi__runtipi__2318 | runtipi/runtipi | 2,318 | defect | a56f56b0b1cebfcc99d862db5f74ae080251c2d3 | 3bfdb35908e69a280207f532f903a1cec91d550d | refactor: rework debug actions |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- New Features
- Added “Increment all app versions” action in the Developer Tools panel, with success/error feedback. Available to authorized users.
- Style
- Redesigned Developer Tools panel to a cleaner card lay... | diff --git a/packages/backend/src/metadata.ts b/packages/backend/src/metadata.ts
index 04404f5dd4..2572d7cf02 100644
--- a/packages/backend/src/metadata.ts
+++ b/packages/backend/src/metadata.ts
@@ -11,5 +11,5 @@ export default async () => {
["./modules/system/dto/system.dto"]: await import("./modules/system/d... | 17 | 1 | 0 | [{"id": "G0", "claim": "metadata.ts still lists an updateAllAppVersions method under DebugController although there is no corresponding controller method or swagger.json path; the obsolete entry should be deleted (keeping methods with actual routes such as incrementAllAppVersions) so the generated OpenAPI metadata stay... | null |
runtipi__runtipi__2418 | runtipi/runtipi | 2,418 | defect | ebf6c14e7c73dc6faa033554fbe3a0ae05f80994 | 1e14d1e94815e0ab96a514ddbc0265709d063e9a | feat: use cards across the app containers for a more consistent design |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- App User Config: added enable/disable switch and Save button; editor tabs reorganized under controls for a clearer workflow.
- **Style**
- App Logs and App User Config use a card-based layout... | diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000000..7d5fd6267a
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,8 @@
+{
+ "useTabs": false,
+ "tabWidth": 2,
+ "endOfLine": "lf",
+ "printWidth": 150,
+ "singleAttributePerLine": false,
+ "singleQuote": true
+}
diff --git a/packages/common/src/sc... | 2 | 2 | 2 | [{"id": "G0", "claim": "The Zod schema still defaults categories to [] while the Ark schema now defaults it to ['utilities'], an inconsistency that will cause divergent behavior depending on which schema is used, so the Zod schema should be synchronized (or the Ark change reverted).", "category": "correctness", "verdic... | null |
runtipi__runtipi__2487 | runtipi/runtipi | 2,487 | defect | 6140839fc3691f9e2d54a95c9bc390020174a1b3 | 3a27826cbfa71578824ab95afa41939003e205c2 | fix: use plain unix timestamps for db created_at updated_at | This pull request standardizes the handling of timestamps across the backend by switching all `createdAt` and `updatedAt` fields from string-based timestamps to integer UNIX epoch seconds. It updates the database schema, TypeScript models, repositories, and test helpers to support this change, ensuring consistency and ... | diff --git a/packages/backend/src/core/database/drizzle/0030_redundant_bloodaxe.sql b/packages/backend/src/core/database/drizzle/0030_redundant_bloodaxe.sql
new file mode 100644
index 0000000000..81076dc251
--- /dev/null
+++ b/packages/backend/src/core/database/drizzle/0030_redundant_bloodaxe.sql
@@ -0,0 +1,16 @@
+ALTE... | 4 | 3 | 1 | [{"id": "G0", "claim": "Remove the `timestamp` import from drizzle-orm/pg-core in schema.ts, which is no longer used after converting all timestamp fields to integers and is flagged by the pipeline.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
runtipi__runtipi__2586 | runtipi/runtipi | 2,586 | defect | 49128dce31c1cd483da79c959a8ffae2286b65c0 | df86e95d8e9ad7028e1aab20c592236202e5765b | fix: allow extra top-level keys in custom docker compose yaml |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* Fixed loss of custom YAML configuration sections (e.g., `volumes`) when creating and editing multi-service applications; these sections are now properly preserved during save operations.
* **Test... | diff --git a/packages/frontend/src/components/multi-service-form/compose-editor.tsx b/packages/frontend/src/components/multi-service-form/compose-editor.tsx
index d4676177ce..63b46112c5 100644
--- a/packages/frontend/src/components/multi-service-form/compose-editor.tsx
+++ b/packages/frontend/src/components/multi-servi... | 6 | 2 | 2 | [{"id": "G0", "claim": "composeExtras is never reset on the custom-app create route, so navigating from an edit flow to custom app creation can silently merge stale top-level keys (e.g. volumes/networks) from a previously viewed app into the new app's config.", "category": "correctness", "verdict": "supported", "priori... | null |
runtipi__runtipi__2593 | runtipi/runtipi | 2,593 | defect | 1dbd49e462ee0b590d1beec05334e48f80d39c0c | cfb802cf695a2095adf83e050b0466c17c70caf1 | refactor(scheduler): replace node-cron with custom integration | node-cron has a bug that is still not fixed that will make servers use 100% CPU and ultimately crash the container on DST time change
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Chores**
* Updated backend scheduling library and refactored the scheduling s... | diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000000..0f6f7f1138
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,4 @@
+- The dev server is running at http://localhost:3000
+- Credentials :
+ - Username: test@test.com
+ - Password: password
diff --git a/bun.lock b/bun.lock
index 7c1ebd919f..88cc251db4 100... | 6 | 1 | 1 | [{"id": "G0", "claim": "Avoid committing plaintext credentials (test@test.com / password) in the repository docs AGENTS.md, even for local/dev use.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Drop the explicit return type annotation on scheduleCron,... | null |
runtipi__runtipi__2596 | runtipi/runtipi | 2,596 | defect | 1ea28fb3e94958d447699c2ac0d986de9dab5992 | 88c7035707c17a4e37751514ead5e3ce7fbcd634 | fix(security): isolate forward auth from dashboard sessions |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added forward authentication support for reverse proxy integrations.
* Guest dashboard visibility is now configurable.
* Login and TOTP flows now support optional redirect URLs for seamless... | diff --git a/docs b/docs
index ee611e0495..e7fa395e49 160000
--- a/docs
+++ b/docs
@@ -1 +1 @@
-Subproject commit ee611e04956633076597ac9ca88c5d31a615ade4
+Subproject commit e7fa395e49a735b50eb7edc04af4f30c1d3d8b2d
diff --git a/packages/backend/src/@types/express/index.d.ts b/packages/backend/src/@types/express/index.d... | 13 | 5 | 5 | [{"id": "G0", "claim": "Upgrades can leave a legacy domain-scoped `runtipi-sid` cookie that duplicates the new host-only one; since `cookie-parser` keeps the first value and `AuthMiddleware` evaluates only that one, a stale legacy cookie can mask the fresh login until it expires, so the old domain-scoped session cookie... | null |
runtipi__runtipi__2600 | runtipi/runtipi | 2,600 | defect | 03c0d50400bc5ec5380e6034bc7904ea0fcc7532 | dfaa9f02361b562099d2817698016fb97d5e9359 | fix(auth): support trusted proxy IPs for forwarded headers | Trust internal CIDR by default
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Support for configuring trusted proxy IPs for Traefik; applied to both web and websecure forwarded headers.
* Trusted-proxy values can be supplied via environment... | diff --git a/packages/backend/assets/traefik/traefik.yml b/packages/backend/assets/traefik/traefik.yml
index 49ffb32cd0..3d281ae653 100644
--- a/packages/backend/assets/traefik/traefik.yml
+++ b/packages/backend/assets/traefik/traefik.yml
@@ -14,8 +14,24 @@ providers:
entryPoints:
web:
address: ":80"
+ forw... | 3 | 2 | 2 | [{"id": "G0", "claim": "In writeTraefikConfig, assigning `parsed.entryPoints[entrypoint].forwardedHeaders = { trustedIPs }` replaces the entire forwardedHeaders object, so pre-existing keys of the source Traefik config (e.g. insecure) are silently dropped; it should merge trustedIPs into the existing object instead of ... | null |
runtypes__runtypes__122 | runtypes/runtypes | 122 | defect | 9e4cfed4512aacd9af53e3c7d2afbba618c311b6 | 179f5689a4e849f47ece065b2a60ee2146b3a458 | Created asyncContract | Implementation of the AsyncContract sketched out as a potential solution for #114.
I didn't see any contributing guidelines; is this reasonable in terms of style/content as a PR? | diff --git a/src/asynccontract.spec.ts b/src/asynccontract.spec.ts
new file mode 100644
index 00000000..334ca1ec
--- /dev/null
+++ b/src/asynccontract.spec.ts
@@ -0,0 +1,29 @@
+import { AsyncContract, Number } from '.';
+import { ValidationError } from './errors';
+
+describe('AsyncContract', () => {
+ describe('when ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The line `await expect(contractedFunction()).rejects;` does not test what is wanted; the test should await the call inside a try block, fail if it resolves, and assert the caught error is an instance of ValidationError.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": ... | null |
runtypes__runtypes__149 | runtypes/runtypes | 149 | defect | ea729742b52c7ec22e9f1aac2ff0213ac485169f | 79d538630beabfb8112e8e62a5b7dd65eb4b082e | Implement Discriminated Unions | First of all, AWESOME library! One thing has been bugging me about it though and its support for Discriminated Unions.
This is my attempt on addressing it, and I've seen similar issues being raised too.
So with this PR, when those conditions are met:
- all the alternatives of a union are records
- they have at ... | diff --git a/src/types/union.spec.ts b/src/types/union.spec.ts
index 322009ea..907a459d 100644
--- a/src/types/union.spec.ts
+++ b/src/types/union.spec.ts
@@ -1,4 +1,4 @@
-import { Union, String, Literal } from '..';
+import { Union, String, Literal, Record, Number, InstanceOf } from '..';
const ThreeOrString = Unio... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `alternatives.length > 1 &&` condition guarding the discriminated-union fast path in Union is unnecessary and, for simplicity's sake, should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
runtypes__runtypes__153 | runtypes/runtypes | 153 | defect | aaed8327e4ee35c6682701123ff3285d23f2a95a | 974ffc061ae7edb2578bd161f275e9ce2b7c240d | Merge Record and Partial | This seems to work, but I have some questions/concerns:
- The test stuff is completely arbitrary and I don't know if what I've done really follows the intent
- Not sure I named things the way you like - I decided to just be symmetric with `Record`
- Now `partial.ts` is basically a carbon copy of `record.ts`...it's... | diff --git a/src/index.spec.ts b/src/index.spec.ts
index 0000cc40..4708b01b 100644
--- a/src/index.spec.ts
+++ b/src/index.spec.ts
@@ -169,6 +169,9 @@ const runtypes = {
Ambi,
BarbellBall,
PartialPerson,
+ ReadonlyPartial: Record({ foo: Number })
+ .asReadonly()
+ .And(RTPartial({ bar: String }).asReado... | 5 | 3 | 2 | [{"id": "G0", "claim": "Record should take an optional argument marking it as partial, with Partial being an alias to Record with that flag set, instead of partial.ts being a carbon copy of record.ts.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The neste... | null |
runtypes__runtypes__17 | runtypes/runtypes | 17 | defect | bcc0536954a6471e3c340095168c5acec839f942 | 71cce169476767fbb087b125e1326b5fd034720c | feat(types/custom.ts): Add Custom(or Brand) type | Rethinking approach from https://github.com/pelotom/runtypes/pull/16
PR added `Custom`(maybe `Brand` or `Predicate`?) type. See example: https://github.com/typeetfunc/runtypes-generate/blob/master/src/custom.spec.ts#L23
Main idea: give an opportunity to create user-defined types with any predicate. But unlike `Constr... | diff --git a/lib/index.d.ts b/lib/index.d.ts
index 47059366..28dccdbb 100644
--- a/lib/index.d.ts
+++ b/lib/index.d.ts
@@ -19,3 +19,4 @@ export * from './types/intersect';
export * from './types/function';
export * from './types/lazy';
export * from './types/constraint';
+export * from './types/custom';
diff --git a... | 3 | 3 | 1 | [{"id": "G0", "claim": "The `constraint` callback does not need an `args` parameter, since it is already defined within the scope of `args` in the `Custom` signature.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `tag` of a Custom type should just b... | null |
runtypes__runtypes__23 | runtypes/runtypes | 23 | defect | 0790561d478cc05fc6f4fbc7049faf301cbfc243 | 9d420096ce1601249f2a2cb03e3b9a680afe1f1d | Attempting to add an InstanceOf runtype | Towards resolving: Issue #22
Not mergeable yet -- but here's a first attempt to add a InstanceOf runtype. The tests I added pass but I'm not entirely sure I'm taking the right approach to this... I'm new to typescript still and this level of metaprogramming is a little confusing -- though this project's code is s... | diff --git a/lib/index.d.ts b/lib/index.d.ts
index 47059366..3d03650b 100644
--- a/lib/index.d.ts
+++ b/lib/index.d.ts
@@ -19,3 +19,4 @@ export * from './types/intersect';
export * from './types/function';
export * from './types/lazy';
export * from './types/constraint';
+export * from "./types/instanceof";
diff --g... | 2 | 1 | 1 | [{"id": "G0", "claim": "The `instanceof` runtype's `ctor` should be typed as a plain constructor (`Function`) rather than `Reflect`, since a constructor is not a runtype and has no reflection; the spec's static reflection union should use `InstanceOf<Function>` and the instanceof case should be checked with `check<type... | null |
runtypes__runtypes__51 | runtypes/runtypes | 51 | defect | ea4329076efa58872d81b5abc35a027586aa3226 | 27062e82f9f510649c6d202dedb6788d0eca7b38 | More descriptive errors | Goal was to improve the legibility of error messages, with emphasis on nested complex types.
There are things that could be improved further, for example, in union types errors from all attempts should be captured, not just the general "Expected one of ..., but was ..." as that is often super difficult to use in a d... | diff --git a/src/index.spec.ts b/src/index.spec.ts
index e9b19345..54fce0e7 100644
--- a/src/index.spec.ts
+++ b/src/index.spec.ts
@@ -69,11 +69,13 @@ const runtypes = {
Person,
MoreThanThree: Number.withConstraint(n => n > 3),
MoreThanThreeWithMessage: Number.withConstraint(n => n > 3 || `${n} is not greater ... | 9 | 7 | 1 | [{"id": "G0", "claim": "The code coverage that dropped with this change should be restored.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test failure message misspells \"even though\" as \"eventhough\" and should be corrected.", "category": "maint... | null |
runtypes__runtypes__53 | runtypes/runtypes | 53 | defect | 2f4162df46de247701a1a5fb16aba37051473b18 | e45832c0029792075528a46ff999e4d19a733847 | Add Symbol runtype :sparkles: | Resolves #44. | diff --git a/package.json b/package.json
index eac6bf40..cf72e333 100644
--- a/package.json
+++ b/package.json
@@ -44,4 +44,4 @@
"testEnvironment": "node"
},
"dependencies": {}
-}
+}
\ No newline at end of file
diff --git a/src/index.spec.ts b/src/index.spec.ts
index dfc690cb..3fbe8459 100644
--- a/src/index... | 2 | 1 | 1 | [{"id": "G0", "claim": "Drop the exported `__global` workaround and instead avoid clashing with the `Symbol` class by using renaming exports/imports as done for `Array`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "There needs to be a `symbol` variant ... | null |
runtypes__runtypes__55 | runtypes/runtypes | 55 | defect | c1f9b1971786a9bb07e641110f2178d35b6f87b5 | 10d18472fd257567c67adca2e67a3513cadb545e | Add branded type support | Resolves #54. | diff --git a/package.json b/package.json
index cf72e333..dff02e63 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,8 @@
"types": "./lib/index.d.ts",
"scripts": {
"build": "tsc --pretty",
- "format": "prettier $([ \"$CI\" == true ] && echo --list-different || echo --write) './**/*.{ts,tsx,js,json,cs... | 3 | 2 | 0 | [{"id": "G0", "claim": "Revert the formatting changes this pull request made to package.json, since the reviewer needs to add package.json to .prettierignore.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `as Brand<'someNumber', Number>` ca... | null |
runziggurat__zcash__102 | runziggurat/zcash | 102 | defect | 9d5d3e11fd27f6a87d7ef8dd78ccc23f0a8d3ee9 | 207d0d59d6a043bb7e57faad5b03a267dc6e878a | refactor: handshake conformance tests | - Split up of handshake conformance tests.
- Added new handshake conformance test (partner to test 005). This required updating SPEC numbers.
- Fix for race condition in `wait_for_connection` | diff --git a/README.md b/README.md
index fea892fd..6baafa6a 100644
--- a/README.md
+++ b/README.md
@@ -129,19 +129,20 @@ These results were obtained by running the test suite against [ZCashd v4.4.1](ht
| [002](SPEC.md#ZG-CONFORMANCE-002) | ✓ | ✓ | ... | 5 | 5 | 0 | [{"id": "G0", "claim": "The README conformance table row 009 should read \"filters\" instead of the typo \"filter's\" in its warning note.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For consistency, the README conformance table row 015 note sh... | null |
runziggurat__zcash__122 | runziggurat/zcash | 122 | defect | b3c8f3ef1dba7e02850e1103efa9a291bf1a8be9 | b16ef25e4cf00f665ba143bfcf71f94f4762723f | Timeout constant unification for conformance tests | This starts unifying the various timeout constants in the context of conformance tests. In future the same should be done for the performance and resistance tests. They should likely also be made configurable in Ziggurat's configuration file. | diff --git a/src/setup/node.rs b/src/setup/node.rs
index e9ede219..bdb7790c 100644
--- a/src/setup/node.rs
+++ b/src/setup/node.rs
@@ -11,13 +11,14 @@ use crate::{
tools::{
message_filter::{Filter, MessageFilter},
synthetic_node::SyntheticNode,
+ TIMEOUT,
},
wait_until,
};
us... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `TIMEOUT` constant name and its 'connection operations' scope are too broad; it should probably be given a more explicit name for starting a full node, with any connection-specific use given its own, more explicitly named constant.", "category": "design", "verdict": "supported", "priority": ... | null |
runziggurat__zcash__164 | runziggurat/zcash | 164 | defect | a0fefd9999bcabd2b185855dbaa7cd8d103199c5 | a2a46108e3af38c8839c1b9179306accd42bb965 | fix: make sure `TestMetrics` doesn't remove state | This PR fixes a number of issues with our current `DebuggingRecorder` implementation. We now take a snapshot separately from querying the values. This fixes an issue in `resistance::stress_test` where we had two sequential `construct_histogram` queries; the initial one would erase state after its use, leading to nil da... | diff --git a/src/tests/performance/connections.rs b/src/tests/performance/connections.rs
index b6e7d97e..aea5460a 100644
--- a/src/tests/performance/connections.rs
+++ b/src/tests/performance/connections.rs
@@ -200,10 +200,12 @@ async fn load_bearing() {
let mut stats = Stats::new(MAX_PEERS, synth_count);
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The snapshot-taking method should return a new type that implements get_counter, get_gauge, etc., rather than returning a raw HashMap of CompositeKey to MetricVal.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
runziggurat__zcash__166 | runziggurat/zcash | 166 | defect | 263c4a0b751d75ced166a68c0221633f0c031305 | 8326c5a195624850ad90fc5ed33e2ce53e5ce7aa | Adhere to new test naming convention | Tests should adhere to the new test naming convention, i.e `id_part_t(subtest_no)_(message type)_(extra_test_desc)`.
Progress:
- [x] Conformance
- [x] Performance
- [x] Resistance
- [x] Update `SPEC.md` | diff --git a/SPEC.md b/SPEC.md
index de1ef7e5..a13835a6 100644
--- a/SPEC.md
+++ b/SPEC.md
@@ -18,6 +18,8 @@ For load testing, "reasonable load" and "heavy load" will need to be defined.
The tests can be run with `cargo test` once Ziggurat is properly configured and dependencies (node instance to be tested) are sati... | 1 | 1 | 0 | [{"id": "G0", "claim": "The naming-convention sentence added to SPEC.md should read \"The full naming convention is:\" instead of \"The full name convention is:\", per the reviewer's suggestion block.", "category": "documentation", "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.