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
smallstep__cli__1377
smallstep/cli
1,377
defect
ac46960484353f231013c1ac6f580192a30b394f
1c37ca915a04961d6aa09bcfcfe1b203f1c2e0b5
Allow a few global defaults to be pulled from the CA
- min-encryption-password-length - provisioner Enforce min-password-length, if set, in the 'step ssh certificate' command.
diff --git a/command/ssh/certificate.go b/command/ssh/certificate.go index 3e67dfb0..31fae7f3 100644 --- a/command/ssh/certificate.go +++ b/command/ssh/certificate.go @@ -5,6 +5,7 @@ import ( "crypto" "crypto/rand" "crypto/x509" + "fmt" "net/url" "os" "strings" @@ -44,7 +45,8 @@ func certificateCommand() cl...
2
2
0
[{"id": "G0", "claim": "The Issuer field of bootstrapAPIResponse should be named Provisioner, and both it and RedirectURL should carry omitempty tags.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In bootstrapConfig, Redirect should have omitem...
null
smallstep__cli__1391
smallstep/cli
1,391
defect
2122975d751d6142880c774d5d0e211c97baac79
064866f86c644551df28eeaddad9e1ecd9970eb9
Fix some provisioner and policy prompt issues
This PR fixes the following issues: * SCEP provisioners not detected in admin token flows. They now return an error, similar to ACME provisioners. * Invalid provisioner selection logic when managing provisioner policies. The `--provisioner` flag was used to select a provisioner to authenticate as well as the provis...
diff --git a/cmd/step/main.go b/cmd/step/main.go index 82777390..f3434f28 100644 --- a/cmd/step/main.go +++ b/cmd/step/main.go @@ -22,6 +22,7 @@ import ( "github.com/smallstep/cli/command/version" "github.com/smallstep/cli/internal/plugin" + "github.com/smallstep/cli/internal/provisionerflag" "github.com/smalls...
2
1
0
[{"id": "G0", "claim": "The sentinel-flag mechanism for ignoring the provisioner flag is hacky; try instead setting the flags to \"\" on the context (ctx.Set(\"provisioner\", \"\") and perhaps ctx.Set(\"issuer\", \"\")), or find another way such as token options instead of getting things from the context in the flow me...
null
smallstep__cli__22
smallstep/cli
22
defect
a39f1d4659b873fb64dff7198781a20ce72fcac9
c60fac06992a0408c3e1e0b089306724536f9d1b
command/crypto/jwk/create: Add initial x5c support
### Background Opening this to start a bit of conversation on `x5c` support with JWKs (`step crypto jwk create`). First, I think that re-using `--from-pem` is the right way to go, as opposed to creating a `--from-certificate` flag. Certificates behave much like public keys, with the added benefit that the key is si...
diff --git a/.gitignore b/.gitignore index b2511b1c..8929f8fc 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ coverage.txt output vendor +step diff --git a/command/crypto/jwk/create.go b/command/crypto/jwk/create.go index 042b9815..f78cfaf3 100644 --- a/command/crypto/jwk/create.go +++ b/command/crypto/jw...
3
2
0
[{"id": "G0", "claim": "The key-type switch should separate RSA keys from the other key types so it is easier to see that the algorithm is not automatically set in those cases.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would be good to a...
null
smallstep__cli__270
smallstep/cli
270
defect
007324e264f6e5f143ec3001edfd78549a24fa8e
add0769799808eff937e62e016a6b1f357f4f226
Change trimURLPrefix -> trimURL ...
* Remove trailing '/' if one exists. * Fixes for inspect, verify, lint, fingerprint Fixes #245
diff --git a/command/certificate/fingerprint.go b/command/certificate/fingerprint.go index cf1a0e72..c160554d 100644 --- a/command/certificate/fingerprint.go +++ b/command/certificate/fingerprint.go @@ -93,7 +93,7 @@ func fingerprintAction(ctx *cli.Context) error { crtFile = ctx.Args().First() ) - if _, addr, i...
1
1
1
[{"id": "G0", "claim": "trimURL should parse the input with url.Parse (renaming the url argument) and take u.Host, giving host or host:port, instead of manually splitting on a recognized URL prefix.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
smallstep__cli__318
smallstep/cli
318
defect
2b679713270973eda9d1c0d86647c1f2f3d6c871
7b48627646027d9fc3854267f5e0627f93b79fa6
Remove standard Extensions from ExtraExtensions before CreateCert
Fixes #317
diff --git a/crypto/x509util/profile.go b/crypto/x509util/profile.go index 7da1ee69..1b90f2e5 100644 --- a/crypto/x509util/profile.go +++ b/crypto/x509util/profile.go @@ -9,6 +9,7 @@ import ( "crypto/x509/pkix" "encoding/asn1" "encoding/pem" + "fmt" "math/big" "net" "net/url" @@ -21,6 +22,38 @@ import ( "...
2
2
0
[{"id": "G0", "claim": "The standard-extension set should use map[string]struct{} instead of map[string]int, since empty structs take less memory.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The OIDs can be converted to string keys with asn1.Obje...
null
smallstep__cli__61
smallstep/cli
61
defect
97573f2e78f1b3192a48e2af1aa4d6b2a1a189d5
911aac9c85be33ef284bae19e857329116508152
Fingerprint certificate of remote server
* addresses #56 ### Description Please describe your pull request. 💔Thank you!
diff --git a/command/certificate/fingerprint.go b/command/certificate/fingerprint.go index f2317a32..6e7eef1b 100644 --- a/command/certificate/fingerprint.go +++ b/command/certificate/fingerprint.go @@ -2,10 +2,12 @@ package certificate import ( "crypto/sha256" + "crypto/x509" "encoding/hex" "fmt" "strings" ...
2
1
1
[{"id": "G0", "claim": "fingerprintAction accepts only https:// for remote certificates; it should accept schemes like tcp:// or tls:// as well, and the same remote handling should be shared with `step certificate inspect` through one common method.", "category": "design", "verdict": "supported", "priority": "P1", "sco...
null
smallstep__cli__646
smallstep/cli
646
defect
56cb107a3465554b2dad2e5b95d8f518ec070408
5688694051c27da7bd2a65bed95bc0ab7e912c67
WIP: Support Azure tokens from managed identities not associated with a VM
I know that its expected that users utilise either the ACME provisioner or I guess the K8sSA provisioner on Kubernetes. However, I think it would still be nice if it were possible to use step cli in container on Kubernetes, specifically on Azure Kubernetes Service (AKS). At the moment it's not possible because the v...
diff --git a/token/parse.go b/token/parse.go index afdad9d6..01685d04 100644 --- a/token/parse.go +++ b/token/parse.go @@ -125,7 +125,7 @@ type AWSInstanceIdentityDocument struct { // azureXMSMirIDRegExp is the regular expression used to parse the xms_mirid claim. // Using case insensitive as resourceGroups appears...
1
1
1
[{"id": "G0", "claim": "AzurePayload should carry a provider/resource type and name (e.g. ProviderType/ProviderName) instead of VirtualMachine, and the places that use VirtualMachine should switch to the new field, so that \"disableCustomSANs\": true can be made to work for managed identities not associated with a VM."...
null
smallstep__cli__647
smallstep/cli
647
defect
56cb107a3465554b2dad2e5b95d8f518ec070408
4a0b2f047904f56332bf5245515c7bd398a06aba
Renew after expiry
### Description This PR adds the necessary changes to step to support the renewal of certificates after expiry. Requires: - [x] smallstep/certificates#849
diff --git a/command/ca/provisionerbeta/add.go b/command/ca/provisionerbeta/add.go index 0b095966..c926a4e1 100644 --- a/command/ca/provisionerbeta/add.go +++ b/command/ca/provisionerbeta/add.go @@ -141,6 +141,7 @@ func addCommand() cli.Command { sshHostMaxDurFlag, sshHostDefaultDurFlag, disableRenewalFlag,...
7
6
2
[{"id": "G0", "claim": "The new provisioner flag and field should be named consistently with 'disable-renewal', i.e. 'allow-renewal-after-expiry' rather than 'allow-renew-after-expiry'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "RenewAfterEx...
null
smallstep__cli__652
smallstep/cli
652
defect
9d6712d72d089c416fcffd89fac7412f2ec82c95
7646eb94171870364bd1372ae5b13ae5cde550e1
Add optional SHA1 fingerprint output for certificates
Add optional SHA1 fingerprint output for certificates has requested in https://github.com/smallstep/cli/issues/611
diff --git a/command/certificate/fingerprint.go b/command/certificate/fingerprint.go index e287a792..85aa85d6 100644 --- a/command/certificate/fingerprint.go +++ b/command/certificate/fingerprint.go @@ -80,6 +80,18 @@ debugging invalid certificates remotely.`, }, flags.ServerName, command.FingerprintFormatF...
3
3
2
[{"id": "G0", "claim": "Usage of the SHA-1 algorithm should be gated behind the --insecure flag, since SHA-1 is cryptographically broken and people generally should not be relying on it.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The --alg=<hash> s...
null
smallstep__cli__654
smallstep/cli
654
defect
9d6712d72d089c416fcffd89fac7412f2ec82c95
86e2e3e81b9383c7ef87dc63c6678f1be13f3d22
Go 1.18 support
### Description This PR changes the supported versions of Go to 1.17 and 1.18, using Go 1.18 for releases.
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6194626..3929426c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - go: [ '1.16', '1.17' ] + go: [ '1.17', '1.18...
1
1
0
[{"id": "G0", "claim": "Use `errors.New` instead of `fmt.Errorf` for the test's expected error, since no interpolation takes place.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
smallstep__cli__70
smallstep/cli
70
defect
628fd4a9eed29d83562f570078b1055586f0e537
e9052f68190b684fa4e6c5b8c1810a05c7d58307
Allow to use certificates as keys and add command to extract public keys
### Description This PR allows using certificates as keys in commands like `step crypto jwt verify --key cert.crt ...` and adds a command to extract public keys from certificates or CSRs `step certificate key cert.crt` Fixes #67, #68, and #69
diff --git a/command/certificate/certificate.go b/command/certificate/certificate.go index 5626eb61..d894eaef 100644 --- a/command/certificate/certificate.go +++ b/command/certificate/certificate.go @@ -64,6 +64,11 @@ Convert PEM format certificate to DER and write to disk. ''' $ step certificate format foo.pem --out...
1
1
1
[{"id": "G0", "claim": "ExtractKey should also have cases for *stepx509.Certificate and *stepx509.CertificateRequest.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
smallstep__cli__71
smallstep/cli
71
defect
36df74fa6e77869b291c9ddcccc551f84d1e5eb6
0cc8bcd7634427ca900c14cacb70c299050ab8ad
Sans
### Add SAN support to `step certificate create` and `step ca certificate` Currently the CLI does not support adding Subject Alternative Names. The user can provide one cmd line arg which doubles as a Common Name and the only subject alternative name (in `step certificate create` it is not duplicated in the SANs). ...
diff --git a/Gopkg.lock b/Gopkg.lock index 3ed846c4..4aecee6d 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -299,8 +299,8 @@ revision = "de77670473b5492f5d0bce155b5c01534c2d13f7" [[projects]] - branch = "master" - digest = "1:4f1dffc37fb0f2a7bdc75e6db56246589c4d5dcff393c88e834c380b36da0833" + branch = "sans" + ...
2
1
1
[{"id": "G0", "claim": "In `step ca certificate` the first argument is the common name (subject), not a hostname: the usage and positional-argument docs should define it as the common name, and it should be added to the SANs only when no --san is given.", "category": "correctness", "verdict": "supported", "priority": "...
null
smallstep__cli__725
smallstep/cli
725
defect
ed7795603ef56968220a789ebc0560ac4d393472
b8b923cac58fa50ffa98ef2c14c80d8dc72984e4
Templates variables
### Description This PR allows to use user variables in the templates used in `step certificate create` and `step certificate sign`. Fixes #719
diff --git a/CHANGELOG.md b/CHANGELOG.md index cb4fb88d..1686b546 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Add the certificate signature to `step ssh inspect` output. - Add the `--mtls=false` flag to force the tok...
3
1
0
[{"id": "G0", "claim": "The intermediate-CA example's help text should state that extending maxPathLen is what enables this intermediate to sign both leaf and intermediate certificates, instead of only saying it can sign new intermediates.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope"...
null
smallstep__cli__728
smallstep/cli
728
defect
675df60dd95c381206e4eb4462a4adc4c08aac3a
f39f7f7dd26ae2d3f026171b15d7ce4f5930a288
Skip validation
### Description This change avoids validating the ca.json when adding, removing, or updating provisioners. This removes the need to enable all the features available in step-ca to modify the provisioner list. One example is enabling vaultcas, or requiring all the files in the right location. Fixes #722 Fixes...
diff --git a/command/ca/init.go b/command/ca/init.go index 8528de4a..2a508ae2 100644 --- a/command/ca/init.go +++ b/command/ca/init.go @@ -14,7 +14,6 @@ import ( "github.com/manifoldco/promptui" "github.com/pkg/errors" "github.com/smallstep/certificates/cas/apiv1" - "github.com/smallstep/certificates/kms" "gith...
1
1
0
[{"id": "G0", "claim": "The added comment's wording should be fixed to \"features present in step-ca just to modify the provisioners.\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
smallstep__cli__737
smallstep/cli
737
defect
ba3b40eef9c404e128027eb5ebfeb08fa27da137
04575ab47f54e4b56bb373b77a36535498efa415
Acme Challenge management
### Description This PR adds support for managing the ACME provisioner challenges using `step ca provisioner add` and `step ca provisioner update`.
diff --git a/command/ca/provisioner/add.go b/command/ca/provisioner/add.go index 87e2f3eb..9865199a 100644 --- a/command/ca/provisioner/add.go +++ b/command/ca/provisioner/add.go @@ -12,6 +12,7 @@ import ( "github.com/pkg/errors" "github.com/smallstep/cli/flags" + "github.com/smallstep/cli/internal/sliceutil" "...
3
3
0
[{"id": "G0", "claim": "The comment on acmeChallengeToLinkedca should read \"assumes the options\" instead of \"assumes they options\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The challengeFlag usage text should say \"With a SCEP provisione...
null
smallstep__cli__86
smallstep/cli
86
defect
4f287f86ed4b629872b8c9ccda29de43e0dffcd3
ccf37fd885a8a2fc5c7b2e8e8bf238b7d0eff13a
Offline mode for step ca commands
### Description This PR adds a new offline mode to the following `step ca` commands: * `certificate` * `sign` * `renew` * `token` The offline mode is activated with the flag `--offline`. It requires the file ca.json as well as all the certs and keys that are created with the `step ca init` command. `step ca ...
diff --git a/command/ca/ca.go b/command/ca/ca.go index 9be57ddd..68e5706b 100644 --- a/command/ca/ca.go +++ b/command/ca/ca.go @@ -2,11 +2,16 @@ package ca import ( "net/url" + "path/filepath" "strings" + "time" "github.com/pkg/errors" "github.com/smallstep/cli/command" "github.com/smallstep/cli/command/...
10
10
2
[{"id": "G0", "claim": "The '--offline' flag usage text is misleading: it says offline mode requires the CA configuration file given via '--ca-config', but the flag does not actually have to be given because it can be inferred.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
smarie__mkdocs-gallery__46
smarie/mkdocs-gallery
46
defect
94689a05333f37a72caa863c0fbbad11eb45fab4
16bee6620365c8f645ff6c57d0324da7ae7ebee1
Fix 'mkdocs serve' bug - issue #45
Fix 'mkdocs serve' bug - replace startswith by conversion to pathlib object + relative_to() method Fixes #45
diff --git a/src/mkdocs_gallery/plugin.py b/src/mkdocs_gallery/plugin.py index dcc674fb..37e0fcf6 100644 --- a/src/mkdocs_gallery/plugin.py +++ b/src/mkdocs_gallery/plugin.py @@ -348,11 +348,13 @@ def on_serve(self, server, config, builder): def wrap_callback(original_callback): def _callback(even...
3
2
1
[{"id": "G0", "claim": "The `if` statement seems to have disappeared in the rewritten exclusion check in `on_serve`, so please validate that `mkdocs serve` still updates the site when a source file changes and does not trigger a rebuild for files in `excluded_dirs`.", "category": "correctness", "verdict": "supported", ...
null
smarie__mkdocs-gallery__90
smarie/mkdocs-gallery
90
defect
cc5c4ad508c03df38c3f58c2c0b8a956d458b900
a0219676d0a2883db76d86c10f290a038d4487ad
add support for async galleries
This Pull request fixes #88. - [x] I completed the issue numbers (#xx) in the sentence above. The word "fixes" should remain in front of each issue - [x] My PR is tagged as draft when I'm still working on it, and I remove the draft flag when it is ready for review. - [x] I added one or several `changelog.md` ent...
diff --git a/docs/examples/plot_10_async.py b/docs/examples/plot_10_async.py new file mode 100644 index 00000000..e2b26329 --- /dev/null +++ b/docs/examples/plot_10_async.py @@ -0,0 +1,48 @@ +""" +# Async support +""" + +import asyncio +import time + +start = time.time() +await asyncio.sleep(1) +stop = time.time() +f"I...
6
5
3
[{"id": "G0", "claim": "Wrapping the whole block in an async function loses the block's result, so the code needs to return it for it to be displayed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Wrapping the whole block in an async function loses...
null
smarie__mkdocs-gallery__94
smarie/mkdocs-gallery
94
defect
3cacd2c9d7b08863fb14a0de07f6f969611bb378
292bac5ff9aebcb667cba705fa6f64337db1f19b
don't call asyncio.run for async handling
This Pull request fixes #93 - [x] I completed the issue numbers (#xx) in the sentence above. The word "fixes" should remain in front of each issue - [x] My PR is tagged as draft when I'm still working on it, and I remove the draft flag when it is ready for review. - [ ] I added one or several `changelog.md` entr...
diff --git a/docs/examples/plot_12_async.py b/examples/plot_12_async.py similarity index 90% rename from docs/examples/plot_12_async.py rename to examples/plot_12_async.py index 4aa6f3e..ef9540d 100644 --- a/docs/examples/plot_12_async.py +++ b/examples/plot_12_async.py @@ -31,13 +31,7 @@ async def afn(): # %% # Wi...
4
3
1
[{"id": "G0", "claim": "Add a specific test in the test file reproducing issue #93 explicitly, so non-regression can be ensured in the future.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider a dedicated utils_asyncio.py module for the async help...
null
smarkets__marge-bot__256
smarkets/marge-bot
256
defect
5de1f8cc465630e97f5d419521c6b5becef52afe
dd8824c41c077204c165c4e7dcbf4012281d2527
Add argument to disable fast forwarding of batch merges
Previously when merging batches fast forwarding is enabled. This is problematic when reverting changes that have been fast forwarded as you then have to revert each individual commit. This commit adds an argument to disable the fast forward merging of batches. Fixes #255
diff --git a/README.md b/README.md index bbcb532e..8721dc8f 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,8 @@ optional arguments: [env var: MARGE_ADD_TESTED] (default: False) --batch Enable processing MRs in batches [env var: MARGE_BATCH] (...
3
3
0
[{"id": "G0", "claim": "The new README line misspells 'default' as 'defualt' in the MARGE_USE_NO_FF_BATCHES env var description and should read '(default: False)'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In merge_batch the closing parenthes...
null
smarr__ReBench__201
smarr/ReBench
201
defect
6153382bf138c38e3983dc4346a21da915884d1b
6ab7f98b1ef820cf90c55f2c4f5062c6d5cb252b
Allow float values for metrics captured in RebenchLog
~Documenting a point on the `RebenchLog` gauge adapter that may be unintuitive.~ Allows float values for `runtime` in the RebenchLog gauge adapter. Previously, `... runtime: 1.23ms` would fail to parse. Now it parses just fine. Users should need to perform less conversion. On our side, we always parsed the value as a...
diff --git a/docs/extensions.md b/docs/extensions.md index a0a17fa0..e62ed2b5 100644 --- a/docs/extensions.md +++ b/docs/extensions.md @@ -53,6 +53,10 @@ The approximate format that `ReBenchLog` parses is as follows: optional_prefix benchmark_name: iterations=123 runtime: 1000[ms|us] +Note that runtime values ...
2
2
1
[{"id": "G0", "claim": "The RebenchLog adapter only parses integer measurement values, so Python users have to remember to cast float values such as time.time() to int, and the adapter should support float values instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id":...
null
smarr__ReBench__240
smarr/ReBench
240
defect
8e40fe6c8d632572d08f957481dcfd708140a9c7
233d28d46c64fa3a7c31cb878d2734d43c59c4b8
Expand ~ in paths for cmdline_for_next_invocation
This PR implements a solution for #234 and replaces `~` when found in `location` or `path` settings for benchmark suites and executors respectively. ### Major Change To make this work, we now require Python 3.8 as minimum version. ### Limitations We use `shlex.split()` for working with the commands, which c...
diff --git a/rebench/denoise.py b/rebench/denoise.py index 3b5344f9..7bbdb047 100644 --- a/rebench/denoise.py +++ b/rebench/denoise.py @@ -19,39 +19,7 @@ rebench_version = "unknown" -class CommandsPaths: - """Hold the path information for commands.""" - - def __init__(self): - self.cset_path = Non...
7
2
0
[{"id": "G0", "claim": "The build folder that got added should be removed from the repository because it should not be part of it.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request reverts recently merged changes in denoise.py, exe...
null
smartcontractkit__chainlink-solana__1126
smartcontractkit/chainlink-solana
1,126
defect
1584feca182b3cf370b392f2e5511f51703f4979
c3c6897c2970040b8db89e37766a0bddbeb82138
Fixed token account ordering and token indexes
### Issue Accounts are expected to be provided in the following [order](https://github.com/smartcontractkit/chainlink-ccip/blob/28a24770d357a70b314f1ca02493bc39b27c7a66/chains/solana/contracts/programs/ccip-router/src/instructions/v1/pools.rs#L62-L75) for each token transfer. We expect ordering like below for multiple...
diff --git a/.tool-versions b/.tool-versions index 04823174d7..d8b6834915 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,8 +1,8 @@ nodejs 18.20.2 yarn 1.22.19 rust 1.59.0 -golang 1.23.3 -golangci-lint 1.61.0 +golang 1.24.0 +golangci-lint 1.64.5 actionlint 1.6.22 shellcheck 0.8.0 helm 3.9.4 diff --git a/go...
1
1
1
[{"id": "G0", "claim": "The token index appended in CCIPExecuteArgsTransform is computed as the absolute position in the accounts slice, but the offramp expects it as an offset from the start of remaining accounts (after the 14 mandatory accounts), so the values will be wrong.", "category": "correctness", "verdict": "s...
null
smartcontractkit__chainlink-solana__1167
smartcontractkit/chainlink-solana
1,167
defect
e2c73cfb2419ecad9915a398a6c8030641d1a550
aaabeae30fc93c5d78986fdeef030d9ff8f0528c
chainID fix for e2e test
core ref: 9ed0d68c056da2d9a15752573f24fbc81e4d2e72
diff --git a/pkg/solana/chain.go b/pkg/solana/chain.go index e83882b4d..6f3710c2d 100644 --- a/pkg/solana/chain.go +++ b/pkg/solana/chain.go @@ -164,14 +164,36 @@ func (v *verifiedCachedClient) verifyChainID(ctx context.Context) (bool, error) return v.chainIDVerified, fmt.Errorf("failed to fetch ChainID in verifiedC...
2
2
1
[{"id": "G0", "claim": "The three per-network genesis-hash checks in verifyChainID repeat the same error handling and can be reduced to a single map-based lookup.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added mainnet/testnet/devnet sw...
null
smartcontractkit__chainlink-solana__1232
smartcontractkit/chainlink-solana
1,232
defect
c817e421ec21991bdd00b28881c2ab7232d4c5bd
b368b1229e604056bca0257852eae3e0e24b9c9a
Setup postgres db before running unit tests & interface tests
### Description Set up postgres db, along with sql migrations from core repo before running relay unit tests & interface tests. This will enable all tests which were previously being skipped due to `sqltest.SkipInMemory()` Also: - refactored parsing of "core ref" from PR Body into an action that's used in 3 pl...
diff --git a/.github/workflows/relay.yml b/.github/workflows/relay.yml index a861ad2a13..262b5addc5 100644 --- a/.github/workflows/relay.yml +++ b/.github/workflows/relay.yml @@ -48,6 +48,32 @@ jobs: run: go test -run=xxx ./... # check compilation across tests + relayer / monitoring go code without running ...
3
3
2
[{"id": "G0", "claim": "relay.yml and rust.yml use the smartcontractkit/.github/actions/setup-postgres action with the unpinned mutable ref 'setup-postgres/0.2.0' instead of a pinned commit hash.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The relay...
null
smartcontractkit__chainlink-solana__1359
smartcontractkit/chainlink-solana
1,359
defect
a93f84b0157af8c1ad338e8da565343b0cd0259b
204bd7651d99f89484631c6b53aa1e0721e84e70
[Solana TXM] Adding beholder metrics
### Description <!--- Please include a brief description of changes if not obvious from the PR title Does this work have a corresponding ticket? Please link your Jira ticket by including it in one of the following reference: - the PR title - branch name - commit message - PR descript...
diff --git a/go.mod b/go.mod index b81739bf5..5da345a2a 100644 --- a/go.mod +++ b/go.mod @@ -33,6 +33,7 @@ require ( github.com/smartcontractkit/freeport v0.1.3-0.20250716200817-cb5dfd0e369e github.com/smartcontractkit/libocr v0.0.0-20250905115425-2785a5cee79d github.com/stretchr/testify v1.10.0 + go.opentelemetr...
5
5
2
[{"id": "G0", "claim": "The chainID is not set as an attribute on the beholder (otel) metrics, so the beholder metrics lack the chainID dimension the Prometheus metrics carry.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The metrics field should l...
null
smartcontractkit__chainlink-solana__1364
smartcontractkit/chainlink-solana
1,364
defect
a76e3c9762b629a677795980fe6adabc06eeb727
35c9f35c69f4c479915fa1b5b6b465f923222726
Add new TXM and Block History Estimator metrics
- Added a compute unit price metric to the Block History Estimator - Added a fee bump metric to the TXM - Cleaned up contexts around the codebase
diff --git a/integration-tests/relayinterface/buffer_payload_test.go b/integration-tests/relayinterface/buffer_payload_test.go index 64e93e116..d485cf69a 100644 --- a/integration-tests/relayinterface/buffer_payload_test.go +++ b/integration-tests/relayinterface/buffer_payload_test.go @@ -66,7 +66,8 @@ func Test_BufferP...
1
1
0
[{"id": "G0", "claim": "The compute unit price is a u64 that could theoretically exceed the int64 range, so the beholder gauge should reflect the actual type/range of the value or the int64 conversion should be fail-proof (e.g. capping at int64 max).", "category": "correctness", "verdict": "supported", "priority": "P2"...
null
smartcontractkit__chainlink-solana__1376
smartcontractkit/chainlink-solana
1,376
defect
b63bc17bfeb135ac075fb32d3e4f746e96e3dea8
254367a6e38d14a02ca881683efe648828d7259b
Update LogPoller retry logic to drop jobs after max retry threshold
### Context Solana LogPoller had the concept of a max retry count (set to 6) but it would only determine when to log a Critical message instead of an Error. It would allow jobs to retry indefinitely. If we encounter an RPC issue for a sustained period, the retry job count can balloon and eventually overwhelm the RPC o...
diff --git a/pkg/solana/logpoller/worker/worker.go b/pkg/solana/logpoller/worker/worker.go index 3b52506d7..3427b55ed 100644 --- a/pkg/solana/logpoller/worker/worker.go +++ b/pkg/solana/logpoller/worker/worker.go @@ -21,7 +21,7 @@ var ( const ( // DefaultMaxRetryCount is the number of times a job will be retried b...
1
1
0
[{"id": "G0", "claim": "The reviewer suggests also tweaking the exponential backoff (and potentially the max retry count) together with this change, instead of the circuit breaker.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
smartcontractkit__chainlink-solana__1418
smartcontractkit/chainlink-solana
1,418
defect
66d40fbe3721ac9ae47129ff9e2abfc1c0ea2142
f301bad1b949d92afe863ee2423119f23c5c92ca
[ARCH-332] KMS/TXM support
Analogue to https://github.com/smartcontractkit/chainlink-evm/pull/328
diff --git a/go.mod b/go.mod index 1fd85625f..9cbb75f08 100644 --- a/go.mod +++ b/go.mod @@ -25,7 +25,7 @@ require ( github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5 github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 gi...
2
2
1
[{"id": "G0", "claim": "The cache write in TxKeyCoreKeystore.Sign (and reads of the same map) could race if concurrent Sign calls from txm happen, and should be protected with a lock.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The cache-hit bloc...
null
smartcontractkit__chainlink-solana__1419
smartcontractkit/chainlink-solana
1,419
defect
66d40fbe3721ac9ae47129ff9e2abfc1c0ea2142
e54e3a777e78832f2903c5277c9b0e0f63d92540
Splitting out into commoncodec
- This is the first PR in a series of PRs. - The aim of the series is to add support for multiple anchor versions to our codec lib - This is what the final state will look like https://github.com/smartcontractkit/chainlink-solana/pull/1408 - This PR simply splits out the anchor version agnostic components out of the...
diff --git a/pkg/solana/cap_encoder.go b/pkg/solana/cap_encoder.go index 789bf7a08..a846f7e7e 100644 --- a/pkg/solana/cap_encoder.go +++ b/pkg/solana/cap_encoder.go @@ -14,6 +14,7 @@ import ( "github.com/smartcontractkit/chainlink-protos/cre/go/values" "github.com/smartcontractkit/chainlink-solana/pkg/solana/code...
4
4
0
[{"id": "G0", "claim": "The commented-out solcommoncodec import in pkg/solana/commoncodec/solana.go should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out solcommoncodec import in pkg/solana/commoncodec/codec_entry.g...
null
smartcontractkit__chainlink-solana__1421
smartcontractkit/chainlink-solana
1,421
defect
66d40fbe3721ac9ae47129ff9e2abfc1c0ea2142
e8440b6b257587cb01dc82c88e622e2cd2e368d8
Enable codecv2 (anchor > 0.3) on ChainWriter
- This is the third PR in a series of PRs - First PR https://github.com/smartcontractkit/chainlink-solana/pull/1419) - Second PR https://github.com/smartcontractkit/chainlink-solana/pull/1420 - The aim of the series is to add support for multiple anchor versions to our codec lib - This is what the final state...
diff --git a/go.mod b/go.mod index 1fd85625f..1b921691b 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,7 @@ require ( github.com/cometbft/cometbft v0.38.17 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc github.com/ethereum/go-ethereum v1.16.2 + github.com/gagliardetto/anchor-go v1.0.0 github.com/g...
2
1
1
[{"id": "G0", "claim": "The pull request removes the exported DecoderHooks variable from pkg/solana/codec, which the API diff bot flags as a breaking change to the module's public API.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a test that fails ...
null
smartcontractkit__chainlink-solana__1425
smartcontractkit/chainlink-solana
1,425
defect
aae12da285f07af231af78a52e1df28d0e0ef0a5
799bcd5e9fd30972b78a17b9a251a04371b4f9a6
Enable codecv2 (anchor > 0.3) on LogPoller / ChainAccessor (v2)
- https://github.com/smartcontractkit/chainlink-common/pull/1785 core ref: cl-solana-codec-rename-2
diff --git a/pkg/solana/ccip/chainaccessor/event.go b/pkg/solana/ccip/chainaccessor/event.go index 3e5beff3a..380ea99f6 100644 --- a/pkg/solana/ccip/chainaccessor/event.go +++ b/pkg/solana/ccip/chainaccessor/event.go @@ -4,7 +4,6 @@ import ( "context" "crypto/sha3" "encoding/binary" - "encoding/json" "errors" ...
3
2
0
[{"id": "G0", "claim": "The EventIdl field should also be marked as deprecated now that ContractIdl replaces it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Removing EventIdl and passing the full ContractIdl in registerFilterIfNotExists shoul...
null
smartcontractkit__chainlink-solana__1441
smartcontractkit/chainlink-solana
1,441
defect
4efe2a102b4b75f434543af1da1f7bff1efda35f
ea719d1308b3087a0e0bce861841b78bd672b206
Added GetFiltersNames to SolanaService
### Requires - https://github.com/smartcontractkit/chainlink-common/pull/1801 ### Supports - https://github.com/smartcontractkit/capabilities/pull/337 - https://github.com/smartcontractkit/chainlink/pull/20856 <!--- Please include a brief description of changes if not obvious from the PR title Does this wo...
diff --git a/pkg/solana/chain.go b/pkg/solana/chain.go index ed6a910b0..1ac769aaa 100644 --- a/pkg/solana/chain.go +++ b/pkg/solana/chain.go @@ -45,6 +45,7 @@ type LogPoller interface { HasFilter(context.Context, string) bool RegisterFilter(ctx context.Context, filter logpollertypes.Filter) error UnregisterFilter...
1
1
1
[{"id": "G0", "claim": "Returning an empty map from GetFilters when filters have not been loaded is unsafe because a caller may act on it assuming the DB is empty; GetFilters should load the filters and return an error if loading fails.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in...
null
smartcontractkit__chainlink-solana__1512
smartcontractkit/chainlink-solana
1,512
defect
44afa4efc8cabf89810488b3f9c3a482716cec7c
d069e13de44f3a896c17f2451dfd8a4bc339f064
PLEX-2601 LP fix filters inmemory slot tracking
When filter backfill failed partway through a range, the next poll run restarted backfill from each filter’s original StartingBlock up to the current head. That re-fetched and re-processed slots that had already been handled successfully before the error. This change tracks per-filter backfill progress in memory, pe...
diff --git a/pkg/solana/CONFIG.md b/pkg/solana/CONFIG.md index dcca9db6b..4293e61d7 100644 --- a/pkg/solana/CONFIG.md +++ b/pkg/solana/CONFIG.md @@ -41,7 +41,7 @@ ComputeUnitLimitDefault = 200_000 # Default EstimateComputeUnitLimit = false # Default LogPollerStartingLookback = '24h' # Default LogPollerCPIEventsEnabl...
1
1
0
[{"id": "G0", "claim": "The added saveCheckpointInterval throttle in saveBackfillProgress appears unnecessary because UpdateBackfillProgress only writes to the DB once the backfill is complete (progress otherwise being in-memory), so it questions whether this logic actually reduces DB load.", "category": "design", "ver...
null
smartcontractkit__chainlink-solana__1523
smartcontractkit/chainlink-solana
1,523
defect
c46cbfe7bc6c82c6d415d93c4a7aae8b33fa3a83
0e86d3497f22b3cab0bd0f145e44584a8ec59161
fix snake to pascal conversion
### Description <!--- Please include a brief description of changes if not obvious from the PR title Does this work have a corresponding ticket? Please link your Jira ticket by including it in one of the following reference: - the PR title - branch name - commit message - PR descript...
diff --git a/pkg/solana/codec/v2/codec_entry_test.go b/pkg/solana/codec/v2/codec_entry_test.go index f7e394a83..586daff07 100644 --- a/pkg/solana/codec/v2/codec_entry_test.go +++ b/pkg/solana/codec/v2/codec_entry_test.go @@ -1,4 +1,4 @@ -package codecv2_test +package codecv2 import ( _ "embed" @@ -10,7 +10,6 @@ im...
1
1
0
[{"id": "G0", "claim": "The collision test should make an assertion about the grouped inputs instead of only logging the risk.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
smartcontractkit__chainlink-solana__1526
smartcontractkit/chainlink-solana
1,526
defect
c46cbfe7bc6c82c6d415d93c4a7aae8b33fa3a83
a42549be25f6d6b913e221d764e07e98af7fae1b
fix v1 event codec siltently accept incompatible v2 idls with empty f…
…ields ### Description <!--- Please include a brief description of changes if not obvious from the PR title Does this work have a corresponding ticket? Please link your Jira ticket by including it in one of the following reference: - the PR title - branch name - commit message - P...
diff --git a/pkg/solana/codec/v1/codec_entry.go b/pkg/solana/codec/v1/codec_entry.go index 5de5ca4be..ddf2af01a 100644 --- a/pkg/solana/codec/v1/codec_entry.go +++ b/pkg/solana/codec/v1/codec_entry.go @@ -77,13 +77,19 @@ type EventIDLTypes struct { Types IdlTypeDefSlice } -// accepts contract idl string +// NewEve...
1
1
0
[{"id": "G0", "claim": "The second filter in TestFilters_RegisterFilter could also be constructed with the decoderReadyTestFilter helper instead of a literal types.Filter.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
smartcontractkit__chainlink-solana__1528
smartcontractkit/chainlink-solana
1,528
defect
c46cbfe7bc6c82c6d415d93c4a7aae8b33fa3a83
55050fa8dea4eee3aca5add4bbc40b6e2b75bfa3
fix filter equality check
### Description <!--- Please include a brief description of changes if not obvious from the PR title Does this work have a corresponding ticket? Please link your Jira ticket by including it in one of the following reference: - the PR title - branch name - commit message - PR descript...
diff --git a/pkg/solana/logpoller/types/models.go b/pkg/solana/logpoller/types/models.go index a5b941248..f95cd9160 100644 --- a/pkg/solana/logpoller/types/models.go +++ b/pkg/solana/logpoller/types/models.go @@ -43,12 +43,8 @@ func (c ExtraFilterConfig) Equal(other ExtraFilterConfig) bool { func (f Filter) MatchSam...
1
1
0
[{"id": "G0", "claim": "The RegisterFilter doc comment should be updated to list EventName and ContractIDL among the fields that are matched on.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
smartcontractkit__chainlink-solana__1555
smartcontractkit/chainlink-solana
1,555
defect
6d6e28042110998753fa6134e73f1b4da9c08bb3
8429b556d05b74a57f098d4d7fad4965e1d1367a
Narrow fields returned scope of BHE's GetBlock fetch
Narrow BHE `getBlock` payload to cut allocation churn
diff --git a/pkg/solana/client/client.go b/pkg/solana/client/client.go index a309f08eb..b0580fe5c 100644 --- a/pkg/solana/client/client.go +++ b/pkg/solana/client/client.go @@ -40,6 +40,22 @@ func HeadMetadataGetBlockOpts(commitment rpc.CommitmentType) *rpc.GetBlockOpts { } } +// FeeEstimatorGetBlockOpts returns o...
1
1
1
[{"id": "G0", "claim": "The BHE-tuned getBlock options do not belong in the client: FeeEstimatorGetBlockOpts should live in the BlockHistoryEstimator and the BHE should use the existing GetBlockWithOpts method, instead of repurposing the client's GetBlock to always apply the fee-estimator opts.", "category": "design", ...
null
smartcontractkit__chainlink-solana__298
smartcontractkit/chainlink-solana
298
defect
0260a4ab77597a3590d37f5e6ba55e492f50eba7
0e898a6d2b5f7017278bf02390bed02efe10eaa6
new functions in solana client
* test case for checking tx deduplication * add `getSignatureStatuses` and `simulateTransaction` to client
diff --git a/pkg/solana/client/client.go b/pkg/solana/client/client.go index 0268d6e85..f1df385e4 100644 --- a/pkg/solana/client/client.go +++ b/pkg/solana/client/client.go @@ -41,6 +41,8 @@ type AccountReader interface { type Writer interface { SendTx(ctx context.Context, tx *solana.Transaction) (solana.Signature...
2
2
0
[{"id": "G0", "claim": "There is a bug in decoding the response in solana-go for simulateTransaction, so the pull request will not pass until solana-go is updated.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "pre_existing"}, {"id": "G1", "claim": "SimulateTx should take an optional i...
null
smartcontractkit__chainlink-solana__709
smartcontractkit/chainlink-solana
709
defect
1549341aa997fdd38e807d61fe74588373633446
4a5f6d2cfecbfa70ca82403f676ecd89a8a4bba9
cleanup: remove db config
core ref: c00f33248fe41faafaf67315d3c2665ba0656488 downstream: - https://github.com/smartcontractkit/chainlink/pull/13253
diff --git a/go.mod b/go.mod index a2d9d9405..bff22e670 100644 --- a/go.mod +++ b/go.mod @@ -17,11 +17,11 @@ require ( github.com/smartcontractkit/chainlink-common v0.1.7-0.20240516150131-e1be553a9d10 github.com/smartcontractkit/libocr v0.0.0-20240326191951-2bbe9382d052 github.com/stretchr/testify v1.9.0 + go.ube...
2
2
0
[{"id": "G0", "claim": "The direct go.uber.org/multierr dependency should not be added (the linter should be flagging it in favour of std lib errors.Join) and the linter's failure to flag it should be investigated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
smartcontractkit__chainlink-solana__857
smartcontractkit/chainlink-solana
857
defect
ac425a1a0c8c3da67fc125f73fc2e3d9b3c86f36
0a0da7d58062a8a578f5924b05d60aa9d31ae086
som: handle pruned transactions for slower updating feeds
### Description some solana RPC nodes will prune old transactions. if there are feeds that update slowly, transactions may be pruned from the rpc node and SOM would be unable to find a previous tx and throw an error. that error blocks the data packed in the envelope to be used as an update. if this occurs during...
diff --git a/pkg/monitoring/source_envelope.go b/pkg/monitoring/source_envelope.go index 30648ecef..7b970c197 100644 --- a/pkg/monitoring/source_envelope.go +++ b/pkg/monitoring/source_envelope.go @@ -43,9 +43,9 @@ func (s *envelopeSourceFactory) NewSource( return nil, fmt.Errorf("expected feedConfig to be of type c...
1
1
0
[{"id": "G0", "claim": "In readJuelsPerLamport the lock is unlocked explicitly instead of via defer, so change `s.lock.RUnlock()` to `defer s.lock.RUnlock()`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
smartcontractkit__chainlink-solana__884
smartcontractkit/chainlink-solana
884
defect
4e1d0ae8315a0a0abe828ffddf4a45884349f183
cee839e6200162bafa838660f223f5cd5c226aad
Add EstimateComputeUnitLimit feature
[BCFR-1012](https://smartcontract-it.atlassian.net/browse/BCFR-1012) - Added feature to estimate compute unit limits for transactions if `EstimateComputeUnitLimit` config is enabled - Required for more complex transactions that can use varying amounts of compute units unlike Data Feed transactions Chainlink Repo...
diff --git a/pkg/solana/chainreader/bindings.go b/pkg/solana/chainreader/bindings.go index 9776ded30..39eb07f8a 100644 --- a/pkg/solana/chainreader/bindings.go +++ b/pkg/solana/chainreader/bindings.go @@ -6,6 +6,7 @@ import ( "reflect" "github.com/gagliardetto/solana-go" + "github.com/smartcontractkit/chainlink...
5
4
1
[{"id": "G0", "claim": "Estimating the compute unit limit would make more sense in the Enqueue function, setting txcfg.ComputeUnitLimit there, so the logic of building the transaction multiple times is deduplicated.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
smartcontractkit__chainlink-solana__951
smartcontractkit/chainlink-solana
951
defect
88cca3779525873e45f6d9f54bc8e0d0f2c9af26
1c1f723bda42fedadc379c12ef45c361394479b5
[NONEVM-984][solana] - Reorg Detection + lighter rpc call
### Description - Track transaction statuses on per signature basis to identify which signature for a transaction was included to detect re-orgs specifically for it - Update the confirmation logic to identify regression in a signature’s transaction status when no or processed status is received to detect re-orgs - ...
diff --git a/docs/relay/README.md b/docs/relay/README.md index f1dbffe81..2191e985a 100644 --- a/docs/relay/README.md +++ b/docs/relay/README.md @@ -43,7 +43,8 @@ chainlink nodes solana create --name=<node-name> --chain-id=<chain-id> --url=<ur | `OCR2CacheTTL` | stale OCR2 cache deadline ...
11
9
2
[{"id": "G0", "claim": "The state should also be kept in pendingTx (not only per signature) so the existing logic can be kept and aggregating state across signatures avoided.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If a confirmed transaction is re...
null
smartcontractkit__chainlink__20938
smartcontractkit/chainlink
20,938
defect
caac52059bd2f05746bbdbae64fdd08db0ab7ae9
d2239a11a34256f4323a86c4b87eaa6b5f8fe7d0
Add WR evm chain cap regression test for failing txs on the receiver
<!--- Does this work have a corresponding ticket? Please link it here as well as one of: - the PR title - branch name - commit message [LINK-777](https://smartcontract-it.atlassian.net/browse/LINK-777) --> ### Requires <!--- Does this work depend on other open PRs? Please list them. - https://gi...
diff --git a/system-tests/tests/regression/cre/cre_regression_suite_test.go b/system-tests/tests/regression/cre/cre_regression_suite_test.go index 2bf87a78322..59200f6d041 100644 --- a/system-tests/tests/regression/cre/cre_regression_suite_test.go +++ b/system-tests/tests/regression/cre/cre_regression_suite_test.go @@ ...
2
2
0
[{"id": "G0", "claim": "The test-case description string misspells 'status' as 'ststus' and should read 'tx status set to revert'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment above runWriteReportFailingOnReceiver incorrectly nam...
null
smartcontractkit__chainlink__21220
smartcontractkit/chainlink
21,220
defect
38b23ab3f3ed41e8364597b97576bd8bd8d273ef
d76c4c421525950ec8bc2eb1d75de0ab7130534c
return TxReverted from SubmitTransaction when receipt status is 0
EVMService.SubmitTransaction always returned TxSuccess after fetching the transaction receipt, without checking receipt.GetStatus(). When a transaction reverts on-chain (status 0), this caused chain capability DON nodes to return inconsistent results, preventing OCR consensus and producing quorum timeouts. Check the r...
diff --git a/.changeset/fix-evm-revert-status-1771384563.md b/.changeset/fix-evm-revert-status-1771384563.md new file mode 100644 index 00000000000..ba03e852132 --- /dev/null +++ b/.changeset/fix-evm-revert-status-1771384563.md @@ -0,0 +1,7 @@ +#bugfix + +--- +"chainlink": patch +--- + +Fix EVMService.SubmitTransaction...
3
2
0
[{"id": "G0", "claim": "The test helper's status parameter should use the specific type evm.TransactionStatus instead of uint64.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Returning a pointer to an interface is a code smell; the pointer indire...
null
smartcontractkit__chainlink__21332
smartcontractkit/chainlink
21,332
defect
ad0eb8845b51c1b386fc3e62efbe1419ac6499eb
0303c30bfcb97822926be4fc1b9c5569db98c160
Disable Vault.secrets.get method from gateway
Same PR was added to previous release too: https://github.com/smartcontractkit/chainlink/pull/21323
diff --git a/core/services/gateway/handlers/vault/handler.go b/core/services/gateway/handlers/vault/handler.go index d5580dd0128..730eaaa6e85 100644 --- a/core/services/gateway/handlers/vault/handler.go +++ b/core/services/gateway/handlers/vault/handler.go @@ -357,15 +357,6 @@ func (h *handler) HandleJSONRPCUserMessage...
1
1
1
[{"id": "G0", "claim": "Add a follow-up that refactors the Vault Get smoke test so it executes a workflow, to maintain test coverage now that this PR disables Vault.secrets.get and comments out executeVaultSecretsGetTest.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
smartcontractkit__chainlink__22188
smartcontractkit/chainlink
22,188
defect
8bb73b55e1e3c44bb7fe35657ca8f0b34d35f694
88cc110d367aa9c53d6feff4600ead65d1973eb7
[CLD-1924]: fix(deployment): remove ported code to cld-changesets
Remove solana/helpers.go and jobspec.go as they have been moved over to cld-changesets JIRA: https://smartcontract-it.atlassian.net/browse/CLD-1924
diff --git a/core/scripts/go.mod b/core/scripts/go.mod index 024dcdd64dc8..03ce870be9e3 100644 --- a/core/scripts/go.mod +++ b/core/scripts/go.mod @@ -49,12 +49,12 @@ require ( github.com/smartcontractkit/chainlink-common v0.11.2-0.20260422075950-29f37fa83c8a github.com/smartcontractkit/chainlink-common/keystore v1...
3
2
0
[{"id": "G0", "claim": "The import block in deployment/common/changeset/solana/fund_mcm_pdas.go is not gofmt/goimports-sorted within its group, and gofmt/goimports should be run to keep import ordering consistent with the rest of the package.", "category": "maintainability", "verdict": "supported", "priority": "P3", "s...
null
smartcontractkit__external-adapters-js__4103
smartcontractkit/external-adapters-js
4,103
defect
f0c4a6998dba51da30b2beb7b1f5aeab3b27b86b
cc311674daf1e01759b14ca2b281f9869a4ac2db
Add Canton EA to read from Canton participant node
## Closes #DS-1113 https://smartcontract-it.atlassian.net/browse/DS-1113 ## Description This is a general-purpose Chainlink External Adapter that enables smart contracts to read data from Canton participant nodes via the Ledger API. The adapter should be pluggable and configurable to support application-specif...
diff --git a/.changeset/fair-geese-beam.md b/.changeset/fair-geese-beam.md new file mode 100644 index 00000000000..70bc2f1e941 --- /dev/null +++ b/.changeset/fair-geese-beam.md @@ -0,0 +1,5 @@ +--- +'@chainlink/canton-functions-adapter': major +--- + +This EA enables us to read data from Canton participant nodes via th...
7
2
2
[{"id": "G0", "claim": "The config overrides the framework default for BACKGROUND_EXECUTE_MS with default: 1_000, and the reviewer questions whether that override is needed.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The queryContracts method ships wit...
null
smartcontractkit__external-adapters-js__4139
smartcontractkit/external-adapters-js
4,139
defect
3a41c79fb2a291098300689d56c7f58f7e571b05
527187ef4e914d339c56d0ee556f3b6cc195f84a
Opdata 2671 wintermute ea
## Closes #OPDATA-2671 https://smartcontract-it.atlassian.net/browse/OPDATA-2671 ## Changes Add Wintermute EA Supports websocket protocol to process price message for gmci30 index ## Steps to Test yarn test packages/source/wintermute/test ## Request ``` { "data": { "endpoint": "price", "ind...
diff --git a/.changeset/bright-experts-travel.md b/.changeset/bright-experts-travel.md new file mode 100644 index 00000000000..c2bf3e45330 --- /dev/null +++ b/.changeset/bright-experts-travel.md @@ -0,0 +1,5 @@ +--- +'@chainlink/wintermute-adapter': major +--- + +Wintermute v1.0 diff --git a/.pnp.cjs b/.pnp.cjs index 4...
1
1
1
[{"id": "G0", "claim": "packages/sources/wintermute/package.json is missing the \"@types/sinonjs__fake-timers\": \"8.1.5\" devDependency that the adapter's new test code (which imports @sinonjs/fake-timers) needs.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
smartcontractkit__external-adapters-js__4169
smartcontractkit/external-adapters-js
4,169
defect
30d049c22351ced18cb05cf919f5e37ee059cdb8
f2ba86408e9abb9a0e843978ef3ff4e132518c06
Make nav-fund-services generic
## Description Make the EA able to support different clients using different API Keys. This EA is not released so no breaking changes ## Quality Assurance - [ ] If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant `infra-k8s` configurati...
diff --git a/.changeset/fuzzy-apes-compare.md b/.changeset/fuzzy-apes-compare.md new file mode 100644 index 00000000000..f03f7ab512e --- /dev/null +++ b/.changeset/fuzzy-apes-compare.md @@ -0,0 +1,5 @@ +--- +'@chainlink/nav-fund-services-adapter': patch +--- + +Make EA generic diff --git a/packages/sources/nav-fund-ser...
3
1
0
[{"id": "G0", "claim": "The reviewer suggests force-uppercasing the fund-ID-derived credential env variable names somewhere as a defensive measure, in case they arrive in unexpected case.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer a...
null
smartcontractkit__external-adapters-js__4170
smartcontractkit/external-adapters-js
4,170
defect
5071a20019ac941c7ad04299cf6b478e2b1a7c5a
53f98ba7f66e0e90384d804d69a6d27710d4949c
implied-price. add support for JSON string payloads
Removed `object` type requirement from operand input params for both endpoints. The EA will internally validate if the input is object or string and parse it if needed.
diff --git a/.changeset/smooth-buckets-whisper.md b/.changeset/smooth-buckets-whisper.md new file mode 100644 index 00000000000..5e06f4843d0 --- /dev/null +++ b/.changeset/smooth-buckets-whisper.md @@ -0,0 +1,5 @@ +--- +'@chainlink/implied-price-adapter': minor +--- + +Added support for JSON string input payload for op...
3
3
2
[{"id": "G0", "claim": "The error thrown for an invalid JSON input payload should indicate what the invalid payload is or which field is invalid.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The throws in validateInputPayload (both for invalid JSON and...
null
smartcontractkit__external-adapters-js__4197
smartcontractkit/external-adapters-js
4,197
defect
440d4bae280c383bf8ec1d44ada17bf886f9c238
bb01704bad54cb2c3ea3a707de32c5391d0178a3
[OPDATA-3892] Exchange Copter ARS PoR EA
## Closes [OPDATA-3892](https://smartcontract-it.atlassian.net/browse/OPDATA-3892) ## Description - Basic HTTP EA for Exchange Copter API endpoint and getting totalReserve data - Input of accountName to fetch the totalReserve and totalToken - Boilerplate from `yarn new` ## Steps to Test ``` curl -X POS...
diff --git a/.changeset/real-dolphins-wave.md b/.changeset/real-dolphins-wave.md new file mode 100644 index 00000000000..285d211f87c --- /dev/null +++ b/.changeset/real-dolphins-wave.md @@ -0,0 +1,5 @@ +--- +'@chainlink/exchange-copter-adapter': major +--- + +Exchange Copter EA to pull total reserve data diff --git a/....
2
2
0
[{"id": "G0", "claim": "The Response fields ripcordAsInt, totalReserve and totalToken in BaseEndpointTypes should not be optional.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The else branch that calls logger.debug(message) in the transport is not nee...
null
smartcontractkit__external-adapters-js__4284
smartcontractkit/external-adapters-js
4,284
defect
32e9b9bfecff261834a51912e59c9c8c658490b6
b15a24ee5cedf425aab0595a809ab06a4265fdb4
Feat/OPDATA-4973 debug endpoint
## Closes #[OPDATA-4973](https://smartcontract-it.atlassian.net/browse/OPDATA-4973) ## Description Refactor & adds address-debug endpoint to multi-address-list EA for diagnostic purposes ## Changes - Refactored existing address transport into common functions - Wrote new endpoint address-debug that bypasses sc...
diff --git a/.changeset/two-numbers-confess.md b/.changeset/two-numbers-confess.md new file mode 100644 index 00000000000..aea58328283 --- /dev/null +++ b/.changeset/two-numbers-confess.md @@ -0,0 +1,5 @@ +--- +'@chainlink/multi-address-list-adapter': minor +--- + +added address-adhoc endpoint diff --git a/packages/com...
2
2
1
[{"id": "G0", "claim": "The new endpoint file should be named address-debug instead of address-adhoc.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The debug endpoint should not use a subscription (background) transport since it is only for deb...
null
smartcontractkit__external-adapters-js__4292
smartcontractkit/external-adapters-js
4,292
defect
7f31a53f111bf5a9ba240939310354ffdc00a6e8
ea1cf0f773cfa17c33fc39d1e20db1a8461e81a4
Add mid to stock quotes
Add mid which is calculated by ` (bid price x bid volume + ask price x ask volume) / (bid volume + ask volume)` ``` { "result": null, "data": { "mid_price": 397.6909677419354, "bid_price": 397.42, "bid_volume": 46, "ask_price": 397.78, "ask_volume": 140 }...
diff --git a/.changeset/violet-zoos-walk.md b/.changeset/violet-zoos-walk.md new file mode 100644 index 00000000000..52506aed495 --- /dev/null +++ b/.changeset/violet-zoos-walk.md @@ -0,0 +1,6 @@ +--- +'@chainlink/dxfeed-adapter': minor +'@chainlink/finage-adapter': minor +--- + +Add mid to stock quotes diff --git a/pa...
6
3
1
[{"id": "G0", "claim": "There is no guarantee that every dxfeed quote message contains all the data points, so a message missing some (e.g. a bidPrice not accompanied by bidTime or bidSize) could misprice the computed mid.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"...
null
smartcontractkit__external-adapters-js__4346
smartcontractkit/external-adapters-js
4,346
defect
b4bd695c7c42d6d7351d9a19d1b8234268fa3ba6
0251fa771c70bba8e60b50a0b03a15f7a5b0982c
R25 EA
## Closes #[OPDATA-5148](https://smartcontract-it.atlassian.net/browse/OPDATA-5148) ## Description This EA exposes nav endpoint that fetches latest NAV via R25’s REST API and returns a single numeric result with timestamps. ...... ## Changes - Added nav endpoint and transport for R25 endpoint - Checked fo...
diff --git a/packages/sources/r25/README.md b/packages/sources/r25/README.md new file mode 100644 index 00000000000..c8d255de03c --- /dev/null +++ b/packages/sources/r25/README.md @@ -0,0 +1,97 @@ +# Chainlink R25 External Adapter + +This adapter fetches the latest NAV (Net Asset Value) via R25's REST API and returns a...
10
8
1
[{"id": "G0", "claim": "The code-scanning bot flags that apiKey is hashed with HMAC-SHA256, a password hash with insufficient computational effort, in getRequestHeaders and in the unit-test signature computation.", "category": "security", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "c...
null
smartcontractkit__external-adapters-js__4401
smartcontractkit/external-adapters-js
4,401
defect
80d137112ec159c0af8c37ea5b8b84c40aac53fb
3677eebbba04eac4035b3874225b3a7b3a20628c
Support after hours in dxFeed
## Closes #OPDATA-5381 ## Description - If AAPL only look at Trade - If AAPL:USLF24 look at both Trade and TradeETH but return the ones with greater timestamp ## Quality Assurance - [ ] If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the rel...
diff --git a/.changeset/serious-terms-leave.md b/.changeset/serious-terms-leave.md new file mode 100644 index 00000000000..3c90a5283c4 --- /dev/null +++ b/.changeset/serious-terms-leave.md @@ -0,0 +1,5 @@ +--- +'@chainlink/dxfeed-adapter': minor +--- + +Support after hours in price endpoint diff --git a/packages/source...
3
2
1
[{"id": "G0", "claim": "Add tests showing the stock transport always takes the newest of the Trade and TradeETH messages.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Replace the four-way data[0] comparison with a helper so the check can read like ['T...
null
smartcontractkit__external-adapters-js__4445
smartcontractkit/external-adapters-js
4,445
defect
a6701aa3896d26863218a1734a1f6cfc3c0a2fdd
52c93a282743ca8054662da2358a91af48bc7168
Updates etherFi logic to include queued to withdrawal shares
## Closes [OPDATA-5195](https://smartcontract-it.atlassian.net/browse/OPDATA-5195) ## Description Updates the EA to include the queued-for-withdrawal ETH underlying associated with eETH in EigenLayer as part of the total eETH PoR TVL. ## Changes - Updates etherFi logic to include queued to withdrawal shares...
diff --git a/.changeset/calm-plants-heal.md b/.changeset/calm-plants-heal.md new file mode 100644 index 00000000000..7a137edea19 --- /dev/null +++ b/.changeset/calm-plants-heal.md @@ -0,0 +1,5 @@ +--- +'@chainlink/token-balance-adapter': minor +--- + +Updates etherFi logic to include queued to withdrawal shares diff --...
2
2
0
[{"id": "G0", "claim": "The queued-shares reduce should use the safer `sharesForWithdrawal?.length === 0` guard or, per the follow-up, `.filter` (or equivalent) instead of the current reduce logic.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
smartcontractkit__external-adapters-js__4506
smartcontractkit/external-adapters-js
4,506
defect
7b048642e84117f23261b5d0d9b1f21cf24e251e
b7381b2a88606ce95ab9b5c353531cc1cdb50d6b
feat(ice): add Last Value Persistence (LVP) for off-market hours
## Closes #ISSUE_NUMBER_GOES_HERE ## Description - Add LVP_HEARTBEAT_INTERVAL config (default 30s) - Emit heartbeat events from NetDania StreamingClient on interval - Add updateTTL method to extend cache TTLs for active subscriptions - Track current subscriptions in transport for TTL refresh - Start/stop he...
diff --git a/.changeset/ice-lvp-support.md b/.changeset/ice-lvp-support.md new file mode 100644 index 00000000000..141eba2c12c --- /dev/null +++ b/.changeset/ice-lvp-support.md @@ -0,0 +1,7 @@ +--- +'@chainlink/ice-adapter': minor +--- + +Add Last Value Persistence (LVP) support for off-market hours. The adapter now li...
3
3
1
[{"id": "G0", "claim": "Asks what the newly added packages/sources/ice/.gitignore entry `test-lvp/` is for.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Requests changing the default for CACHE_MAX_AGE in packages/sources/ice/src/config/index.t...
null
smartcontractkit__external-adapters-js__4536
smartcontractkit/external-adapters-js
4,536
defect
d2e86172d4461c175b5da3c9a6b7e8b6e839eedc
dbf4bdc5e8f99f2fa472ce8777d04865cac749b8
Convert unit used for Finalto XCU/USD
## Closes [OPDATA-5638](https://smartcontract-it.atlassian.net/browse/OPDATA-5638) ## Description Finalto prices XCU/USD in $ per tonne, not $ per lb like other providers. In order to align them, we need the EA to divide the finalto price by 2204.62 for the symbol XCU/USD only. ## Changes - Convert unit use...
diff --git a/.pnp.cjs b/.pnp.cjs index 4ba5318347c..0e941b5f28a 100644 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -6464,6 +6464,7 @@ const RAW_RUNTIME_STATE = ["@types/node", "npm:22.14.1"],\ ["@types/sinonjs__fake-timers", "npm:8.1.5"],\ ["@types/uuid", "npm:8.3.4"],\ + ["decimal.js", "...
1
1
0
[{"id": "G0", "claim": "Move the LBS_PER_TONNE constant and parseResult helper out of quote.ts into a different file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
smartcontractkit__external-adapters-js__4635
smartcontractkit/external-adapters-js
4,635
defect
f80dea060606c6e3b711b205e2cdaab7463dd127
18043b64537fc896b18959c2142f03dd8ec59901
Add new forex-continuous endpoint for NCFX 24/7 forex
## Closes #[OPDATA-5905](https://smartcontract-it.atlassian.net/browse/OPDATA-5905) ## Description Add new forex-continuous endpoint for NCFX 24/7 forex WebSocket feed ## Changes - Add new forex-continuous endpoint for NCFX 24/7 forex WebSocket feed - Return LWBA format response (bid, mid, ask) - Add FOREX_...
diff --git a/.changeset/slow-fireants-film.md b/.changeset/slow-fireants-film.md new file mode 100644 index 00000000000..c1a0aa428d3 --- /dev/null +++ b/.changeset/slow-fireants-film.md @@ -0,0 +1,5 @@ +--- +'@chainlink/ncfx-adapter': minor +--- + +Add forex-continuous endpoint for 24/7 forex prices diff --git a/packag...
2
2
0
[{"id": "G0", "claim": "The placeholder aliases ('forex_continuous', 'forexcontinuous') on the forex-continuous endpoint serve no purpose and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The log message emitted when a WS mes...
null
smartcontractkit__external-adapters-js__4729
smartcontractkit/external-adapters-js
4,729
defect
3c6b64872ba028c5354fc4b3c9f8bca7364333c6
66a9238a3177ba487d2d1fde4eadc6c832e96ea5
OPDATA-6220: Support aptos calls in calculated-multi-function endpoint
## [OPDATA-6220](https://smartcontract-it.atlassian.net/browse/OPDATA-6220) ## Description We want to be able to divide and scale aptos view function results. We're adding the aptos calls to the existing endpoint in case we want to make aptos calls and evm calls in operations in the future. We're using a separa...
diff --git a/.changeset/itchy-books-add.md b/.changeset/itchy-books-add.md new file mode 100644 index 00000000000..f8aa2ef33fb --- /dev/null +++ b/.changeset/itchy-books-add.md @@ -0,0 +1,5 @@ +--- +'@chainlink/view-function-multi-chain-adapter': minor +--- + +Support aptos in calculated-multi-function diff --git a/pac...
3
2
0
[{"id": "G0", "claim": "The functionCalls input description should say the view-function calls are made to the EVM blockchain, not just 'the blockchain'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Why did the expected integration-test result f...
null
smartcontractkit__external-adapters-js__4736
smartcontractkit/external-adapters-js
4,736
defect
4ca2a612f7f88b7d7fdce836c4a91c23e04bee72
e2becbeaef6fffc4f1466636cc5873dbcf21067e
Data Engine: Adds result selection and scaling
## Closes #[OPDATA-6394](https://smartcontract-it.atlassian.net/browse/OPDATA-6394) ## Description Adds optional `resultPath` and `decimals` parameters to the data-engine WebSocket transports (crypto-v3, rwa-v8, deutscheBoerse-v11). When `resultPath` is provided, the specified field from the decoded report is prom...
diff --git a/.changeset/polite-frogs-pull.md b/.changeset/polite-frogs-pull.md new file mode 100644 index 00000000000..339df4c65bc --- /dev/null +++ b/.changeset/polite-frogs-pull.md @@ -0,0 +1,5 @@ +--- +'@chainlink/data-engine-adapter': minor +--- + +Add result selection via resultPath and decimal scaling via decimal...
8
8
4
[{"id": "G0", "claim": "The input parameter definitions that are repeated across the cryptoV3, deutscheBoerseV11 and rwaV8 endpoint files should be extracted into a common file instead of written three times.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
smartcontractkit__external-adapters-js__4774
smartcontractkit/external-adapters-js
4,774
defect
be85ca9601522ed3fe725a87e54378a6e0aa8b4c
ae46d398153554bd1b9fb731c381ea579bf3ba08
DxFeed only return O
## Closes #OPDATA-6547 ## Description - Overnight we only accept O exchange codes <!-- Acceptance testing steps, automated tests should _always_ be included --> ## Steps to Test 1. Steps 2. to 3. test ## Quality Assurance - [ ] If a new adapter was made, or an existing one was modified so that i...
diff --git a/.changeset/yellow-laws-repeat.md b/.changeset/yellow-laws-repeat.md new file mode 100644 index 00000000000..c9ba89be87d --- /dev/null +++ b/.changeset/yellow-laws-repeat.md @@ -0,0 +1,5 @@ +--- +'@chainlink/dxfeed-adapter': minor +--- + +Only use O exchange for overnight diff --git a/packages/sources/dxfee...
4
2
1
[{"id": "G0", "claim": "Refactor the transport to use splitArrayIntoChunks to split data and pass only the relevant chunk to generateResponse, instead of threading the index i through every lookup.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim":...
null
smartcontractkit__external-adapters-js__4775
smartcontractkit/external-adapters-js
4,775
defect
be85ca9601522ed3fe725a87e54378a6e0aa8b4c
292697e84053e155cd9695bbea9634e9b29e213b
OPDATA-6322: Add ix-trust-sync adapter
## [OPDATA-6322](https://smartcontract-it.atlassian.net/browse/OPDATA-6322) ## Description This adapter takes params `auditorAddress`, `fractionalContractAddress` and `chainId`. It uses these to fetch a message and signature and then verifies that the signature comes from the `auditorAddress` and signs the messag...
diff --git a/.changeset/rich-suns-sort.md b/.changeset/rich-suns-sort.md new file mode 100644 index 00000000000..bd2540761b2 --- /dev/null +++ b/.changeset/rich-suns-sort.md @@ -0,0 +1,5 @@ +--- +'@chainlink/ix-trust-sync-adapter': major +--- + +Initial version diff --git a/.pnp.cjs b/.pnp.cjs index 619307e40eb..cb871f...
2
2
0
[{"id": "G0", "claim": "The new test-payload.json contains placeholder from/to requests instead of the parameters (auditorAddress, fractionalContractAddress, chainId) the adapter actually expects.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The remov...
null
smartcontractkit__external-adapters-js__4789
smartcontractkit/external-adapters-js
4,789
defect
d1e26b8437792b971b905746fe74b3ad0e2fe6cb
aa76c252e9ee9c93c23f4f2d52489837fea2860e
Feat/OPDATA-6509 implied price decimals
## Closes #[OPDATA-6509](https://smartcontract-it.atlassian.net/browse/OPDATA-6509) ## Description Adds optional `outputDecimals, operand1Decimals, operand2Decimals` input params to `computedPrice` endpoint which can used to scale result to a number of output decimals based on input decimals. ## Changes - Added...
diff --git a/.changeset/happy-foxes-pay.md b/.changeset/happy-foxes-pay.md new file mode 100644 index 00000000000..1a7d09bbe5f --- /dev/null +++ b/.changeset/happy-foxes-pay.md @@ -0,0 +1,5 @@ +--- +'@chainlink/implied-price-adapter': minor +--- + +Add decimals params to computedPrice endpoint diff --git a/packages/com...
2
2
2
[{"id": "G0", "claim": "The decimals scaling in implied-price computedPrice is incorrect: operand1Result should be scaled first and then divided (and likewise for multiply), ideally via a helper taking both numbers and the three decimals.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "...
null
smartcontractkit__external-adapters-js__4811
smartcontractkit/external-adapters-js
4,811
defect
8368dcd9813942e99b469e02eef82eae9d6c4430
71d964b382d32b34a4e7ec17c1b0b514e90d164f
Feat/OPDATA-6509 rename implied-price-test to calculated-price
## Closes #[OPDATA-6509](https://smartcontract-it.atlassian.net/browse/OPDATA-6509) Follow up to #4789 and #4770 ## Description Rename `implied-price-test` composite EA as `calculated-price` ## Changes - Moved folder - Updated tsconfigs - Ran yarn to populate yarn.lock and pnp - Removed implied-price-test ...
diff --git a/.changeset/bright-lilies-tease.md b/.changeset/bright-lilies-tease.md new file mode 100644 index 00000000000..46470a98fb2 --- /dev/null +++ b/.changeset/bright-lilies-tease.md @@ -0,0 +1,5 @@ +--- +'@chainlink/calculated-price-adapter': major +--- + +initial release diff --git a/.changeset/flat-eels-drift....
3
2
0
[{"id": "G0", "claim": "The old implied-price-test CHANGELOG.md should be deleted rather than kept (renamed) under the new package.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The k8s configuration (for the renamed-out implied-price-test pack...
null
smartcontractkit__external-adapters-js__4857
smartcontractkit/external-adapters-js
4,857
defect
197f7795478fff051a45112e185657da1ed98266
b16e92e1f8e4231832cbe03934a92c0260c34d99
OPDATA-6522: generic-api: Use SubscriptionTransport to avoid shared rate limit
## [OPDATA-6522](https://smartcontract-it.atlassian.net/browse/OPDATA-6522) ## Description Currently, `generic-api` uses an `HttpTransport`. The `HttpTransport` does not do any rate limiting so when we use an `HttpTransport` we always apply rate limiting to the adapter, which applies to the single `Requester` use...
diff --git a/.changeset/late-forks-dress.md b/.changeset/late-forks-dress.md new file mode 100644 index 00000000000..c14ffeae537 --- /dev/null +++ b/.changeset/late-forks-dress.md @@ -0,0 +1,5 @@ +--- +'@chainlink/generic-api-adapter': minor +--- + +Use SubscriptionTransport instead of HttpTransport to avoid shared rat...
4
2
0
[{"id": "G0", "claim": "handleRequest's catch block casts the caught error to AdapterInputError where the more generic AdapterError would be appropriate.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since both http.ts and multi-http.ts now extend Gener...
null
smartcorelib__smartcore__142
smartcorelib/smartcore
142
defect
d905ebea1500155c76a26f82095c939a5c5e57c9
e06bbc5651b999eab5fc1a13c173133aba77233e
Implement fastpair
extract what is working from #17: * implement pairwise dissimiliarities * implement fastpair (all test-cases pass) * improve memory usage by avoid usage of connectivity matrix These features can be used in the future to implement additive clustering or other novel features. may be of interest for @danieljrmay
diff --git a/Cargo.toml b/Cargo.toml index 2978238b..9da75a9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,7 @@ num = "0.4" rand = "0.8" rand_distr = "0.4" serde = { version = "1", features = ["derive"], optional = true } +itertools = "0.10.3" [target.'cfg(target_arch = "wasm32")'.dependencies] getrando...
5
3
0
[{"id": "G0", "claim": "The `FastPair` factory function should be reworked into a constructor-style associated function (e.g. `fn build(m: &M) -> Result<Self, Failed>`) on the struct instead of a free factory returning `_FastPair`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
smartystreets__goconvey__211
smartystreets/goconvey
211
defect
13db5bb88b509cb5ac23c1e8624a0ab9e685e083
92eebfb212a8235c69f0e8f753d3211766ecf003
Implemented failure-mode settings per Convey-block
This allows tests to optionally specify on a block-level if they want their failing So()-assertions to block further execution of the test arm or if they want failing So()-assertions to allow the test-arm to proceed. Top-level blocks default to halting execution on a So()-assertion failure and every block inherits fro...
diff --git a/convey/discovery.go b/convey/discovery.go index c88d16a9..4696c998 100644 --- a/convey/discovery.go +++ b/convey/discovery.go @@ -28,15 +28,21 @@ func parseGoTest(items []interface{}) t { } func parseAction(items []interface{}, test t) *action { var index = 1 + var failure = FailureInherits if test !...
3
2
1
[{"id": "G0", "claim": "The fact that FailureInherits is implicitly the default mode (so it never needs to be specified on a Convey block) should be documented for users so people don't make life harder on themselves by specifying it unnecessarily.", "category": "documentation", "verdict": "supported", "priority": "P2"...
null
smartystreets__goconvey__317
smartystreets/goconvey
317
defect
68c22200a00354e2a63e1a0ade46eadd20e00333
4a46a132cd35573c5245269c34fe79f3b9a294d0
Fixes for 1.5
This change allows goconvey to execute with current tip. There are two other failures in the test suite that I didn't investigate. I believe they're related to the number of goroutines started to run tests.
diff --git a/web/server/parser/packageParser.go b/web/server/parser/packageParser.go index 97663947..628b137b 100644 --- a/web/server/parser/packageParser.go +++ b/web/server/parser/packageParser.go @@ -11,7 +11,7 @@ import ( ) var ( - testNamePattern = regexp.MustCompile("^=== RUN:? (.+)$") + testNamePattern = reg...
1
1
1
[{"id": "G0", "claim": "The new `ok` check in recordTestMetadata (the guard against a testName missing from testMap, added by this pull request) should be covered by a test case that fails without the check and passes with it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
smartystreets__goconvey__643
smartystreets/goconvey
643
defect
e098f867a492c822b512423b64073ef03b8ba5f7
6f7d5225c34bd84f7ee0e8b8f7b6108c911a3a82
Set minimum Go version to 1.16
This also selects stable versions for go.mod dependencies. Unfortunately, the gopherjs dependency is an indirect dependency of gls, which supports gopherjs specifically for the purpose of allowing GoConvey to work with gopherjs applications.
diff --git a/README.md b/README.md index d2367d8d..e5d4d0d7 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,16 @@ GoConvey is awesome Go testing Welcome to GoConvey, a yummy Go testing tool for gophers. Works with `go test`. Use it in the terminal or browser according to your viewing pleasure. **[View full featur...
2
2
1
[{"id": "G0", "claim": "The left-over experiment functions added to goconvey.go — testFilesImportTheirOwnPackage, which always returns false, and resolvePackageName, which always returns an empty string — should be deleted (or their real bodies restored) rather than shipped as stubs.", "category": "correctness", "verdi...
null
smfrpc__smf__122
smfrpc/smf
122
defect
cb256e4a01a65d4c84c3baeb11efcbd9874705f8
a0e6fbce637401f8ad306b8645bd1dd946a7980d
chain_replication: add better hasher from request to lcore map
before we would ruin the xxhash performance/distribution by simply xor'ing the hash of the topic w/ the partition. Using fmt::MemoryWriter allows us to get better spread from put to lcore map <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle...
diff --git a/release b/release index a040f6097..2bf23f877 100755 --- a/release +++ b/release @@ -23,7 +23,9 @@ cmake --graphviz=$build_dir/dependencies.dot \ -DCMAKE_BUILD_TYPE=Release $git_root #produce documentation -[[ $1 != "quick" ]] && cmake --build $build_dir --target doc +if [[ $1 != "quick" ]]; then ...
5
3
1
[{"id": "G0", "claim": "The close()/rotate_fstream continuation should be done inline rather than written as a co-routine-style future chain.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new \"{}:{}\" formatting in put_to_lcore allocates where the ...
null
smfrpc__smf__246
smfrpc/smf
246
defect
dc1a399887e3cbfec8301ff54e4dcb0783e3b14b
974517a77da8bc4d5c044741a26b7a9b4932688b
rpc: add the connected address to the rpc context
Issue #245 - Feature completed with integration test Signed-off-by: Chris Heller <hellertime@gmail.com>
diff --git a/demo_apps/server/main.cc b/demo_apps/server/main.cc index 95dee8d91..e52e44097 100644 --- a/demo_apps/server/main.cc +++ b/demo_apps/server/main.cc @@ -6,6 +6,7 @@ #include <core/app-template.hh> #include <core/distributed.hh> +#include <net/api.hh> #include "smf/histogram_seastar_utils.h" #include...
11
9
0
[{"id": "G0", "claim": "The constructor parameter `sa` should be renamed to `remote_address`, and the move constructor should be implemented.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rpc_server_connection constructor should std::move(a...
null
smfrpc__smf__248
smfrpc/smf
248
defect
2b66ccdac0555621794e371b351af98595a82872
3f9c2e6efa42b5007ff3541fc622f3c666113b16
integration_tests: avoid use of `inet_ntop`
Issue: #246 - Tested with multiple concurrency levels Signed-off-by: Chris Heller <hellertime@gmail.com>
diff --git a/src/integration_tests/rpc_multiple_remote_addrs/main.cc b/src/integration_tests/rpc_multiple_remote_addrs/main.cc index 4211ea986..4cf94c8b6 100644 --- a/src/integration_tests/rpc_multiple_remote_addrs/main.cc +++ b/src/integration_tests/rpc_multiple_remote_addrs/main.cc @@ -28,16 +28,20 @@ // at 2 will c...
7
7
1
[{"id": "G0", "claim": "The new helper ipv4_addr_to_ip_str should return seastar::sstring (the project's string type) instead of std::string.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The helper should not return std::move(ip); it should return the ...
null
smfrpc__smf__351
smfrpc/smf
351
defect
e058b02ea2d9d968cdc597bd908698c393a7fcb3
006882ed4ba60ed22b3b2ec8bcfb810f67a8e816
server: expose rpc dispatch latency to prometheus
The HDR histogram doesn't map cleanly to the seastar histogram type. Well, I haven't dug into it deeply enough to be certain. But that mapping needs some attention. It may make sense to use the percentiles strategy to calculate boundaries then actually use the linear histogram iteration to create buckets.
diff --git a/src/core/histogram.cc b/src/core/histogram.cc index f57da63f9..f870a149f 100644 --- a/src/core/histogram.cc +++ b/src/core/histogram.cc @@ -96,6 +96,34 @@ histogram::print(FILE *fp) const { CLASSIC); // Format CLASSIC/CSV supported. } +seastar::metrics::histogram +hist...
5
5
2
[{"id": "G0", "claim": "The percentile-iterator use in get_seastar_metrics_histogram is wrong and unsafe: the iterator is never cleaned up (it should be deleted, or the iterators wrapped in std::unique_ptr<> for exception safety), and the 5 argument is a percentile step duplicating percentiles_print rather than a bucke...
null
smfrpc__smf__375
smfrpc/smf
375
defect
dc9a7dfc0f659c2e215097b67fd8b90a232d0af8
76c99588dc7cdffb73c1d1f32e1e9e655af23623
Feature/upgrade seastar api v6
closes #374 # Big changes * **upgrade to seastar v6**: aligned cmake dependency to redpanda version git hash d80beb8f0e5f926b79db9538e62c32c5d3bcc076 * **upgrade hwloc**: aligned to redpanda version v2.2 * **removed std-compat.h** * **refactor make_file_output_stream**: function now returns a future # Min...
diff --git a/CMakeLists.txt.in b/CMakeLists.txt.in index a90944cd..aa546860 100644 --- a/CMakeLists.txt.in +++ b/CMakeLists.txt.in @@ -83,7 +83,7 @@ ExternalProject_Add(protobuf set(dpdk_quadruple ${CMAKE_SYSTEM_PROCESSOR}-native-linuxapp-gcc) set (dpdk_args - EXTRA_CFLAGS=-Wno-error + "EXTRA_CFLAGS=-Wno-error -f...
2
2
0
[{"id": "G0", "claim": "The pull request should also adopt the other dependency changes that vectorizedio/redpanda ships (wondering whether all the libraries redpanda uses are copied too).", "category": "completeness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The newly ad...
null
smicallef__spiderfoot__1170
smicallef/spiderfoot
1,170
defect
90947fc65ba54a47a6d372e02c615875a2096848
dbfb75ac8f905de6869dbaea30205360ebb4aa45
Added Sublist3r PassiveDNS module
The [Sublist3r tool](https://github.com/aboul3la/Sublist3r) hosts its own passive DNS API at https://api.sublist3r.com. This is one of the primary data sources for the tool, which is actively maintained and has over 6,000 stars on GitHub. Since it is technically an undocumented API, this module is careful to clean, ded...
diff --git a/modules/sfp_sublist3r.py b/modules/sfp_sublist3r.py new file mode 100644 index 0000000000..3acc9e9e42 --- /dev/null +++ b/modules/sfp_sublist3r.py @@ -0,0 +1,104 @@ +# -*- coding: utf-8 -*- +# ------------------------------------------------------------------------------- +# Name: sfp_sublist3r +# ...
4
4
3
[{"id": "G0", "claim": "handleEvent should use the SpiderFootTarget.matches() method to verify whether returned hostnames are part of the target scope instead of the hostname.endswith(domain) check.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
smicallef__spiderfoot__1171
smicallef/spiderfoot
1,171
defect
90947fc65ba54a47a6d372e02c615875a2096848
cc0e681d0b0d9e67276b8521b91eab6a9d0928a1
Added DNSDumpster module
Scrapes subdomains (in a safe and responsible manner ;) from https://dnsdumpster.com/.
diff --git a/modules/sfp_dnsdumpster.py b/modules/sfp_dnsdumpster.py new file mode 100644 index 0000000000..b028c36843 --- /dev/null +++ b/modules/sfp_dnsdumpster.py @@ -0,0 +1,142 @@ +# -*- coding: utf-8 -*- +# ------------------------------------------------------------------------------- +# Name: sfp_dnsdumps...
5
4
1
[{"id": "G0", "claim": "Unless the data returned by DNSDumpster is significantly different from the HackerTarget API, the maintainer would prefer to rely solely on the HackerTarget API since the project generally tries to avoid scraping-based modules.", "category": "design", "verdict": "uncertain", "priority": "P2", "s...
null
smicallef__spiderfoot__608
smicallef/spiderfoot
608
defect
af47a5326c4f73c87b0d83d984e94c7d0f13e630
5bd5dedbd56cfc9a1acda1bc806ea650b65d47e6
sfscan: move startScan() functionality out of init()
This should also fix #554 by ensuring scan IDs are automatically generated.
diff --git a/sf.py b/sf.py index 10ee72a721..861835d26e 100755 --- a/sf.py +++ b/sf.py @@ -320,7 +320,6 @@ def handle_abort(signal, frame): if sfConfig['__logging']: print(("[*] Modules enabled (" + str(len(modlist)) + "): " + ",".join(modlist))) cfg = sf.configUnserialize(dbh.configGet()...
3
2
2
[{"id": "G0", "claim": "The changed check `opts['__modules__'] is None` will generate an exception if `__modules__` does not exist in opts, so it should be left as `'__modules__' not in opts` or use `.get()` instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "...
null
smithy-lang__smithy-examples__103
smithy-lang/smithy-examples
103
defect
fd7d1b43c21eb567671a061f749994482ec1b94a
d7f563e60ce2edda0880068431e3c3e4fe9d2152
Update trait examples to use smithy-trait-package plugin
#### Background Updates all existing trait examples to use the newly added `smithy-trait-package` gradle plugin. As part of this change I revamped the examples to now be less about the types of traits (now trait can be generated, having examples of each type is less useful) and more about the different ways a user...
diff --git a/custom-trait-examples/custom-annotation-trait/build.gradle.kts b/custom-trait-examples/custom-annotation-trait/build.gradle.kts index 58b06a6..0a513dd 100644 --- a/custom-trait-examples/custom-annotation-trait/build.gradle.kts +++ b/custom-trait-examples/custom-annotation-trait/build.gradle.kts @@ -1,9 +1,...
3
3
0
[{"id": "G0", "claim": "The README paragraphs telling users to manually update the META-INF TraitService (and validator Validator) service entries may need to be removed in the custom-string-trait README and similarly in the custom-annotation-trait and custom-structure-trait READMEs.", "category": "documentation", "ver...
null
smithy-lang__smithy-examples__26
smithy-lang/smithy-examples
26
defect
8e05b92f12c33161803eeeb61a36e6c07f5cda92
2ded4524fd8b1dfab9c0e5e900725af89e8d1d69
Linting examples
Description of changes: Add examples for model validation and linting. By submitting this pull request, I confirm that my contribution is made under the terms of the MIT-0 license.
diff --git a/linting-and-validation-examples/README.md b/linting-and-validation-examples/README.md new file mode 100644 index 0000000..a2e004c --- /dev/null +++ b/linting-and-validation-examples/README.md @@ -0,0 +1,125 @@ +# Linting and Validation +The examples in this directory demonstrate how to create custom model ...
9
9
0
[{"id": "G0", "claim": "common-linting-configuration/smithy-build.json should end with a newline after the closing brace.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "custom-linter's META-INF/services ValidatorService file should end with a ne...
null
smithy-lang__smithy-examples__80
smithy-lang/smithy-examples
80
defect
04327b76118be52d97c2590d57e9069209a1f41f
22970ae118b21055a2ec5652805b0e72445bba3b
Add tutorial project for smithy gradle plugins
#### Background * Adds an example project that demonstrates the use of the Smithy gradle plugins. #### Testing * A new integ test was added that causes the new project to be built and then checks that the expected validation warning was emitted. --- By submitting this pull request, I confirm that my contributi...
diff --git a/gradle-plugin-examples/integ/tutorial/build.gradle.kts b/gradle-plugin-examples/integ/tutorial/build.gradle.kts new file mode 100644 index 0000000..9971c55 --- /dev/null +++ b/gradle-plugin-examples/integ/tutorial/build.gradle.kts @@ -0,0 +1,25 @@ + +plugins { + id("java-library") +} + +// The test proj...
2
2
0
[{"id": "G0", "claim": "The JUnit Jupiter dependency versions 5.4.0 in the tutorial integration test build script are pretty old and should be updated to something more recent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the README's openi...
null
smithy-lang__smithy__1618
smithy-lang/smithy
1,618
defect
32b111f8d8501d7149b72d0cca553c756aa929a6
1afe0783d8f982895b1b67604bff070af7145c65
Fix OR condition in scoped attribute selector
*Issue #, if available:* A bug was discovered when using `,` (OR condition) in scoped attribute selector ``` enum Suit { DIAMOND = "diamond" CLUB = "club" HEART = "heart" SPADE = "spade" } enum Color { RED BLACK } ``` `[@trait|enum|(values): @{name} ^= DIA, BLA]` (return enu...
diff --git a/smithy-model/src/main/java/software/amazon/smithy/model/selector/ScopedAttributeSelector.java b/smithy-model/src/main/java/software/amazon/smithy/model/selector/ScopedAttributeSelector.java index 09f406b2cb7..88dc6867aba 100644 --- a/smithy-model/src/main/java/software/amazon/smithy/model/selector/ScopedAt...
1
1
0
[{"id": "G0", "claim": "It would be more straightforward for the test model to apply an explicit enum trait rather than rely on the enum trait synthetically created from enum shapes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
smithy-lang__smithy__1643
smithy-lang/smithy
1,643
defect
5e2b3101fc72d093e2b5befa37b1cb03b8e37961
18ca6297fee7c7af056e8011d63cf10e2776f342
Add selector compliance tests
*Description of changes:* Create self-contained compliance tests for selectors to make them safer to evolve and bugfix, and to make it possible for other implementations to just copy/paste our self-contained directory of test cases. Most of the test cases are based on examples in the [selectors documentation](https...
diff --git a/smithy-model/src/test/java/software/amazon/smithy/model/selector/SelectorRunnerTest.java b/smithy-model/src/test/java/software/amazon/smithy/model/selector/SelectorRunnerTest.java new file mode 100644 index 00000000000..267350c2622 --- /dev/null +++ b/smithy-model/src/test/java/software/amazon/smithy/model...
6
6
1
[{"id": "G0", "claim": "The new SelectorRunnerTest.java file needs a newline before end of file.", "category": "style", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should include documentation of the selector compliance test file format (the selectorTests me...
null
smithy-lang__smithy__1825
smithy-lang/smithy
1,825
defect
b69aeb5dae6639b4381575005722bea02bb31ca8
3203d56e29f5502f9225c67b66a90ddbc5512d0c
Add templates listing to smithy init command
*Description of changes:* * Add templates listing to smithy init command * Allow copying templates to nested output directory in smithy init command *Testing:* * `smithy init --template quickstart-cli --output hello/world` * `smithy init --template quickstart-cli --output ./hello/world` * `smithy init --templat...
diff --git a/smithy-cli/src/it/java/software/amazon/smithy/cli/InitCommandTest.java b/smithy-cli/src/it/java/software/amazon/smithy/cli/InitCommandTest.java index fb7356e9330..dc0d1b0fc5e 100644 --- a/smithy-cli/src/it/java/software/amazon/smithy/cli/InitCommandTest.java +++ b/smithy-cli/src/it/java/software/amazon/smi...
2
2
1
[{"id": "G0", "claim": "visitFileFailed should not silently return CONTINUE; a file whose copy fails should propagate as an error instead of being skipped.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "CopyFileVisitor should be declared final.", "c...
null
smithy-lang__smithy__1974
smithy-lang/smithy
1,974
defect
facbdc355aeb6fe97ef993957d2205ee8f822714
35ec219f4316c5dc548f55bfc1f853c95d1921e7
Add Smithy Lock command
### Description of changes Adds a lock file implementation to the smithy CLI. Users can lock their dependencies using the `smithy lock` CLI command. This resolve all dependencies defined in the config and will generate a lock file named `smithy-lock.json` that pins the resolved dependencies. Future calls to th...
diff --git a/smithy-cli/src/it/java/software/amazon/smithy/cli/LockCommandTest.java b/smithy-cli/src/it/java/software/amazon/smithy/cli/LockCommandTest.java new file mode 100644 index 00000000000..7d68d808eee --- /dev/null +++ b/smithy-cli/src/it/java/software/amazon/smithy/cli/LockCommandTest.java @@ -0,0 +1,186 @@ +p...
22
18
2
[{"id": "G0", "claim": "The DependencyUtils class does not need to be public (\"Why public?\").", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PinnedArtifact/Artifact class split is unnecessary: PinnedArtifact only adds custom loading from a node and...
null
smithy-lang__smithy__1979
smithy-lang/smithy
1,979
defect
0b15b2767453045a2f4e2248d3db2b6e22eb4b7d
fcd63cbd53ce548ae484afe11e0ab936f8a20e0c
Add Sha1 checksum to ResolvedArtifacts
### Description of changes: Re-adds functionality removed in https://github.com/smithy-lang/smithy/pull/1978. #### Updates from previous version This updated version pulls the sha1 checksum from the `.sha1` files in the maven cache rather than computing the sha for each artifact. If a `.sha1` checksum file can't...
diff --git a/smithy-cli/src/it/java/software/amazon/smithy/cli/MavenResolverTest.java b/smithy-cli/src/it/java/software/amazon/smithy/cli/MavenResolverTest.java index 40bb424a8a7..add3af72e38 100644 --- a/smithy-cli/src/it/java/software/amazon/smithy/cli/MavenResolverTest.java +++ b/smithy-cli/src/it/java/software/amaz...
4
4
1
[{"id": "G0", "claim": "The changes to MavenDependencyResolver.java are not meaningful (whitespace-only) and should not be part of the pull request.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Renaming fromCoordinates to a two-argument fromNo...
null
smithy-lang__smithy__1995
smithy-lang/smithy
1,995
defect
2d062d0cf06b576c7cf51e9906d59cd584609b7a
99b3734206c9bcdc9327f5c8cca82105730a8360
Add option to deconflict errors with same status code for OpenAPI
This PR closes #1649. See also: #1265. It re-introduces a subset of the changes that were added previously in #1304, but later reverted in #1334. The docs changes from #1304 were not entirely reverted, so those are modified here to reflect the new changes, which include only allowing for the `oneOf` option to deconf...
diff --git a/docs/source-2.0/guides/converting-to-openapi.rst b/docs/source-2.0/guides/converting-to-openapi.rst index 5b79ed0dfb2..06f2569d63d 100644 --- a/docs/source-2.0/guides/converting-to-openapi.rst +++ b/docs/source-2.0/guides/converting-to-openapi.rst @@ -598,37 +598,22 @@ disableIntegerFormat (``boolean``) ....
7
7
0
[{"id": "G0", "claim": "The null check in OpenApiConverter can be avoided by comparing the enum constant with == on the left side.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new conflicting-errors.smithy test fixture should end with a ne...
null
smithy-lang__smithy__2001
smithy-lang/smithy
2,001
defect
428c8a1121456f0cf2fe5ed70e049a7b6bd90bd5
a13a4491181ed712cc1517ad307212c4e556796c
Set source locations on smithy-diff events
This PR updates smithy-diff evaluators to set source locations on the emitted events where the source location was missing previously. For events where something is removed from a model (member, trait definition, etc), the location from the old model is used. For events where something is added or modified within a ...
diff --git a/smithy-diff/src/main/java/software/amazon/smithy/diff/evaluators/AddedOperationError.java b/smithy-diff/src/main/java/software/amazon/smithy/diff/evaluators/AddedOperationError.java index 1f431156c86..3bbf2e327dc 100644 --- a/smithy-diff/src/main/java/software/amazon/smithy/diff/evaluators/AddedOperationEr...
1
1
1
[{"id": "G0", "claim": "In the ChangedNullabilityTest tests that exercise changing the nullability of specific members, the member shape and its structure should be given different source locations so the assertions verify the emitted event points at the member shape rather than the structure.", "category": "testing", ...
null
smithy-lang__smithy__2019
smithy-lang/smithy
2,019
defect
6b2c80cbea9e733560852d33b464d52fbf2b708a
7d32e8711899a809736de4a2643ddf611ee88fbd
Enable `aws.iam#disableConditionKeyInference` trait for service shape
*Description of changes:* Enable `aws.iam#disableConditionKeyInference` trait for service shape By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
diff --git a/docs/source-2.0/aws/aws-iam.rst b/docs/source-2.0/aws/aws-iam.rst index 06b70d2f100..1e069f542f2 100644 --- a/docs/source-2.0/aws/aws-iam.rst +++ b/docs/source-2.0/aws/aws-iam.rst @@ -221,7 +221,7 @@ Condition keys in IAM policies can be evaluated with `condition operators`_. Summary Declares that th...
4
4
0
[{"id": "G0", "claim": "The `@aws.iam#disableConditionKeyInference` trait on Resource2 in the service test fixture is unused now that inference is disabled at the service level, so it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "clai...
null
smithy-lang__smithy__2027
smithy-lang/smithy
2,027
defect
0fc277a6c05e300ec0e4df494df80fe2dcf99602
acd8048eba4c619123d0b07f271f5908a77f15dc
Add relativeDocumentation to aws.iam#iamResource and aws.iam#defineConditionKeys traits
*Description of changes:* Add relativeDocumentation to aws.iam#iamResource and aws.iam#defineConditionKeys traits By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
diff --git a/docs/source-2.0/aws/aws-iam.rst b/docs/source-2.0/aws/aws-iam.rst index 5ba48d5708c..fc30a01e969 100644 --- a/docs/source-2.0/aws/aws-iam.rst +++ b/docs/source-2.0/aws/aws-iam.rst @@ -139,6 +139,9 @@ Each condition key structure supports the following members: * - externalDocumentation - ``stri...
1
1
0
[{"id": "G0", "claim": "The relativeDocumentation documentation (in the .rst docs and the ones that mimic them in the .smithy definition and Java code) should be updated to use the wording 'A relative URL path that defines more information about the <INSERT TYPE HERE> within a set of IAM-related documentation.'", "cate...
null
smithy-lang__smithy__2033
smithy-lang/smithy
2,033
defect
3ea52156715f7e30de026763021ef78447bf965d
e7e0dd1c6498976905e93fea3b08371e07bffaae
Add convenience method to get IntEnumShape from GenerateIntEnumDirective
*Description of changes:* Adds convenience method to get an IntEnumShape from the `GenerateIntEnumDirective`. This provides parity with the `GenerateEnumDirective` that has an `expectEnumShape` method [see here](https://github.com/smithy-lang/smithy/blob/3ea52156715f7e30de026763021ef78447bf965d/smithy-codegen-core/...
diff --git a/smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/GenerateIntEnumDirective.java b/smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/GenerateIntEnumDirective.java index 1ab87b7f7ba..9f23ac925c4 100644 --- a/smithy-codegen-core/src/main/java/software/...
1
1
1
[{"id": "G0", "claim": "A test should be added for the pull request's new expectIntEnumShape code, which currently has no test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
smithy-lang__smithy__2073
smithy-lang/smithy
2,073
defect
5753eb2fce4c0dc673f077677f83ccde13ff38d2
92fbe27452a92071fc1a885a4b4dc28a5feb7dd8
Add Annotation processor base class for executing Smithy-Build plugins
### Description of changes: Adds a base class for annotation processors for Smithy build plugins. This annotation processor executes smithy build for a single plugin and adds the generated artifacts (java code or `META-INF/` metadata files) to the generated sources for the project. Annotation processors are easily sup...
diff --git a/settings.gradle b/settings.gradle index 89a47440a83..c6c3d2959d0 100644 --- a/settings.gradle +++ b/settings.gradle @@ -33,3 +33,4 @@ include ":smithy-rules-engine" include ":smithy-smoke-test-traits" include ":smithy-syntax" include ":smithy-aws-endpoints" +include ":smithy-annotation-processor" diff -...
3
2
0
[{"id": "G0", "claim": "The process method should flatten its nested size check into an error branch for size > 1 and an else-if branch for size == 1 instead of the current != 1 / > 1 nesting.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The c...
null
smithy-lang__smithy__2075
smithy-lang/smithy
2,075
defect
5753eb2fce4c0dc673f077677f83ccde13ff38d2
5351512421f3c486dd71f785290fa191941f796b
Add backticks to diff messages for trait changes
*Description of changes:* Adds backticks (or triple backticks) around trait values within diff event messages. This better supports markdown rendering of the messages. Also changes pretty-printing to use platform-specific line separator through "%n" By submitting this pull request, I confirm that my contribution...
diff --git a/smithy-diff/src/main/java/software/amazon/smithy/diff/evaluators/ModifiedTrait.java b/smithy-diff/src/main/java/software/amazon/smithy/diff/evaluators/ModifiedTrait.java index fc51e84a016..d4554f603ec 100644 --- a/smithy-diff/src/main/java/software/amazon/smithy/diff/evaluators/ModifiedTrait.java +++ b/smi...
3
3
2
[{"id": "G0", "claim": "The PR's tests fail because the new diff messages use System.lineSeparator() while the test assertions expect \"\\n\"; the maintainer asked that the right line separator be kept when writing output but that test assertions normalize line endings.", "category": "testing", "verdict": "supported", ...
null
smithy-lang__smithy__2076
smithy-lang/smithy
2,076
defect
5753eb2fce4c0dc673f077677f83ccde13ff38d2
503891222bef04fb709cfd8c869c26aa7cc50df1
Add support for proxy for cli dependency resolution
resolves #2029 *Description of changes:* Adds support for a proxy configuration for maven repositories. This proxy configuration can be added one of 2 ways: 1. Via environment variables: `SMITHY_PROXY_HOST` and `SMITHY_PROXY_CREDENTIALS` . These will set a common proxy configuration for all repositories 2. ...
diff --git a/smithy-build/src/main/java/software/amazon/smithy/build/model/MavenRepository.java b/smithy-build/src/main/java/software/amazon/smithy/build/model/MavenRepository.java index e34263cdb45..8370c1568fb 100644 --- a/smithy-build/src/main/java/software/amazon/smithy/build/model/MavenRepository.java +++ b/smithy...
8
8
3
[{"id": "G0", "claim": "The PROXY_CRED javadoc should spell out its usage completely in the enum constant documentation instead of the abbreviated wording.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The setProxy call inside addProxyInfo is har...
null
smithy-lang__smithy__2095
smithy-lang/smithy
2,095
defect
757c75c3413fb8f7b74d35642341792558454216
c0189590a62c7e49f0d17ac39ee10621487c3a0a
Improve deprecation of IAM Action traits
This commit formally deprecates the traits superseded by `@iamAction` in Java code. Methods are added to IamAction to aid users in the resolution of properties. A resolution aid is also added to IamResource. ----- Update IAM trait documentation - Supersedes #2055 ----- By submitting this pull reque...
diff --git a/docs/source-2.0/aws/aws-iam.rst b/docs/source-2.0/aws/aws-iam.rst index ee39923dbb8..aedd1e85d54 100644 --- a/docs/source-2.0/aws/aws-iam.rst +++ b/docs/source-2.0/aws/aws-iam.rst @@ -18,12 +18,17 @@ Smithy are automatically inferred. These can be disabled or augmented. For more information, see :ref:`der...
4
4
0
[{"id": "G0", "claim": "The new deprecation javadocs on the deprecated trait classes (RequiredActionsTrait, ActionNameTrait) should include a proper @deprecated javadoc tag with the release and replacement, e.g. '@deprecated As of release 1.44.0, replaced by {@link ...}'.", "category": "documentation", "verdict": "supp...
null
smithy-lang__smithy__2096
smithy-lang/smithy
2,096
defect
5b4bbaed558aeead4dc45cbb2cb02239c0a4781a
3609c8e3d54f253f9a0a2eacf27c7d3d8142aafe
Skip indexing endpoint modifier traits without shape definition
*Description of changes:* Skip indexing endpoint modifier traits without shape definition By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
diff --git a/smithy-aws-endpoints/src/main/java/software/amazon/smithy/rulesengine/aws/traits/EndpointModifierIndex.java b/smithy-aws-endpoints/src/main/java/software/amazon/smithy/rulesengine/aws/traits/EndpointModifierIndex.java index ff8ccbc59f1..006ec7f3312 100644 --- a/smithy-aws-endpoints/src/main/java/software/a...
3
2
0
[{"id": "G0", "claim": "Prefer using `Optional::isEmpty()` instead of `!traitShape.isPresent()` when checking for a missing trait shape.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Change the warning message to \"`%s` trait found in service `%s...
null
smithy-lang__smithy__2098
smithy-lang/smithy
2,098
defect
6418c569fa4d40953931f2b29390d3c380625102
9dc4d30a494747c65ed00bbc7454312141e49605
Add "critical" validation phase to validation
Runs "critical" validators before other validators so that they can be written without needing to account for things like whether traits are applied in valid places or not or if a trait's value matches its definition and constraints. This can help to simplify validators as they can now call methods like .expectShape...
diff --git a/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/errorfiles/invalid-authorizer-target.errors b/smithy-aws-apigateway-traits/src/test/resources/software/amazon/smithy/aws/apigateway/traits/errorfiles/invalid-authorizer-target.errors new file mode 100644 index 0000...
4
4
1
[{"id": "G0", "claim": "CRITICAL_VALIDATORS isn't used elsewhere in the validation package, so it should be private instead of package-visible.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment above ShapeIdConflictValidator should read \"Ensure...
null
smithy-lang__smithy__2106
smithy-lang/smithy
2,106
defect
061a607487ce706cb70ff1e68014a5b514374676
29c847392c12dc123aaae479c5a9c9933c51f95f
Support internal trait when building synthetic enum trait
When converting the normal enum trait to an enum shape, we convert the `"internal"` tag into the `@internal` trait. This updates the opposite direction conversion used to generate the synthetic enum trait to add the `"internal"` tag if the member had the `@internal` trait if it isn't already in the list of tags. I a...
diff --git a/smithy-model/src/main/java/software/amazon/smithy/model/shapes/EnumShape.java b/smithy-model/src/main/java/software/amazon/smithy/model/shapes/EnumShape.java index 39eeb3c0258..b863d0ab4d7 100644 --- a/smithy-model/src/main/java/software/amazon/smithy/model/shapes/EnumShape.java +++ b/smithy-model/src/main...
1
1
0
[{"id": "G0", "claim": "The tags handling in enumDefinitionFromMember could be simplified by using an orElse(Collections.emptyList()) instead of the Optional-based ifPresent/map dance.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
smithy-lang__smithy__2119
smithy-lang/smithy
2,119
defect
3fa1c8ea5e128cdba40197056798733f5281b52d
be1a1574bab24b5b21dada052efbdf8190ca5b6f
Make UnreferencedShape an opt-in linter instead
UnreferencedShape is no longer an on-by-default validator that ensures shapes must be connected to a service shape. There are plenty of cases where teams might create models that define shared shapes and don't necessarily connect those shapes to services. Emitting an UnreferencedShape validation event for these cases i...
diff --git a/docs/source-2.0/guides/model-linters.rst b/docs/source-2.0/guides/model-linters.rst index 50d600e8251..f44f1d43029 100644 --- a/docs/source-2.0/guides/model-linters.rst +++ b/docs/source-2.0/guides/model-linters.rst @@ -36,6 +36,58 @@ Linters in ``smithy-linters`` The ``smithy-linters`` package defines th...
3
3
0
[{"id": "G0", "claim": "The public UnreferencedShapeValidator class needs documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new UnreferencedShape linter should be moved back to smithy-model rather than living in smithy-linters.", "...
null