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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sylabs__singularity__1730 | sylabs/singularity | 1,730 | defect | 6b76c5958a06fb79b7cd1a86c0a5e88cdf450d53 | c46d7765dd1e0aedaee58d74b1ad81a90e9fc79a | oci: fallback to fuse-overlayfs if kernel doesn't support unprivileged overlays | ## Description of the Pull Request (PR):
If kernel doesn't support unprivileged overlay mounts, fallback to trying to use `fuse-overlayfs` and `fusermount` for overlay mounting and unmounting.
### This fixes or addresses the following GitHub issues:
- Fixes #1727
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index c55b768600..2573d5275b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -53,6 +53,8 @@
`<workdir>/scratch` on the host, rather than to tmpfs storage.
- Added ability to set a custom config directory via the new
`SINGULARITY_CONFIGDIR` environment variable.
+- If kern... | 10 | 9 | 1 | [{"id": "G0", "claim": "UnmountWithFuse() labels a missing fusermount binary an \"internal error\", but fusermount is provided external to singularity and may be missing without any internal mistake (e.g. its package removed during the container lifecycle).", "category": "correctness", "verdict": "supported", "priority... | null |
sylabs__singularity__1740 | sylabs/singularity | 1,740 | defect | 4962ce3bfdc72e370b8a857c2581b32251956096 | 8b86f45f97a7f011934b785206a62aacc48edd97 | oci: support for writable extfs img overlay via fuse-overlayfs | ## Description of the Pull Request (PR):
Adds support for mounting extfs images as read-write overlays, by using `fuse2fs` (if available) to mount the image followed by `fuse-overlayfs` (if available) to mount it as a read-write overlay.
### This fixes or addresses the following GitHub issues:
- Fixes #1728
... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2573d5275b..04b9052b05 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -38,11 +38,12 @@
`--fakeroot`, for example).
- The `remote status` command will now print the username, realname, and email
of the logged-in user, if available.
-- OCI-mode now supports an `--ove... | 7 | 7 | 3 | [{"id": "G0", "claim": "In --oci mode, a writable overlay later used ro exposes its upper/work directories instead of overlaying the created contents (unlike native mode); dtrudg asks that this be addressed (here or as a separate issue/PR) and that the e2e tests also revisit a rw overlay in ro mode to catch it.", "cate... | null |
sylabs__singularity__1787 | sylabs/singularity | 1,787 | defect | f2b6e44b45588ca22293e4539c7bd5cd27724ef3 | c4b701ec5db10d39e02145e9de774f3ff95d373d | build(deps): bump mvdan.cc/sh/v3 from 3.6.0 to 3.7.0 | Note adjustment for addition of EUID in the set of readonly vars that mvdan.cc/sh will set when interpreting a script.
Bumps [mvdan.cc/sh/v3](https://github.com/mvdan/sh) from 3.6.0 to 3.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/mvdan/sh/releases">mvdan.cc/s... | diff --git a/e2e/env/regressions.go b/e2e/env/regressions.go
index 70afbee0dd..b463338d54 100644
--- a/e2e/env/regressions.go
+++ b/e2e/env/regressions.go
@@ -124,11 +124,11 @@ func (c ctx) issue43(t *testing.T) {
}
// https://github.com/sylabs/singularity/issues/1263
-// With --env-file we should avoid any overrid... | 1 | 1 | 0 | [{"id": "G0", "claim": "EUID should be moved to the top of the readonlyVars map literal so the list stays alphabetized for readability and maintenance.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
sylabs__singularity__1831 | sylabs/singularity | 1,831 | defect | 005b63dc74569cbe4b4254027370940ab8dbbc2d | a6f6d8fd5615828e73cad64d77e9017f2c99bfb9 | replace build-args Transformer with full-text replacement | ## Description of the Pull Request (PR):
In #1738, the `transform.Transformer` object used to replace build-args (e.g. `"{{ argname }}"`) to enable templating in definition files (currently in internal/pkg/build/build.go) could encounter _partial input_ scenarios - where the bytes it has read contain the beginning o... | diff --git a/cmd/internal/cli/build_linux.go b/cmd/internal/cli/build_linux.go
index 4de588011c..806f71e116 100644
--- a/cmd/internal/cli/build_linux.go
+++ b/cmd/internal/cli/build_linux.go
@@ -21,6 +21,7 @@ import (
"github.com/spf13/cobra"
keyclient "github.com/sylabs/scs-key-client/client"
"github.com/sylabs/... | 3 | 2 | 0 | [{"id": "G0", "claim": "The PR should drop the buffered-reader approach and instead read everything and do a simple replace over the entire content, since the def raw is copied in memory elsewhere anyway.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If... | null |
sylabs__singularity__1920 | sylabs/singularity | 1,920 | defect | 0007f5e642077d2ef061ba5cc967df96c85a38a3 | 21d5eab420a9e55adaadccde8bd709f7c3d0acfe | `remote add` sets new endpoint as default, suppressible via flag | ## Description of the Pull Request (PR):
When adding a remote via `singularity remote add <remote_name> <remote_uri>`, the newly-added remote will be selected as the _current_ remote endpoint by default.
This can be suppressed (and thus, returned to the previous behavior of `remote add`) by supplying the `-n`/`--... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2089c74dfa..600ec0f27a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -36,6 +36,9 @@
- The `--vm` and related flags to start singularity inside a VM have been
removed. This functionality was related to the retired Singularity Desktop /
SyOS projects.
+- Adding a ne... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new flag should be named `--no-default` instead of `--not-default` (or both should work), to match the existing `--no-XXXXX` flag convention.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new CLI behaviour (new remote bec... | null |
sylabs__singularity__1929 | sylabs/singularity | 1,929 | defect | e2976d9c669690c615e02a4d1e75f8e462b4235e | 8512e14e479989716ccc701dfa3d8139e48a6fe6 | remote: Make registryUri available for library | ## Description of the Pull Request (PR):
Retrieve the `registryUri` value from the library service config for SCS/Enterprise remotes.
The concept of a service in the remote code is rather overloaded and inflexible. Add an internal use map that we can pull the `registryUri` into and out of. Hide it behind a single... | diff --git a/internal/pkg/remote/endpoint/client.go b/internal/pkg/remote/endpoint/client.go
index a2ab9fb94e..8d31a25e62 100644
--- a/internal/pkg/remote/endpoint/client.go
+++ b/internal/pkg/remote/endpoint/client.go
@@ -1,4 +1,4 @@
-// Copyright (c) 2020-2022, Sylabs Inc. All rights reserved.
+// Copyright (c) 2020-... | 1 | 1 | 0 | [{"id": "G0", "claim": "The ok-check in configVal's map lookup is unnecessary, since a map[string]string lookup already returns the empty string for a missing key.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
sylabs__singularity__2040 | sylabs/singularity | 2,040 | defect | 6f44d831c6b5ce8a35b9ad6f5edd11c38e04ceb3 | 0010cb523db42c5f399c8b44fc8bef90fe43298c | fix: normalize OCI platform arch & variant | ## Description of the Pull Request (PR):
In order to ensure that we can pull the correct image on ARM systems:
* `linux/arm64/v8` needs to be normalized to `linux/arm64`
* `linux/arm` needs to be normalized to `linux/arm/v7`
Bring across a small amount of additional code from containerd/containerd (under a co... | diff --git a/LICENSE_THIRD_PARTY.md b/LICENSE_THIRD_PARTY.md
index a091df7ad2..3f6d671672 100644
--- a/LICENSE_THIRD_PARTY.md
+++ b/LICENSE_THIRD_PARTY.md
@@ -586,6 +586,7 @@ The source files:
* `internal/pkg/ociplatform/cpuinfo.go`
* `internal/pkg/ociplatform/cpuinfo_linux.go`
* `internal/pkg/ociplatform/cpuinfo_li... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test case covering aarch64 architecture normalization (aarch64 -> arm64).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sylabs__singularity__2052 | sylabs/singularity | 2,052 | defect | d893bf8385bec4ddba90f337e4aa3d3aa48326b8 | 906a01b67ba52617a50d9ee68bcef7259c65df57 | fuse: look for "fusermount3" first, w/"fusermount" as fallback | ## Description of the Pull Request (PR):
Change how we search for the external tool `fusermount` so that we first look for `fusermount3` and then search for `fusermount` as a fallback.
Also updates the require.Command() function in internal/pkg/test/tool/require/require.go so that it first tries to find the comma... | diff --git a/internal/pkg/test/tool/require/require.go b/internal/pkg/test/tool/require/require.go
index 96223a9bde..0bc16ec61e 100644
--- a/internal/pkg/test/tool/require/require.go
+++ b/internal/pkg/test/tool/require/require.go
@@ -22,6 +22,7 @@ import (
"github.com/opencontainers/runc/libcontainer/cgroups"
"git... | 3 | 3 | 1 | [{"id": "G0", "claim": "Replacing exec.LookPath with bin.FindBin in require.Command may skip more tests than before, since tests use require.Command for binaries not expected to be used by Singularity and thus not known to FindBin; it needs checking so that commands available on PATH are not skipped.", "category": "cor... | null |
sylabs__singularity__2188 | sylabs/singularity | 2,188 | defect | 76ccdddf6323fd11c9444c8251d3474570c93ced | 72eb05d4d95b17694586063d28abde818b1f3064 | determine OCI-SIF vs. native SIF using image contents, not URI | ## Description of the Pull Request (PR):
The code in `pkg/image` is now able to detect OCI-SIF images (and distinguish them from native SIFs) based on image content. This PR replaces reliance on the URI transport field being `oci-sif:` with detection of OCI-SIF images based on the image content.
### This fixes or... | diff --git a/cmd/internal/cli/actions.go b/cmd/internal/cli/actions.go
index 0147f12b84..e2a61a48a0 100644
--- a/cmd/internal/cli/actions.go
+++ b/cmd/internal/cli/actions.go
@@ -25,6 +25,7 @@ import (
"github.com/sylabs/singularity/v4/internal/pkg/runtime/launcher"
"github.com/sylabs/singularity/v4/internal/pkg/ru... | 2 | 2 | 2 | [{"id": "G0", "claim": "The `if err != nil` check handling errors returned by the cases (not OCI-SIF mount issues) should not be dropped from `replaceURIWithImage`.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The `IsOCISIF` helper should be a pub... | null |
sylabs__singularity__2199 | sylabs/singularity | 2,199 | defect | 29ae52717b3d6f80e161efbb9c3b866a142825e1 | 9596db1315baa3413ec3c6b90992a420c7cfa0aa | de-duplicate fuse mounting/unmounting code | ## Description of the Pull Request (PR):
Transition as much FUSE-related code as is currently feasible to using internal/pkg/util/fs/fuse package.
This PR addresses FUSE-related code in the following source files:
- internal/pkg/runtime/launcher/native/launcher_linux.go, and dependencies thereof
- internal/pk... | diff --git a/internal/pkg/runtime/engine/singularity/cleanup_host_linux.go b/internal/pkg/runtime/engine/singularity/cleanup_host_linux.go
index d59283ba8b..b65e7efe0a 100644
--- a/internal/pkg/runtime/engine/singularity/cleanup_host_linux.go
+++ b/internal/pkg/runtime/engine/singularity/cleanup_host_linux.go
@@ -10,8 ... | 5 | 5 | 3 | [{"id": "G0", "claim": "CleanupHost must handle the error from the unmount call, because if unmounting fails in this flow mounts will accumulate on the host, and the failure should be visible so the underlying issue can reach an admin and be fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", ... | null |
sylabs__singularity__2252 | sylabs/singularity | 2,252 | defect | 51affd2593fc20fc10db01d0ab32a9215bbbcb32 | 16b5806a7cb97dd46c48b93c80cbf7aa161e8f1b | add progress-bars for oras & ocisif operations | ## Description of the Pull Request (PR):
Implements progress bars for:
- ORAS push/pull
- Library OCI-SIF push/pull
### This fixes or addresses the following GitHub issues:
- Fixes #2212
| diff --git a/internal/pkg/client/library/pull.go b/internal/pkg/client/library/pull.go
index b3181de27d..ae9eea8b58 100644
--- a/internal/pkg/client/library/pull.go
+++ b/internal/pkg/client/library/pull.go
@@ -18,8 +18,8 @@ import (
keyclient "github.com/sylabs/scs-key-client/client"
scslibrary "github.com/sylabs/... | 6 | 6 | 5 | [{"id": "G0", "claim": "The import alias should be `ggcrv1` rather than `ggcr`, because other ggcr packages are in use and the `v1` part is meaningful.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "FetchLayout's ReportWriter selection needs to ... | null |
sylabs__singularity__2281 | sylabs/singularity | 2,281 | defect | 009cc62932190ec73a0170852c20ea620fa99513 | 43e8378fec181317d4485de0f52176d61b620c92 | linter fixes for golangci-lint 1.55.1 | ## Description of the Pull Request (PR):
Misc. linter fixes for `golangci-lint` v1.55.1
| diff --git a/.circleci/config.yml b/.circleci/config.yml
index d1d75c6572..f75bf881eb 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -38,7 +38,7 @@ executors:
- image: ubuntu:22.04
golangci-lint:
docker:
- - image: golangci/golangci-lint:v1.54.0
+ - image: golangci/golangci-lin... | 1 | 1 | 0 | [{"id": "G0", "claim": "Having to write `nolintlint` alongside `gosec` in the new //nolint directives is really odd and may indicate a bug in the nolint or gosec linter versions brought in by golangci-lint v1.55.x.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sylabs__singularity__3055 | sylabs/singularity | 3,055 | defect | f8182952b4fc645ec55480b459a22873d90ad2ad | d034b10d7d7e6eb8603b40b8e5ec76a39efbef6b | feat: singularity overlay create for OCI-SIF | ## Description of the Pull Request (PR):
Support `singularity overlay create` for OCI-SIF images.
An extfs overlay file is created, and then appended to the image encapsulated in the OCI-SIF, as an additional layer.
### This fixes or addresses the following GitHub issues:
- Fixes #2867
#### Before ... | diff --git a/e2e/overlay/overlay.go b/e2e/overlay/overlay.go
index f0d8063c8e..f509868ba4 100644
--- a/e2e/overlay/overlay.go
+++ b/e2e/overlay/overlay.go
@@ -7,6 +7,7 @@ import (
"testing"
"github.com/sylabs/singularity/v4/internal/pkg/test/tool/require"
+ "github.com/sylabs/singularity/v4/internal/pkg/util/fs"
... | 2 | 2 | 2 | [{"id": "G0", "claim": "HasOverlay should close the backing file on UnloadContainer instead of loading with sif.OptLoadWithCloseOnUnload(false), so the file handle doesn't leak.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "HasOverlay should sanity... | null |
sylabs__singularity__3124 | sylabs/singularity | 3,124 | defect | e82087f741e58285530b931e8cf7453935c77fd9 | 4c4368da16063da6c3b26eb75b194e2138f7ee90 | Cherry-pick and adapt Apptainer PR: https://github.com/apptainer/apptainer/pull/1401 | ## Description of the Pull Request (PR):
Cherry-pick and adapt Apptainer PR: https://github.com/apptainer/apptainer/pull/1401
Added a new subcommand called `run` to the `instance` command group. This command will behave in the same manner as the `start` command, but it will run the runscript instead of the starts... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index b363c45e15..cee6d16177 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,8 @@
image to be pushed to `library://` and `docker://` registries in `squashfs`
(default) or `tar` format. Images pushed with `--layer-format tar` can be
pulled and run by other OCI ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The instance run documentation example wrongly shows `appinit` as the process running in the instance; it should show `sinit`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A unit test fails with this change (the run-with-... | null |
sylabs__singularity__3151 | sylabs/singularity | 3,151 | defect | b9c683bd2e62cff480a3eb28d37feb674cba406d | b67141e0780670802126fbf9aa9f3c087c1503a5 | Fix SquashFS extraction when it contains directory symlinks | ## Description of the Pull Request (PR):
A SquashFS image might contain directory symlinks such as `/var/tmp -> /tmp`. Before extraction a base environment is created (`makeBaseEnv`) by pre-creating some directories. Among them `/var/tmp`. Although unsquashfs is called with `-force` it fails to replace that by the s... | diff --git a/internal/pkg/build/sources/conveyorPacker_local.go b/internal/pkg/build/sources/conveyorPacker_local.go
index 2e8e72fb96..9435d516cd 100644
--- a/internal/pkg/build/sources/conveyorPacker_local.go
+++ b/internal/pkg/build/sources/conveyorPacker_local.go
@@ -16,11 +16,6 @@ import (
"github.com/sylabs/sing... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new test should use the project's require.Command helper to require mksquashfs instead of a manual exec.LookPath followed by t.SkipNow().", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test helper should not invoke mksqua... | null |
sylabs__singularity__3537 | sylabs/singularity | 3,537 | defect | de0ed19961e64f09d7dfe7ad77b8c4f4d6e6b597 | bc50829be158f38d96f78882901ff29e04f55909 | fix: cgroups: check for systemd init when needed | ## Description of the Pull Request (PR):
When `CanUseCgroups` is called, with systemd as the intended cgroups manager, make sure that a systemd init is actually running.
This fixes flows where Singularity run nested inside another container, that doesn't provide a systemd init or mount the host `/run` directory i... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index f55b84deff..9e1c0f8637 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,8 @@
native SIF, so environment sourcing does not fail.
- Fix the Makefile generated by `mconfig -b` to work when the selected build
directory is not a subdirectory of the source code.
... | 1 | 1 | 1 | [{"id": "G0", "claim": "In CanUseCgroups the `if warn` branches both log the identical Warningf message, so the warn flag has no effect; per the function's own comment the non-warn branch should log at debug level instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
symflower__eval-dev-quality__109 | symflower/eval-dev-quality | 109 | defect | 2c167507b1296d65a04b926765a65abb22acffe8 | 2f029c28e2b54b7be877361921dbea17ef50ef35 | Multiple runs in a single evaluation | Closes #108 | diff --git a/cmd/eval-dev-quality/cmd/evaluate.go b/cmd/eval-dev-quality/cmd/evaluate.go
index 7fb7173d2..8798116a8 100644
--- a/cmd/eval-dev-quality/cmd/evaluate.go
+++ b/cmd/eval-dev-quality/cmd/evaluate.go
@@ -46,6 +46,8 @@ type Evaluate struct {
Repositories []string `long:"repository" description:"Evaluate with ... | 8 | 5 | 1 | [{"id": "G0", "claim": "The skipping of tests in the pull request's code does not work.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new --runs option should not define a short option (-n), because short options get confusing fast.", "category... | null |
symflower__eval-dev-quality__6 | symflower/eval-dev-quality | 6 | defect | 8329b60203d314664a751ee64a5d8bafccabb0db | 90f379fedd63ad5ae86988b17e2d2772c9ea930c | OpenRouter based LLM models | - base structure for LLM models
- [OpenRouter](https://openrouter.ai) as cloud provider | diff --git a/go.mod b/go.mod
index 9926c81b0..0f32e7a96 100644
--- a/go.mod
+++ b/go.mod
@@ -4,9 +4,10 @@ go 1.21.5
require (
github.com/pkg/errors v0.9.1
+ github.com/sashabaranov/go-openai v1.20.4
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.9.0
- github.com/zimmski/osutil v1.1.0
+ github.com... | 18 | 18 | 8 | [{"id": "G0", "claim": "The cloud package should be renamed to provider and moved to the top level next to model, so that providers can have subpackages.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The mock provider should be moved into a subpackage n... | null |
symflower__eval-dev-quality__94 | symflower/eval-dev-quality | 94 | defect | 45ab9d884d2299e77141893d26405d4b68b440f8 | bbeb3e5f78e4b77345ec958827bb31abce610233 | Additional CSVs to sum up metrics for all models overall and per language | @bauersimon I am not sure if we want to do early mergers or not but I think you can still review this one already.
I've used 2 refactoring commits for the changes to `AssessmentPerModel` for easier reviewing. | diff --git a/cmd/eval-dev-quality/cmd/evaluate.go b/cmd/eval-dev-quality/cmd/evaluate.go
index aa7bf82db..eaf52ba28 100644
--- a/cmd/eval-dev-quality/cmd/evaluate.go
+++ b/cmd/eval-dev-quality/cmd/evaluate.go
@@ -274,7 +274,7 @@ func (command *Evaluate) Execute(args []string) (err error) {
totalScore = uint(len(lang... | 4 | 4 | 0 | [{"id": "G0", "claim": "Complete the broken docstring (\"// AssessmentPerModel holds\") above the AssessmentPerModel field in the Markdown struct.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Use slices.SortStableFunc with cmp.Compare instead ... | null |
sympozium-ai__sympozium__161 | sympozium-ai/sympozium | 161 | defect | 720309f8b6eb77a7509e713e2ffbb230f4ae8911 | c7c63f65dfe1d45e20b9b89d0b43072ffb26092c | Enhancement: additional channel settings (part 1) | Relates to https://github.com/sympozium-ai/sympozium/issues/149
This PR adds two universal channel features and one Slack-specific UX touch:
1. Stop / start keywords (universal) — keyword-driven mute / unmute per chat, persisted in a per-Agent ConfigMap so state survives controller restarts.
2. Slack emoji rea... | diff --git a/api/v1alpha1/agent_types.go b/api/v1alpha1/agent_types.go
index 92d1fd16..71544d7f 100644
--- a/api/v1alpha1/agent_types.go
+++ b/api/v1alpha1/agent_types.go
@@ -222,6 +222,15 @@ type ChannelSpec struct {
// +optional
AccessControl *ChannelAccessControl `json:"accessControl,omitempty"`
+ // Triggers ... | 8 | 7 | 2 | [{"id": "G0", "claim": "The diff shows no ClusterRole changes granting the controller create/get/update on ConfigMaps for the mute store, and the reviewer asks whether existing rules already cover it.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "cha... | null |
sympozium-ai__sympozium__167 | sympozium-ai/sympozium | 167 | defect | d478cd2f89e5caa4ed40d89264acc32a1d92ef2f | 40e7df9703e8241c10b24606388cf0d246b59c7b | Enhancement: add imagepullpolicy to various components | In a lot of cases (especially with skillpack sidecar images), one might want to adjust `ImagePullPolicy` of certain images. This PR makes `ImagePullPolicy` across a number of sensible resources
The PR intentionally does not change "internal components" for now - though they can be done in a follow-up PR | diff --git a/api/v1alpha1/agent_types.go b/api/v1alpha1/agent_types.go
index 92d1fd16..65252063 100644
--- a/api/v1alpha1/agent_types.go
+++ b/api/v1alpha1/agent_types.go
@@ -317,6 +317,13 @@ type SandboxSpec struct {
// +optional
Image string `json:"image,omitempty"`
+ // ImagePullPolicy overrides the sandbox co... | 3 | 1 | 0 | [{"id": "G0", "claim": "The ensemble controller still hardcodes corev1.PullIfNotPresent for the memory-server container at ensemble_controller.go:1092 while the PR added imagePullPolicy to the ensemble CRD's LifecycleHookContainer, so if ensembles can have lifecycle hooks, users who set the field on those hook containe... | null |
syncthing__syncthing__10035 | syncthing/syncthing | 10,035 | defect | 6bc2784e9acd943bd97654d0666f63a52b12b0b6 | 1cd81248813be50e12fbb1a4cc82d739130462f5 | chore(api): log X-Forwarded-For | ### Purpose
Fix https://github.com/syncthing/syncthing/issues/9336
The `emitLoginAttempt` function now checks for the presence of an `X-Forwarded-For` header. The IP from this header is only used if the connecting host is either on loopback or on the same LAN.
In the case of a host pretending to be a proxy, we... | diff --git a/lib/api/api_auth.go b/lib/api/api_auth.go
index 3be4705f3125..f6f27c46cad8 100644
--- a/lib/api/api_auth.go
+++ b/lib/api/api_auth.go
@@ -27,15 +27,25 @@ const (
randomTokenLength = 64
)
-func emitLoginAttempt(success bool, username, address string, evLogger events.Logger) {
+func emitLoginAttempt(su... | 4 | 4 | 2 | [{"id": "G0", "claim": "Using the 'real' client IP from X-Forwarded-For requires restricting which proxy IPs we trust, because anyone can set the header; localhost-only is the safest choice but falls apart with containers, so maybe IPs in the LAN range should be allowed too.", "category": "security", "verdict": "suppor... | null |
syncthing__syncthing__10040 | syncthing/syncthing | 10,040 | defect | 2301f72c5befddd43c331fd18bac6d78f61712a4 | 669e27a06dbdf049c4507ace316fb9b8a5643876 | chore(fs): changes to allow Filesystem to be implemented externally | ### Purpose
The `fs.Filesystem` interface contains two parts that cannot be implemented externally because they are private:
* `filesystemWrapperType`: this PR changes `unwrapFilesystem` to downcast to a specific concrete type
* `underlying`: this PR simply makes this field public (it is used by `unwrapFilesyste... | diff --git a/lib/fs/basicfs.go b/lib/fs/basicfs.go
index 225eb813295d..fbd36ef59ef5 100644
--- a/lib/fs/basicfs.go
+++ b/lib/fs/basicfs.go
@@ -332,14 +332,10 @@ func (*BasicFilesystem) SameFile(fi1, fi2 FileInfo) bool {
return os.SameFile(f1.osFileInfo(), f2.osFileInfo())
}
-func (*BasicFilesystem) underlying() (F... | 1 | 1 | 1 | [{"id": "G0", "claim": "The unwrapping methods should not stay on the public Filesystem interface — calmh asks to go in the other direction and remove them from the public interface, specifically moving the unexported unwrapping methods to a different interface that is checked for internally and that external implement... | null |
syncthing__syncthing__10066 | syncthing/syncthing | 10,066 | defect | 486eebc4ac911b86b3d110dd0f7a955edd0f5106 | 9af15caa54a39b22f8126f93b46ab04a06374eec | feat(config): add option for audit file (fixes #9481) | ### Purpose
Not everybody has the ability to specify command-line options.
### Testing
Tested manually on Linux by trying differing settings between command-line option and configuration (i.e. audit disabled in config, while enabled in command-line, with differing audit log paths in both of them).
### Scree... | diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go
index 943d11dc87d..72dc60dc357 100644
--- a/cmd/syncthing/main.go
+++ b/cmd/syncthing/main.go
@@ -638,9 +638,24 @@ func syncthingMain(options serveOptions) {
DBRecheckInterval: options.DebugDBRecheckInterval,
DBIndirectGCInterval: options.DebugDBIndire... | 2 | 2 | 0 | [{"id": "G0", "claim": "Prefer a short variable declaration with a default plus a later override (auditFile := cfgWrapper.Options().AuditFile, then overridden by the command-line option) instead of declaring var ChosenAuditFile string and assigning it in both branches of an if/else, since it is shorter and matches the ... | null |
syncthing__syncthing__10105 | syncthing/syncthing | 10,105 | defect | b038650810dc839aa388eb238cd71b76cb56ca27 | db699a6e63394c42a3618cdf5ef911d417359038 | fix(versioner): fix perms of created folders (fixes #9626) | ### Purpose
Fixes #9626.
As suggested in the linked issue, I've updated the versioner code to use the permissions of the corresponding directory in the synced folder, when creating the folder in the versions directory
### Testing
- Some tests are included with the PR. Happy to add more if you think there are som... | diff --git a/lib/versioner/simple_test.go b/lib/versioner/simple_test.go
index 0087f826bd1..c9264f8ace3 100644
--- a/lib/versioner/simple_test.go
+++ b/lib/versioner/simple_test.go
@@ -156,3 +156,98 @@ func TestPathTildes(t *testing.T) {
t.Fatalf("found versioned file %q, want one that begins with %q", got, testPath... | 3 | 3 | 2 | [{"id": "G0", "claim": "The manual index/increment loop in dupDirTree should be replaced with `for i := range folderPath`, which is simpler and avoids looking at partial UTF-8 code points (and allays the concern about len(folderPath) being evaluated each iteration).", "category": "maintainability", "verdict": "supporte... | null |
syncthing__syncthing__10162 | syncthing/syncthing | 10,162 | defect | 1903da569b582072e92a0b121d05247e7ed9a83e | 0b293b2540eca393f48e57ff99280466e8c02ab5 | feat: use Ed25519 keys for sync connections | This updates our key generation to use Ed25519 keys/certificates for sync connections. Certificates for browser use remain ECDSA for wider compatibility.
Ed25519 is more modern and has fewer concerns for the future than the ECDSA curves we used previously. It is supported from Go 1.13 and forwards, which is Syncthin... | diff --git a/cmd/infra/strelaypoolsrv/main.go b/cmd/infra/strelaypoolsrv/main.go
index a2e5f65ef65..ee982633f23 100644
--- a/cmd/infra/strelaypoolsrv/main.go
+++ b/cmd/infra/strelaypoolsrv/main.go
@@ -620,7 +620,7 @@ func createTestCertificate() tls.Certificate {
}
certFile, keyFile := filepath.Join(tmpDir, "cert... | 1 | 1 | 0 | [{"id": "G0", "claim": "The stats.go tweak rewriting the JSON decode error check looks unrelated to this PR's Ed25519 purpose, and the reviewer questions whether it belongs in this PR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
syncthing__syncthing__10202 | syncthing/syncthing | 10,202 | defect | 385ca6772cf30805a5e52bf7d2a033541a35527c | 6626c845b2a3c1dd8f63adc4093275c94f69a603 | chore(protocol): minor cleanup of ClusterConfig messages; remove DisableTempIndexes option | This makes a couple of backwards compatible changes to the ClusterConfig:
- Remove the `ignore_permissions` and `ignore_delete` booleans which we've never read or used for anything
- Remove the `disable_temp_indexes` boolean and option entirely. We did use this one, and about 1% of users have set the option. The on... | diff --git a/internal/gen/bep/bep.pb.go b/internal/gen/bep/bep.pb.go
index 11c0badc36f..56b3da4914b 100644
--- a/internal/gen/bep/bep.pb.go
+++ b/internal/gen/bep/bep.pb.go
@@ -179,6 +179,104 @@ func (Compression) EnumDescriptor() ([]byte, []int) {
return file_bep_bep_proto_rawDescGZIP(), []int{2}
}
+type FolderTy... | 4 | 3 | 2 | [{"id": "G0", "claim": "Suggests cutting a BEP v2 with syncthing v2 instead of relying on proto3 wire compatibility for BEP changes, and, going forward, explicitly specifying wire-compat rules in the docs and adding a buf CI check for wire compatibility.", "category": "design", "verdict": "opposed", "priority": "P3", "... | null |
syncthing__syncthing__10282 | syncthing/syncthing | 10,282 | defect | 8151bcddff7aa837de3c9f19c506e01d1370a138 | 9f8d72373bc29f57c8fd4fee3d6409ba1316f0ac | chore(db): cleanup DB in tests and remove OpenTemp | Filled up my tmpfs with test DBs when running benchmarks :)
| diff --git a/internal/db/sqlite/db_open.go b/internal/db/sqlite/db_open.go
index 1c9bc53cc311..f1c55e5a9dc1 100644
--- a/internal/db/sqlite/db_open.go
+++ b/internal/db/sqlite/db_open.go
@@ -31,6 +31,8 @@ type DB struct {
folderDBsMut sync.RWMutex
folderDBs map[string]*folderDB
folderDBOpener func(folder, ... | 3 | 2 | 1 | [{"id": "G0", "claim": "The test-DB cleanup added by this PR deletes the wrong path on close: it uses .path, which is the DB file itself (\"It only deleted main.go before\"), instead of .pathBase, so the temporary DB directory is not actually removed.", "category": "correctness", "verdict": "supported", "priority": "P1... | null |
syncthing__syncthing__10354 | syncthing/syncthing | 10,354 | defect | 9e262d84de61994527ceab69ab87525184f422ba | 010cba98f668a2bd4c439baf010b958210d412fc | chore(slogutil): add configurable logging format (fixes #10352) | This adds several options for configuring the log format of timestamps and severity levels, making it more suitable for integration with log systems like systemd.
--log-format-timestamp="2006-01-02 15:04:05"
Format for timestamp, set to empty to disable timestamps ($STLOGFORMATTIMESTAMP)
--... | diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go
index c609e20584ab..14aa822cafea 100644
--- a/cmd/syncthing/main.go
+++ b/cmd/syncthing/main.go
@@ -164,6 +164,7 @@ type serveCmd struct {
LogLevel slog.Level `help:"Log level for all packages (DEBUG,INFO,WARN,ERROR)" env:"STLOGLEVEL" defa... | 2 | 1 | 0 | [{"id": "G0", "claim": "A generic option to disable timestamps might be worth it for broader applicability, instead of the systemd-specific log format.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A documentation PR should be opened for the command lin... | null |
syncthing__syncthing__10383 | syncthing/syncthing | 10,383 | defect | 8233279a6576af8aa4839318fa454720c21385b1 | 700dbf9487e07d92b8e535ed0165a6e5ecdbeaec | chore(sqlite): use normalised tables for file names and versions | This changes the files table to use normalisation for the names and versions. The idea is that these are often common between all remote devices, and repeating an integer is more efficient than repeating a long string. A new benchmark bears this out; for a database with 100k files shared between 31 devices, with some w... | diff --git a/cmd/syncthing/perfstats_unix.go b/cmd/syncthing/perfstats_unix.go
index 890320b94f9..b6230dc4ec7 100644
--- a/cmd/syncthing/perfstats_unix.go
+++ b/cmd/syncthing/perfstats_unix.go
@@ -18,6 +18,7 @@ import (
"github.com/syncthing/syncthing/lib/build"
"github.com/syncthing/syncthing/lib/locations"
+ "g... | 3 | 2 | 0 | [{"id": "G0", "claim": "Have the two new INSERT statements for file_names and file_versions return the generated index integer (e.g. via ON CONFLICT DO UPDATE ... RETURNING) so the following files insert does not need to look the name and version up again.", "category": "performance", "verdict": "supported", "priority"... | null |
syncthing__syncthing__10472 | syncthing/syncthing | 10,472 | defect | ce884e5d7253ed82379f918e169438eb64fcece0 | 4adc42ae49d1235cd2094bee513298c99d971abc | chore(model): refactor context handling for folder type | Remove the weird and unidiomatic context field from the folder type, instead making sure to pass down the context from Serve() into each method that needs it. This also activated some linters who now recognised that there was a context to begin with, so also refactor some logging while I'm there.
This _should_ be a ... | diff --git a/go.mod b/go.mod
index ef774983a97..2a223a776ee 100644
--- a/go.mod
+++ b/go.mod
@@ -76,7 +76,7 @@ require (
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/lufia/plan9stats v0.0.0-20240909124753-873cd0166683 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
- github.com/maxbrun... | 1 | 1 | 0 | [{"id": "G0", "claim": "newConfigWrapper should delegate to the new newConfigWrapperFromContext method passing context.Background(), instead of duplicating its body, to save a few lines.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
syncthing__syncthing__1804 | syncthing/syncthing | 1,804 | defect | 83ea8dc5772c3ef54933e86a2a48330d1f2e8a51 | 8b411b5584f1b089a4fdc73c1b3342f24b6f843b | Implement virtual mtime support for Android | Fixes #831.
I believe I've addressed all of the issues raised in #1802.
This PR includes #1803.
Note that this patch removes the lenientMtimes option completely, as it's no longer necessary.
| diff --git a/AUTHORS b/AUTHORS
index ef4e71ab568..d47d47fb80a 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -13,6 +13,7 @@ Brendan Long <self@brendanlong.com>
Caleb Callaway <enlightened.despot@gmail.com>
Carsten Hagemann <moter8@gmail.com>
Cathryne Linenweaver <cathryne.linenweaver@gmail.com> <Cathryne@users.noreply.github... | 15 | 7 | 1 | [{"id": "G0", "claim": "Reuse the existing err variable instead of declaring a new errStat for the os.Stat result in shortcutFile, and likewise in performFinish.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Walker field comment should say ... | null |
syncthing__syncthing__6710 | syncthing/syncthing | 6,710 | defect | 3e4a90a2ba44b34e60c9553426612b8ffd961a2d | 121ac5d9c9a6ab6b9e0a3cd7b3f3f6240a63a254 | cmd/stcrashreceiver: Pick up extra build tags and send to Sentry | This extracts the extra tags from any `[foo]` stuff at the end of the
version and sends them to Sentry for indexing.
If I need to modify that regexp again I'll probably write a from scratch
tokenizer and parser for our version string instead...
| diff --git a/cmd/stcrashreceiver/sentry.go b/cmd/stcrashreceiver/sentry.go
index 7affc1e5f19..ebfe3cc08d6 100644
--- a/cmd/stcrashreceiver/sentry.go
+++ b/cmd/stcrashreceiver/sentry.go
@@ -148,22 +148,26 @@ func parseReport(path string, report []byte) (*raven.Packet, error) {
if version.commit != "" {
pkt.Tags = a... | 1 | 1 | 1 | [{"id": "G0", "claim": "Sending every extra build tag under the single repeated key \"extra\" is wrong because Sentry tags are a map server-side, so each tag should instead be sent as its own unique key (e.g. badger=1, noupgrade=1).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
syncthing__syncthing__6884 | syncthing/syncthing | 6,884 | defect | f2f1a28206a986d6abc291020c128f6ace24e723 | 7b2e8452d788518bd6d433c4578786c38f90cf42 | Created cleanup functionality for syncthing | ### Purpose
Describe the purpose of this change. If there is an existing issue that is
resolved by this pull request, ensure that the commit subject is on the form
`Some short description (fixes #1234)` where 1234 is the issue number.
https://github.com/syncthing/syncthing/issues/6527
Adding the trash can featur... | diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js
index 7d764967f76..f27c529cf2b 100755
--- a/gui/default/syncthing/core/syncthingController.js
+++ b/gui/default/syncthing/core/syncthingController.js
@@ -1,2528 +1,2976 @@
-angular.module('syncthing.core')... | 9 | 7 | 1 | [{"id": "G0", "claim": "The formatter-only churn in syncthingController.js should be reverted so the diff shows the actual change.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The html changes should follow the existing whitespace conventions ... | null |
syncthing__syncthing__6971 | syncthing/syncthing | 6,971 | defect | ecc24428ac39a429854a43d867fd3542d3b6b152 | f3f03de04ed132a8d5820c6496ca78adcf4383f0 | lib/db, lib/syncthing: Don't repair DB on upgrade, but on error (fixes #6917) | No longer repair the db unconditionally on upgrade (fixes #6917). Instead when an error due to an inconsistency occurs, mark the db as needing repair. Then on next startup, do the repair. | diff --git a/lib/db/backend/backend.go b/lib/db/backend/backend.go
index b69e45c4298..2cdeaf49852 100644
--- a/lib/db/backend/backend.go
+++ b/lib/db/backend/backend.go
@@ -109,6 +109,8 @@ type Iterator interface {
// consider always using a transaction of the appropriate type. The
// transaction isolation level is "... | 4 | 3 | 1 | [{"id": "G0", "claim": "The repair marker should be set outside the database itself (e.g. touching databaseDir+\".needsrepair\") because the database may not be writable or the write+panic may not flush it, and the lowlevel itself should check for it on open and run the repair before returning the database.", "category... | null |
syncthing__syncthing__7001 | syncthing/syncthing | 7,001 | defect | 3e24d8251322b03bc0eb42354bc030816ab7c2a0 | 262fbf13d337837252d4529e12208947372dc0e0 | lib/api: Add /rest/config endpoint (fixes #6540) | In this PR I add new rest endpoints at `/rest/config` to allow for partial config reading/changes. I mostly follow what was proposed in #6540, with the exception that I don't support setting individual options like e.g. `/rest/config/options/maxsendkbps`. To do that you do a `PATCH` request on `/rest/config/options` wi... | diff --git a/lib/api/api.go b/lib/api/api.go
index 15a76bf8069..d89150f6e04 100644
--- a/lib/api/api.go
+++ b/lib/api/api.go
@@ -34,7 +34,6 @@ import (
metrics "github.com/rcrowley/go-metrics"
"github.com/thejerf/suture"
"github.com/vitrun/qart/qr"
- "golang.org/x/crypto/bcrypt"
"github.com/syncthing/syncthin... | 12 | 9 | 2 | [{"id": "G0", "claim": "The granular config endpoints should not be added to the v1 REST API — the effort should go into the future grpc/v2 API instead, since extending the v1 API is a high price for mere convenience and wasted effort that will constrain v2.", "category": "design", "verdict": "opposed", "priority": "P1... | null |
syncthing__syncthing__7038 | syncthing/syncthing | 7,038 | defect | d828adb648997c563bbcdbdbafd1980c574db65b | d7ad2a2ccf0edadf636215f17e46d16e5af27e89 | lib/model: Handle index sender lifetime (fixes #7034) | Manages life-time of index senders. Previously they were only tied to the connection staying alive and new cluster configs, in which case index senders are terminated. Now index senders are also un-/paused together with folders and stopped when removing a folder. When unpausing the newly generated fileset is passed, th... | diff --git a/lib/model/model.go b/lib/model/model.go
index 06c06ee89c0..cd676b36413 100644
--- a/lib/model/model.go
+++ b/lib/model/model.go
@@ -150,7 +150,7 @@ type model struct {
helloMessages map[protocol.DeviceID]protocol.Hello
deviceDownloads map[protocol.DeviceID]*deviceDownloadState
remotePausedF... | 5 | 4 | 1 | [{"id": "G0", "claim": "lockBoth's multiple boolean parameters make call sites unreadable and the lock-ordering rationale is unproven, so a more explicit alternative (a named helper like lockFandRLockP or a single lock) is preferred.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
syncthing__syncthing__7389 | syncthing/syncthing | 7,389 | defect | b1fbd876800697911b06a52e750ae0a3ac6a8057 | 5d85420d9f8e4c3f1e90060d9b2005883cbcf47f | lib/fs: Expose fs option on interface (fixes #7385, ref #7381) | Fixes #7385 by only checking for infinite recursion if the junctions-as-dirs option is enabled.
Passing around options like I did in #7381 is tedious/repetitive. I thus changed the way options work from passing function `With...` style arguments to const/bitmask options. This allows knowing what options are active o... | diff --git a/lib/config/folderconfiguration.go b/lib/config/folderconfiguration.go
index 33efda73957..a4c5a41a566 100644
--- a/lib/config/folderconfiguration.go
+++ b/lib/config/folderconfiguration.go
@@ -47,11 +47,11 @@ func (f FolderConfiguration) Filesystem() fs.Filesystem {
// cfg.Folders["default"].Filesystem() ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The change limits filesystem options to booleans with the same meaning across implementations, losing the ability to express options like fakefs's numerical options or the numerical options casefs could/should take to control its caching parameters, and would need a string/query-like representat... | null |
syncthing__syncthing__7510 | syncthing/syncthing | 7,510 | defect | bc08a951f1b5e61b4f0efd67d2b7b12569ada482 | 45565c6f069ef39cb9242b6ede545df8ba5ef789 | lib: Handle adding enc folders on an existing conn (fixes #7509) | Fixes #7509 by adding a method to the connection to set new folder passwords. This means that any connection may become (partly) encrypted. Thus there's no longer two separate factory methods, but every connection is a `encryptedConnection`.
The passwords on the connection are (re-)set when sending cluster-configs, ... | diff --git a/lib/connections/service.go b/lib/connections/service.go
index e61a8c0824b..24f6de379da 100644
--- a/lib/connections/service.go
+++ b/lib/connections/service.go
@@ -335,13 +335,7 @@ func (s *service) handle(ctx context.Context) error {
isLAN := s.isLAN(c.RemoteAddr())
rd, wr := s.limiter.getLimiters(r... | 5 | 4 | 0 | [{"id": "G0", "claim": "The generateClusterConfig doc comment should be updated to mention that the function now also returns the set of folder passwords.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "encryptedConnection should hold a pointer to ... | null |
syncthing__syncthing__7756 | syncthing/syncthing | 7,756 | defect | 08f6a914416ab0543ab2b82c6d92e1286dfd30e9 | c779032305ab374dd60fb67afcacc68970f2355a | fix(darwin): event missing while modify to empty | ### Purpose
#### Modified the EventMask for event watch under darwin, added `FSEventsInodeMetaMod`, and attached related test cases.
#### To fix #7731
Modified the content to empty use os.WriteFile will first truncate the file (`/os/file.go:696`) then write nothing. This logic is also used in many editors, su... | diff --git a/go.mod b/go.mod
index d5bff0083ec..7f816508a2f 100644
--- a/go.mod
+++ b/go.mod
@@ -19,7 +19,7 @@ require (
github.com/gobwas/glob v0.2.3
github.com/gogo/protobuf v1.3.2
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
- github.com/golang/protobuf v1.5.2 // indirect
+ github.com/golang... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new file's copyright header should say 2021 instead of 2017.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The go.mod/go.sum changes are spurious and should be undone.", "category": "maintainability", "verdict": "suppo... | null |
syncthing__syncthing__8820 | syncthing/syncthing | 8,820 | defect | 3ffe859fe817b94983dd5ab87227fe5f1322cdd3 | 703f20af4d53f7bc6a72f722b08fe94a978db9c6 | lib/protocol: Cache expensive key operations (fixes #8599) | This adds a cache to the expensive key generation operations. It's fixes size LRU/MRU stuff to keep memory usage bounded under absurd conditions.
Also closes #8600.
| diff --git a/cmd/syncthing/decrypt/decrypt.go b/cmd/syncthing/decrypt/decrypt.go
index 5d4746ed9ac..92720f7544c 100644
--- a/cmd/syncthing/decrypt/decrypt.go
+++ b/cmd/syncthing/decrypt/decrypt.go
@@ -68,7 +68,7 @@ func (c *CLI) Run() error {
}
}
- c.folderKey = protocol.KeyFromPassword(c.FolderID, c.Password)
+... | 1 | 1 | 0 | [{"id": "G0", "claim": "The key generator should be stored in connection.service and passed to the protocol connection constructors instead of living as the package-level global DefaultFolderKeyGenerator.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
syncthing__syncthing__9159 | syncthing/syncthing | 9,159 | defect | 3d0da5ac60ab02cf47ca5cd4fada48cc70360ec9 | 0e47d37e738d4c15736c496e01cd949afb372e71 | Check basic auth (and set session cookie) before noauth exceptions | ### Purpose
This is motivated by the Android app: https://github.com/syncthing/syncthing-android/pull/1982#issuecomment-1752042554
The planned fix in response to basic auth behaviour changing in #8757 was to add the `Authorization` header when opening the WebView, but it turns out the function used only applies t... | diff --git a/lib/api/api_auth.go b/lib/api/api_auth.go
index ee3bb88e6e1..76914d38795 100644
--- a/lib/api/api_auth.go
+++ b/lib/api/api_auth.go
@@ -87,12 +87,6 @@ func basicAuthAndSessionMiddleware(cookieName string, guiCfg config.GUIConfigura
return
}
- // Exception for static assets and REST calls that don... | 2 | 1 | 1 | [{"id": "G0", "claim": "Sending an incorrect auth header may result in an error when loading no-auth resources, and it is unclear whether that behavior is desirable.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The change creates a new un-throttled ... | null |
syncthing__syncthing__9314 | syncthing/syncthing | 9,314 | defect | 86a08eb87df2aa6cf1ab631120a0b918617a98b3 | 51acfc0cb24b356dac1e8e71d036d39cf271cdd5 | gui: Keep short deviceID length consistent + xrefs (fixes #9313) | ### Purpose
Making short deviceID length consistent and referencing to protocol file for future-proof edits. Closes #9313. | diff --git a/gui/default/index.html b/gui/default/index.html
index 729e50580b7..676822d80c1 100644
--- a/gui/default/index.html
+++ b/gui/default/index.html
@@ -910,7 +910,7 @@ <h4 class="panel-title">
</tr>
<tr ng-if="deviceCfg.introducedBy">
<th><... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `|| ...substring(0, shortIDStringLength)` fallback in the Introduced By cell is redundant and should be removed, which would also make adding `shortIDStringLength` to `$scope` unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id... | null |
syncthing__syncthing__9327 | syncthing/syncthing | 9,327 | defect | 9387e107b3a8b33b5d4f3a8c1b837e1271cc5cff | cfc8c62d8f5b530f3d1139ca9e61f2416bd334af | lib/versioner: expand tildes in version directory (fixes #9241) | ### Purpose
Fix #9241 by expanding tildes in version paths.
When creating the versioner file system, first try to expand any leading tildes to the user's home directory before handling relative paths. This makes a version path `"~/p"` expand to `"$HOME/p"` instead of `"/folder/~/p"`.
### Testing
Added a tes... | diff --git a/lib/versioner/simple_test.go b/lib/versioner/simple_test.go
index fe92478e7d01..030cb6420087 100644
--- a/lib/versioner/simple_test.go
+++ b/lib/versioner/simple_test.go
@@ -8,7 +8,9 @@ package versioner
import (
"math"
+ "os"
"path/filepath"
+ "strings"
"testing"
"time"
@@ -93,3 +95,63 @@ fun... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new TestPathTildes fails on the Windows runner, probably because the legacy HOMEDRIVE/HOMEPATH check takes precedence over USERPROFILE.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
syncthing__syncthing__9701 | syncthing/syncthing | 9,701 | defect | 0ea90dd932332b025889a67bfda8e153d8afea14 | 3c64a684b82516ca136a25906ac57d10f430b764 | chore(fs): only cache the cache for case FS, not the entire FS | This would have addressed a recent issue that arose when re-ordering our "filesystem layers". Specifically moving the caseFilesystem to the outermost layer. The previous cache included the filesystem, and as such all the layers below. This isn't desirable (to put it mildly), as you can create different variants of file... | diff --git a/lib/fs/casefs.go b/lib/fs/casefs.go
index f68cf3c00af4..c8ffe61878c3 100644
--- a/lib/fs/casefs.go
+++ b/lib/fs/casefs.go
@@ -50,7 +50,7 @@ type fskey struct {
// caseFilesystemRegistry caches caseFilesystems and runs a routine to drop
// their cache every now and then.
type caseFilesystemRegistry struc... | 1 | 1 | 0 | [{"id": "G0", "claim": "The caseCache alias should not include the pointer star; the pointer should instead be visible at the places the type is used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
syncthing__syncthing__9717 | syncthing/syncthing | 9,717 | defect | a156e88eef78461e9ffd143fc6b95fda166ea37e | a7fceecf04d3a7f36d9887c20ec0a46dbf21292f | fix(ignore): ensure normalization of patterns and paths match (fixes #9597) | In ignores, normalize the input when parsing it.
When scanning, normalize earlier such that the path is already normalized when checking ignores. This requires splitting normalization of the string from normalization of the file, as we don't want to attempt the latter if the file is ignored.
Closes #9598 | diff --git a/lib/ignore/ignore.go b/lib/ignore/ignore.go
index f0510d825401..4da3e57a15ff 100644
--- a/lib/ignore/ignore.go
+++ b/lib/ignore/ignore.go
@@ -387,6 +387,10 @@ func loadParseIncludeFile(filesystem fs.Filesystem, file string, cd ChangeDetect
}
func parseLine(line string) ([]Pattern, error) {
+ // We use ... | 2 | 2 | 2 | [{"id": "G0", "claim": "Normalizing each ignore line with osutil.NativeFilename may convert `//comments` to `\\\\not comments` on Windows, mangling the pattern.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The macOS CI failure is genuine rather th... | null |
syncthing__syncthing__9887 | syncthing/syncthing | 9,887 | defect | 1efcfeb3adb67750f4b2deabb6a35d99b5edf39e | 63a069835cee87a579c41a0e02e05a3c72e0d330 | feat(fs, config): add support for custom filesystem type construction | ### Purpose
For Synctrain I would like to create a virtual filesystem that exposes iOS' photo library. This can only be accessed through APIs.
In their fork MobiusSync [have added a method `ExtNewFileystem`](https://github.com/MobiusSync/syncthing/blob/ios/lib/ext/ext.go) to a global `ExtCallback` object for the... | diff --git a/lib/config/config_test.go b/lib/config/config_test.go
index 14ef5330878f..b4d61fab4c02 100644
--- a/lib/config/config_test.go
+++ b/lib/config/config_test.go
@@ -111,6 +111,7 @@ func TestDefaultValues(t *testing.T) {
AutoNormalize: true,
MinDiskFree: size,
Versioning: VersioningConfi... | 6 | 6 | 3 | [{"id": "G0", "claim": "The PR's custom-filesystem mechanism is a halfway measure built around a single hardcoded, non-descriptively named custom filesystem type; it should instead be a full in-Syncthing mechanism where external code registers filesystem types and the config accepts them.", "category": "design", "verdi... | null |
syndtr__goleveldb__270 | syndtr/goleveldb | 270 | defect | 3a907f965fc16db5f7787e18d4434bbe46d47f6e | 1c0af6823f54e1d51b47d3cc25d9d96811690a1e | leveldb: make heavy version reference asynchronous | This PR introduces an efficient approach for table file reference.
The original for file reference is:
* When the database version is first time created, then references all relative table files by increasing file ref by 1
* When the version is released(no operation hold the version), deferences all table files b... | diff --git a/leveldb/session.go b/leveldb/session.go
index 1bec34c4..98e0b425 100644
--- a/leveldb/session.go
+++ b/leveldb/session.go
@@ -53,9 +53,18 @@ type session struct {
manifestWriter storage.Writer
manifestFd storage.FileDesc
- stCompPtrs []internalKey // compaction pointers; need external synchroniza... | 3 | 2 | 2 | [{"id": "G0", "claim": "holiman asks whether `d` can be nil at all when it is present in the released map, questioning the necessity of the `if d != nil` guard in the released-versions processing loop.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G2", "claim": "... | null |
synergycodes__ng-diagram__118 | synergycodes/ng-diagram | 118 | defect | 7fd7166ca691f77dd308e2aec5cdc2bf63a44dc4 | 5340a25c057a7355204280c46de2ca2bf7f149e7 | AF-82 move rotation handle to top right corner | 
| diff --git a/packages/angular-adapter/projects/angular-adapter/src/lib/components/node/angular-adapter-node.component.ts b/packages/angular-adapter/projects/angular-adapter/src/lib/components/node/angular-adapter-node.component.ts
index ce5134ce3..6fe29fbee 100644
--- a/packages/angular-adapter/projects/angular-adapter... | 2 | 2 | 0 | [{"id": "G0", "claim": "Optional properties in computedOffset should default to undefined rather than null when the metadata value is not set (bottom and left should not fall back to null).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hard... | null |
synergycodes__ng-diagram__160 | synergycodes/ng-diagram | 160 | defect | 2b74b6dd8c70b3b9f0f168b214b3a1be34c7e0ee | b79750a1fa673b7821b136f0dd0f014c14190ca2 | [AF-101] Support pasting nodes under cursor | **Info:**
There's a problem with offset when pasting nodes, it looks like this PR should resolve the problem here: https://github.com/synergycodes/angularflow/pull/155 | diff --git a/packages/angular-adapter/projects/angular-adapter/src/lib/components/diagram/angular-adapter-diagram.component.ts b/packages/angular-adapter/projects/angular-adapter/src/lib/components/diagram/angular-adapter-diagram.component.ts
index 556e0a1a7..24cc30161 100644
--- a/packages/angular-adapter/projects/ang... | 1 | 1 | 0 | [{"id": "G0", "claim": "The explicit sourcePort and targetPort overrides in createPastedEdges are unnecessary because the `...edge` spread already carries those fields over.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
synergycodes__ng-diagram__70 | synergycodes/ng-diagram | 70 | defect | 8912ec33373097034303533c2955e38e342ad5fd | e7c442184f07beafd3264d3217ffed0ac35be575 | Add resize adornment in angular adapter | 
| diff --git a/apps/angular-demo/src/app/app.component.ts b/apps/angular-demo/src/app/app.component.ts
index f4c124bf5..85475ed1a 100644
--- a/apps/angular-demo/src/app/app.component.ts
+++ b/apps/angular-demo/src/app/app.component.ts
@@ -30,7 +30,13 @@ export class AppComponent {
constructor() {
this.model().s... | 3 | 2 | 2 | [{"id": "G0", "claim": "Carrying the resize adornment styling as a per-node property means every node must repeat the same config data, so the styling should be a global flow-core config (eventually per node template), not per node.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"... | null |
synfig__synfig__1971 | synfig/synfig | 1,971 | defect | 4d7689b40a7a846400195672e9dfc3f2db653c1c | 6c00d3d27dae49dc1fe98c61be3d7e6ef0f93479 | [Synfig Studio] Fix action LayerDuplicate with layers "duplicate" o.O | Two problems fixed:
- #1921
- User wants to duplicate two layers "duplicate" in different groups (user would receive a error dialog and he'd need to duplicate again, but one layer at a time in order to get work done)
And it implements a test for LayerDuplicate action (in `synfig-studio/test`folder). For Autotools,... | diff --git a/synfig-studio/src/synfigapp/actions/layerduplicate.cpp b/synfig-studio/src/synfigapp/actions/layerduplicate.cpp
index f504e6f88ea..6a4b03c4f3b 100644
--- a/synfig-studio/src/synfigapp/actions/layerduplicate.cpp
+++ b/synfig-studio/src/synfigapp/actions/layerduplicate.cpp
@@ -114,15 +114,26 @@ Action::Layer... | 3 | 2 | 0 | [{"id": "G0", "claim": "The loop over `layers` in LayerDuplicate::prepare() that the pull request added should be written as a range-based for (`for (const auto i : layers)`) instead of explicit begin/cend iterators.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id... | null |
synfig__synfig__2398 | synfig/synfig | 2,398 | defect | b23b68fd58ac7a4e07373cb4f86c6f50b873406e | afef0fd16c4c116be6ece9ee4645365ba75c7291 | Make Node::parent_set private | Inspired by the work of @ice0 in PR #1935 , I changed the access level of `Node::parent_set` for thread safety purposes. | diff --git a/synfig-core/src/synfig/canvas.cpp b/synfig-core/src/synfig/canvas.cpp
index c26137c1eb2..40042f44227 100644
--- a/synfig-core/src/synfig/canvas.cpp
+++ b/synfig-core/src/synfig/canvas.cpp
@@ -121,16 +121,11 @@ Canvas::~Canvas()
// which deletes the current element from the set we're iterating
// throug... | 6 | 4 | 0 | [{"id": "G0", "claim": "The pull request lacks unit tests covering the new Node methods (foreach_parent, find_all_parents_of_type, find_first_parent_of_type) that it adds.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use a reference in the range-for o... | null |
synfig__synfig__2686 | synfig/synfig | 2,686 | defect | c13d9459607b4698b1c41d6a76bc886d4537a6fb | e5a94f50163241d3729e37815895e444cdfed125 | BREAKING CHANGE: replace `etl::smart_ptr` with `std::shared_ptr` | - Remove `etl::smart_ptr`
- `synfig::SmartFILE` is now based on `std::shared_ptr` | diff --git a/.gitignore b/.gitignore
index fea72271e52..cdb5f1beaea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -224,7 +224,6 @@ ETL/test/handle
ETL/test/hermite
ETL/test/pen
ETL/test/smach
-ETL/test/smart_ptr
ETL/test/stringf
ETL/test/surface
diff --git a/ETL/ETL/CMakeLists.txt b/ETL/ETL/CMakeLists.txt
index 3e... | 2 | 2 | 0 | [{"id": "G0", "claim": "Replace `new` with `std::make_shared` when constructing the shared Point/Angle/Real objects passed to set_shared_point/set_shared_angle/set_shared_mag in Duckmatic::add_to_ducks.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
syntasso__kratix__165 | syntasso/kratix | 165 | defect | da698252fa5663af02e2b6467ff022cd75df4a68 | 919cc8adb95ec94e51d69d8eb8217775fbd448d9 | Clearer pipeline visibility | Implements #84
This PR updates the pipeline naming format to ensure they are named in the format, `kratix-<promiseName>-<pipelineName>-UUID` for Promise Configure and Delete pipelines and `kratix-<promiseName>-<resourceName>-<pipelineName>-UUID` for Resource Configure and Delete Pipelines. This makes no changes to t... | diff --git a/lib/pipeline/args.go b/lib/pipeline/args.go
index 206e662ab..6e84fb2cc 100644
--- a/lib/pipeline/args.go
+++ b/lib/pipeline/args.go
@@ -11,8 +11,8 @@ func NewPipelineArgs(promiseIdentifier, resourceRequestIdentifier, pName, name,
}
names := map[string]string{
- "configure-pipeline-name": pipelineNam... | 4 | 4 | 1 | [{"id": "G0", "claim": "NewConfigureResource passes rr.GetName() twice to NewPipelineArgs, so the second argument that should be the resourceRequestIdentifier is wrong.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test descriptions should say ... | null |
syntasso__kratix__167 | syntasso/kratix | 167 | defect | 1a60455cdb482be3055b90d245c3bd520c582440 | 3175a0ad5dac2cc2d94b94c36e601e451665db82 | fix: set finalizer in Works | closes #166
Set finalizer in works to clean up its workplacements before deleting work | diff --git a/controllers/destination_controller.go b/controllers/destination_controller.go
index 378b6d7dc..499fdd052 100644
--- a/controllers/destination_controller.go
+++ b/controllers/destination_controller.go
@@ -49,10 +49,6 @@ type DestinationReconciler struct {
//+kubebuilder:rbac:groups=platform.kratix.io,resou... | 1 | 1 | 1 | [{"id": "G0", "claim": "Unit tests for the deletion path should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
syntasso__kratix__20 | syntasso/kratix | 20 | defect | 36fe47045ac0c9c20faaf9031defabb50841405b | 7adf710b309c75b2966279fba6001ae5b92b32c9 | feat: pipeline containers to share the same vols | instead of having the previous container's output becoming the next container's output, this commit makes all containers to have access to the same shared volumes;
this commit also creates the mounts under the `/kratix` directory, since the names `input`, `output`, and `metadata` are not that unique and may clash wi... | diff --git a/config/samples/postgres/transformation-image/Dockerfile b/config/samples/postgres/transformation-image/Dockerfile
index 87707c17a..a4c0997b9 100644
--- a/config/samples/postgres/transformation-image/Dockerfile
+++ b/config/samples/postgres/transformation-image/Dockerfile
@@ -3,7 +3,7 @@ RUN [ "mkdir", "/tr... | 2 | 1 | 0 | [{"id": "G0", "claim": "The volumes and volumeMounts literals are duplicated between configurePipelineInitContainers (configure.go) and deletePipelineContainers (delete.go), and the shared piece of code should be extracted for both.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "in... | null |
syntasso__kratix__244 | syntasso/kratix | 244 | defect | 9b0fd77f86eef460c6790575ecd3e77814150605 | a2dcc6d078e495d06ea417459b156a435d4f7143 | Feat: Accept authorization header for promise release URL fetch | This will allow users to provide the authorization header Kratix should use when fetching the promise release source.
It is likely we will want to provide other options and this can easily be extended to allow that, but is kept intentionally narrow to support this use case for now.
One thing to note is that the i... | diff --git a/Makefile b/Makefile
index a6e75722f..34ecfa8d0 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,7 @@ manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and Cust
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
... | 4 | 3 | 0 | [{"id": "G0", "claim": "The duplicated return inside FetchSecretFromReference's error branch (IsNotFound and the fallthrough both return nil, err) is redundant and misrepresents which errors are retryable.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim... | null |
syntasso__kratix__296 | syntasso/kratix | 296 | defect | 41abb4c8fe4ba11a6c4e6675cde4082f0f6d0b3a | f8df3db9057f318b0553cac83b181e09e7a81d42 | feat: delete resources when the destination is deleted | Closes #232.
Introducing the `cleanup` field in the `Destination` spec. If set to `all`, `workplacements` and State Store contents will be removed after removing the destination. Defaults to `none`.
| diff --git a/api/v1alpha1/destination_types.go b/api/v1alpha1/destination_types.go
index d61c0b951..37a3265fa 100644
--- a/api/v1alpha1/destination_types.go
+++ b/api/v1alpha1/destination_types.go
@@ -59,6 +59,13 @@ type DestinationSpec struct {
//The filepath mode to use when writing files to the destination.
// +... | 1 | 1 | 1 | [{"id": "G0", "claim": "If the cleanup field is intended to be mutable, the controller may need to support transitioning from cleanup all to none, which would involve removing the previously added destination-cleanup finalizer.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
syntasso__kratix__342 | syntasso/kratix | 342 | defect | fc6bf191e04997aeee017fb0fdf8ca297b3297b7 | 9d5e784c0812642f1243edc77f3bc0f19693d22e | Bug/233/promise deletion with orphaned resources | * Run Kratix quick-start
* Install the Redis promise from the marketplace
* Request a new instance from the promise
* Ensure the redis operator and the requested redis are running in the worker
* In the platform, delete the worker-1 destination
* Delete the redis promise
### New Behaviour
* The Redis instance ... | diff --git a/controllers/workplacement_controller.go b/controllers/workplacement_controller.go
index 49f1a2cdb..d8ebe985b 100644
--- a/controllers/workplacement_controller.go
+++ b/controllers/workplacement_controller.go
@@ -36,8 +36,10 @@ import (
)
const (
- resourcesDir = "resources"
- dependenciesDir = "depe... | 2 | 2 | 1 | [{"id": "G0", "claim": "The destination Get call in Reconcile should use the provided context (ctx) instead of context.Background().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The WorkPlacement deletion-handling block in Reconcile should be move... | null |
syntasso__kratix__35 | syntasso/kratix | 35 | defect | 4bb43f8a0aaa086c72ebbd1d9d353762c8f76b36 | f3438308c77042b91879131f71a7a0ccb3beb434 | fix: stop dynamic controller on promise deletion by restarting manager | Fixes
https://github.com/syntasso/kratix/issues/27
https://github.com/syntasso/kratix/issues/34 | diff --git a/controllers/promise_controller.go b/controllers/promise_controller.go
index 569c1956f..5ea0f964f 100644
--- a/controllers/promise_controller.go
+++ b/controllers/promise_controller.go
@@ -47,6 +47,7 @@ type PromiseReconciler struct {
Log logr.Logger
Manager ctrl.... | 1 | 1 | 1 | [{"id": "G0", "claim": "In main.go the error returned by mgr.Start(ctx) is never nil-checked, so a clean shutdown is logged as an error and exits 1 — the check should be on err itself (the line below logs it unconditionally).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
syntasso__kratix__540 | syntasso/kratix | 540 | defect | afaa0e97efcd8a34c8f5e7bd09ee4b25e2e3232e | 3bc9f774973fe4a44cd92abcdc80591011d95173 | feat: set workflows, workflowsSucceeded, workflowsFailed for Promises and Resources status | ## Context
Setting some workflow related counter statues for both promise and resource requests.
### Successfully installed Promise/Resource Request with no workflows
```
Status: Available
Version: v0.1.0
Workflows: 0
Workflows Failed: 0
Work... | diff --git a/api/v1alpha1/promise_types.go b/api/v1alpha1/promise_types.go
index 5c2b1a8d2..e1bb02c16 100644
--- a/api/v1alpha1/promise_types.go
+++ b/api/v1alpha1/promise_types.go
@@ -124,6 +124,9 @@ type PromiseStatus struct {
Kind string `json:"kind,omitempty"`
APIVersion s... | 4 | 1 | 1 | [{"id": "G0", "claim": "After computing statusUpdate from generateResourceStatus in DynamicResourceRequestController.Reconcile, the code never persists the updated status counters; add a Client.Status().Update when statusUpdate is true.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in... | null |
syntasso__kratix__577 | syntasso/kratix | 577 | defect | 35e5f5d0ee130e85d92526449351991d4e128336 | 7c3c2eff6f8b5b545dfe3bdc8713dbbb2303eca2 | fix: better handling of VersionID cache | Once the files are written successfully to the state store, we
immediately update a condition on the resource to reflect that. In rare
occasions, that status update can fail. When that happens, the version
id could be lost, since we were not storing it anywhere for the next
reconciliation
This commit fixes that behavi... | diff --git a/internal/controller/suite_test.go b/internal/controller/suite_test.go
index 128ee614e..c9e147ee6 100644
--- a/internal/controller/suite_test.go
+++ b/internal/controller/suite_test.go
@@ -62,9 +62,6 @@ var _ = BeforeSuite(func(_ SpecContext) {
}, NodeTimeout(time.Minute))
-var _ = AfterSuite(func() {
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the unnecessary blank line after the getVersionID function signature for consistency with other function definitions.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
syntasso__kratix__612 | syntasso/kratix | 612 | defect | ce69df0831889d52294346163a7e4112b4c3b85c | b48de1885f456875c7575ddb521963cf1818ac89 | feat: add GithubApp auth to GitStateStore | Closes #346.
Note: The current implementation requests a GitHub App installation access token during each reconciliation. This approach may eventually hit rate limits, but according to GitHub’s official documentation, the limit is 5,000 requests per hour. This should be sufficient for now.
If users start encounte... | diff --git a/api/v1alpha1/gitstatestore_types.go b/api/v1alpha1/gitstatestore_types.go
index 14d0ef2a5..c80bc816a 100644
--- a/api/v1alpha1/gitstatestore_types.go
+++ b/api/v1alpha1/gitstatestore_types.go
@@ -22,8 +22,9 @@ import (
)
const (
- BasicAuthMethod = "basicAuth"
- SSHAuthMethod = "ssh"
+ BasicAuthMetho... | 4 | 4 | 3 | [{"id": "G0", "claim": "The repeated `!ok` credential-extraction branches in NewGitWriter should be replaced with proper types, e.g. a NewGithubAppCreds constructor returning the creds or an error.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
syntasso__kratix__637 | syntasso/kratix | 637 | defect | 00429520d0bc445d9abf7a6c0db6aafbd0f8ca9e | 8abf3b27a0b37ad461bda15558ae3951ffddc661 | Feat/635/resource binding upgrade | closes #635 | diff --git a/api/v1alpha1/resourcebinding_types.go b/api/v1alpha1/resourcebinding_types.go
index 5b963c6af..76980637c 100644
--- a/api/v1alpha1/resourcebinding_types.go
+++ b/api/v1alpha1/resourcebinding_types.go
@@ -42,6 +42,7 @@ type ResourceBindingStatus struct {
// +kubebuilder:object:root=true
// +kubebuilder:... | 1 | 1 | 1 | [{"id": "G0", "claim": "If a resource has a binding and the promise delete pipeline has changed, the deletion flow runs the latest delete pipeline instead of the versioned delete pipeline.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
syntasso__kratix__639 | syntasso/kratix | 639 | defect | 18dbeddacb236875908fc00048c8d10a68e73812 | 04d84e2c7d2f64b9a41c347e107713cec245b39f | feat: block deletion on latest promiserevision | # Context
closes #638
In action:
```
❯ k get promiserevisions
NAME LATEST
redis-v0.1.0
redis-v0.2.0 true
❯ k delete promiserevisions.platform.kratix.io redis-v0.1.0
promiserevision.platform.kratix.io "redis-v0.1.0" deleted
❯ k delete promiserevisions.platform.kratix.io redis-v0.2.0
Error from... | diff --git a/PROJECT b/PROJECT
index 54807217e..23f447750 100644
--- a/PROJECT
+++ b/PROJECT
@@ -113,6 +113,9 @@ resources:
kind: PromiseRevision
path: github.com/syntasso/kratix/api/v1alpha1
version: v1alpha1
+ webhooks:
+ validation: true
+ webhookVersion: v1
- api:
crdVersion: v1
namespace... | 2 | 2 | 0 | [{"id": "G0", "claim": "The license headers this PR adds to promiserevision_webhook.go and promiserevision_webhook_test.go say \"Copyright 2021 Syntasso.\" and should say \"Copyright 2025 Syntasso.\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
syntasso__kratix__699 | syntasso/kratix | 699 | defect | 19699a07f8228b60520e0e482b8970ed819efe61 | c1e3255c161a1f4559ff0981349f2186b057497e | fix: only trigger resource request re-reconciliation once in a promise update | full exploration notes here: https://github.com/syntasso/kratix/issues/469#issuecomment-3890395879
# TLDR
I discovered that the bug was being caused because we would always label a resource request with manual reconciliation twice during a promise update. One we reconcile a promise update, the promise controller ... | diff --git a/internal/controller/dynamic_resource_request_controller.go b/internal/controller/dynamic_resource_request_controller.go
index 3ecebb631..5e8068ed3 100644
--- a/internal/controller/dynamic_resource_request_controller.go
+++ b/internal/controller/dynamic_resource_request_controller.go
@@ -253,11 +253,15 @@ f... | 3 | 2 | 0 | [{"id": "G0", "claim": "The new comment in ReconcileConfigure misspells \"practises\" and should read \"practices\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment says \"requeue\" but the function returns passiveRequeue=true and relie... | null |
syntasso__kratix__719 | syntasso/kratix | 719 | defect | 8565d97cac972526c099ea49c520c8388a266feb | b18d7c6dd6d351596aceb1e2888f1ab85fcefe5f | feat: Add option to cleanup workflow job pods after completion | ## Context
closes #702
can be turned on and configured in kratix config:
```yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: kratix
namespace: kratix-platform-system
data:
config: |
workflows:
jobOptions:
podTTLSecondsAfterFinished: 60
```
Controller logs clean up actio... | diff --git a/cmd/main.go b/cmd/main.go
index 7447fe1f1..d44a8db97 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -101,7 +101,8 @@ type Workflows struct {
}
type JobOptions struct {
- DefaultBackoffLimit *int32 `json:"defaultBackoffLimit,omitempty"`
+ DefaultBackoffLimit *int32 `json:"defaultBackoffLimit,omite... | 6 | 4 | 2 | [{"id": "G0", "claim": "The pod deletion loop deletes every pod matching the job-name label without verifying the pod is owned by the job (owner reference/UID) or terminal, so unrelated or non-terminal pods can be deleted; use the existing isPodOwnedByJob/isTerminalPod helpers to gate Delete.", "category": "correctness... | null |
syntasso__kratix__729 | syntasso/kratix | 729 | defect | 830a320b7e9f1cd121cdca56b53c7ed704d4ff80 | 4f6354f240dd8f89fdc1df83b187f658fb54f42b | feat: Gracefully shutdown dynamic controllers, instead of restarting all controllers | Please manually test! I recommend doing a Promoise install, delete, check no spammy logs, and then that a reinstall works as well. | diff --git a/cmd/main.go b/cmd/main.go
index 29b1c54c..49f64d2d 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -274,8 +274,6 @@ func main() {
EventRecorder: mgr.GetEventRecorderFor("Scheduler"),
}
- restartManager := false
- restartManagerInProgress := false
if err = (&controller.PromiseReconciler{
Api... | 5 | 3 | 0 | [{"id": "G0", "claim": "Now that the manager is never restarted and the code always os.Exit(...): after mgr.Start(ctx) returns, the surrounding for loop in cmd/main.go is redundant and will never iterate, so removing the loop would simplify control flow and avoid implying restart behavior that no longer exists.", "cate... | null |
syntasso__kratix__735 | syntasso/kratix | 735 | defect | fcaeaaf35c324518c158289a2a162cb924753336 | ec7bede89c95cf6f5d54cb0131e6bf40aa26ad26 | chore: change `status.message` for promises | "resource requested" doesn't really make sense for promises...
| diff --git a/work-creator/cmd/update_status.go b/work-creator/cmd/update_status.go
index 607b5087..978f2789 100644
--- a/work-creator/cmd/update_status.go
+++ b/work-creator/cmd/update_status.go
@@ -8,6 +8,7 @@ import (
"strings"
"github.com/spf13/cobra"
+ "github.com/syntasso/kratix/api/v1alpha1"
"github.com/s... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test description misspells 'Promise' as 'Promnise' and should read \"updates to 'Promise configured' if it is Pending and a Promise workflow\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
syntasso__kratix__750 | syntasso/kratix | 750 | defect | 4ef6f159e93c144a31d17f1ddb7d7b80465d8e2d | d06a76faceca91b47b3ed5faa5eaacc939f05041 | feat: do not schedule or update existing works | ## Context
Do not schedule or update existing works when pipeline is suspended or marked as retry.
closes #745 | diff --git a/test/system/assets/workflow-control/promise-updated.yaml b/test/system/assets/workflow-control/promise-updated.yaml
index e23c0a3e7..50e70470c 100644
--- a/test/system/assets/workflow-control/promise-updated.yaml
+++ b/test/system/assets/workflow-control/promise-updated.yaml
@@ -91,6 +91,15 @@ spec:
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The read-error message in ReadWorkflowControlFile says \"failed to workflow control file\" and should be replaced with the suggested wording.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unmarshal-error message in R... | null |
synthetic-lab__octofriend__66 | synthetic-lab/octofriend | 66 | defect | 5787d95ab0174f5df26ef9530cd59b885ab1ae87 | 0b1ef558df5cf13000af239e88c3dc08854b2a01 | Let our lil cephalopod buddy learn (Agent) skills | Discover SKILL.md files from configurable paths, parse YAML frontmatter for metadata, validate structure, and inject available skills into the system prompt as XML for LLM context.
Includes symlink-aware directory traversal and duplicate name detection.
Assisted-by: Claude Opus 4.5 via Crush | diff --git a/package-lock.json b/package-lock.json
index 602f859b..733028ab 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -35,6 +35,7 @@
"string-width": "^7.2.0",
"structural": "^0.0.29",
"to-rotated": "^1.0.0",
+ "yaml": "^2.0.0",
"zustand": "^5.0.3"
},
"bin": {
@@ -1015,7 +1... | 3 | 3 | 0 | [{"id": "G0", "claim": "The skill-discovery warnings should go through the logger module (e.g. logger.error(\"info\", \"...\")) instead of console.warn.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The config should nest the skills paths under... | null |
synthetichealth__synthea__1099 | synthetichealth/synthea | 1,099 | defect | 842ca4be64c4cf46cbb00157953f1de3e92f1a19 | 2e64c44cb52a7fa4e3bdf031485403ce0a4eaa85 | BFD RIF Minimal Set | This PR adds functionality to create a minimal set of RIF files with coverage for all claim types.
- Export summary CSV with counts of claims per beneficiary by claim type
- Add new Gradle task to filter exported RIF files to create a new set that includes only enough beneficiaries to cover all claim types | diff --git a/build.gradle b/build.gradle
index cf28e4800d..9ce7348952 100644
--- a/build.gradle
+++ b/build.gradle
@@ -66,7 +66,7 @@ dependencies {
implementation 'info.cqframework:cql:1.3.17'
implementation 'info.cqframework:model:1.3.17'
implementation 'info.cqframework:cql-to-elm:1.3.17'
-
+
implementa... | 2 | 2 | 0 | [{"id": "G0", "claim": "It would be good to add a unit test for the new SimpleCSV.unparse method.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would be good to add a unit test for BB2RIFMinimizer.getMinimalSetOfBenes, using a test file and checking... | null |
synthetichealth__synthea__1118 | synthetichealth/synthea | 1,118 | defect | cd8062ebce51203f64cc48dfcb78c27c56166272 | c1afd9ea449799c7c73606ce37cf44bb713bed77 | Various updates to BFD RIF SNF and HHA exports | Note that there are three new mapping files (available on the file share) utilized by this PR.
1. Fix a bug where all procedures would happen in one day
2. Reduce probability of various procedures during SNF stay
3. RIF revenue center codes are now mapped from procedure codes
4. Update BFD RIF SNF exporter so tha... | diff --git a/.gitignore b/.gitignore
index c51f08ef58..3fc1be2732 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,6 +26,10 @@ src/main/resources/export/dme_code_map.json
src/main/resources/export/hcpcs_code_map.json
src/main/resources/export/betos_code_map.json
src/main/resources/export/external_codes.csv
+src/main/... | 5 | 2 | 0 | [{"id": "G0", "claim": "ClaimEntry is a non-static inner class that does not reference its enclosing class, so it should be declared static.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Multiple line items per claim that do not have a HCPCS ma... | null |
synthetichealth__synthea__1144 | synthetichealth/synthea | 1,144 | defect | 32478f4fd48a355fb35434e8958aa25f30cb4443 | e5d2564a4ac32d4bab928b919e5854bfee840228 | Dependency bumps | This PR bumps dependencies to eliminate some transitive dependencies on libraries with known vulnerabilities. It also eliminates the dependency on the Spring Framework (!) which was being used solely for its HTTP client. That has now been replaced by OkHttp, which was already a transitive dependency.
An update to th... | diff --git a/.github/workflows/ci-build-test.yml b/.github/workflows/ci-build-test.yml
index 4a5f120a27..c0d2241d19 100644
--- a/.github/workflows/ci-build-test.yml
+++ b/.github/workflows/ci-build-test.yml
@@ -45,16 +45,16 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
- check_java8:
+ ... | 3 | 1 | 1 | [{"id": "G0", "claim": "The object returned by response.body() in RandomCodeGenerator.expandValueSet could be null and is dereferenced without a check at line 79.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The snakeyaml 1.32 version this PR pins... | null |
synthetichealth__synthea__1165 | synthetichealth/synthea | 1,165 | defect | afb9f156f7cec568b459d8ed7d3f0ef22c6e6791 | 78825ea8e69c4d4d2b0ea9a5d440d2ed7f8ce892 | FIPS County (CSV Exporter) and SSA County (RIF Exporter) | - Update CSV exporter to include patient FIPS county code and more frequently populate the zip code.
- Addresses #1124
- Fixes SSA County code default value (the default was `22090`) to try county name matching or picking a county within the correct state.
- Before this fix, approximately 200+ county codes w... | diff --git a/src/main/java/org/mitre/synthea/engine/Generator.java b/src/main/java/org/mitre/synthea/engine/Generator.java
index b28ac9d594..82d162e815 100644
--- a/src/main/java/org/mitre/synthea/engine/Generator.java
+++ b/src/main/java/org/mitre/synthea/engine/Generator.java
@@ -767,7 +767,7 @@ private Map<String, O... | 1 | 1 | 0 | [{"id": "G0", "claim": "stateCountyNameToCountyCode only uses the person parameter as a source of randomness, so the parameter should be changed to type \"RandomNumberGenerator rand\".", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
synthetichealth__synthea__1174 | synthetichealth/synthea | 1,174 | defect | 2fd1e9642436b84d8ebf70d4cb53a496e049948b | e1bd958cd0fd563d649bd5cfc3df5bcd88ff238e | BFD RIF total charge claim line | Fixes #1173
- Update BFD HHA exporter to add total charge revenue center line to all claims
- Update BFD SNF exporter to add total charge revenue center line to all claims
- Consolidate HHA claim periods by provider
- Separate consolidated claim lines by clinician
- Fix bug in claim cost aggregation for medicat... | diff --git a/src/main/java/org/mitre/synthea/export/BB2RIFExporter.java b/src/main/java/org/mitre/synthea/export/BB2RIFExporter.java
index 5d0e3dcc73..90784d1dec 100644
--- a/src/main/java/org/mitre/synthea/export/BB2RIFExporter.java
+++ b/src/main/java/org/mitre/synthea/export/BB2RIFExporter.java
@@ -76,6 +76,7 @@
im... | 3 | 1 | 1 | [{"id": "G0", "claim": "Restore the explicit generic type declaration / add generic type arguments instead of leaving them implicit on the changed lines.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Skipping HHA encounters whose mapped diagnos... | null |
synthetichealth__synthea__1176 | synthetichealth/synthea | 1,176 | defect | d4ff1c4e3ea13cd4089062d583e65c68138c5587 | 1b49e3360bc62630c17acbbada34b157741451e2 | Modify RIF tests so there are always DME claims. | Modify RIF tests so there are always DME claims.
- Adds a hearing aid module for only the unit tests.
- Adds a mock DME mapper class to ensure the hearing aid claim is exported regardless of the presence of mapping files.
- Ignore sonatype-lift complaints about "God Classes" -- we hear you, now go away. | diff --git a/.lift.toml b/.lift.toml
new file mode 100644
index 0000000000..c1e2be74fd
--- /dev/null
+++ b/.lift.toml
@@ -0,0 +1 @@
+disableTools = [ "refactor-first" ]
\ No newline at end of file
diff --git a/src/test/java/org/mitre/synthea/export/BB2RIFExporterTest.java b/src/test/java/org/mitre/synthea/export/BB2RIF... | 1 | 1 | 0 | [{"id": "G0", "claim": "The map method in the test's MockMapper is missing a Javadoc comment, which a checkstyleTest run flags, and should be fixed before merge.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
synthetichealth__synthea__1178 | synthetichealth/synthea | 1,178 | defect | 8a2e87dcb62933c4ef82a2641eca9449866a1c8a | 44aee910395f986cf46524832bed8583e843aeb0 | FHIR export resource type filter | Addresses #1104
Adds new config settings to support filtering the resource types that are exported in the FHIR exporter, by either an include list or exclude list. (Similar to the existing feature for CSVs)
This approach checks each resource type before instantiating the relevant HAPI resource class.
A few notes... | diff --git a/build.gradle b/build.gradle
index b704486731..3f011fe7b0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -95,6 +95,7 @@ dependencies {
implementation files('lib/sbscl/SimulationCoreLibrary_v1.5_slim.jar')
implementation 'org.sbml.jsbml:jsbml:1.6.1', {
exclude group:'org.apache.logging.log4j', ... | 3 | 3 | 2 | [{"id": "G0", "claim": "The resource type filter should also apply to Provenance, which is currently exported unconditionally whenever USE_US_CORE_IG is set.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When exporting a subset of resources, if the... | null |
synthetichealth__synthea__1193 | synthetichealth/synthea | 1,193 | defect | 3653c984cd0558a3d7ed07a6cbb6afd314ec94e4 | 1d5baf9d8eeb3174b74a377e03d0955dd99fa3a8 | TypeOfCare Transition | This PR introduces a TypeOfCare transition.
Functionality is described in the wiki on the [Transition section of the GMF page](https://github.com/synthetichealth/synthea/wiki/Generic-Module-Framework%3A-Transitions#typeofcare). | diff --git a/src/main/java/org/mitre/synthea/engine/Logic.java b/src/main/java/org/mitre/synthea/engine/Logic.java
index 4b34639f28..8d41869cf8 100644
--- a/src/main/java/org/mitre/synthea/engine/Logic.java
+++ b/src/main/java/org/mitre/synthea/engine/Logic.java
@@ -119,6 +119,16 @@ public static class Date extends Log... | 6 | 2 | 0 | [{"id": "G0", "claim": "In TelemedicineConfig.fromJSON, `pre` (the value of configHash.get(\"pre_telemedicine\")) could be null and is dereferenced at the next line.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In TelemedicineConfig.fromJSON, the ... | null |
synthetichealth__synthea__1226 | synthetichealth/synthea | 1,226 | defect | f26777c403bdc6400049f10a76e6979ec3244ac2 | 2dc1852f9b707033c6459ccf793af042358a5d61 | Allow config settings that are usually in resources to reference any file location | Addresses #1224
As of today we have a number of config settings which implicitly point to locations under `src/main/resources`, but there's no technical reason they necessarily have to. But as shown in the linked issue, if you try to point to an absolute file path somewhere else, it doesn't work.
This PR refacto... | diff --git a/src/main/java/Graphviz.java b/src/main/java/Graphviz.java
index 239b35ceb2..4cc770c350 100644
--- a/src/main/java/Graphviz.java
+++ b/src/main/java/Graphviz.java
@@ -84,7 +84,7 @@ private static JsonObject loadFile(Path path, Path modulesFolder) throws IOExcep
System.out.format("Loading %s\n", path.to... | 2 | 1 | 1 | [{"id": "G0", "claim": "Call sites that read CSV files (Provider.loadProviders, Location.loadAbbreviations, Location.loadTimezones, LocationTest.testAllDemographicsHaveLocations) use readResourceOrPath, which does not strip the BOM, and should use readResource(filename, true, true) so BOM stripping is applied and usage... | null |
synthetichealth__synthea__1237 | synthetichealth/synthea | 1,237 | defect | 340615e362a6bfc03a84a6127bbf67df39d89812 | b16223e1884cf8ea13ca17b5ffd232a9846db68f | Reproducibility fixes | Addresses #1236 and fixes some instances where running the same population multiple times produces different results
Issues identified and fixed so far:
1. The ordering of allergy reactions
2. DocumentReference content and Insurance plan selection
(Essentially both of these are the result of using Sets where ... | diff --git a/src/main/java/org/mitre/synthea/engine/Module.java b/src/main/java/org/mitre/synthea/engine/Module.java
index 8061fb9216..a96753e8b4 100644
--- a/src/main/java/org/mitre/synthea/engine/Module.java
+++ b/src/main/java/org/mitre/synthea/engine/Module.java
@@ -30,6 +30,7 @@
import java.util.Map.Entry;
impor... | 2 | 1 | 0 | [{"id": "G0", "claim": "The Javadoc @param name `Person` for the clinicalNote method does not match any parameter; it should be lowercase `person`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replacing ConcurrentHashMap with TreeMap in Module.l... | null |
synthetichealth__synthea__1260 | synthetichealth/synthea | 1,260 | defect | 40cb89b520c2c4f51d51eba9906788c04f10c3bd | cdb2d12596c82a68be8443e33e8807b10c87d6b5 | Repair inpatient encounter reason codes. | Repairing these inpatient encounter reasons also corrects weird primary diagnosis codes and admission codes in RIF exports. | diff --git a/src/main/resources/modules/contraceptives/female_sterilization.json b/src/main/resources/modules/contraceptives/female_sterilization.json
index 2457c9e7b4..9f0388de6e 100644
--- a/src/main/resources/modules/contraceptives/female_sterilization.json
+++ b/src/main/resources/modules/contraceptives/female_ster... | 1 | 1 | 1 | [{"id": "G0", "claim": "The reason for the tubal ligation procedure encounter seems out of order, since a history of tubal ligation would only start after the procedure completes, so an appropriate situation code (proposed: ICD-10-CM Z30.9, SNOMED-CT 315925004, or SNOMED-CT 183996000 'Sterilization requested (situation... | null |
synthetichealth__synthea__1277 | synthetichealth/synthea | 1,277 | defect | dd1e3be6c3ee03df1f651c68e8a3ccd107e8487d | 6b99d882af78ea74ffdde8e1923b0bc8506e58ae | Unemployment enhancements | This PR contains fixes for the SDoH HRSN submodule as well as a new model of unemployment.
Previously, people in Synthea would be selected to be unemployed for their whole life in the simulation.
With this change, people will have a chance to become unemployed based on the unemployment rate for their county. Unem... | diff --git a/src/main/java/org/mitre/synthea/modules/LifecycleModule.java b/src/main/java/org/mitre/synthea/modules/LifecycleModule.java
index 701a27671f..56c1747aa1 100644
--- a/src/main/java/org/mitre/synthea/modules/LifecycleModule.java
+++ b/src/main/java/org/mitre/synthea/modules/LifecycleModule.java
@@ -24,6 +24,... | 3 | 2 | 2 | [{"id": "G0", "claim": "`probability` could be null (from `sdoh.get(determinant)`) when constructing the new `Employment`, so the dereference may throw.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`Employment.checkEmployment` reads the field `une... | null |
synthetichealth__synthea__1278 | synthetichealth/synthea | 1,278 | defect | e624912abcafb02e7efd050d9e23b943c51b8255 | de0ee292acbaad076d39df0f17c222daeffe273f | BFD Exporter Updates | 1. Update BFD inpatient exporter to ensure line item totals match claim totals
2. Update BFD outpatient exporter to ensure line item totals match claim totals
3. Pull common code for inpatient and outpatient exporter up in RIFExporter base class
4. Add tests for BFD HHA exporter to ensure line item totals match clai... | diff --git a/src/main/java/org/mitre/synthea/export/rif/InpatientExporter.java b/src/main/java/org/mitre/synthea/export/rif/InpatientExporter.java
index 9ffb01dcf5..80bc1db41d 100644
--- a/src/main/java/org/mitre/synthea/export/rif/InpatientExporter.java
+++ b/src/main/java/org/mitre/synthea/export/rif/InpatientExporte... | 1 | 1 | 1 | [{"id": "G0", "claim": "Use compareTo instead of equals when comparing BigDecimal claim costs to Claim.ZERO_CENTS, because BigDecimal#equals also compares scale.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
synthetichealth__synthea__1321 | synthetichealth/synthea | 1,321 | defect | 188ce6373ef9af428975c2f3e9631cac852df41f | e2ac8c14abde1f81a203247603fd08812678b610 | Outpatient Revenue Center Updates | - Refactor bfd outpatient exporter in prep for revised revenue center mapping
- Always emit a total charge line item | diff --git a/.gitignore b/.gitignore
index ee56479e66..87e4742d39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,6 +33,7 @@ src/main/resources/export/snf_rev_cntr_code_map.json
src/main/resources/export/hha_rev_cntr_code_map.json
src/main/resources/export/hospice_rev_cntr_code_map.json
src/main/resources/export/inp... | 1 | 1 | 0 | [{"id": "G0", "claim": "Were all total charges associated with 99241 — i.e., the hardcoded HCPCS_CD of \"99241\" on the total charge line item may be wrong.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
synthetichealth__synthea__1381 | synthetichealth/synthea | 1,381 | defect | 6192ed703d8517e7bfab801d9fbee622ec4e8161 | c06a7f45b2ee22bdf62c3c57360c64caeb6dfce6 | Fix issue where vital signs were sometimes being set to `NaN` | Synthea's simulation of height and weight under the age of 20 depends on growth charts published by CDC. The growth charts are [provided with a method](https://www.cdc.gov/growthcharts/percentile_data_files.htm) for transforming values into percentiles and vice-versa. It appears that for higher percentiles, this method... | diff --git a/src/main/java/org/mitre/synthea/world/concepts/GrowthChartEntry.java b/src/main/java/org/mitre/synthea/world/concepts/GrowthChartEntry.java
index f83edae5e1..350d84b076 100644
--- a/src/main/java/org/mitre/synthea/world/concepts/GrowthChartEntry.java
+++ b/src/main/java/org/mitre/synthea/world/concepts/Gro... | 1 | 1 | 0 | [{"id": "G0", "claim": "lookUp should use the newly added MAX_PERCENTILE constant instead of hardcoding the 0.995 cap.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
synthetichealth__synthea__1385 | synthetichealth/synthea | 1,385 | defect | 6192ed703d8517e7bfab801d9fbee622ec4e8161 | 6aaccea8391c622f3dfe30e0e01d5d76d1a54e28 | Fix export filter keeping old entries when there is an active entry of the same type | Fixes #1383
This PR addresses an issue where the export filter isn't filtering out old entries when there is a separate active entry of the same "type", ie, code. This is especially likely to happen with "Medication Review Due" from the Med Rec module, but it could also happen for any potentially-recurring entry su... | diff --git a/src/main/java/org/mitre/synthea/export/Exporter.java b/src/main/java/org/mitre/synthea/export/Exporter.java
index c058a45e52..27d3e73e8e 100644
--- a/src/main/java/org/mitre/synthea/export/Exporter.java
+++ b/src/main/java/org/mitre/synthea/export/Exporter.java
@@ -598,25 +598,15 @@ private static HealthRe... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new test method testExportFilterShouldNotKeepOldStuffWhenActiveOfSameType has three checkstyle complaints.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new filter drops historically-valuable entries like Normal ... | null |
synthetichealth__synthea__1438 | synthetichealth/synthea | 1,438 | defect | 94ca67dcab48d2e1509448bad1f94193c9001561 | 251b767d1deeeefef85a22d34d469b34c7964f3f | Module Metrics | This branch revamps the module, state, and transition metrics.
Previously, use of the `generate.track_detailed_transition_metrics` property outputted metrics to system out. Using this feature roughly quadrupled the runtime.
This change outputs the metrics as JSON (`./output/metrics/**`), one file per module. Usin... | diff --git a/src/main/java/org/mitre/synthea/engine/Generator.java b/src/main/java/org/mitre/synthea/engine/Generator.java
index 7b2c2388c6..b40f8a6bcb 100644
--- a/src/main/java/org/mitre/synthea/engine/Generator.java
+++ b/src/main/java/org/mitre/synthea/engine/Generator.java
@@ -32,7 +32,6 @@
import org.mitre.synth... | 1 | 1 | 0 | [{"id": "G0", "claim": "Module.getModuleSuppliers could take a Predicate<ModuleSupplier> instead of a Predicate<String>, which would let TransitionMetrics drop the core-module skip loop while making the method more flexible.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
synthetichealth__synthea__1521 | synthetichealth/synthea | 1,521 | defect | 76f2925bbcb098c34413b4c1e245d8664d7251d7 | 3120e50d8b50f87bc19444ce6aff7307ec97a52b | ICD-10-CM Code Mapping | 1. Add support for mapping condition codes to ICD-10-CM in the FHIR R4 exporter.
2. Fix some checkstyle warnings. | diff --git a/src/main/java/App.java b/src/main/java/App.java
index 10cf7171ed..444e6d5fc3 100644
--- a/src/main/java/App.java
+++ b/src/main/java/App.java
@@ -280,14 +280,15 @@ public static void main(String[] args) throws Exception {
* Reset the fields of the provided options to the current values in the Config.
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The ICD-10-CM translation pattern applied to Encounter.reason should be repeated for the other resources that also have a reason field, for example Procedure and MedicationRequest.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
synthetichealth__synthea__1525 | synthetichealth/synthea | 1,525 | defect | 9de0460680591b8bfe8bd7944109492411181655 | 814bdd202d2da9c52bf4a7f55053ec4338803851 | Flexporter updates - October 2024 | A few new features for the flexporter:
1. A new `if` field that can be used in `create_resource` to conditionally set a field. The use case that inspired this is shown in the unit test - creating ServiceRequest based on Procedure, setting ServiceRequest.authoredOn = Procedure.performed, but Procedure.performed is ei... | diff --git a/src/main/java/org/mitre/synthea/export/flexporter/Actions.java b/src/main/java/org/mitre/synthea/export/flexporter/Actions.java
index 7cdba247c9..1977350b98 100644
--- a/src/main/java/org/mitre/synthea/export/flexporter/Actions.java
+++ b/src/main/java/org/mitre/synthea/export/flexporter/Actions.java
@@ -4... | 1 | 1 | 0 | [{"id": "G0", "claim": "ActionsTest.java has two checkstyle violations: the ca.uhn.fhir.parser.IParser import is in the wrong lexicographical order (should be before org.mitre.synthea.world.agents.Person) and the local variable name 'cOut' at line 517 does not match the required naming pattern.", "category": "style", "... | null |
synthetichealth__synthea__265 | synthetichealth/synthea | 265 | defect | f975a4bd65e50a446652e1cb7673a050cee53490 | 798f6abf3748640ab0c112ab9a6e3c316161aa38 | Add some more unit tests. | Adds a unit test on `App.java`, adds a disabled unit test on `Graphviz.java`, and a handful of logic tests. | diff --git a/src/main/java/App.java b/src/main/java/App.java
index 1cc7b5c6c6..1b4c5d9eb5 100644
--- a/src/main/java/App.java
+++ b/src/main/java/App.java
@@ -31,6 +31,7 @@ public static void usage() {
public static void main(String[] args) throws Exception {
Generator.GeneratorOptions options = new Generator.G... | 3 | 2 | 2 | [{"id": "G0", "claim": "The new tests' `output.contains(\"Loading\")` assertion fails on Travis CI while passing locally, and the cause is unknown.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Passing a folder path as the argument fails on Windows bec... | null |
synthetichealth__synthea__324 | synthetichealth/synthea | 324 | defect | 378beffc40c7c0786e305422b46b29ec693d7ab8 | 81a252793cd5af953c9140afa429b9881dba5cac | Cost variation | Updates the cost logic in the following ways:
1) Cost data now includes a minimum, mode, and maximum, so that individual claims will be priced using a triangular distribution:
2) Costs are adjusted based on a regional (state-based) factor. As a first pass, this factor is based on the 2011 CMS urban and rural GAFs, ag... | diff --git a/src/main/java/org/mitre/synthea/export/CSVExporter.java b/src/main/java/org/mitre/synthea/export/CSVExporter.java
index d3e0bc9f9b..409a516e0d 100644
--- a/src/main/java/org/mitre/synthea/export/CSVExporter.java
+++ b/src/main/java/org/mitre/synthea/export/CSVExporter.java
@@ -304,7 +304,7 @@ private Strin... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add the number of refills and the total cost to the medication row of the CSV export, as previously discussed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
synthetichealth__synthea__377 | synthetichealth/synthea | 377 | defect | 6e9fd1f13454a0cdc94c5bb620a1d3afe5860fa1 | 3b789a3d99d8e4ae7108540298d18c760045ade4 | Guard date granularity | I added in two more options for the Date condition: month and date (full date). The tests pass and the program runs, but I'm not sure if there are any other files that need to be edited for this change. | diff --git a/src/main/java/org/mitre/synthea/engine/Logic.java b/src/main/java/org/mitre/synthea/engine/Logic.java
index 904ad2305e..e37354362c 100644
--- a/src/main/java/org/mitre/synthea/engine/Logic.java
+++ b/src/main/java/org/mitre/synthea/engine/Logic.java
@@ -1,5 +1,8 @@
package org.mitre.synthea.engine;
+imp... | 6 | 6 | 4 | [{"id": "G0", "claim": "Instead of adding a `datetype` field that forces every existing module to be updated, change the `year` and `month` fields to `Integer` and test whichever one is non-null, preserving backward compatibility.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"},... | null |
synthetichealth__synthea__442 | synthetichealth/synthea | 442 | defect | c09557283bebd05689b265cb2025514236a4e98c | c0c7de164f2355a681b77fc76e88acb235b78ef1 | Added provider information to CSV output | Fix for #434.
Added `encounter.provider.id` (and not `encounter.provider.getResourceId()` as it seems to be a temp UUID and does not map to the IDs in the provider CSVs) to a new `PROVIDER` column in `encounters.csv` | diff --git a/src/main/java/org/mitre/synthea/export/CSVExporter.java b/src/main/java/org/mitre/synthea/export/CSVExporter.java
index 516d3260a9..2a554800dd 100644
--- a/src/main/java/org/mitre/synthea/export/CSVExporter.java
+++ b/src/main/java/org/mitre/synthea/export/CSVExporter.java
@@ -3,6 +3,7 @@
import static or... | 5 | 5 | 4 | [{"id": "G0", "claim": "The pull request should also add organization.csv and provider.csv exports so the output shows who the provider is and where they work.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If a post-completion export for providers/clini... | null |
synthetichealth__synthea__611 | synthetichealth/synthea | 611 | defect | bcb17a9532645f03f6410b7d5cf67092592842e7 | b950fb7bf405c0e26590405495f07cf9adc39749 | Payer loss of care | This Pull Request adds Loss-Of-Care to Synthea when a patient cannot afford treatment and their insurance will not cover it.
The Loss-Of-Care impacts two aspects of a person:
- Their Quality Of Life
-- When a person's QOLS is calculated, based on the percent of care that they have received, their QOLS will fall in... | diff --git a/src/main/java/org/mitre/synthea/datastore/DataStore.java b/src/main/java/org/mitre/synthea/datastore/DataStore.java
index 214cf946a4..faf38e1e82 100644
--- a/src/main/java/org/mitre/synthea/datastore/DataStore.java
+++ b/src/main/java/org/mitre/synthea/datastore/DataStore.java
@@ -13,6 +13,7 @@
import jav... | 1 | 1 | 1 | [{"id": "G0", "claim": "The behind-the-scenes loss-of-care calculation changes the assumption that going through a state means the action happened, so follow-up states may process care that never occurred (e.g. opioid_prescription still set and the Opioid Addiction module running after a skipped procedure), and the rev... | null |
synthetichealth__synthea__626 | synthetichealth/synthea | 626 | defect | 778888b4c14f5970b2b9af5de312481a0748a6e0 | 866218dcd49c3c98b76a85691439fe90afac453b | Health Record Module and Growth Errors | This PR introduces the concept of a HealthRecordModule. The purpose of these modules is to modify the HealthRecord for a person. The intention is to not simulate clinical events, but to simulate events that would happen with an electronic health record, such as the incorrect entry of information.
This request also c... | diff --git a/src/main/java/org/mitre/synthea/engine/Generator.java b/src/main/java/org/mitre/synthea/engine/Generator.java
index 1cff59e2c2..6c52b9d8ba 100644
--- a/src/main/java/org/mitre/synthea/engine/Generator.java
+++ b/src/main/java/org/mitre/synthea/engine/Generator.java
@@ -23,10 +23,7 @@
import org.mitre.synt... | 9 | 9 | 2 | [{"id": "G0", "claim": "The wildcard import `org.mitre.synthea.modules.*` added in Generator.java is probably a checkstyle issue and should be replaced with explicit imports.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The config key `growthe... | null |
synthetichealth__synthea__650 | synthetichealth/synthea | 650 | defect | 8298ecc87972f4f1f094349991ea3da77f9ecb23 | 27c8436bd2f32db9b70104eab72c6683ea4a1c39 | Encoding properties | Adding a new property (exporter.encoding) to allow users to select the encoding of output files, defaulting to UTF-8. | diff --git a/.gitignore b/.gitignore
index ee7a1a9be4..44cb1d532e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,4 +21,8 @@ src/main/resources/version.txt
# VS Code launch settings
.vscode/launch.test.json
.vscode/launch.json
+.vs/ProjectSettings.json
+.vs/slnx.sqlite
+.vs/VSWorkspaceState.json
+.vs/synthea/v16/.su... | 5 | 5 | 4 | [{"id": "G0", "claim": "The new `exporter.encoding` charset is not used when creating the OutputStreamWriters in CDWExporter and CSVExporter (jawalonoski: the charset encodings are not taken into account anywhere except CPCDS).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"... | null |
synthetichealth__synthea__691 | synthetichealth/synthea | 691 | defect | 9b9f925a907b9e99c3664f14d25a3e99dae5a5b4 | c59f0093818b99b58cc4df0ba8bbd624e35ce75f | Export Device and SupplyDelivery resources in FHIR and CSV | In support of the new Device and SupplyList fields recently added to the GMF, this adds Device and SupplyDelivery resources to FHIR exporters (R4, STU3, and DSTU2) and creates new devices.csv and supplies.csv in the CSV exporter.
Travis is failing right now because of issues with the oss.sonatype.org repo, but if yo... | diff --git a/src/main/java/org/mitre/synthea/engine/State.java b/src/main/java/org/mitre/synthea/engine/State.java
index 3defb87ce8..742871233c 100644
--- a/src/main/java/org/mitre/synthea/engine/State.java
+++ b/src/main/java/org/mitre/synthea/engine/State.java
@@ -1728,7 +1728,7 @@ public boolean process(Person perso... | 1 | 1 | 1 | [{"id": "G0", "claim": "SupplyDelivery.type should use the supply-item-type code system URI (http://terminology.hl7.org/CodeSystem/supply-item-type in FHIR R4, http://hl7.org/fhir/supply-item-type in STU3 and DSTU2) instead of SNOMED_URI.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
synthetichealth__synthea__715 | synthetichealth/synthea | 715 | defect | e50db853ebb176573871e02bb3624cd262475f89 | f8f9b391863fc3764a5a26a8bac9b997d7ba0581 | Fixes to the encounter module. | 1. Ensure all encounters started by the encounter module are ended.
2. Prevent the encounter module from starting a new encounter in the middle of another encounter from a different module. | diff --git a/build.gradle b/build.gradle
index 59898cd974..b874c928a3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -97,6 +97,10 @@ dependencies {
test {
testLogging {
exceptionFormat = 'full'
+ showExceptions = true
+ showCauses = true
+ showStackTraces = true
+ showStandardStreams = true
}
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The verbose test output enabled by the PR's build.gradle testLogging settings should be turned back off (the reviewer asks whether the increased CI output was intentional).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.