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
aklivity__zilla__830
aklivity/zilla
830
defect
c7cdba2282f2678633b70832726b52ca32d13ea7
73c1c1395fc8b46e3726ac3effc40d98a4f480bf
Integer Validator improvement to support OpenAPI & AsyncAPI specs
## Description - integer validation (text & binary) - int32, int64 - max and min value - multiple of N
diff --git a/incubator/model-core.spec/src/main/scripts/io/aklivity/zilla/specs/model/core/config/integer.model.yaml b/incubator/model-core.spec/src/main/scripts/io/aklivity/zilla/specs/model/core/config/integer.model.yaml new file mode 100644 index 00000000000..dc82a034bdd --- /dev/null +++ b/incubator/model-core.spec...
5
5
3
[{"id": "G0", "claim": "The IntegerFormat enum constants must be stateless because state stored on the enum instance is shared by all callers, colliding across threads or overlapping fragmented validate calls; suggest moving validation to a stateful class and keeping only stateless behavior in the enum.", "category": "...
null
aklivity__zilla__839
aklivity/zilla
839
defect
74fb9b85eff158a39b06819a341dc70020509fd9
39c2286aeb09bf10080414ec89eaad29562a55a7
Add event logs to open telemetry exporter
## Description This change adds the feaure to send event logs to the open telemetry exporter. Fixes #785
diff --git a/incubator/catalog-schema-registry/pom.xml b/incubator/catalog-schema-registry/pom.xml index eb3a2dc794c..a472525e445 100644 --- a/incubator/catalog-schema-registry/pom.xml +++ b/incubator/catalog-schema-registry/pom.xml @@ -24,7 +24,7 @@ <properties> <maven.compiler.source>11</maven.compiler.source...
5
4
0
[{"id": "G0", "claim": "Remove OtlpOverridesConfig (and the overrides section from the schema) and use OltpConfiguration for overrides instead.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Leave traceId/spanId unset (if permitted) in the exported event...
null
aklivity__zilla__851
aklivity/zilla
851
defect
e79c6b0fca8b81e37be08fd47ef102911a1311fa
f2c46d8db9f7d45011dc16ad748a3db584f0298b
Add key filter support in openapi asyncapi mapping
## Description Add key filter support in openapi asyncapi mapping.
diff --git a/incubator/binding-openapi-asyncapi/src/main/java/io/aklivity/zilla/runtime/binding/openapi/asyncapi/internal/config/OpenapiAsyncCompositeBindingAdapter.java b/incubator/binding-openapi-asyncapi/src/main/java/io/aklivity/zilla/runtime/binding/openapi/asyncapi/internal/config/OpenapiAsyncCompositeBindingAdap...
2
2
1
[{"id": "G0", "claim": "The openapi-asyncapi adapter should not depend on the path parameter being named {id} (e.g. {taxiId} should work too); the key filter should be derived from the actual parameter name(s), and the includeKey terminology leaks the abstraction (suggesting hasParam or passing the parameter names).", ...
null
aklomp__base64__112
aklomp/base64
112
defect
fc980a1afc9fbbbded1cd39b0d1f75af5fb9b20b
f47f73d4775543c79a9d49975f8074fd315c7556
chore(ci): run static/dynamic analysis
This PR updates the workflow to run some static / dynamic analysis before running all other jobs. It updates the unit test in order to get a reproducer for #111
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e9b84e4..4e2ae3ee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,8 +3,22 @@ name: Test on: [push, pull_request] jobs: + makefile-analysis: + name: makefile-analysis + runs-on: ubuntu-22.04 + steps: ...
2
2
0
[{"id": "G0", "claim": "The script should print `${CC} --version` instead of hardcoding `gcc --version`, since the rest of the script is compiler agnostic.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The repeated per-ISA flag exports and valg...
null
aklomp__base64__19
aklomp/base64
19
defect
ab7a48bcbc8066e2e200836dd9f40a2b44dda35b
d14d148f93ea50e1dbb8c3a5789ee1a4a0f73bda
Fix invalid input handling
Decoder can succeed with invalid input. This fixes this issue and add tests for this case.
diff --git a/lib/dec/tail.c b/lib/dec/tail.c index fb32e5b1..b634345e 100644 --- a/lib/dec/tail.c +++ b/lib/dec/tail.c @@ -30,10 +30,10 @@ } if ((q = base64_table_dec[*c++]) >= 254) { st.eof = 1; - // When q == 254, the input char is '='. Return 1 and EOF. - // Technically, should check if next byte is al...
1
1
1
[{"id": "G0", "claim": "The loop reads the byte after the first '=' via base64_table_dec[*c++] even though it cannot assume the next byte exists, so it may read past the end of the input buffer.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
aklomp__base64__20
aklomp/base64
20
defect
ab7a48bcbc8066e2e200836dd9f40a2b44dda35b
fb1f5d4fedb29b32b5095e1ad61be85d9f290656
Add build support for MacOS
Modified Makefile to use -r instead of --relocatable so that it can be used with MacOS linker as well. Modified test/Makefile not to link with librt under MacOS. Modified test/benchmark.c to use MACH time functions under MacOS.
diff --git a/Makefile b/Makefile index b1bab2c7..93f2eebf 100755 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ bin/base64: bin/base64.o lib/libbase64.o $(CC) $(CFLAGS) -o $@ $^ lib/libbase64.o: $(OBJS) - $(LD) --relocatable -o $@ $^ + $(LD) -r -o $@ $^ $(OBJCOPY) --keep-global-symbols=lib/exports.txt $@ lib...
3
1
0
[{"id": "G0", "claim": "The added test/Makefile block ends with a trailing space after `endif` (and should use two-space indentation like the OPENMP block).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new `TARGET := $(shell $(CC) -dumpmachine)` pla...
null
aklomp__base64__7
aklomp/base64
7
defect
a27c565d1b6c676beaf297fe503c4518185666f7
d20517370228473c72cdf3fe51f299e628f1d538
Add CMake project
Hi, I just made a CMake script for the project, because I want to include it within another CMake project. The CMake script includes an install target (mostly for windows) and supports SIMD on the x86 platform (supporting NEON shouldn't be hard, but I don't need it). However I had to change `#include "config.h"` in or...
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 00000000..58ec55e8 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,202 @@ +# Written in 2016-2017 by Henrik Steffen Gaßmann henrik@gassmann.onl +# +# To the extent possible under law, the author(s) have dedicated all +# copyright and related and neig...
19
11
3
[{"id": "G0", "claim": "Configuring the test directory on its own generates Makefiles that link against a system-wide libbase64 instead of the project's library, the built static library exports far more global symbols than lib/exports.txt allows, bin/base64 is not built by default, and make clean no longer purges gene...
null
aksiksi__compose2nix__115
aksiksi/compose2nix
115
defect
6ca995d8987c10aa8c96825f776e00253db88bb3
26ed58bea315dd5c83048fffa615cd60f22d907b
Add support for ulimits field
This PR adds support for the ulimits block: - https://docs.docker.com/compose/compose-file/05-services/#ulimits - https://docs.docker.com/reference/cli/docker/container/run/#ulimit - https://docs.podman.io/en/latest/markdown/podman-run.1.html#ulimit-option
diff --git a/compose.go b/compose.go index 7be86ea..44bb565 100644 --- a/compose.go +++ b/compose.go @@ -689,6 +689,21 @@ func (g *Generator) buildNixContainer(service types.ServiceConfig, networkMap ma c.ExtraOptions = append(c.ExtraOptions, "--init=true") } + // https://docs.docker.com/compose/compose-file/05-...
1
1
1
[{"id": "G0", "claim": "Add a YAML test case that exercises the new ulimit block when limit == 0.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
aksnzhy__xlearn__231
aksnzhy/xlearn
231
defect
a414dc5f5653ce048c05af092f67e05789d3012c
5594ce3bbe63e8adfe9d8622090c49be856474e1
xLearn for Windows
@aksnzhy Hello, I have modified the format to make it easy to review where have changed about the code, and add doc about installation for windows.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d7731ea..735d4993 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,8 +30,12 @@ cmake_minimum_required(VERSION 2.8) # Using c++11; # Optimization on architecture #------------------------------------------------------------------------------- +if(NOT WIN32) ...
4
2
0
[{"id": "G0", "claim": "The Windows build definitions added in CMakeLists.txt (\"/WX- /MT\") may not use the best compiler optimization for speed, and the reviewer asks whether -O3 can be used there.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "buil...
null
akto-api-security__akto__2896
akto-api-security/akto
2,896
defect
628b64279450c41452f23b3aaafcdd3d0c9ee33b
86d068a7e272e6d2a92a05cac466b5e8999a2df0
Mini Runtime Consumer Dead Fix.
JSON library was getting stuck in inifinite loop. Hence the kafka consumer times out after 5 minutes. and all processing stops.
diff --git a/apps/mini-runtime/src/main/java/com/akto/hybrid_runtime/Main.java b/apps/mini-runtime/src/main/java/com/akto/hybrid_runtime/Main.java index 9b991e5cdc9..d9dbfc5cdba 100644 --- a/apps/mini-runtime/src/main/java/com/akto/hybrid_runtime/Main.java +++ b/apps/mini-runtime/src/main/java/com/akto/hybrid_runtime/M...
8
8
1
[{"id": "G0", "claim": "The unused import of the LTOMLengthOf annotation in KafkaProducerExample.java should be removed since it is not used anywhere in the class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The manual IngestDataBatch constru...
null
akto-api-security__akto__3084
akto-api-security/akto
3,084
defect
b351fab80f25da88cabd1710a3cafc1492aebe13
218999ebfe1e9310c10ef664dacb948ad81f7655
Add ip based global rate limiting for APIs
<img width="1393" height="917" alt="Screenshot 2025-09-02 at 5 11 48 PM" src="https://github.com/user-attachments/assets/419ef0a0-8f90-43ad-bf6b-8ba71f0c19be" />
diff --git a/apps/dashboard/src/main/java/com/akto/action/threat_detection/ThreatConfiguration.java b/apps/dashboard/src/main/java/com/akto/action/threat_detection/ThreatConfiguration.java index 1085938b6fc..7b3137aa593 100644 --- a/apps/dashboard/src/main/java/com/akto/action/threat_detection/ThreatConfiguration.java ...
7
4
4
[{"id": "G0", "claim": "The empty line at line 272 of service.proto (inside the newly added RatelimitConfig message) should be removed for consistent protobuf formatting.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Potential null pointer exce...
null
akto-api-security__akto__3161
akto-api-security/akto
3,161
defect
782b74ae9fb484a967924fcab6f1c9b637aeaeb3
cdc365d3952ee6dab80d14c2400e9c57e4484c11
feat: add PercentilesCron job to calculate and update API rate limit percentiles
### This PR introduces a new cron job, PercentilesCron, which: - Computes p50, p75, and p90 percentiles for API response times per (apiCollectionId, url, method) from api_distribution_data. - Updates the corresponding rateLimits fields in the ApiInfo collection. - Uses a scheduled executor to run periodically (eve...
diff --git a/apps/threat-detection-backend/src/main/java/com/akto/threat/backend/cron/PercentilesCron.java b/apps/threat-detection-backend/src/main/java/com/akto/threat/backend/cron/PercentilesCron.java new file mode 100644 index 00000000000..b7c13a9869d --- /dev/null +++ b/apps/threat-detection-backend/src/main/java/c...
5
5
3
[{"id": "G0", "claim": "Move the data fetching into a separate fetchDistributionDocs(int baseLinePeriod, String accountId, int apiCollectionId, String url, String method) function that fetches baselinePeriod days of distribution data, change calculatePercentiles to take the fetched docs, and write error-free unit tests...
null
akto-api-security__akto__3609
akto-api-security/akto
3,609
defect
ff5d782363a216a00f3401ea95cf877f60a5ff17
8a9bc9daddd8d08baddf1e4f6436f17827fce8f7
Mark Api not found in discovery as threat
AccountConfiguration cache -> fetch api infos every 15 minutes.
diff --git a/apps/threat-detection/src/main/java/com/akto/threat/detection/tasks/MaliciousTrafficDetectorTask.java b/apps/threat-detection/src/main/java/com/akto/threat/detection/tasks/MaliciousTrafficDetectorTask.java index b3a29ae971d..0ba35fa2fa4 100644 --- a/apps/threat-detection/src/main/java/com/akto/threat/detec...
3
1
0
[{"id": "G0", "claim": "Add one log line immediately before the dataActor.fetchAllApiCollections() call in AccountConfigurationCache.refreshConfig.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Fix the pull request as reviewed at S4; no speci...
null
akto-api-security__akto__3954
akto-api-security/akto
3,954
defect
4899215b50e4a4c93fea686a823c6eead5fd18e9
ae30d1ed992d1f73c44591c1002aa23af286e5ac
Refactor authentication type handling to use String constants instead…
… of enum, ensuring backward compatibility and improving type safety across the application.
diff --git a/apps/mini-runtime/src/main/java/com/akto/hybrid_runtime/policies/AktoPolicyNew.java b/apps/mini-runtime/src/main/java/com/akto/hybrid_runtime/policies/AktoPolicyNew.java index 7ed8ccac159..e39b203b027 100644 --- a/apps/mini-runtime/src/main/java/com/akto/hybrid_runtime/policies/AktoPolicyNew.java +++ b/app...
9
2
2
[{"id": "G0", "claim": "The setAllAuthTypesFound setter should also store a defensive copy of its input for consistency with the new defensive-copying getAllAuthTypesFound getter, since callers can otherwise still modify the internal state after calling the setter.", "category": "design", "verdict": "uncertain", "prior...
null
akto-api-security__akto__4217
akto-api-security/akto
4,217
defect
7ee43f725a4aebe17d6e86a226abf971b35fb6df
e3a3fba66869d869a68e2ba88b8d9e8ebefab989
use actor info collection for list threat actor query
## Summary This PR introduces a major performance optimization for the threat detection system by implementing cursor-based pagination and migrating queries to use a new `actor_info` collection. The changes significantly improve query performance for listing threat actors by utilizing pre-aggregated data and efficient ...
diff --git a/apps/threat-detection-backend/src/main/java/com/akto/threat/backend/dao/ActorInfoDao.java b/apps/threat-detection-backend/src/main/java/com/akto/threat/backend/dao/ActorInfoDao.java index 1fa1597e26d..83e061ef876 100644 --- a/apps/threat-detection-backend/src/main/java/com/akto/threat/backend/dao/ActorInfo...
13
8
2
[{"id": "G0", "claim": "Consider moving the index-creation helper code to a common/shared location.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Check with the Atlas/argus team whether a metadata field is also needed on the actor info model.",...
null
akto-api-security__akto__4436
akto-api-security/akto
4,436
defect
a5ed0616bc7db93728d4ebda632b3c86885ede43
63fdd20f944cecf11c92d761ce38af74ceab01c5
Add SSRF test tracking functionality and related API endpoints
- Introduced `SsrfTestTracking` DTO and `SsrfTestTrackingDao` for managing SSRF test tracking entries. - Implemented `storeSsrfTestTracking` method in `DbAction` to handle storing of SSRF tracking data. - Created `ToolsAction` with `ssrfHit` method to process SSRF hits and update test results. - Added `ToolsAuthFilt...
diff --git a/apps/database-abstractor/src/main/java/com/akto/action/DbAction.java b/apps/database-abstractor/src/main/java/com/akto/action/DbAction.java index 00630c99507..97bc5c158b1 100644 --- a/apps/database-abstractor/src/main/java/com/akto/action/DbAction.java +++ b/apps/database-abstractor/src/main/java/com/akto/...
5
4
2
[{"id": "G0", "claim": "Store the tools auth token in the common database via a Config entry, mirroring how tokens are stored in Config.java, instead of reading the TOOLS_STATIC_TOKEN environment variable.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "R...
null
akto-api-security__akto__4662
akto-api-security/akto
4,662
defect
e3781c443bd6b1f4a2a4dc16b6cfca830dc3cc08
93fd59c51ed3c62d829522ff8f14c1a842f0da6f
Add AccountConfig and AccountConfigDao for AWS account management
- Introduced AccountConfig class to represent account configuration details. - Implemented AccountConfigDao for database operations related to AccountConfig. - Enhanced DbAction with methods to insert and fetch AWS account IDs for API Gateway logging.
diff --git a/apps/database-abstractor/src/main/java/com/akto/action/DbAction.java b/apps/database-abstractor/src/main/java/com/akto/action/DbAction.java index 68d49101460..b206230d9b4 100644 --- a/apps/database-abstractor/src/main/java/com/akto/action/DbAction.java +++ b/apps/database-abstractor/src/main/java/com/akto/...
1
1
0
[{"id": "G0", "claim": "Change the accounts field to Map<Integer, Object> and add a type field whose value will be AWS-ACCOUNTS.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
akto-api-security__akto__4813
akto-api-security/akto
4,813
defect
b8bf5ca46a9b37e2f0a2019dd2d0c10b78de307c
c090892b69822804c9ba49e2700670f46c9d52ec
feat: user session sequence analyzer for API behaviour modelling
## Summary - Adds a new \`behaviour_modelling\` module under \`mini-runtime\` that tracks per-user API call sequences within tumbling 10-minute windows - Aggregates API call counts and transition counts (A→B pairs, extensible to N-grams) for downstream sequence probability modelling - Uses \`AktoPolicyNew\` for URL te...
diff --git a/apps/mini-runtime/pom.xml b/apps/mini-runtime/pom.xml index 23ae1510c72..ea3875ab547 100644 --- a/apps/mini-runtime/pom.xml +++ b/apps/mini-runtime/pom.xml @@ -73,6 +73,18 @@ </exclusion> </exclusions> </dependency> + <dependency> + <groupId>de.flapd...
4
2
1
[{"id": "G0", "claim": "The reviewer asks whether the initial delay passed to scheduleAtFixedRate for the window flipper is needed.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A check should be added in the flusher for whether a static API in the sequen...
null
akto-api-security__akto__5005
akto-api-security/akto
5,005
defect
d2b5455acd7dfcf43856e82d13e6f87c14ce00ca
494375f2c3219ec6f62b424cbde4d8e61791a87c
Feature/sequence anomally detection
## Summary Implements sequence-based anomaly detection on top of the API sequence probability model built by mini-runtime. ## Flow ``` mini-runtime (feature/mini-runtime-release) → SessionAnalyzer: per-user deque tracks API call sequences → WindowAccumulator: counts transitions (A→B) per 10-min tumbling wind...
diff --git a/apps/threat-detection/src/main/java/com/akto/threat/detection/cache/SequenceCache.java b/apps/threat-detection/src/main/java/com/akto/threat/detection/cache/SequenceCache.java new file mode 100644 index 00000000000..6b6aa5ed2cc --- /dev/null +++ b/apps/threat-detection/src/main/java/com/akto/threat/detecti...
1
1
1
[{"id": "G0", "claim": "Initially transitionProbabilities is empty, so the freshness guard in refreshIfStale will evaluate false and the initial empty-cache state is mishandled by the emptiness check in the guard condition.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
akuity__kargo__3320
akuity/kargo
3,320
defect
24f71a5afa163f920b360d1951c952a04c0ef352
b4758056c7a023b787ac1b54f8eaccbda1603de4
feat(gitprovider): setup gitea provider
Hello, As a big user of Gitea, I would love to have this provider included in Kargo! Inspiration: - https://github.com/akuity/kargo/issues/2569 - https://github.com/akuity/kargo/pull/3128 Closes https://github.com/akuity/kargo/issues/3321
diff --git a/go.mod b/go.mod index 1097e5d370..71357a3ca6 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/akuity/kargo go 1.23.4 require ( + code.gitea.io/sdk/gitea v0.20.0 connectrpc.com/connect v1.18.1 connectrpc.com/grpchealth v1.3.0 github.com/AlecAivazis/survey/v2 v2.3.7 @@ -72,6 +73,7...
9
8
2
[{"id": "G0", "claim": "Remove the stray debug `fmt.Println(giteaPR.Head)` left at the top of convertGiteaPR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In convertGiteaPR, use the gitea.StateOpen constant instead of the \"open\" string liter...
null
akuity__kargo__3326
akuity/kargo
3,326
defect
03632de63754c16552f18038a729f831d4b39f15
9792e0e6033195023ac07b19aaa545c2128fb5dc
fix(directives): HTTP repo cache `helm-chart-update`
Fixes: #3299 Fixes: #3298 Fixes: #3290 --- The reason `/home/nonroot` is being touched, is that Helm has decided to do something odd within their download manager by not taking the configured value into account for the repository cache while trying to resolve a chart dependency for a repository that does not h...
diff --git a/internal/directives/helm_chart_updater.go b/internal/directives/helm_chart_updater.go index c47a22618d..44fdba4912 100644 --- a/internal/directives/helm_chart_updater.go +++ b/internal/directives/helm_chart_updater.go @@ -2,9 +2,11 @@ package directives import ( "context" + "crypto/sha256" "errors" ...
1
1
0
[{"id": "G0", "claim": "Fix the truncated word in the nameForRepositoryURL doc comment: \"to se\" should read \"to use\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
akuity__kargo__3520
akuity/kargo
3,520
defect
e1d2fab39fd5984f539e19ea330698686f7bc632
a1b401069d3379662c5611586e5b4046e6cfbbb4
fix: Long Stage names result in AnalysisRun creation failures during promotion
Closes #3202 Long Stage names cause errors during promotions due to calculated labels (`kargo.akuity.io/promotion`) on AnalysisRun resources exceeding the max 63 character limit of a label value. This solution moves the `kargo.akuity.io/promotion` label to an annotation which has a much larger max length. It do...
diff --git a/api/v1alpha1/annotations.go b/api/v1alpha1/annotations.go index 8e5a693420..bd66f8ec42 100644 --- a/api/v1alpha1/annotations.go +++ b/api/v1alpha1/annotations.go @@ -37,6 +37,10 @@ const ( // of the annotation should be in the format of "<project>:<stage>". AnnotationKeyAuthorizedStage = "kargo.akuity....
2
2
1
[{"id": "G0", "claim": "The two consecutive parameters of buildMetadata should be combined onto one line as `extraLabels, extraAnnotations map[string]string`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The label example in docs/docs/50-user-...
null
akuity__kargo__3578
akuity/kargo
3,578
defect
196ce61e3be4e2902c30b5d62861f885956c6665
5bacd00c025b57dcc5d0bef22e81e2abd6587f26
fix: require tag or digest for kustomize-set-image
After `fromOrigin` fields were removed, not having either defined could result in the tag of the `image` unexpectedly being set to `latest`. To avoid this, explicitly require either `tag` or `digest` to be set.
diff --git a/internal/directives/kustomize_image_setter_test.go b/internal/directives/kustomize_image_setter_test.go index 6379b1ab17..cb6d3c9117 100644 --- a/internal/directives/kustomize_image_setter_test.go +++ b/internal/directives/kustomize_image_setter_test.go @@ -60,6 +60,32 @@ func Test_kustomizeImageSetter_val...
1
1
0
[{"id": "G0", "claim": "The two new test cases should not assert the second, confusing schema-validation error messages (\"images.0: tag is required\" and \"images.0.tag: String length must be greater than or equal to 1\"); those assertions should be removed so only the oneOf message is expected.", "category": "testing...
null
akuity__kargo__3592
akuity/kargo
3,592
defect
6c68dee3e962bd98e1dfb8d861f571963453cfc1
097bdf10c2ef47cf9d534a2fa00d49928150d48a
feat: add actor metadata to Promotion context
As a prerequisite to adopting Kargo, we want to be able to include information about the user triggering the promotion in our promotion templates. Specifically so the authenticated user triggering a promotion is tracked in the Git history of our GitOps repo. To implement this, I followed the same pattern & logic us...
diff --git a/docs/docs/50-user-guide/60-reference-docs/40-expressions.md b/docs/docs/50-user-guide/60-reference-docs/40-expressions.md index 3c52c4bc7e..28e462289f 100644 --- a/docs/docs/50-user-guide/60-reference-docs/40-expressions.md +++ b/docs/docs/50-user-guide/60-reference-docs/40-expressions.md @@ -143,7 +143,7 ...
2
2
2
[{"id": "G0", "claim": "Indexing strings.Split(actorAnnotation, \":\")[1] without ensuring the value contains two parts may result in an index-out-of-range panic.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The expressions doc table still lists t...
null
akuity__kargo__3597
akuity/kargo
3,597
defect
7d68abc4e48c85410486bd2f127c4fea7f049d8c
ba02fc5fe62c12771a8047053408a64bb1cc0b35
feat: add simple fallback to kargo controller IAM when project-specific credentials cannot be assumed for GAR.
Add simple fallback to kargo controller IAM when project-specific credentials could not be assumed for Google Artifact Registry closes: [issue](https://github.com/akuity/kargo/issues/3552)
diff --git a/docs/docs/40-operator-guide/40-security/40-managing-credentials.md b/docs/docs/40-operator-guide/40-security/40-managing-credentials.md index 958eacb8d4..ab8fec2119 100644 --- a/docs/docs/40-operator-guide/40-security/40-managing-credentials.md +++ b/docs/docs/40-operator-guide/40-security/40-managing-cred...
3
3
2
[{"id": "G0", "claim": "The fallback error path should distinguish auth failures (fall back only for those, log them at debug/non-error level) from other failures such as connectivity problems, which should be surfaced as errors right away.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":...
null
akuity__kargo__3715
akuity/kargo
3,715
defect
9e5eafa93b9a798476919ddb4c309c73f320142d
f871dd7b3ad114ae1069804416795f909df7dd18
feat(ui): visualize oci annotation
head from https://github.com/akuity/kargo/pull/3676 ![Screenshot 2025-03-26 at 1 06 57 AM (2)](https://github.com/user-attachments/assets/71c53dd8-4c79-4b53-9da8-944ac00f7126) ![Screenshot 2025-03-26 at 3 16 01 PM (2)](https://github.com/user-attachments/assets/be71166d-2ea9-4307-9461-46a01aeab2c8)
diff --git a/internal/image/repository_client.go b/internal/image/repository_client.go index c2e39d0b8f..1c49bd1a69 100644 --- a/internal/image/repository_client.go +++ b/internal/image/repository_client.go @@ -5,6 +5,7 @@ import ( "crypto/tls" "errors" "fmt" + "maps" "net/http" "time" @@ -239,7 +240,25 @@ ...
6
6
1
[{"id": "G0", "claim": "The UI should display all of an image's annotations, including arbitrary non-OCI ones like foo: bar, rather than only two specific, well-defined (OCI) annotations.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It would be better ...
null
akuity__kargo__3922
akuity/kargo
3,922
defect
92726a1513d007cead646d323dc5e0399c73eb2c
d8eddd74e089c9418a47f421147712d2213ab1f2
feat: make git-commit step able to sign commits with user-configurable gpg key
closes https://github.com/akuity/kargo/issues/3813
diff --git a/internal/promotion/runner/builtin/git_cloner.go b/internal/promotion/runner/builtin/git_cloner.go index 6e386141a2..59ee7819ca 100644 --- a/internal/promotion/runner/builtin/git_cloner.go +++ b/internal/promotion/runner/builtin/git_cloner.go @@ -103,6 +103,10 @@ func (g *gitCloner) run( SSHPrivateKey: ...
12
11
5
[{"id": "G0", "claim": "The git-clone config should group name, email, and signingKey under a nested `user` object instead of listing them as top-level fields.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`user` should be an optional field; if non-empt...
null
akuity__kargo__3955
akuity/kargo
3,955
defect
3ece411bef23e79e0339eff2fabae09bb5a0a318
3689ba21fa903aac7e8e56d0676871c741eadbe9
feat(controller): add targetFreight to Promotion context variables
Addresses https://github.com/akuity/kargo/issues/3915 ```yaml spec: steps: - as: argocd-update config: apps: - name: ${{ vars.argoAppName }} namespace: ${{ vars.argoNamespace }} sources: - desiredRevision: ${{ commitFrom(vars.gitRepo, wareh...
diff --git a/internal/controller/promotions/promotions.go b/internal/controller/promotions/promotions.go index 733e6021df..b5e2803535 100644 --- a/internal/controller/promotions/promotions.go +++ b/internal/controller/promotions/promotions.go @@ -486,6 +486,7 @@ func (r *reconciler) promote( Promotion: w...
3
3
1
[{"id": "G0", "claim": "The new ctx.targetFreight block added in BuildEnv may belong under `meta` rather than at the top level of the promotion env.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Context struct doc comment should read \"the actual Fr...
null
akuity__kargo__4050
akuity/kargo
4,050
defect
43ab2d383084a9ecfda5561e89d36c720a33ae2d
bfa459804b969aae407dfde9e4abf734abeccb04
fix(api): verify RepoURL validation
From [this comment](https://github.com/akuity/kargo/pull/4048#discussion_r2082458194): > Anything you are willing to contribute to move the needle on making regexes more reliable and more thoroughly tested is welcome. I had a go at this: * It uses go's AST to pull in the source code of the types file * The fi...
diff --git a/api/v1alpha1/generated.proto b/api/v1alpha1/generated.proto index e65ccb39db..03589f8ac4 100644 --- a/api/v1alpha1/generated.proto +++ b/api/v1alpha1/generated.proto @@ -158,6 +158,7 @@ message ChartSubscription { // // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:Pattern=`^(((ht...
5
4
0
[{"id": "G0", "claim": "The table-processing/testing should be a utility function separate from the AST-parsing code so regexes elsewhere in the codebase (not just resource-type patterns) can be tested the same way.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
akuity__kargo__4100
akuity/kargo
4,100
defect
113dea72bbc81663a1dcd8441e9ea3c85181b162
aa0eaa61df2e08af52dbb6c829fd5a0bf4a421a3
fix(controller): make yaml-update quote numeric-looking strings as necessary
Fixes #4099 #4099 was probably introduced when a different bug was closed by #3794. This fix does the following: - Adds a utility function for quoting strings intended for use as values in YAML files as necessary. i.e. If you have a string that looks like a number, you get back the original string enclose...
diff --git a/internal/promotion/runner/builtin/helm_chart_updater.go b/internal/promotion/runner/builtin/helm_chart_updater.go index 7aad0d99e7..87935ceb7e 100644 --- a/internal/promotion/runner/builtin/helm_chart_updater.go +++ b/internal/promotion/runner/builtin/helm_chart_updater.go @@ -102,7 +102,7 @@ func (h *helm...
1
1
0
[{"id": "G0", "claim": "QuoteIfNecessary should use json.Valid instead of unmarshaling the string to check whether it is valid JSON.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
akuity__kargo__4168
akuity/kargo
4,168
defect
37a25c69821d15c2fecec84e627601cf9e0ee4d2
6e115442b7d5b46cfd2fe40b6985114e7c882fdb
fix(controller): make stage spec.vars referenceable from verifications
Fixes #4124
diff --git a/internal/controller/stages/regular_stages.go b/internal/controller/stages/regular_stages.go index 78074afe23..faeda9f862 100644 --- a/internal/controller/stages/regular_stages.go +++ b/internal/controller/stages/regular_stages.go @@ -1342,6 +1342,7 @@ func (r *RegularStageReconciler) startVerification( ...
2
2
1
[{"id": "G0", "claim": "There is no need to create a WithVars option; Vars can be set directly in rollouts.WithArgumentEvaluationConfig in startVerification.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The type of ArgumentEvaluationConfig.Vars should ...
null
akuity__kargo__4257
akuity/kargo
4,257
defect
c5e8592596572983d02cd657c4456a2daa698daf
be11b628480c931adcd50ba021b40870a8cbc1d6
feat: commits in git clone output
closes https://github.com/akuity/kargo/issues/4112 as a part of this I will extend the `git-clone` step to output the commit hash for each checkout. since a single `git-clone` operation can have multiple `checkout` entries (each potentially pointing to a different HEAD), we need a way to reference each commit indivi...
diff --git a/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-clone.md b/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-clone.md index 477367e1af..08a241707b 100644 --- a/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-clone.md +++ b/docs/docs/50-user-guide/60-referenc...
5
5
2
[{"id": "G0", "claim": "The pull request needs Go code to validate that the same alias is not used for multiple checkouts, since that cannot be done with JSON schema.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The docs describe the `commits` out...
null
akuity__kargo__4276
akuity/kargo
4,276
defect
855e61b45c0ed573fd68d03a0f4dcc9f735e51a3
78f295df06c29f8d025934e16ac53d8636048d5c
feat: validate webhook receiver name uniqueness + add webhook receiver name to hashed path
Closes https://github.com/akuity/kargo/issues/4227 <img width="1264" alt="Screenshot 2025-05-29 at 10 15 30 AM" src="https://github.com/user-attachments/assets/a9b65771-6ce4-481e-bb83-fc4893c069c3" /> Also Closes https://github.com/akuity/kargo/issues/4280
diff --git a/api/v1alpha1/generated.proto b/api/v1alpha1/generated.proto index ba94c5315f..8152e8ecc1 100644 --- a/api/v1alpha1/generated.proto +++ b/api/v1alpha1/generated.proto @@ -938,9 +938,6 @@ message ProjectConfigSpec { // WebhookReceivers describes Project-specific webhook receivers used for // processi...
1
1
0
[{"id": "G0", "claim": "GenerateWebhookPath should include the webhook receiver name in its SHA-256 input, since hashing only the project and token can generate the same path when receivers share a Secret.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
akuity__kargo__4278
akuity/kargo
4,278
defect
855e61b45c0ed573fd68d03a0f4dcc9f735e51a3
dd569ccdfaf5922f09433b36c9bde480a1a0f914
feat: add ping event support
Closes https://github.com/akuity/kargo/issues/4258 <img width="986" alt="Screenshot 2025-05-29 at 3 47 58 PM" src="https://github.com/user-attachments/assets/928a5c26-06c0-47ba-8875-ffd2808b7b63" />
diff --git a/internal/webhook/external/github.go b/internal/webhook/external/github.go index 0fe264b01f..be27790668 100644 --- a/internal/webhook/external/github.go +++ b/internal/webhook/external/github.go @@ -59,10 +59,10 @@ func githubHandler( // TODO(fuskovic): eventually switch on event type to perform // di...
7
5
1
[{"id": "G0", "claim": "Replace the growing event-type conditional with a switch statement and make the error message say the event type is not supported instead of listing supported event types.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Re...
null
akuity__kargo__4345
akuity/kargo
4,345
defect
3e29feb8f96d63af7ebd5940ed52f70d07bde6ff
d02b4111b885359d7c48fbaea20379ea65f675a9
feat: ability to access freight metadata in template and add target freight to step ctx
This PR: 1. Adds ability to access freight metadata as part of step templates 2. Passed target freight info to step ctx
diff --git a/internal/expressions/function/functions.go b/internal/expressions/function/functions.go index d59d28e653..677f79d64a 100644 --- a/internal/expressions/function/functions.go +++ b/internal/expressions/function/functions.go @@ -38,6 +38,7 @@ func FreightOperations( CommitFrom(ctx, c, project, freightReque...
3
2
2
[{"id": "G0", "claim": "freightMetadata() should take a Freight name plus a metadata key and go after whatever Freight is specified directly, instead of depending on a collection of the Stage's freight refs, so it can access metadata from any piece of Freight (e.g. in verifications) and stops reinforcing the false narr...
null
akuity__kargo__4353
akuity/kargo
4,353
defect
d07ed1a78a8b75e0bf74734d8639757c6cb076d6
b1e8a10665cf106e1dd95b453b54fe00b0875a84
feat: add ghcr.io package event support to github webhook receiver
Supersedes #4327 This adapts @nitishfy's updates to the GitHub webhook receiver to be compatible with the substantial refactoring that occurred in #4326 This is built on top of changes in #4352 and should be rebased after that is merged.
diff --git a/internal/webhook/external/github.go b/internal/webhook/external/github.go index f1f1dae82e..2773a3d035 100644 --- a/internal/webhook/external/github.go +++ b/internal/webhook/external/github.go @@ -79,7 +79,7 @@ func (g *githubWebhookReceiver) GetHandler() http.HandlerFunc { logger := logging.LoggerFr...
3
3
2
[{"id": "G0", "claim": "The receiver should respond only to package event actions `published` and `updated`; other possible actions such as `deleted` have nothing for Kargo to do.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The container-registry...
null
akuity__kargo__4391
akuity/kargo
4,391
defect
6c26355a4c123feadb28c3a33cbb8c870424efde
c01f1f7e6ea62e73af08c15f2d88ab8c00f8dce4
feat: allow configuration of minimum Warehouse interval
This adds support for configuring a minimum reconciliation interval for Warehouse resources via the `MIN_WAREHOUSE_RECONCILIATION_INTERVAL` environment variable, which accepts duration strings (e.g., `5m`, `30s`, `1h`). When set, any Warehouse with a `.spec.interval` lower than this minimum will have the minimum val...
diff --git a/api/v1alpha1/warehouse_types.go b/api/v1alpha1/warehouse_types.go index c95f6a82b9..a41ee33bfd 100644 --- a/api/v1alpha1/warehouse_types.go +++ b/api/v1alpha1/warehouse_types.go @@ -1,6 +1,10 @@ package v1alpha1 -import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +import ( + "time" + + metav1 "k8s.io/...
4
2
2
[{"id": "G0", "claim": "GetInterval returning a zero duration when the next discovery is overdue is wrong, because an interval of 0 means 'do not requeue at all' and could leave Warehouses stuck; it should return a very small interval in that case instead.", "category": "correctness", "verdict": "supported", "priority"...
null
akuity__kargo__4509
akuity/kargo
4,509
defect
4724da607a7de1880faf84af35ea45cec46b0574
9aed7addacb1c2ba2f078ea32d3f0514e925098c
fix: external webhooks server fixes
This PR addresses quite a number of bugs, all chart-related. I found these while exercising different configuration permutations that aren't ordinarily exercised by our dev-time configuration when we `tilt up`. I will add comments inline with the changes to better explain the necessity of each change.
diff --git a/charts/kargo/templates/NOTES.txt b/charts/kargo/templates/NOTES.txt index 48cad5ae3d..d7697bb4af 100644 --- a/charts/kargo/templates/NOTES.txt +++ b/charts/kargo/templates/NOTES.txt @@ -7,14 +7,17 @@ | |___/ |___/ |___/ | '-------------------...
10
2
1
[{"id": "G0", "claim": "The author dislikes how he wrote the external webhooks server section of NOTES.txt and says he is refactoring it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The conditions in the kargo.externalWebhooksServer.baseURL h...
null
akuity__kargo__4560
akuity/kargo
4,560
defect
a1df407237a127533415a6a1bd50baa9dcc29831
7deb21a23b854883a65e2c11f14f1f690b4d9342
feat: refresh optimizations
Closes: https://github.com/akuity/kargo/issues/4490
diff --git a/internal/controller/warehouses/git.go b/internal/controller/warehouses/git.go index cca86c1890..ea31801c98 100644 --- a/internal/controller/warehouses/git.go +++ b/internal/controller/warehouses/git.go @@ -211,11 +211,11 @@ func (r *reconciler) discoverBranchHistory(repo git.Repo, sub kargoapi.GitSubscr ...
4
4
2
[{"id": "G0", "claim": "Manufacturing commit metadata from the Bitbucket push actor and a single subject and evaluating user-defined expressions against it can wrongly suppress discovery for multi-commit pushes, so the eligibility determination should be drastically simplified (e.g. to branch/tag names only).", "catego...
null
akuity__kargo__4621
akuity/kargo
4,621
defect
ab326c56c0ad90535cf9bda25109962441176857
402e48e18d7f21a478092988631e36e1afa6e2e9
refactor: minor webhook improvements
Minor improvements I discovered could be made to a few existing webhook receivers while reviewing #4487: * Responds to events we cannot handle with 400 bad request instead of 501 not implemented. This feels more appropriate. The issue isn't that we didn't implement something -- or more precisely it isn't that we did...
diff --git a/internal/webhook/external/bitbucket.go b/internal/webhook/external/bitbucket.go index 351e0dd684..49b2ab5ec7 100644 --- a/internal/webhook/external/bitbucket.go +++ b/internal/webhook/external/bitbucket.go @@ -15,9 +15,14 @@ import ( ) const ( - bitbucket = "bitbucket" + bitbucket = "bitbu...
1
1
0
[{"id": "G0", "claim": "The package-level string slice of container image media types should be a const instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
akuity__kargo__4623
akuity/kargo
4,623
defect
ab326c56c0ad90535cf9bda25109962441176857
93fe7dc83e6f4d50ecb584293d3bb3a0ac78a8f6
feat: Adding support for Azure Container Registry Workload ID
This change is introducing support for workload identity authentication against an Azure Container Registry for the warehouse reconciliation loop. It includes all documentation changes that I could see as required as well as go functionality similar to the existing ECR implementation. I have also added tests to cove...
diff --git a/docs/docs/40-operator-guide/40-security/40-managing-credentials.md b/docs/docs/40-operator-guide/40-security/40-managing-credentials.md index 80ddb062d6..4b7cda46b1 100644 --- a/docs/docs/40-operator-guide/40-security/40-managing-credentials.md +++ b/docs/docs/40-operator-guide/40-security/40-managing-cred...
12
10
2
[{"id": "G0", "claim": "The provider should log which credential type in the DefaultAzureCredential chain was used.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The provider could track token expiration explicitly by caching a struct with Toke...
null
akuity__kargo__4636
akuity/kargo
4,636
defect
22bf5d0e9c19d3ec91e875cd163e96acf08e6f59
b340f74dad46bb85d1232fe5ba2ed5144e531c1e
feat: derive image creation time from annotations and labels
Fixes #4635 Added functionality to retrieve the image creation time from the OCI annotation "org.opencontainers.image.created" if present in the image labels. Updated the test suite to validate this behavior.
diff --git a/internal/image/repository_client.go b/internal/image/repository_client.go index 1c49bd1a69..2ecc0b14de 100644 --- a/internal/image/repository_client.go +++ b/internal/image/repository_client.go @@ -31,6 +31,10 @@ const ( maxMetadataConcurrency = 1000 unknown = "unknown" + + // ociCreatedAnnotation is...
3
2
1
[{"id": "G0", "claim": "Deriving the creation time from the config labels alone is (slightly) wrong; the function should look for org.opencontainers.image.created and org.label-schema.build-date in both the annotations and the labels, in that order, returning on the first match and falling back to cfg.Created.Time.", "...
null
akuity__kargo__4674
akuity/kargo
4,674
defect
7ce65b19d2ae43c4039037b69870a01558462a5f
1a9cddea77d665a6da1bb9a56271f906e2eee597
fix(controller): health assessment fixes
Fixes #4673 among other problems. Per #4673, the post-op "cool down" period before App health status is deemed reliable was not being enforced in the (very common) case where desired revisions are not specified by the health check (because they were not specified by the argocd-update step that created the health che...
diff --git a/internal/health/checker/builtin/argocd.go b/internal/health/checker/builtin/argocd.go index c546ad4620..484f5ae753 100644 --- a/internal/health/checker/builtin/argocd.go +++ b/internal/health/checker/builtin/argocd.go @@ -218,49 +218,60 @@ func (a *argocdChecker) getApplicationHealth( return kargoapi.He...
2
2
2
[{"id": "G0", "claim": "Changing the test case to pass nil desiredRevisions demonstrably prevents the cool down period from being enforced for that case, until the corresponding changes to the code under test are introduced.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
akuity__kargo__4704
akuity/kargo
4,704
defect
77f5afe0f2bdfdf5dab245d338106c2ba1ae2da5
b3249ef9644e410d4ffa621523923a79fb595c2c
fix: take greater care when examining media types
My initial pass at determining whether a URL should be normalized as if it is an image repo URL or a chart repo URL was flawed. What complicates matters is that not all platforms that send us webhooks are consistent or clear about what any media type information they may give us is actually _for_. Examples: - ...
diff --git a/internal/webhook/external/azure.go b/internal/webhook/external/azure.go index 5454a8d74e..a9b7f30713 100644 --- a/internal/webhook/external/azure.go +++ b/internal/webhook/external/azure.go @@ -125,14 +125,16 @@ func (a *azureWebhookReceiver) handleACREvent( switch event.Action { case acrPushEvent: -...
2
1
0
[{"id": "G0", "claim": "Use a named constant instead of the \"application/vnd.cncf.helm\" string-literal prefix in getNormalizedImageRepoURLs to improve maintainability and reduce the risk of typos.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
akuity__kargo__4767
akuity/kargo
4,767
defect
fc998d0d083f097681d675bc30203b36c209dcdb
bf538e2e68b5e5c308c0fcf55110a5b1031d782e
feat: support status operation expressions in config context
Closes: https://github.com/akuity/kargo/issues/4537 NOTE: An alternative way of testing this is by reverting the change to `internal/promotion/promotion.go` without reverting `internal/promotion/promotion_test.go`. Then, when you run the test, you will reproduce the error documented in https://github.com/akuit...
diff --git a/docs/docs/50-user-guide/60-reference-docs/40-expressions.md b/docs/docs/50-user-guide/60-reference-docs/40-expressions.md index 7386d32bb7..eed38efdc3 100644 --- a/docs/docs/50-user-guide/60-reference-docs/40-expressions.md +++ b/docs/docs/50-user-guide/60-reference-docs/40-expressions.md @@ -502,3 +502,49...
4
4
0
[{"id": "G0", "claim": "Maintain the 80-character line width throughout the documentation added by this pull request.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the trailing blank line at the end of the newly added status() documentatio...
null
akuity__kargo__4852
akuity/kargo
4,852
defect
6c1c58c9318a30a99a1ad7b383d1ec5aaa056780
71240fdebd40b6c3e3983327d3beedc6ef0f7f0e
fix: account for normalization when matching regex to urls
Closes: https://github.com/akuity/kargo/issues/4833
diff --git a/internal/credentials/kubernetes/database.go b/internal/credentials/kubernetes/database.go index cd05364ff2..803b78eb39 100644 --- a/internal/credentials/kubernetes/database.go +++ b/internal/credentials/kubernetes/database.go @@ -19,6 +19,7 @@ import ( "github.com/akuity/kargo/internal/credentials/kubern...
1
1
1
[{"id": "G0", "claim": "The secretURL normalization switch in getCredentialsSecret needs a new case for image credentials, similar to the image case the PR added to the repoURL switch.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
akuity__kargo__4914
akuity/kargo
4,914
defect
ef6fcd9a8fa93532fe0962139e90080bc3e58664
5fdde209de56bc15845327dc5595e954b735db17
fix: prevent nil pointer dereference in buildTargetFreightCollection
Add nil check for lastPromo in buildTargetFreightCollection method to prevent panic when accessing FreightCollection on stages with no previous promotions. The panic occurred when stage.Status.LastPromotion was nil, but the code attempted to access lastPromo.Status without checking if lastPromo itself was nil first. ...
diff --git a/internal/controller/promotions/promotions.go b/internal/controller/promotions/promotions.go index eed65bec9e..98069c0649 100644 --- a/internal/controller/promotions/promotions.go +++ b/internal/controller/promotions/promotions.go @@ -606,7 +606,7 @@ func (r *reconciler) buildTargetFreightCollection( // l...
1
1
1
[{"id": "G0", "claim": "A test should be added for the nil-pointer-dereference fix in buildTargetFreightCollection.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
akuity__kargo__4962
akuity/kargo
4,962
defect
eefbfe72e2b0e9b4b49f51c23c60b7acd94d0894
d26aa2dd20bf26a382e25d40ba79fc387f03430c
fix: webhooks from bitbucket server
Expand the Bitbucket external webhooks to support bitbucket "Data Center" edition (aka Bitbucket Server). The format is slightly different, so the JSON payload is captured into a different struct based on the type of event: * "repo:push" is from Bitbucket cloud * "repo:refs_changed" is from Bitbucket Server / D...
diff --git a/internal/webhook/external/bitbucket.go b/internal/webhook/external/bitbucket.go index f705a0a04a..03aee940b0 100644 --- a/internal/webhook/external/bitbucket.go +++ b/internal/webhook/external/bitbucket.go @@ -5,6 +5,7 @@ import ( "errors" "fmt" "net/http" + "strings" gh "github.com/google/go-git...
7
6
1
[{"id": "G0", "claim": "Rename bitbucketServerPushEvent to bitbucketRefsChangedEvent so the constant describes the event rather than the product.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add an explanatory comment on the bitbucket server e...
null
akuity__kargo__5041
akuity/kargo
5,041
defect
27b4c8c72ee199b148ccd5e541e861f8c0d606e0
b97f0b7fc6435ca10ab183f88b37b29f061b0453
feat(external-webhook): add /healthz endpoint for external webhooks
## Summary Add /healthz endpoint for external webhooks ## Related Issue fixes #5000 ## Description Currently, external webhook endpoints do not provide a standard health check. This PR adds a /healthz endpoint to allow external systems (e.g., load balancers, monitoring tools) to verify the availability of th...
diff --git a/internal/webhook/external/server.go b/internal/webhook/external/server.go index bc3a438d30..323401af53 100644 --- a/internal/webhook/external/server.go +++ b/internal/webhook/external/server.go @@ -30,8 +30,17 @@ func NewServer(cfg ServerConfig, cl client.Client) Server { func (s *server) Serve(ctx cont...
2
2
1
[{"id": "G0", "claim": "The healthz test should pass nil as the Kubernetes client instead of constructing a fake client, since the tested functionality never communicates with Kubernetes.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The chart needs up...
null
akuity__kargo__5308
akuity/kargo
5,308
defect
60fba3440bb837eecc54006c4b33e06ae9daa3f0
cf69ecb2cd63d3a958770b9bce2c286a20f645c9
feat(expressions): add semverParse() function for parsing semantic versions
Resolves #5307 added `semverParse()` expression function to parse semantic versions and extract individual components (major, minor, patch, prerelease, metadata) for use in expressions like version bumping workflows.
diff --git a/pkg/expressions/function/functions.go b/pkg/expressions/function/functions.go index f00f4ffa98..c89d16d7b7 100644 --- a/pkg/expressions/function/functions.go +++ b/pkg/expressions/function/functions.go @@ -86,6 +86,7 @@ func DataOperations(ctx context.Context, c client.Client, cache *gocache.Cache, func U...
4
4
1
[{"id": "G0", "claim": "semverParse() should return the actual *semver.Version struct instead of a map of components, since structs are easier to work with in expressions once a result is in hand.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test c...
null
akuity__kargo__5350
akuity/kargo
5,350
defect
1c8f307b4cb1ac189d8d6944539e6728b73f7e9e
2ee2423a7f3ba0ab17c18aa330c90b6d5a8a0639
fix(controller): make git repo retain url suitable for use by external callers of URL() method
Fixes #5344 Internally, implementations of `git.Repo` hang on to URLs that often contain `@username`, but callers of the `URL()` method rightfully expect it to return the original URL that was provided to the `git.Clone()` or `git.CloneBare()` function.
diff --git a/pkg/controller/git/bare_repo.go b/pkg/controller/git/bare_repo.go index 8479e9bc02..288d5d459c 100644 --- a/pkg/controller/git/bare_repo.go +++ b/pkg/controller/git/bare_repo.go @@ -98,10 +98,11 @@ func CloneBare( } b := &bareRepo{ baseRepo: &baseRepo{ - creds: clientOpts.Credentials, - dir: ...
2
1
0
[{"id": "G0", "claim": "The `internalURL` and `externalURL` field names are confusing, and a naming scheme like `url` (or `operationalURL`) and `canonicalURL` might be better.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether this PR's...
null
akuity__kargo__5406
akuity/kargo
5,406
defect
913032dcf350945f77b7b5bc8c269c01619f924c
51b9d234cd234eeeaa65a81c803e5a5cc95375ef
feat(promotion): support JSON primitives, YAML, plain text, and content type overwrites in `http` step
I wanted to interact with an api that responds with text/plain vs application/json. I'm attempting to add that support here. Fixes: #5105
diff --git a/pkg/promotion/runner/builtin/http_requester.go b/pkg/promotion/runner/builtin/http_requester.go index e4c111dca7..7e6fa1ff5f 100644 --- a/pkg/promotion/runner/builtin/http_requester.go +++ b/pkg/promotion/runner/builtin/http_requester.go @@ -26,6 +26,7 @@ const ( contentTypeHeader = "Content-Type" ...
1
1
1
[{"id": "G0", "claim": "The branches in buildExprEnv should be switched around so that a JSON content type or json.Valid(bodyBytes) is checked before text/plain; otherwise json.Valid will not catch JSON that is wrongly marked as text/plain and such bodies are stored as raw strings.", "category": "correctness", "verdict...
null
akuity__kargo__5456
akuity/kargo
5,456
defect
db9591d1c38ee05e376912a674904b1ffe57d28e
70770db1665e5ae2fb0c03fe5e3b082dc26b3ba3
fix(webhook): gitlab ssh url warehouse not refreshed
GitLab equivalent fix of https://github.com/akuity/kargo/pull/5432 https://docs.gitlab.com/user/project/integrations/webhook_events/#push-events
diff --git a/pkg/webhook/external/gitlab.go b/pkg/webhook/external/gitlab.go index f49a6ecfae..1f7ba1f331 100644 --- a/pkg/webhook/external/gitlab.go +++ b/pkg/webhook/external/gitlab.go @@ -120,7 +120,10 @@ func (g *gitlabWebhookReceiver) getHandler(requestBody []byte) http.HandlerFunc case *gl.PushEvent: var r...
1
1
1
[{"id": "G0", "claim": "The repoURLs entry this pull request adds uses e.Repository.GetSSHURL — a typo for the GitSSHURL field — so the code could not possibly have compiled.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
akuity__kargo__5473
akuity/kargo
5,473
defect
1c10b8c8e69e21c570d2cc41eba9355557d53ee0
2ed8014a515e165952e34107ec298f31303881ae
feat: support alternative delimiters `${%` for expressions
closes https://github.com/akuity/kargo/issues/5012 this introduces and alternative delimiter `${%` to fix issues where fasttemplate tries to evaluate `}}` as end tag even after using quote(). The choice of delimiter determines which sequences can appear inside the expression: - If one starts with `${{`, then `}}...
diff --git a/pkg/expressions/json_templates.go b/pkg/expressions/json_templates.go index 823b9be322..092826b5f0 100644 --- a/pkg/expressions/json_templates.go +++ b/pkg/expressions/json_templates.go @@ -23,6 +23,12 @@ import ( // Since the template itself must be valid JSON, all expressions MUST be // enclosed in quo...
5
5
2
[{"id": "G0", "claim": "The delimiter detection needs to be more intelligent because it does not check whether `$~~` is actually a starting delimiter.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The expected results in these tests are unintuitive...
null
akuity__kargo__5516
akuity/kargo
5,516
defect
5fed19a0cb3a46b88deed015a98f46174ac6f57e
4edd2cc9e29abe1e0ef2d54be41f8a8a0a748add
feat: add `set-freight-alias` promotion step
Closes https://github.com/akuity/kargo/issues/5492
diff --git a/charts/kargo/templates/controller/cluster-roles.yaml b/charts/kargo/templates/controller/cluster-roles.yaml index db3b4ec085..cfbd97aa20 100644 --- a/charts/kargo/templates/controller/cluster-roles.yaml +++ b/charts/kargo/templates/controller/cluster-roles.yaml @@ -44,13 +44,23 @@ rules: - apiGroups: -...
31
31
0
[{"id": "G0", "claim": "The controller chart needs patch and update permissions on the freights resource so the step can patch the Freight after updating its alias.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The docs example wrongly showcases ...
null
akuity__kargo__5536
akuity/kargo
5,536
defect
de6d9c093aacf93ae7c05646a01f21cc250d5523
8fe35170cf83eff11deb961bf408e4058e8d627d
feat: sharedSecret + sharedConfigMap
Closes https://github.com/akuity/kargo/issues/4777 Blocked by: https://github.com/akuity/kargo/pull/5428 # Test Secret: ``` apiVersion: v1 kind: Secret metadata: name: my-public-shared-secret namespace: kargo-shared-resources labels: kargo.akuity.io/cred-type: generic stringData: message:...
diff --git a/Tiltfile b/Tiltfile index e59ccb50d5..0d716d7c5f 100644 --- a/Tiltfile +++ b/Tiltfile @@ -85,6 +85,9 @@ k8s_resource( 'kargo-project-creator:clusterrolebinding', 'kargo-project-creator:serviceaccount', 'kargo-project-secrets-reader:clusterrole', + 'kargo-shared-resources:namespace', + ...
3
3
1
[{"id": "G0", "claim": "The new sharedSecret() expression function grants direct access to every secret in the shared resources namespace, including repo credentials, contrary to the agreed design limiting direct access to shared secrets to those labeled \"generic credentials\"; add a bool arg to getSecret() indicating...
null
akuity__kargo__5560
akuity/kargo
5,560
defect
c39f40956300ddefa9c4337846979f91ec6055a8
d46df5b52f6cc171ec57ddaeaab31643a3d6abcc
feat: show PR approval link for git-wait-for-pr steps while running
Previously, the "Waiting for Approval" component only appeared when promotion steps had a 'Succeeded' status and only for git-open-pr steps. This created a poor user experience for git-wait-for-pr steps, when they're not in the same stage as git-open-pr. They did not have a PR url attached and remain in 'Running' statu...
diff --git a/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-wait-for-pr.md b/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-wait-for-pr.md index 4d30023a52..ecaea245cd 100644 --- a/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-wait-for-pr.md +++ b/docs/docs/50-user...
3
3
1
[{"id": "G0", "claim": "The nested ternary computing isStatusAcceptable should be rewritten as the single boolean expression (isGitOpenPr && hasPullRequestStepSucceeded) || (isGitWaitForPr && (hasPullRequestStepSucceeded || hasPullRequestStepRunning)), which the reviewer finds easier to read.", "category": "maintainabi...
null
akuity__kargo__5605
akuity/kargo
5,605
defect
53faae7821db018655e9f8ecb83c96360a8b290a
e85eda68d9fa6a305fa1591198dfa9a72a31780c
fix: auto-detect ghe.com domains in github provider
Fixes #5568 ## Description The current GitHub provider logic only checks if the hostname contains "github", which causes failures for GitHub Enterprise Cloud users on `ghe.com` domains. This PR updates the predicate in `pkg/gitprovider/github/github.go` to explicitly support `ghe.com`. ## Changes - Updated `...
diff --git a/pkg/gitprovider/github/github.go b/pkg/gitprovider/github/github.go index c50f2dd6b8..f64a80e0c2 100644 --- a/pkg/gitprovider/github/github.go +++ b/pkg/gitprovider/github/github.go @@ -31,10 +31,10 @@ var registration = gitprovider.Registration{ return false } // We assume that any hostname with...
2
2
1
[{"id": "G0", "claim": "Please use the require library for the test's assertions instead of the manual if/t.Errorf comparison.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Match GitHub Enterprise Cloud hosts with strings.HasSuffix(u.Host, \".ghe.com\"...
null
akuity__kargo__5637
akuity/kargo
5,637
defect
b7b90061271f34d69fe600c709d53b519068785e
0a74f7c6420b798cdf14edcd793891217d763f66
fix: make url normalization remove leading and trailing whitespace + all non-printable runes
Reverts https://github.com/akuity/kargo/pull/5609 and Closes https://github.com/akuity/kargo/issues/5616
diff --git a/pkg/urls/git.go b/pkg/urls/git.go index 7fc625c0ab..53087feeed 100644 --- a/pkg/urls/git.go +++ b/pkg/urls/git.go @@ -19,18 +19,16 @@ var scpSyntaxRegex = regexp.MustCompile(`^((?:[\w-]+@)?[\w-]+(?:\.[\w-]+)*)(?::( // canonical representation of a Git URL is needed. Any URL that cannot be // normalized w...
7
6
1
[{"id": "G0", "claim": "URLs that cannot be normalized should be returned as-is (a different invalid URL must not be produced), so the PR should not remove internal or percent-encoded spaces, path-unescape, or downcase in a way that mangles obviously invalid URLs; at most trim leading/trailing whitespace and remove inv...
null
akuity__kargo__5684
akuity/kargo
5,684
defect
cfad6becc798ceec3bde9b71adea8b809451ae79
85adb9f88313f921c8bd61dcfba77b96f4cf1861
fix(controller): make token cache ttl more dynamic
Fixes #5610 Supersedes #5615 In many cases, though not all, we have access to a token's expiry date/time. For such cases, it is safer to derive cache TTL durations from the expiry than to make assumptions about how long the token is valid for. This also adds debug level logging with details of token expiry...
diff --git a/docs/docs/40-operator-guide/40-security/50-ambient-credentials.md b/docs/docs/40-operator-guide/40-security/50-ambient-credentials.md index cdfb71defe..04ad3e22d2 100644 --- a/docs/docs/40-operator-guide/40-security/50-ambient-credentials.md +++ b/docs/docs/40-operator-guide/40-security/50-ambient-credenti...
1
1
0
[{"id": "G0", "claim": "The token-expiry-to-cache-TTL derivation is repeated in multiple places and should be extracted into a helper such as CalculateCacheTTL(expiry, margin).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
akuity__kargo__5763
akuity/kargo
5,763
defect
a6c7eff354cfb57e3e907be1b3fa5c908179cc0a
c1a3621cd59c5efbb9497d906343c962c6f6b0d5
fix: keep-me annotation not blocking delete of namespace
Closes https://github.com/akuity/kargo/issues/4627 ## Demo ### Resources used ```yaml apiVersion: kargo.akuity.io/v1alpha1 kind: Project metadata: name: keep-me annotations: kargo.akuity.io/keep-namespace: "true" --- apiVersion: v1 kind: Namespace metadata: name: keep-me labels: is...
diff --git a/pkg/controller/management/namespaces/namespaces.go b/pkg/controller/management/namespaces/namespaces.go index c349efa929..f275e7c2c8 100644 --- a/pkg/controller/management/namespaces/namespaces.go +++ b/pkg/controller/management/namespaces/namespaces.go @@ -3,6 +3,7 @@ package namespaces import ( "conte...
2
2
0
[{"id": "G0", "claim": "In the reconciler tests, function-literal arguments should not be individually discarded with `_` when none of the arguments are used; leave the names out entirely (non-blocking nit).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", ...
null
akuity__kargo__5836
akuity/kargo
5,836
defect
86322029dc9b15efef8cb3af817c2f8508f9597b
4dec31aaa0a2683f901c279fdc9e63c709394b39
feat: skip open PR if no changes between src + target
Closes: https://github.com/akuity/kargo/issues/5226 Closes: https://github.com/akuity/kargo/issues/5847 https://github.com/user-attachments/assets/2b3bec0a-1eb1-4f0e-b45b-3aa33b392898
diff --git a/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-open-pr.md b/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-open-pr.md index a0d9c4e9a6..13fa323d6f 100644 --- a/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-open-pr.md +++ b/docs/docs/50-user-guide/60-re...
7
6
3
[{"id": "G0", "claim": "The ensureRemoteTargetBranch function (orphaned target-branch creation) is unnecessary and does not work end-to-end, so the step should just use repo.RemoteBranchExists and fail when the remote target branch does not already exist, and the essentially useless createTargetBranch config should be ...
null
akuity__kargo__5843
akuity/kargo
5,843
defect
a120f0ac92ce9858622c46dc7beafd11d04d5cf7
093cd8fa17d661de4f0095d124e003c13486869a
fix: syncing of project webhook receivers
Closes: https://github.com/akuity/kargo/issues/5700 ``` faris@Fariss-MacBook-Pro  ~/go/src/github.com/fuskovic/wh-test-repo   main ±✚  \ > k describe projectconfig kargo-demo -n kargo-demo Name: kargo-demo Namespace: kargo-demo Labels: <none> Annotations: <none> API Version: kargo.ak...
diff --git a/cmd/controlplane/external_webhooks.go b/cmd/controlplane/external_webhooks.go index 2b0619179f..65ff049874 100644 --- a/cmd/controlplane/external_webhooks.go +++ b/cmd/controlplane/external_webhooks.go @@ -135,7 +135,7 @@ func (o *externalWebhooksServerOptions) run(ctx context.Context) error { return fm...
6
6
0
[{"id": "G0", "claim": "The comment explaining why project scoped secrets bypass the cache would be more visible on the apiReader field of the reconciler type than on the initialization call site.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Tes...
null
akuity__kargo__5857
akuity/kargo
5,857
defect
0f7b7525146e89ef8d28ccdef99ca788c229e34c
1b41ceb16793d40ebbd6c9cac740064a17c9b119
fix: git-commit with custom author fails with "Author identity unknown"
## Summary - Fixes a regression from #5814 where `setCmdHome()` calls were removed from `setupAuthor()`, breaking the `git-commit` step's `author` config block - When `Commit()` creates a temporary home directory for per-commit author overrides, `setupAuthor()` writes `user.name` and `user.email` to the wrong `.gitcon...
diff --git a/pkg/controller/git/base_repo.go b/pkg/controller/git/base_repo.go index d9d1ea1642..aab88787a8 100644 --- a/pkg/controller/git/base_repo.go +++ b/pkg/controller/git/base_repo.go @@ -133,10 +133,13 @@ func (b *baseRepo) setupAuthor(homeDir string, author *User) error { } cmd := b.buildGitCommand("conf...
2
2
0
[{"id": "G0", "claim": "The combined comment justifying the cmd.Dir and HOME overrides at the user.name config site should be broken up so that each override is justified individually.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "At the remainin...
null
akuity__kargo__5982
akuity/kargo
5,982
defect
2a01cc329a49b1103d9447a3120636740ec243c7
0317e3dfbae4d351d6b112840fc2f4eb3f8d5bb8
feat: replicated resources follow ups: immutable replicas, docs, ui changes
Closes #5954 Follows up on #5789 * Make replicas immutable * Adds docs * UI changes to prevent even attempting to mutate resource replicas @jessesuen webhooks are implemented exactly as we'd discussed. Deletes don't fail if the webhook server is down. @rpelczar the UI changes are all Claude and seem minim...
diff --git a/charts/kargo/templates/kubernetes-webhooks-server/configmap.yaml b/charts/kargo/templates/kubernetes-webhooks-server/configmap.yaml index cd001ea9b9..dc0b2b64ec 100644 --- a/charts/kargo/templates/kubernetes-webhooks-server/configmap.yaml +++ b/charts/kargo/templates/kubernetes-webhooks-server/configmap.ya...
2
2
0
[{"id": "G0", "claim": "The test should call the webhook with t.Context() instead of context.Background() to keep the context-from-testing.T habit.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The t.Helper() calls inside the one-line test-case asserti...
null
akuity__kargo__5987
akuity/kargo
5,987
defect
caee9209482200da1e75d582012d43f105370808
f66c0ec4200a74af0dd49beb31e0b44b78b6c272
feat(warehouse): allow chart subscriptions to skip TLS verification
Fixes #5976 Git and image subscriptions already support insecureSkipTLSVerify for connecting to repositories with self-signed or custom CA certificates. This PR brings the same capability to chart subscriptions, for both HTTP/S and OCI repositories. A new insecureSkipTLSVerify field is added to ChartSubscripti...
diff --git a/api/v1alpha1/generated.pb.go b/api/v1alpha1/generated.pb.go index 8283c253af..d2bb21c6a3 100644 --- a/api/v1alpha1/generated.pb.go +++ b/api/v1alpha1/generated.pb.go @@ -2891,365 +2891,366 @@ func init() { } var fileDescriptor_e26b7f7bbc391025 = []byte{ - // 5725 bytes of a gzipped FileDescriptorProto ...
2
2
0
[{"id": "G0", "claim": "The new test should use t.Context() instead of context.Background() for its context usage.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test subtest named \"secure\" should be renamed to something more specific, e.g. \"skip...
null
akuity__kargo__6058
akuity/kargo
6,058
defect
a97d75921adc0348a0318de0419e82a8bc83dd3f
edd7f00adcc8d0817fae2d5d1bef07ffc9215da8
refactor: consolidate git identity and signing config into git-clone
Remove step-level git user and signing key overrides from `git-push`, `git-tag`, and the git library's remote change integration code. These options were added in this release cycle but are unnecessary — `git-clone` is the single authority for configuring the work tree's identity and signing key, and all downstream ste...
diff --git a/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-commit.md b/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-commit.md index 9eca14fb63..e64e562c80 100644 --- a/docs/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-commit.md +++ b/docs/docs/50-user-guide/60-refer...
1
1
1
[{"id": "G0", "claim": "The docs table for the git-commit step shows the `author` field's type as `[]object`, but it should be `object` (as the JSON schema defines it).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
akuity__mta__15
akuity/mta
15
defect
3e29eaf667ab9029b8acc601a55c1168ec9a08c1
48f7c46f16258293ef0129e046d3f4bff27ac3f8
Fix: Produce valid manifest when helmrepository and the helmrelease are in different namespaces
Closes #12 ## Before ``` > mta helmrelease --name diff-release --namespace non-existent FATA[0000] helmrepositories.source.toolkit.fluxcd.io "podinfo" not found ``` ## After ``` > mta helmrelease --name diff-release --namespace non-existent apiVersion: argoproj.io/v1alpha1 kind: Application metadata:...
diff --git a/cmd/helmrelease.go b/cmd/helmrelease.go index dcbbc70..7d0da5a 100644 --- a/cmd/helmrelease.go +++ b/cmd/helmrelease.go @@ -94,9 +94,11 @@ with kubectl.`, log.Fatal(err) } + helmRepoNamespace := GetHelmRepoNamespace(helmRelease) + // Get the helmrepo based on type, report if error helmRepo ...
1
1
1
[{"id": "G0", "claim": "GetHelmRepoNamespace should fall back to a better default than the hard-coded \"default\" namespace — ideally the HelmRelease's own namespace, or maybe flux-system.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
akveo__nebular__1012
akveo/nebular
1,012
defect
d393f33a6085119a6e4b8bfa96c7bae4dc9e0c6d
02684214010ba0d19784a717b225dfdda00cee38
fix(select): disable layout scrolling
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/cdk/adapter/adapter.module.ts b/src/framework/theme/components/cdk/adapter/adapter.module.ts index 9a512ed02b..ea4b808824 100644 --- a/src/framework/theme/components/cdk/adapter/adapter.module.ts +++ b/src/framework/theme/components/cdk/adapter/adapter.module.ts @@ -1,16 +1,1...
1
1
0
[{"id": "G0", "claim": "The onScrollableChange subscription should gate on withScrollValue using the RxJS filter operator in a pipe rather than an if inside the subscribe callback.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
akveo__nebular__1300
akveo/nebular
1,300
defect
b3a586a7d0f5c35d59d5954ad523e753411000ea
1368d335e93becd0cddaa9b9757e1e2326b18044
fix(datepicker): start from date typed in input
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/calendar-kit/components/calendar-month-picker/calendar-month-picker.component.ts b/src/framework/theme/components/calendar-kit/components/calendar-month-picker/calendar-month-picker.component.ts index 7e6eccbb11..93ca02ce2e 100644 --- a/src/framework/theme/components/calendar...
3
1
1
[{"id": "G0", "claim": "The YEARS_IN_VIEW/YEARS_IN_COLUMN/MONTHS_IN_VIEW/MONTHS_IN_COLUMN constants newly re-exported from the calendar-kit barrel seem to be unused and should not be exported there.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
akveo__nebular__1377
akveo/nebular
1,377
defect
e20eb6dcf3cfe0dba723a01d899ebeaf4f389d34
174113bae60b517dcd2ad7cc9266112dcaf6a101
fix(month picker): prevent duplicates
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/calendar-kit/components/calendar-month-picker/calendar-month-picker.component.spec.ts b/src/framework/theme/components/calendar-kit/components/calendar-month-picker/calendar-month-picker.component.spec.ts index 75da8495f2..733040757f 100644 --- a/src/framework/theme/component...
1
1
0
[{"id": "G0", "claim": "The new test title should read \"should not have duplicate months\" instead of the ungrammatical \"should not has duplicate months\".", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
akveo__nebular__1585
akveo/nebular
1,585
defect
93b5a3864c620c96d7e35fcb5c7efa69c00617b6
78aafad92f60c84ec244d9bdf7b6185dbab24b52
refactor(checkbox): deprecate `value`, add `checked`, don't emit of i…
…nput change Closes #1478
diff --git a/src/framework/theme/components/checkbox/checkbox.component.ts b/src/framework/theme/components/checkbox/checkbox.component.ts index 4857330265..7ab8f07695 100644 --- a/src/framework/theme/components/checkbox/checkbox.component.ts +++ b/src/framework/theme/components/checkbox/checkbox.component.ts @@ -157,1...
1
1
1
[{"id": "G0", "claim": "The new `valueChange` output should also be deprecated and a `checkedChange` output added, matching the `value` to `checked` rename.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
akveo__nebular__2078
akveo/nebular
2,078
defect
147ec2e28eef0184ae6af740ab3a4854d336ac5a
75d23f4755e0b0b62fe57ca646299c722a2d13b5
fix(toastr): move toastr overlay in front of other overlays
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/cdk/overlay/_overlay.theme.scss b/src/framework/theme/components/cdk/overlay/_overlay.theme.scss index 16994e414f..8ff4ea4344 100644 --- a/src/framework/theme/components/cdk/overlay/_overlay.theme.scss +++ b/src/framework/theme/components/cdk/overlay/_overlay.theme.scss @@ -8...
2
2
1
[{"id": "G0", "claim": "Move the toastr-related `.toastr-overlay-container` style rule out of the CDK overlay theme file and into `toast.component.scss`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use the Nebular mapping `NbOverlayRef` instead of a d...
null
akveo__nebular__2466
akveo/nebular
2,466
defect
540ee46c7930308b2cfdaa745d6651c13bdb4bee
9b5d8a5577b21046c03c1384c0c48fd2397e942d
refactor(nb-icon): return null if icon wasn't found
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/icon/icon-libraries.ts b/src/framework/theme/components/icon/icon-libraries.ts index b1c24a1bfc..7c2eb2bcc2 100644 --- a/src/framework/theme/components/icon/icon-libraries.ts +++ b/src/framework/theme/components/icon/icon-libraries.ts @@ -23,10 +23,6 @@ function throwNoDefaul...
4
3
1
[{"id": "G0", "claim": "Remove the `shouldThrow` argument left over from the old throwing behaviour, simplify `getIconFromPack` to return the icon when present and null otherwise, and add `null` to its return type.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
akveo__nebular__2555
akveo/nebular
2,555
defect
8d85edb57695f4cad0bd32c7a16221b63c7cf558
10b270a4f94b05d2e7f4dc341d019828dd492ae4
fix(autocomplete): update input element disabled state
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/autocomplete/autocomplete.component.spec.ts b/src/framework/theme/components/autocomplete/autocomplete.component.spec.ts index 06c1baa96d..e3fbf26645 100644 --- a/src/framework/theme/components/autocomplete/autocomplete.component.spec.ts +++ b/src/framework/theme/components/a...
4
4
2
[{"id": "G0", "claim": "The new @HostBinding('disabled') binding overrides the input element's own disabled attribute, and the reviewer asks whether it is needed at all, suggesting to stick with setDisabledState without the additional binding.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "...
null
akveo__nebular__2729
akveo/nebular
2,729
defect
db9e556f070f0a381898ed58e4f0d9d17e0e4d07
be68f9a79a997007e1b15666fa07cad22097fd1a
fix(sidebar): sidebar state observable
Fix getting sidebar state that was root cause of an error : connectable.connect() not function Closes #2698
diff --git a/src/framework/theme/components/sidebar/sidebar.service.ts b/src/framework/theme/components/sidebar/sidebar.service.ts index 6aaf8c58d3..4adc755fac 100644 --- a/src/framework/theme/components/sidebar/sidebar.service.ts +++ b/src/framework/theme/components/sidebar/sidebar.service.ts @@ -5,8 +5,8 @@ */ i...
1
1
0
[{"id": "G0", "claim": "Rename the newly added test title to drop the redundant method-name suffix, e.g. 'Should return default sidebar responsive state' instead of 'Should return default sidebar responsive getSidebarResponsiveState'.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduc...
null
akveo__nebular__2735
akveo/nebular
2,735
defect
67b4980a99b0757a61140d258b437062cc1b37a1
91e9c5832eefcd079eb47079e4eb1e8954fc1002
feat(chat form): add output for input change
Fixes #2313
diff --git a/src/framework/theme/components/chat/chat-form.component.spec.ts b/src/framework/theme/components/chat/chat-form.component.spec.ts index ef016b66b2..3b9cfddbee 100644 --- a/src/framework/theme/components/chat/chat-form.component.spec.ts +++ b/src/framework/theme/components/chat/chat-form.component.spec.ts @...
2
2
0
[{"id": "G0", "claim": "The JSDoc on the new `onInputChanged` output should say it emits on the message input's `input` event instead of \"Emits changed input value\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the empty `onChatInputCha...
null
akveo__nebular__2738
akveo/nebular
2,738
defect
f715e972cb3e55e45adf2b7959db016afc8ea9ee
3e1a9a453586024324007888529717a6a88a592d
feat(tabset): add a tabId data attribute to the tab button
added tab unique id Fixes #2727
diff --git a/src/framework/theme/components/tabset/tabset.component.spec.ts b/src/framework/theme/components/tabset/tabset.component.spec.ts index 788c1e5dc5..4d10ec8e9c 100644 --- a/src/framework/theme/components/tabset/tabset.component.spec.ts +++ b/src/framework/theme/components/tabset/tabset.component.spec.ts @@ -1...
1
1
0
[{"id": "G0", "claim": "Rename the newly added tab data attribute from data-tabuid to data-tab-id in the tabset template.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
akveo__nebular__2819
akveo/nebular
2,819
defect
a3b5ae5f7ea3356abb49737f4f46311ac0ffb7f4
0538facd38946c7af2c645d4d73bd4b8796e0592
fix(tooltip, popover, context menu): correct physical positions in RTL
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/cdk/overlay/overlay-position.ts b/src/framework/theme/components/cdk/overlay/overlay-position.ts index c0be69d5a6..faa2eb4309 100644 --- a/src/framework/theme/components/cdk/overlay/overlay-position.ts +++ b/src/framework/theme/components/cdk/overlay/overlay-position.ts @@ -1...
7
7
2
[{"id": "G0", "claim": "The new CDK imports (Direction from @angular/cdk/bidi, ConnectedPosition from the CDK internals) should be replaced with Nebular entities.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The REVERTED_POSITIONS constant sho...
null
akveo__nebular__2841
akveo/nebular
2,841
defect
a6a12d423db68f9a56201c50e3ee7b5ad8e26383
2e57194796ea865b8e2c3f983ae6314ed5359f58
feat(tooltip, popover): add disabled property
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/tooltip/tooltip.directive.ts b/src/framework/theme/components/tooltip/tooltip.directive.ts index 32790179bf..ad291e8706 100644 --- a/src/framework/theme/components/tooltip/tooltip.directive.ts +++ b/src/framework/theme/components/tooltip/tooltip.directive.ts @@ -8,24 +8,25 @@...
2
2
1
[{"id": "G0", "claim": "The private `_disabled` field should be `protected` like the other members of the directive class.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The disabled logic should be moved out of the tooltip directive into `NbDyn...
null
akveo__nebular__2920
akveo/nebular
2,920
defect
7f1593bce6e79dbb0e44c97c32e3a670bedbd713
cdfd2478e195dbf4222dc5aedef79d177c3fa303
feat(chat): ability to provide template as chat title
### Please read and mark the following check list before creating a pull request: - [X] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [X] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/chat/chat.component.ts b/src/framework/theme/components/chat/chat.component.ts index ca4c5b96c7..b7bba37a4b 100644 --- a/src/framework/theme/components/chat/chat.component.ts +++ b/src/framework/theme/components/chat/chat.component.ts @@ -17,6 +17,8 @@ import { SimpleChang...
6
6
1
[{"id": "G0", "claim": "The doc comment sentence should be rephrased to \"You could provide a title template via the `nbChatTitle` directive. It overrides `title` input.\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An example component demons...
null
akveo__nebular__2930
akveo/nebular
2,930
defect
7f739d4d1ae00187e8e1d58e6735ca3840c5ee1a
d2777aa70aa8c4eaa3fe0afbb8cd8e1ab6f09954
fix(select, autocomplete): don't open overlay without options
### Please read and mark the following check list before creating a pull request: - [X] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [X] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/autocomplete/autocomplete.directive.ts b/src/framework/theme/components/autocomplete/autocomplete.directive.ts index 49f9c3bf7f..62b1a9ba22 100644 --- a/src/framework/theme/components/autocomplete/autocomplete.directive.ts +++ b/src/framework/theme/components/autocomplete/aut...
2
2
1
[{"id": "G0", "claim": "The pull request should not add explicit `void` return-type annotations to the show() and hide() methods of NbAutocompleteDirective and NbSelectComponent; the original signatures without `: void` should be kept.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": ...
null
akveo__nebular__2948
akveo/nebular
2,948
defect
095993593d593242539b7c6de914771f40965ff1
4562ec9bbca67352f8731c060095c5517ac99923
fix(infinite list): add throttling to scroll listener
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/list/infinite-list.directive.spec.ts b/src/framework/theme/components/list/infinite-list.directive.spec.ts index 54121e4b31..6461621e25 100644 --- a/src/framework/theme/components/list/infinite-list.directive.spec.ts +++ b/src/framework/theme/components/list/infinite-list.dir...
1
1
0
[{"id": "G0", "claim": "The elementScroll$ subject should be typed as Subject<void> instead of the untyped Subject.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
akveo__nebular__2951
akveo/nebular
2,951
defect
fca5cd14016b101466908f24a0c17c2664eb3e19
53e1cb96c0caac93023ca273ae262b1e912db375
feat(icon): add support for ligature icons
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/icon/icon-libraries.ts b/src/framework/theme/components/icon/icon-libraries.ts index 7847bfa614..e319d41532 100644 --- a/src/framework/theme/components/icon/icon-libraries.ts +++ b/src/framework/theme/components/icon/icon-libraries.ts @@ -29,10 +29,16 @@ function throwWrongPa...
5
5
1
[{"id": "G0", "claim": "Extract the ternary operator expression result into a variable above and use it in the createFontIcon call instead of inlining it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the ligature usage section out of the ...
null
akveo__nebular__3091
akveo/nebular
3,091
defect
97ae9f9325a1c1172c02850a347a6291aacb177e
74683b73153eac1d24cb21c798a20e83c9707227
feat(select): options search
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. #### Short description of what this resolves:
diff --git a/src/app/playground-components.ts b/src/app/playground-components.ts index 62c75f7165..f8782fe708 100644 --- a/src/app/playground-components.ts +++ b/src/app/playground-components.ts @@ -1161,6 +1161,12 @@ export const PLAYGROUND_COMPONENTS: ComponentLink[] = [ component: 'SelectIconComponent', ...
4
1
1
[{"id": "G0", "claim": "The select button should be hidden with *ngIf rather than the [hidden] attribute.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The change to `return this.selectionModel[0]?.content` is not needed and should be explained or reverte...
null
akveo__nebular__431
akveo/nebular
431
defect
a07496d8017847d2b9f236aeb851c5edc98cd589
03b0568e1734731ecf6b380880deb946387f062f
fix(context-menu): hide on menu item click
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/e2e/context-menu.e2e-spec.ts b/e2e/context-menu.e2e-spec.ts index bf85aed6a0..42a845aff6 100644 --- a/e2e/context-menu.e2e-spec.ts +++ b/e2e/context-menu.e2e-spec.ts @@ -9,17 +9,27 @@ describe('nb-context-menu', () => { browser.get('#/context-menu').then(done); }); + it('have to hide when click ...
1
1
1
[{"id": "G0", "claim": "The new item-click subscription leaks: it is never torn down, so filter it with takeWhile(() => this.live) so the subscription ends when the directive is destroyed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
akveo__nebular__832
akveo/nebular
832
defect
23a709d375c0fcde9b6f1af80e1f3d157e12a9af
0c83892f37d0e5e836974a5aaac55f5022f6b795
Fix/auth oauth2 Password grant_type now sends credentials in x-www-form-urlencoded form
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/backend/app.js b/src/backend/app.js index 52da820504..1a657bf8f9 100644 --- a/src/backend/app.js +++ b/src/backend/app.js @@ -18,6 +18,7 @@ const moment = require('moment'); app.use(bodyParser.json()); +app.use(bodyParser.urlencoded({ extended: true })); // support encoded bodies app.use(auth.ini...
5
5
1
[{"id": "G0", "claim": "The password-grant header setup can be simplified by falling back inline: `let headers = this.buildAuthHeader() || new HttpHeaders(); headers = headers.append('Content-Type', 'application/x-www-form-urlencoded');` instead of the multi-line if-check.", "category": "maintainability", "verdict": "s...
null
akveo__nebular__864
akveo/nebular
864
defect
c7205d46606eb3549da1b0c7bf68e12ed249114f
02ea267962e1d7b6a5d22ccc3313bff8d6eb080f
fix(form controls): mark as touched
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/nebular/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/nebular/blob/master/DEV_DOCS.md#new-...
diff --git a/src/framework/theme/components/checkbox/checkbox.component.ts b/src/framework/theme/components/checkbox/checkbox.component.ts index 9f4369364f..ba8fcc971d 100644 --- a/src/framework/theme/components/checkbox/checkbox.component.ts +++ b/src/framework/theme/components/checkbox/checkbox.component.ts @@ -4,7 +...
3
1
1
[{"id": "G0", "claim": "The take(1) in the datepicker directive's blur handling is redundant and should be removed, since the reviewer believes the stream already completes after one emission in this case.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "c...
null
akveo__nebular__912
akveo/nebular
912
defect
a85eaf252ee089c101c2a7f5d72b16b425fae052
3a89b69d82260e6ce57566fcccf81009f823292f
fix(overlay): fix click trigger
Closes #907
diff --git a/src/framework/theme/components/cdk/overlay/overlay-trigger.spec.ts b/src/framework/theme/components/cdk/overlay/overlay-trigger.spec.ts index 90104a37c9..58cdee6da6 100644 --- a/src/framework/theme/components/cdk/overlay/overlay-trigger.spec.ts +++ b/src/framework/theme/components/cdk/overlay/overlay-trigg...
6
5
0
[{"id": "G0", "claim": "Move the spec helpers (withContainer, createElement) into a separate file right away so the other spec file can reuse them, though not necessarily within this pull request.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "P...
null
akveo__react-native-ui-kitten__1053
akveo/react-native-ui-kitten
1,053
defect
b813ad266aca3acc404894983527732b71239373
f5c463b5f993d1bb83ae0395509833efdc56df0b
fix(components): FalsyFC should be able to render components with hooks
Closes #1015 ### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/react-native-ui-kitten/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/react...
diff --git a/src/components/devsupport/components/falsyFC/falsyFC.component.tsx b/src/components/devsupport/components/falsyFC/falsyFC.component.tsx index 22cfa7255..861343c21 100644 --- a/src/components/devsupport/components/falsyFC/falsyFC.component.tsx +++ b/src/components/devsupport/components/falsyFC/falsyFC.compo...
2
2
1
[{"id": "G0", "claim": "The same fix should be applied to FalsyText as well, since it is used for text properties and calls the component function directly like FalsyFC did.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The pull request's change ...
null
akveo__react-native-ui-kitten__1338
akveo/react-native-ui-kitten
1,338
defect
cacd67cb5ac0303eb9179e24607e695b58f012dd
9d20fea3b4ab59aa5d43902fc5cfa0d758f2857e
feat: add onMonthChange function to the Calendar component
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/react-native-ui-kitten/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/react-native-ui-kitte...
diff --git a/src/components/ui/calendar/baseCalendar.component.tsx b/src/components/ui/calendar/baseCalendar.component.tsx index 9a41a3d06..bee703886 100644 --- a/src/components/ui/calendar/baseCalendar.component.tsx +++ b/src/components/ui/calendar/baseCalendar.component.tsx @@ -52,6 +52,7 @@ export interface BaseCale...
4
4
1
[{"id": "G0", "claim": "In the pick-handler state callback, call the prop with optional chaining (this.props.onMonthChange?.(...)) instead of the && truthiness guard.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In the header-navigation state ...
null
akveo__react-native-ui-kitten__1339
akveo/react-native-ui-kitten
1,339
defect
cacd67cb5ac0303eb9179e24607e695b58f012dd
30dfa188aff49b96d085153563ac06550b8bbd1c
fix: menu onPress event for groups & items
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/react-native-ui-kitten/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/react-native-ui-kitte...
diff --git a/src/components/ui/menu/menu.component.tsx b/src/components/ui/menu/menu.component.tsx index 4587e4595..2d14ac07d 100644 --- a/src/components/ui/menu/menu.component.tsx +++ b/src/components/ui/menu/menu.component.tsx @@ -149,7 +149,7 @@ export class Menu extends React.Component<MenuProps> { const descr...
2
2
2
[{"id": "G0", "claim": "Instead of defining a parallel onItemPress prop and stripping the handler's arguments, keep a single onPress prop whose handler receives (event, descriptor), so the React press event stays the first argument while the internal descriptor is still available.", "category": "design", "verdict": "su...
null
akveo__react-native-ui-kitten__1349
akveo/react-native-ui-kitten
1,349
defect
cacd67cb5ac0303eb9179e24607e695b58f012dd
1f2ed739eabb696e4e0cb7c7eb915142e122167e
update: change components captions structure
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/react-native-ui-kitten/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/react-native-ui-kitte...
diff --git a/src/components/ui/datepicker/baseDatepicker.component.tsx b/src/components/ui/datepicker/baseDatepicker.component.tsx index 11ebc7ff9..f932f82c2 100644 --- a/src/components/ui/datepicker/baseDatepicker.component.tsx +++ b/src/components/ui/datepicker/baseDatepicker.component.tsx @@ -134,9 +134,6 @@ export ...
1
1
1
[{"id": "G0", "claim": "Removing the default spacing will break the final look of components configured with caption or captionIcon props, so instead the captionIcon property should be removed and the whole caption element wrapped in FalsyFC/FalsyText so the caption container view can be dropped.", "category": "design"...
null
akveo__react-native-ui-kitten__1365
akveo/react-native-ui-kitten
1,365
defect
310e5c55d7ee66ce0da78bce77e5d9807fd17ec2
b9ca65e96cfc18793066c4a25c0d377cb739518a
feat(view-pager): swipeEnabled prop
### Please read and mark the following check list before creating a pull request: - [X] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/react-native-ui-kitten/blob/master/CONTRIBUTING.md) guide. - [X] I read and followed the [New Feature Checklist](https://github.com/akveo/react-native-ui-kitte...
diff --git a/src/components/ui/viewPager/viewPager.component.tsx b/src/components/ui/viewPager/viewPager.component.tsx index 59986e807..67a1eb0e9 100644 --- a/src/components/ui/viewPager/viewPager.component.tsx +++ b/src/components/ui/viewPager/viewPager.component.tsx @@ -28,6 +28,7 @@ import { export interface ViewPa...
2
1
0
[{"id": "G0", "claim": "The swipe-conditional props construction in ViewPager.render should be simplified to compute panResponderConfig once and spread it into a single animatedViewProps object literal.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
akveo__react-native-ui-kitten__1382
akveo/react-native-ui-kitten
1,382
defect
89e11a2201eebd74fdacb42af08fac10cece5d8f
8a88c0f3d2ab4e31ab0c63aa698b51d9060b47fb
update(buttonGroup): add ghost appearance for buttonGroup component
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/react-native-ui-kitten/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/react-native-ui-kitte...
diff --git a/src/components/ui/buttonGroup/buttonGroup.component.tsx b/src/components/ui/buttonGroup/buttonGroup.component.tsx index 018f01fce..a750ba18f 100644 --- a/src/components/ui/buttonGroup/buttonGroup.component.tsx +++ b/src/components/ui/buttonGroup/buttonGroup.component.tsx @@ -28,7 +28,7 @@ import { } from ...
1
1
0
[{"id": "G0", "claim": "The new showcase component is exported as ButtonGroupOutlineShowcase while it renders ghost buttons, so it should be renamed to reflect the ghost appearance.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
akveo__react-native-ui-kitten__1472
akveo/react-native-ui-kitten
1,472
defect
273746ad2aaa79a402f1a89391feb3af59f596ea
f3c4b20d12ebb1080882dd9ad197309905d55e85
Fix: update popover render implementation
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/react-native-ui-kitten/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/react-native-ui-kitte...
diff --git a/src/components/ui/popover/popover.component.tsx b/src/components/ui/popover/popover.component.tsx index 355bb9039..f700adffe 100644 --- a/src/components/ui/popover/popover.component.tsx +++ b/src/components/ui/popover/popover.component.tsx @@ -39,7 +39,7 @@ type PopoverModalProps = Overwrite<ModalProps, { ...
1
1
1
[{"id": "G0", "claim": "Get rid of the added FalsyFC-wrapped anchor handling in Popover (the FalsyFC wrapper around the rendered popover element and the manual `typeof this.props.anchor === 'function'` dispatch), since the RenderProp already does the same check, and solve it the proper way.", "category": "design", "ver...
null
akveo__react-native-ui-kitten__1573
akveo/react-native-ui-kitten
1,573
defect
04481cec49a78f859c4cde65a45b157770ea1439
5d6d1f9f2bc92b377d6787ed9891e604ec888e56
fix (rangePicker): allow to pick one day as completed range
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/react-native-ui-kitten/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/react-native-ui-kitte...
diff --git a/src/components/ui/calendar/components/picker/calendarPicker.component.tsx b/src/components/ui/calendar/components/picker/calendarPicker.component.tsx index cbc9fef2f..565c15bfd 100644 --- a/src/components/ui/calendar/components/picker/calendarPicker.component.tsx +++ b/src/components/ui/calendar/components...
1
1
0
[{"id": "G0", "claim": "Replace the boolean `range` property with an enum that encodes the range position instead of keeping `range` plus `oneDayRange`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
akveo__react-native-ui-kitten__209
akveo/react-native-ui-kitten
209
defect
e6d030c0652ba0d3499f3216d7e78b8391b0778b
7ee7cbd6ffdf65dfbe5ab21dbd82b5c50a9a9bfc
refactor(theme): simplify theme mapping config
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/react-native-ui-kitten/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/react-native-ui-kitte...
diff --git a/src/framework/theme/component/mapping/type.ts b/src/framework/theme/component/mapping/type.ts index 49b627dbc..b3635fdac 100644 --- a/src/framework/theme/component/mapping/type.ts +++ b/src/framework/theme/component/mapping/type.ts @@ -1,22 +1,10 @@ -export interface ThemeMappingType { - name: string; - ...
1
1
0
[{"id": "G0", "claim": "The new test theme token keys in config.ts (e.g. 'background-color-test-default') should use camelCase.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
akveo__react-native-ui-kitten__237
akveo/react-native-ui-kitten
237
defect
4872a851045b7dd67def32542e06f691429a6db3
148d59423a55b6a82787d97a9ad3601d1ea313c7
feat(ui): radio group component
### Please read and mark the following check list before creating a pull request: - [x] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/react-native-ui-kitten/blob/master/CONTRIBUTING.md) guide. - [x] I read and followed the [New Feature Checklist](https://github.com/akveo/react-native-ui-kitte...
diff --git a/src/framework/ui/index.ts b/src/framework/ui/index.ts index 7ed0a9458..7b0005c23 100644 --- a/src/framework/ui/index.ts +++ b/src/framework/ui/index.ts @@ -1,13 +1,21 @@ import { styled } from '@kitten/theme'; import { - Radio, - Props, + Radio as RadioComponent, + Props as RadioProps, } from './rad...
3
2
1
[{"id": "G0", "claim": "The `source` parameter of `createChildProps` would be better named `props`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `source` parameter of `renderChildren` (and `createChildrenArray`) would be better named `chil...
null
akveo__react-native-ui-kitten__240
akveo/react-native-ui-kitten
240
defect
bfabf75302d5dfb5524748d391f1cae8040de003
4a4c6670416cc707c5e1e3b979c0f903eb8354fd
feat(ui): layout component
### Please read and mark the following check list before creating a pull request: - [] I read and followed the [CONTRIBUTING.md](https://github.com/akveo/react-native-ui-kitten/blob/master/CONTRIBUTING.md) guide. - [] I read and followed the [New Feature Checklist](https://github.com/akveo/react-native-ui-kitten/...
diff --git a/src/framework/ui/index.ts b/src/framework/ui/index.ts index 406ecb734..665d79c2f 100644 --- a/src/framework/ui/index.ts +++ b/src/framework/ui/index.ts @@ -7,14 +7,18 @@ import { RadioGroup as RadioGroupComponent, Props as RadioGroupProps, } from './radioGroup/radioGroup.component'; +import { + Lay...
9
6
0
[{"id": "G0", "claim": "The Layout import in src/framework/ui/index.ts should follow the index convention: import the component as LayoutComponent, build `const Layout = styled(...)` and export Layout.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null