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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1Password__typeshare__95 | 1Password/typeshare | 95 | defect | 04af0144247536cb251278569b8e7f61cdd35147 | 5acc31d2f788c3babbd96634dd24bc5eb8162d13 | Configurable Generic Constraints for Swift | Resolves #86.
Default type constraints can now be specified for Swift within the config, using `default_generic_constraints = [...]` under `[swift]`. Constraint strings within the list can include multiple constraints, such as `Sendable & Identifiable`. | diff --git a/cli/src/config.rs b/cli/src/config.rs
index 9c379ac0..4d58c9b9 100644
--- a/cli/src/config.rs
+++ b/cli/src/config.rs
@@ -25,12 +25,25 @@ pub struct ScalaParams {
pub type_mappings: HashMap<String, String>,
}
-#[derive(Default, Serialize, Deserialize, Debug, PartialEq, Eq)]
+#[derive(Serialize, Des... | 2 | 2 | 2 | [{"id": "G0", "claim": "The pull request needs further tests for the new configurable generic decorator functionality.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Applying generic decorators per type via `#[typeshare(swift(generic_decorators = ...))]... | null |
1dustindavis__gorilla__153 | 1dustindavis/gorilla | 153 | defect | b9e9d66ec13f8570259bb36e61866110bb19896a | e2865f919893a5f198868c48fb18b0ca471e85b0 | service: return manifest/catalog errors instead of exiting | ## Summary
- remove fatal-exit behavior from service-facing manifest and catalog loading paths
- change manifest and catalog APIs to return errors that callers can propagate
- update managed run and service optional-install listing flows to return actionable errors instead of terminating process execution
- update affe... | diff --git a/cmd/gorilla/managed_run.go b/cmd/gorilla/managed_run.go
index 328e0362..e28e54f7 100644
--- a/cmd/gorilla/managed_run.go
+++ b/cmd/gorilla/managed_run.go
@@ -72,7 +72,10 @@ func managedRun(cfg config.Configuration) error {
// Get the manifests
gorillalog.Info("Retrieving manifest:", cfg.Manifest)
- m... | 2 | 2 | 2 | [{"id": "G0", "claim": "Returning immediately on os.ReadFile failure makes a missing local manifest fatal even though config.Get always appends <AppDataPath>/service-manifest.yaml whether or not it exists, so fresh installs (and ListOptionalInstalls) now fail before any work starts; missing local manifests should be sk... | null |
1dustindavis__gorilla__67 | 1dustindavis/gorilla | 67 | defect | 1d356b15090406497b787c9c1a744aae4b706caa | f1de699923536d0f7cc4df054c74715936591228 | Config scope | This PR refactors the `config` package to no longer rely on an exported variable. All configuration data is now passed directly to functions, which should be safer and easier to maintain over time. | diff --git a/cmd/gorilla/main.go b/cmd/gorilla/main.go
index f0d0c66a..7ec5075a 100644
--- a/cmd/gorilla/main.go
+++ b/cmd/gorilla/main.go
@@ -3,6 +3,7 @@ package main
import (
"github.com/1dustindavis/gorilla/pkg/catalog"
"github.com/1dustindavis/gorilla/pkg/config"
+ "github.com/1dustindavis/gorilla/pkg/download... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Fixmie bot reported that it found issues to fix in the pull request's Go code, without specifying what they were.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
1dustindavis__gorilla__87 | 1dustindavis/gorilla | 87 | defect | b0dda1c46efc3a8644b03a84e64bb7b8010c4e60 | 0b9794d5687e1ccb269f27030b806b91d122f46b | Script checks now can install/uninstall packages | ATM, script checks are able to perform installations if necessary but uninstalls don't work (Gorilla is doing the oposite of what it have to do, it tries to uninstall a package when is not installed...), with this change Gorilla client will be able to uninstall packages when have to.
I've compiled and tested this co... | diff --git a/pkg/status/status.go b/pkg/status/status.go
index 378c21fa..b9b94291 100644
--- a/pkg/status/status.go
+++ b/pkg/status/status.go
@@ -92,7 +92,7 @@ func checkRegistry(catalogItem catalog.Item, installType string) (actionNeeded b
return actionNeeded, checkErr
}
-func checkScript(catalogItem catalog.Ite... | 3 | 3 | 1 | [{"id": "G0", "claim": "The added comment '// Application not installed if exit 0 ' is not formatted in canonical gofmt style because of its trailing whitespace.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In checkScript's signature the repea... | null |
256dpi__lungo__4 | 256dpi/lungo | 4 | defect | fe6b96ba2e562e56822180a117d05e09979824f2 | 2667162ec99888e2ffea8f9e57b770163ef32ddf | Array Filters Support | Fixes #1 | diff --git a/bsonkit/convert.go b/bsonkit/convert.go
index d6e5aed..503d60a 100644
--- a/bsonkit/convert.go
+++ b/bsonkit/convert.go
@@ -15,6 +15,23 @@ func Convert(m bson.M) Doc {
return &d
}
+// Convert will convert a simple array to a list.
+func ConvertArrayOfDocumentsToList(a bson.A) List {
+ if a == nil {
+ ... | 8 | 8 | 1 | [{"id": "G0", "claim": "Rename `ConvertArrayOfDocumentsToList` to `ConvertList` to match the package's `*List()` naming, and use `[]bson.M` as the argument type since the function is mainly used for testing.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
2factorauth__twofactorauth__8096 | 2factorauth/twofactorauth | 8,096 | defect | 9dbee3ec2f3c04438179820c47ce6cda2f23e0ee | 046d1b2aa0b6cd4fc441456e31fa21d7cc83aa8b | Split GitHub workflows | This PR splits the `repository.yml` workflow into separate workflows: one for pull requests containing different tests and one for deployment.
I also started a Node.js job inside the pull requests workflow. My idea is to gradually rewrite all the tests in JavaScript for better performance and easier collaboration as... | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
new file mode 100644
index 00000000000..f9b412df921
--- /dev/null
+++ b/.github/workflows/publish.yml
@@ -0,0 +1,60 @@
+name: Publish
+on:
+ push:
+ branches:
+ - master
+
+concurrency:
+ group: 'publish'
+ cancel-in-progress: true
+
... | 2 | 2 | 0 | [{"id": "G0", "claim": "If the 'Test PR #XXXX' run name is to be kept, it should be wrapped in quotes so YAML does not parse the line as a comment.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'Call PR Validator' step should use the 2fa.direct... | null |
2factorauth__twofactorauth__8101 | 2factorauth/twofactorauth | 8,101 | defect | f3b2c6279474a80fda6c5144a795ca6b9bfa915d | abd9a2457a7062e71a356a9ace42e25901438c70 | Migrate Ruby tests (part 2) | Continuation of #8096.
* Replaced `tests/validate-categories.rb` with `tests/categories.js` - 23bde2cb0e257b6a0944f345a116530d51e2112c
* Replaced `tests/validate-images.rb` with `tests/images.js` - 4e71ff8aaf7d570f78ab32b187c92267a7630320
* Replaced `tests/validate-json.rb`, `tests/quality-checks.rb` with `tests/... | diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 0b0f2189460..cb76a62f701 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -19,28 +19,17 @@ jobs:
ruby-version: '3.0'
env:
BUNDLE_WITH: 'tests'
- - nam... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Validate Images step's run command should drop the `./` prefix and read `node tests/images.js` to stay uniform with the other steps.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
2factorauth__twofactorauth__8128 | 2factorauth/twofactorauth | 8,128 | defect | f64d96fd983b38330816fdf902ec210cca9b6a55 | efdf3f652f0851c5bd1fc098afc128e681ec7888 | Rewrite final Ruby tests | * Rewrote the URL validation test and SVG lint test.
* Upgraded deprecated actions in the _publish_ workflow. 7b5de6fc748ad2933acae8f59fb5415b313b2836
* Cleaned up allowed file extensions in tests/validate-fs.sh. 69063544cee7028e235320502bb1b73923c0349e
* Split dependencies in package.json into dev dependencies and ... | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 5b96e3f201d..66763b47abf 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -29,7 +29,7 @@ jobs:
node-version: '20'
- name: Install dependencies
- run: npm install
+ run: npm... | 4 | 2 | 0 | [{"id": "G0", "claim": "The error/warn helper functions would be better placed outside the Promise.allSettled callback.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The large-file warning should perhaps tell users to run the file through SVGOMG.", "categ... | null |
2mawi2__schaltwerk__157 | 2mawi2/schaltwerk | 157 | defect | b88d563ccb3743d96cd0c2d9df8bdd0d15cbfcea | b235e2f4e76d5c3a36c3dca8b42eea467e76b04b | Add web preview panel with DevTools support | ## Summary
Adds a browser preview panel in the right sidebar that allows users to load and debug web applications directly within Schaltwerk.
## Features
- **URL Input & Navigation**: Enter URLs, localhost addresses, or port numbers to preview web apps
- **Browser Controls**: Back/forward navigation, hard rel... | diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 7553a8f3d..df99a9b7d 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -25,7 +25,7 @@ tauri-build = { version = "2", features = [] }
[dependencies]
mimalloc = { version = "0.1", default-features = false }
-tauri = { version = "2", features... | 1 | 1 | 1 | [{"id": "G0", "claim": "Pointer events occurring inside the sandboxed preview <iframe> do not bubble to the parent window, so the pointer listener never sets isFocused to true when the user clicks within the preview, and as a result the Cmd/Ctrl ± zoom shortcuts, which the keydown handler processes only while isFocused... | null |
33cn__chain33__1002 | 33cn/chain33 | 1,002 | defect | 4687352f7a997a3e9a440d125c14c7e5f22ff1da | 92b1b63b9997bab078bd74cceef9dcad0e9beca3 | Fix mempool expired tx removing | 1. mempool获取交易时,增加过期判定以及对过期的交易进行删除删除, 相关问题33cn/plugin#948, 33cn/plugin#954, 33cn/plugin#961
2. fix #822 , 增加txHeight允许打包区间,默认设为300,支持配置,对于1w交易的区块,交易哈希缓存内存开销约90MB
| diff --git a/blockchain/chain.go b/blockchain/chain.go
index 1e3d264b41..c06c6f7bc2 100644
--- a/blockchain/chain.go
+++ b/blockchain/chain.go
@@ -621,14 +621,12 @@ func (chain *BlockChain) DelCacheBlock(height int64, hash []byte) {
//InitAllowPackHeight 根据配置修改LowAllowPackHeight和值HighAllowPackHeight
func InitAllowP... | 3 | 2 | 1 | [{"id": "G0", "claim": "In checkExpireValid, removeExpired and filterTxList, the block time should not be incremented by 1 alongside the height, because the resulting timestamp could duplicate the current block's time.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":... | null |
33cn__chain33__1071 | 33cn/chain33 | 1,071 | defect | d871b309c0299fd9bb3ddb485b56890c0fdaf49a | 83b7218384d66c69264234adbc63f0846ce59180 | coins 支持bsn联盟链 | fixes #1069 | diff --git a/account/account.go b/account/account.go
index 38d38a1597..bcc434d1d5 100644
--- a/account/account.go
+++ b/account/account.go
@@ -42,7 +42,8 @@ type DB struct {
// NewCoinsAccount 新建账户
func NewCoinsAccount(cfg *types.Chain33Config) *DB {
- prefix := "mavl-coins-" + cfg.GetCoinSymbol() + "-"
+ //缺省"coin... | 1 | 1 | 1 | [{"id": "G0", "claim": "The CoinExec config should not be restricted to the names coins/coinsx — any custom executor name (e.g. abccoin) should be acceptable.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
33cn__chain33__280 | 33cn/chain33 | 280 | defect | 63218238747ae15bd3f4c527da252a7ab23ca2fa | a3a842048e744f5a90b9a07eab815c5d2340564f | Issues277 | 1,关于testGetBlocksMsg测试偶尔报错的问题,在本地测试很多次都是ok的。需要增加日志输出查看具体的错误信息。
2,区块执行失败时,如下几种错误需要做特殊处理:
types.ErrFutureBlock && !api.IsGrpcError(err) && !api.IsQueueError(err)这三种错误时不需要记录到故障节点中。
a)本节点产生的block区块执行失败时需要删除本地index中对应的记录,返回错误信息给共识模块,由共识模块触发尝试发起再次执行。主要考虑平行链,通过测试看,区块执行失败后,平行链的para共识会再次发送此block给blockchain模块执行。
b)从别的节点同步过... | diff --git a/blockchain/blockstore.go b/blockchain/blockstore.go
index 4bb60110ed..d118be886d 100644
--- a/blockchain/blockstore.go
+++ b/blockchain/blockstore.go
@@ -1061,8 +1061,6 @@ func (bs *BlockStore) SetUpgradeMeta(meta *types.UpgradeMeta) error {
//isRecordBlockSequence配置的合法性检测
func (bs *BlockStore) isRecor... | 1 | 1 | 0 | [{"id": "G0", "claim": "The chainlog.Info line the PR adds at the top of addBlockDetail prints block information before the block is executed, when the blockchain state (statehash) is not yet computed, so the printed value is inaccurate.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "i... | null |
33cn__chain33__569 | 33cn/chain33 | 569 | defect | 239b2b2236ed95e0fcbf34d2f2001ee09666b144 | e74c3cf523f6b1f52b47357d9885dc088da68de3 | Sequence auto create | 在配置 改为 isRecordBlockSequence=true 能在原来同步好的的基础上生成 sequence
在配置 改为 isRecordBlockSequence=false 能在原来同步好的的基础上删除 sequence
| diff --git a/blockchain/blockstore.go b/blockchain/blockstore.go
index 4d5578784b..79ed7b289e 100644
--- a/blockchain/blockstore.go
+++ b/blockchain/blockstore.go
@@ -1239,13 +1239,19 @@ func (bs *BlockStore) SetStoreUpgradeMeta(meta *types.UpgradeMeta) error {
return bs.db.SetSync(version.StoreDBMeta, verByte)
}
... | 2 | 1 | 1 | [{"id": "G0", "claim": "CreateSequences and DeleteSequences accumulate every height's sequence records (potentially millions) in a single batch written only once at the end; the records must be written to the store periodically, in batches, instead of millions at a time.", "category": "performance", "verdict": "support... | null |
33cn__chain33__57 | 33cn/chain33 | 57 | defect | 86e7b3faeb5f9b939edbddc729658e3289afb959 | d9c2c2e03b90646e8ac08f48b1cf9c9ffa1dd3ef | 修复系统框架中没有默认处理钱包功能导致钱包测试用例过不了的BUG | 1. 新增钱包默认处理的策略walletbizpolicy.go,实现钱包基础的功能代码
2. 去掉wallet_test.go中有关ticket状态检查
3. 调整QueryData中重复名称注册冲突导致panic的提示信息 | diff --git a/types/reflect.go b/types/reflect.go
index fe080288ef..30b44926b9 100644
--- a/types/reflect.go
+++ b/types/reflect.go
@@ -7,6 +7,7 @@ package types
import (
"encoding/json"
"errors"
+ "fmt"
"reflect"
"strings"
"sync"
@@ -231,7 +232,7 @@ func NewQueryData(prefix string) *QueryData {
func (q *Q... | 1 | 1 | 1 | [{"id": "G0", "claim": "Because the pull request removed the status.IsTicketLock condition from testProcWalletLock's assertion, a test case asserting IsTicketLock (which matters when walletUnLock.WalletOrTicket is true) should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
33cn__chain33__590 | 33cn/chain33 | 590 | defect | be08bfb7911e3bed989a148cd423192e7afadcda | 14c71c022a8d0f70054a9cb9531a067775c6b53b | Update p2p |
1. p2p增加fixedSeed配置,该模式下只和seeds配置的节点进行连接通信
2. 完善交易ttl相关逻辑
3. 优化p2p单元测试,解决偶发失败问题 | diff --git a/cmd/chain33/chain33.test.toml b/cmd/chain33/chain33.test.toml
index e5ce949455..ea61b2ae6a 100644
--- a/cmd/chain33/chain33.test.toml
+++ b/cmd/chain33/chain33.test.toml
@@ -53,6 +53,12 @@ grpcLogFile="grpc33.log"
channel=216
#waitPid 等待seed导入
waitPid=false
+#交易开始采用哈希传播的ttl
+lightTxTTL=3
+#最大交易传播ttl
+ma... | 2 | 1 | 1 | [{"id": "G0", "claim": "The light-transaction broadcast TTL of 3 (lightTxTTL in cmd/chain33/chain33.test.toml and DefaultLtTxBroadCastTTL in p2p/const.go) is too large given that each node connects to ~50 peers and should be changed to 2.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "in... | null |
33cn__chain33__62 | 33cn/chain33 | 62 | defect | 8c051e7c753df63e9bacdfed4e1f20fbc1bf4e96 | cfae47d355e7df1428289fb3201b627f099e97c8 | Modify linter warning | modify linter warning
chain33/pluginmgr
chain33/queue
chain33/store
chain33/system/store | diff --git a/account/account.go b/account/account.go
index 1b6f104db0..78dd3ba291 100644
--- a/account/account.go
+++ b/account/account.go
@@ -148,10 +148,8 @@ func (acc *DB) depositBalance(execaddr string, amount int64) (*types.Receipt, er
Current: acc1,
}
acc.SaveAccount(acc1)
- ty := int32(types.TyLogDeposit)... | 1 | 1 | 1 | [{"id": "G0", "claim": "In GetBalance the error returned by LoadExecAccountQueue is discarded with `_ = err`; instead restore the `if err != nil { return xx }` style handling (like the linter warning fix, report and return the error).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr... | null |
33cn__chain33__67 | 33cn/chain33 | 67 | defect | f5d46f21e677cd9fc60d2c673922107241e21238 | 06bc1c576acac1a175f88032bad88e7d497c30d4 | add by hyb for chain33-540 and chain33-567 | 问题一:ExecKVSetCommit 写状态数据库失败是需要及时返回失败并退出此次block的处理,防止状态数据写失败了,没有及时处理错误信息,导致block区块信息被写入localdb中。区块无法继续加载。
问题二:在GetBlocks获取block信息,只有在获取交易详情时才需要判断txs和Receipts的数量是否匹配
问题三:blocktest代码,在通过LastSequence获取的block高度和GetBlockHeight获取的block应该是同一个高度的block区块
问题四:mempool test代码。TestDelBlock测试用例是在block回滚是将此block中的两笔交易重新写会给mempool中... | diff --git a/blockchain/chain_test.go b/blockchain/chain_test.go
index 32d1e2f80a..6f3222dc02 100644
--- a/blockchain/chain_test.go
+++ b/blockchain/chain_test.go
@@ -113,7 +113,7 @@ func TestBlockChain(t *testing.T) {
testDelBlock(t, blockchain)
- //testLoadBlockBySequence(t, blockchain)
+ testLoadBlockBySequenc... | 3 | 3 | 1 | [{"id": "G0", "claim": "The test code in mempool/mempool_test.go that the pull request rewrites was code jp had changed, so the pull request should not alter it — the original `size != 2` assertion should stand instead of the new `size < 2` check.", "category": "testing", "verdict": "supported", "priority": "P2", "scop... | null |
33cn__chain33__730 | 33cn/chain33 | 730 | defect | 35a79536c2982c7799c3f239e5184e70b08e38b1 | 48e55e9b111d65bc71a50ab413c62cdf5f80afb2 | rpc:fix createNoBalanceTx expire setting | 1. 修复限制平行链设置区块高度作为过期的逻辑, 考虑特殊永不过期expire=0的情况
2. 增加expire为空时默认过期时间, 为永不过期 | diff --git a/rpc/client.go b/rpc/client.go
index 8fddb71771..68fa8d6473 100644
--- a/rpc/client.go
+++ b/rpc/client.go
@@ -213,15 +213,16 @@ func (c *channelClient) CreateNoBalanceTxs(in *types.NoBalanceTxs) (*types.Trans
if err != nil {
return nil, err
}
- var expire int64
- if in.Expire != "" {
- expire, err ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new boundary condition `if expire > 0 && expire <= types.ExpireBound && isParaTx { return nil, types.ErrInvalidExpire }` should also be exercised by a test for the parachain case.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
33cn__chain33__745 | 33cn/chain33 | 745 | defect | b3638ace3062b400d91b13357030b96438d68a17 | d2b4ed8f7cde6cb1ece389ebd61e1c609e98db4e | Tx diff hash | 交易hash值一样,但签名地址不一样的交易引起的状态hash不一致的问题
fixed #748 | diff --git a/blockchain/blockstore.go b/blockchain/blockstore.go
index 1d54b2d72d..57a103f07a 100644
--- a/blockchain/blockstore.go
+++ b/blockchain/blockstore.go
@@ -1435,3 +1435,38 @@ func (bs *BlockStore) loadBlockBySequenceOld(Sequence int64) (*types.BlockDetail
}
return block, blockSeq.GetType(), nil
}
+
+//r... | 3 | 3 | 0 | [{"id": "G0", "claim": "A test network should be set up to simulate the scenario — two nodes mining concurrently while sending transactions with identical content but different signatures — and test it.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Ful... | null |
33cn__chain33__834 | 33cn/chain33 | 834 | defect | 69abea8a78b237acf43ee4d46e25d056c0ccf67f | 1350980c08e94da3744edf4ba57c593911d87dea | add by hyb for Consensus policy Conflict | RegisterMineStatusReporter 函数处理时需要检测当前的共识和wallet插件是否有冲突,不允许注册有冲突的钱包插件 。
相应的plugin工程的ticket和pos33 wallet 插件需要实现PolicyName() 方法,返回各自的wallet插件名字
close #831 | diff --git a/wallet/common/mine_status_report.go b/wallet/common/mine_status_report.go
index b4ecdf4aef..ae02d4a77f 100644
--- a/wallet/common/mine_status_report.go
+++ b/wallet/common/mine_status_report.go
@@ -9,4 +9,5 @@ type MineStatusReport interface {
IsAutoMining() bool
// 返回挖矿买票锁的状态
IsTicketLocked() bool
+... | 2 | 2 | 1 | [{"id": "G0", "claim": "The isConflict check should not hardcode specific policy names — if the consensus is configured as ticket only ticket may register, and if pos33 only pos33 — because writing it with concrete names means adding a new plugin requires modifying this code, which causes problems.", "category": "desig... | null |
33cn__chain33__893 | 33cn/chain33 | 893 | defect | b0f379a43d3c6eb6713ba6b1053eb0c30ff7d42c | 7286b33d4d77d300ac0ebd9065217ff60f68cac8 | fix calc tx fee | fix #891
* 交易check fee会分别在mempool, exec模块调用,通过统一修改GetRealFee,对hash cache字段大小进行屏蔽,不计入fee计算
| diff --git a/types/tx.go b/types/tx.go
index a260a3003e..f37e2dead0 100644
--- a/types/tx.go
+++ b/types/tx.go
@@ -504,15 +504,15 @@ func (tx *Transaction) Check(cfg *Chain33Config, height, minfee, maxFee int64) e
}
func (tx *Transaction) check(cfg *Chain33Config, height, minfee, maxFee int64) error {
- txSize := S... | 1 | 1 | 1 | [{"id": "G0", "claim": "Subtracting only the raw byte length of the hash caches from txSize ignores the extra bytes proto encoding adds, so the reviewer asks whether simply subtracting the size is correct and points to his added test showing a 4-byte discrepancy.", "category": "correctness", "verdict": "supported", "pr... | null |
33cn__chain33__961 | 33cn/chain33 | 961 | defect | e2d7705ea4536ca18fe81413f4026503cde97efc | ea776989c4ace3a2ad6c125fe1f7e4f8a5070b41 | Check txs existence in mempool before signature verification | 1. 区块交易验签前,向mempool查询是否存在,避免重复验签,提高性能
3. 区块验签相关接口调整,适配验签优化方案
2. solo及相关代码调整,主要为测试,格式,日志等细节优化 | diff --git a/blockchain/process.go b/blockchain/process.go
index e853b7d945..69b3aa14d9 100644
--- a/blockchain/process.go
+++ b/blockchain/process.go
@@ -365,7 +365,7 @@ func (b *BlockChain) connectBlock(node *blockNode, blockdetail *types.BlockDetai
panic(err)
}
writeCost := types.Since(beg)
- chainlog.Debug("... | 3 | 1 | 0 | [{"id": "G0", "claim": "During the download/sync phase the code need not send the mempool an existence-check message, which adds a message interaction, and different scenarios may need to be handled separately.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
3loop__loop-decoder__239 | 3loop/loop-decoder | 239 | defect | 6a0d1bb5b05caee9cedcae341cf40e10f1995722 | c26f9e9f25cd9ec500893947dee788c44ffb19c9 | Add ability to try the decoder over multiple ABIs | This version changes the public API for ABI store. If you use built in stores evrything should work out of the box. When using SQL store ensure that migrations complete on start. Additionally the AbiLoader will now also return an array of ABIs when accessing the cached data. These changes allows us to run over multiple... | diff --git a/.changeset/old-signs-lay.md b/.changeset/old-signs-lay.md
new file mode 100644
index 00000000..5f2c035e
--- /dev/null
+++ b/.changeset/old-signs-lay.md
@@ -0,0 +1,5 @@
+---
+'@3loop/transaction-decoder': minor
+---
+
+BREAKING! This version changes the public API for ABI store. If you use built in stores e... | 3 | 1 | 0 | [{"id": "G0", "claim": "The import of `e` from 'vitest/dist/types-63abf2e0.js' in trace-decode.ts appears to be an accidental debugging leftover that is unused and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The DecodeError... | null |
3scale__3scale-operator__1004 | 3scale/3scale-operator | 1,004 | defect | 34d25e4c4e9f1d937b56b9642a3789ff54be56b6 | d9103650288618575e83f9984e47fa992b1cab96 | THREESCALE-11100 Support updates to OAS-generated Products | # Issue Link
JIRA: [THREESCALE-11100](https://issues.redhat.com/browse/THREESCALE-11100)
# What
This PR allows users to make update to 3scale Products and Backends created via an OpenAPI CR. At a high level this PR does three things:
1. Any changes to Product CRs or Backend CRs that are owned by an OpenAPI CR wil... | diff --git a/controllers/capabilities/openapi_controller.go b/controllers/capabilities/openapi_controller.go
index f683e5205..20c6a9745 100644
--- a/controllers/capabilities/openapi_controller.go
+++ b/controllers/capabilities/openapi_controller.go
@@ -20,15 +20,19 @@ import (
"context"
"encoding/json"
"fmt"
- "n... | 7 | 4 | 0 | [{"id": "G0", "claim": "The doc statement added by this PR that \"the OpenAPI Spec (OAS) and OpenAPI CR are the source of truth\" may be incorrect, since for a secretRef the OAS secret is the only source of truth and for a URL ref the OpenAPI CR is the source of truth only between reconciliation loops.", "category": "d... | null |
3scale__3scale-operator__1030 | 3scale/3scale-operator | 1,030 | defect | 487e8f5a9e466091164399b6c93dbe7bfb449ed5 | 1f3285e6913489bacb2f94fd50ee66ab39c94b0b | THREESCALE-11395 Improved secret watched-by logic | # Issue Link
JIRA: [THREESCALE-11395](https://issues.redhat.com/browse/THREESCALE-11395)
# What
This PR improves on the existing secret watched-by logic in a few ways:
1. Previously the secret labels on the APIManager CR followed this pattern: `secret.apimanager.apps.3scale.net/{secret-UID: 'true'`, where the v... | diff --git a/apis/apps/v1alpha1/apimanager_types.go b/apis/apps/v1alpha1/apimanager_types.go
index 9b74b0f6f..a78c0649b 100644
--- a/apis/apps/v1alpha1/apimanager_types.go
+++ b/apis/apps/v1alpha1/apimanager_types.go
@@ -1346,6 +1346,123 @@ func (apimanager *APIManager) IsAsyncDisableAnnotationPresent() bool {
return... | 4 | 1 | 1 | [{"id": "G0", "claim": "Deleting a referenced watched secret does not mark the APIManager CR as failed - the CR stays Available/True with \"All requirements for the current version are met\" - contrary to the doc note this PR adds saying the operator will mark the CR failed.", "category": "correctness", "verdict": "sup... | null |
3scale__3scale-operator__1047 | 3scale/3scale-operator | 1,047 | defect | 487e8f5a9e466091164399b6c93dbe7bfb449ed5 | 4c5b4a75a20dc5b2c70aaad004a70b7dd12d0aab | THREESCALE-11502 Add flag to disable zync | # Issue Link
JIRA: [THREESCALE-11502](https://issues.redhat.com/browse/THREESCALE-11502)
# What
This PR adds a flag that allows the user to disable the creation of zync components. This flag, `.spec.zync.enabled`, is set to `true` by default but when it is set to `false`, the operator will skip creating the follow... | diff --git a/apis/apps/v1alpha1/apimanager_types.go b/apis/apps/v1alpha1/apimanager_types.go
index 9b74b0f6f..01d557f4c 100644
--- a/apis/apps/v1alpha1/apimanager_types.go
+++ b/apis/apps/v1alpha1/apimanager_types.go
@@ -700,6 +700,9 @@ type SystemPostgreSQLSpec struct {
}
type ZyncSpec struct {
+ // +optional
+ En... | 8 | 4 | 1 | [{"id": "G0", "claim": "deleteZyncComponents seems to be called on each reconciliation cycle, and the reviewer asks the author to look at this.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In validation Scenario 2, routes were not recreated when zync w... | null |
3scale__3scale-operator__1108 | 3scale/3scale-operator | 1,108 | defect | 14c739e4d4430afb5e0f0f7c6650da50007fbeb8 | 04ea40205d3e11d93250f24994ddafddc82d0502 | THREESCALE-10897 Remove 2.14 to 2.15 upgrade code | ## What
[THREESCALE-10897](https://issues.redhat.com/browse/THREESCALE-10897)
and [THREESCALE-11881](https://issues.redhat.com/browse/THREESCALE-11881)
## Verification steps
* Checkout this PR
* Prepare 3scale cluster
```
make cluster/prepare/local
```
* Setup apim
```
export NAMESPACE=3scale-test
c... | diff --git a/bundle/manifests/3scale-operator.clusterserviceversion.yaml b/bundle/manifests/3scale-operator.clusterserviceversion.yaml
index e804e775c..673cde505 100644
--- a/bundle/manifests/3scale-operator.clusterserviceversion.yaml
+++ b/bundle/manifests/3scale-operator.clusterserviceversion.yaml
@@ -724,18 +724,6 @... | 1 | 1 | 0 | [{"id": "G0", "claim": "The leftover error check for the removed appsv1.Install call in controllers/apps/apimanager_suite_test.go should be deleted as well.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
3scale__3scale-operator__467 | 3scale/3scale-operator | 467 | defect | ec9187a45d0de68f2c943e73940a09310bd450f3 | 291e116007afe96bf2390c64730cd9793845959c | Resource pvc system storage and databases | Closes https://issues.redhat.com/browse/THREESCALE-3652
There is no way to define PVC size in the CR using the Operator deployment for any of the storage backends required by 3scale.
* system storage PVC
```
apiVersion: apps.3scale.net/v1alpha1
kind: APIManager
metadata:
name: apimanager1
spec:
wildc... | diff --git a/deploy/crds/apps.3scale.net_apimanagers_crd.yaml b/deploy/crds/apps.3scale.net_apimanagers_crd.yaml
index 404b37f04..e5148b158 100644
--- a/deploy/crds/apps.3scale.net_apimanagers_crd.yaml
+++ b/deploy/crds/apps.3scale.net_apimanagers_crd.yaml
@@ -5601,8 +5601,25 @@ spec:
type: s... | 9 | 5 | 0 | [{"id": "G0", "claim": "Consider whether resources and volumeName should also be added to the system and backend redis PVCs, which are backup-only and, with correct rotation configured, should never be too big.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim... | null |
3scale__3scale-operator__522 | 3scale/3scale-operator | 522 | defect | 0da16b7def6842549daf5838cad790d08491ca02 | 2e79ac4c861533b871ed1849fc384fc3af49ab96 | apimanager: Add configurable ServiceAccount ImagePullSecrets for managed DCs | This PR adds the ability for the users to configure Image Pull Secret name references to APIManager's managed DCs.
APIManager's managed DCs use two ServiceAccounts:
* `amp`
* `zync-que-sa`
This allows users specify additional authenticated registries for the images that might be pulled by the managed DCs Pods.
... | diff --git a/apis/apps/v1alpha1/apimanager_types.go b/apis/apps/v1alpha1/apimanager_types.go
index 74f720db8..bde767fbf 100644
--- a/apis/apps/v1alpha1/apimanager_types.go
+++ b/apis/apps/v1alpha1/apimanager_types.go
@@ -144,6 +144,8 @@ type APIManagerCommonSpec struct {
ImageStreamTagImportInsecure *bool `json:"imag... | 4 | 1 | 1 | [{"id": "G0", "claim": "Because the mutator sorts ImagePullSecrets before comparing, two ServiceAccounts whose ImagePullSecrets differ only in array order will not be detected as a change and will not trigger any reconciliation.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"i... | null |
3scale__3scale-operator__549 | 3scale/3scale-operator | 549 | defect | 3081bd4dac9aeb2e81a045f45d17e5c076b38a44 | 6a38650a7b058049f836cb3d2ae1a99d5e405173 | Improve APIManager status | This PR adds a new condition in APIManager's Status section named `Available`.
We define the `Available` condition to `true` when ALL of the following scenarios are true:
* All expected DeploymentConfigs to be deployed exist and have the `Available` condition set to true
* All 3scale default OpenShift routes exist... | diff --git a/apis/apps/v1alpha1/apimanager_types.go b/apis/apps/v1alpha1/apimanager_types.go
index bde767fbf..d920d9fe1 100644
--- a/apis/apps/v1alpha1/apimanager_types.go
+++ b/apis/apps/v1alpha1/apimanager_types.go
@@ -18,10 +18,14 @@ package v1alpha1
import (
"fmt"
+ "reflect"
"github.com/3scale/3scale-oper... | 12 | 9 | 2 | [{"id": "G0", "claim": "The author's own TODO questioning whether the Deployments are sorted before the equality check in the new APIManagerStatus.Equals should be resolved and replaced by a statement of the invariant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
3scale__3scale-operator__625 | 3scale/3scale-operator | 625 | defect | 00393b1609a8008ff76e77c5b8c8a279a121adee | 15bc3fd6664aee4f83a7edd865acc2b12d673927 | apicast custom policies | https://issues.redhat.com/browse/THREESCALE-7032
* Reconciliation of apicast production and staging volumes and volumeMounts introduced. Only for volumes resulting from custom policies configuration in the APIManager CR. Manually mounted volumes are not reconciled.
Tracking of volumes (and volumemounts) resultin... | diff --git a/apis/apps/v1alpha1/apimanager_types.go b/apis/apps/v1alpha1/apimanager_types.go
index f3be24ae6..bd312c572 100644
--- a/apis/apps/v1alpha1/apimanager_types.go
+++ b/apis/apps/v1alpha1/apimanager_types.go
@@ -20,15 +20,17 @@ import (
"fmt"
"reflect"
- "github.com/3scale/3scale-operator/pkg/3scale/amp/... | 4 | 3 | 2 | [{"id": "G0", "claim": "The `namespace` parameter of NewApicastOptionsProvider is not needed; the APIManager's own namespace can be used since they will always be in the same namespace.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The DeepEqual compari... | null |
3scale__3scale-operator__644 | 3scale/3scale-operator | 644 | defect | f00f981909914c0f3e1a406fb08122c16e88ab2f | bd7892486db334ee7f744138f96320aaad4e05d0 | Add OpenTracing configurability for APIcast environments | This exposes OpenTracing functionality provided by APIcast into the APIManager CR for the APIcast staging and production environments.
### Design
New `spec.apicast.stagingSpec.openTracing` and `spec.apicast.produtionSpec.openTracing` sections have been added in the `APIManager` CR.
An example:
```
spec:
... | diff --git a/apis/apps/v1alpha1/apimanager_types.go b/apis/apps/v1alpha1/apimanager_types.go
index bd312c572..d0a9f87cb 100644
--- a/apis/apps/v1alpha1/apimanager_types.go
+++ b/apis/apps/v1alpha1/apimanager_types.go
@@ -203,6 +203,10 @@ type ApicastProductionSpec struct {
// CustomPolicies specifies an array of defi... | 5 | 3 | 1 | [{"id": "G0", "claim": "Use path.Join instead of strings.Join when building the OPENTRACING_CONFIG config-file path in the staging and production environment builders.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Update the comment above Custo... | null |
3scale__3scale-operator__660 | 3scale/3scale-operator | 660 | defect | 9c103315d475412f8cdf7a033cd16bf89de6519b | 2f9e649f50b12612054b7116d8f8f5a6a9324f4b | fix docker image version parser | * Keep backward compat. New unittests added, not updated any existing unittests.
* Full check for valid label value, not only length.
| diff --git a/pkg/helper/labels.go b/pkg/helper/labels.go
index 53467f886..999349534 100644
--- a/pkg/helper/labels.go
+++ b/pkg/helper/labels.go
@@ -22,7 +22,7 @@ func MeteringLabels(componentName, componentVersion string, componentType Compon
"com.redhat.component-version": componentVersion,
}
- if len(componen... | 2 | 2 | 0 | [{"id": "G0", "claim": "The parser should not take into account or assume anything about the protocol, since the protocol does not seem to be part of the docker image specification.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Comments should be added ... | null |
3scale__3scale-operator__679 | 3scale/3scale-operator | 679 | defect | 27704861c623c2d832f808f11ca09db3d74f8172 | 9c460cb59121954089da2df62234a6e856d5e35e | New metering labels | https://issues.redhat.com/browse/THREESCALE-7750
Spec doc: https://docs.google.com/document/d/1bd9VnZ9jKwDBOOKAJltAtvhz3COUYYmRe3-BGE6fDGE/edit#bookmark=id.27cia5h5kj9j
example of one pod
```json
❯ k get pods apicast-production-1-stm67 -o jsonpath="{.metadata.labels}" | jq '.'
{
"app": "3scale-api-managemen... | diff --git a/bundle/manifests/3scale-operator.clusterserviceversion.yaml b/bundle/manifests/3scale-operator.clusterserviceversion.yaml
index 754df9f0b..d8afcd837 100644
--- a/bundle/manifests/3scale-operator.clusterserviceversion.yaml
+++ b/bundle/manifests/3scale-operator.clusterserviceversion.yaml
@@ -340,12 +340,14 ... | 6 | 4 | 2 | [{"id": "G0", "claim": "The upgrade procedure ensures pod template labels on the zync database DeploymentConfig unconditionally; this should depend on whether zync-database is set as an external database or not.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ... | null |
3scale__3scale-operator__686 | 3scale/3scale-operator | 686 | defect | 9a018b44569eddd398d9e02e386f414b4e3be0ac | 126937f9e71ad9aa338c8cb24bc6b927558edf0a | Remove usage of system redis messagebus from System | This PR removes the usage of System's Redis message bus database from System DCs (DeploymentConfigs).
* Removes all redis message-bus related environment variable references from the following DCs:
* system-app
* system-sidekiq
* system-sphinx
* In case databases deployment mode is internal it removes mess... | diff --git a/doc/apimanager-reference.md b/doc/apimanager-reference.md
index 3f218875b..4f4ae927f 100644
--- a/doc/apimanager-reference.md
+++ b/doc/apimanager-reference.md
@@ -430,8 +430,8 @@ When HighAvailability is enabled the following secrets have to be pre-created by
* [system-database](#system-database) with th... | 2 | 1 | 0 | [{"id": "G0", "claim": "AFAIK system-app, system-sphinx and system-sidekiq do not use Spec.Strategy.RecreateParams, so the RecreateParams handling the PR adds to the env-var removal helper appears unnecessary.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim"... | null |
3scale__3scale-operator__733 | 3scale/3scale-operator | 733 | defect | 265d40f373233dbfc1f4d44ce17827856ed685ef | 1a68a160615c7f0278cef6cfdcef5f28ded3bb73 | THREESCALE-6836: Combining external/internal dependencies | Deprecate the `.Spec.HighAvailability` field in favour of a new `.Spec.ExternalComponents` fields, which allows to specify a combination of external/internal dependencies for components.
Refactor the logic that manages the reconciliation of internal and external dependencies to allow a fine grained reconciliation. | diff --git a/apis/apps/v1alpha1/apimanager_types.go b/apis/apps/v1alpha1/apimanager_types.go
index 184af7ea1..a8773eab0 100644
--- a/apis/apps/v1alpha1/apimanager_types.go
+++ b/apis/apps/v1alpha1/apimanager_types.go
@@ -77,6 +77,9 @@ type APIManagerSpec struct {
Zync *ZyncSpec `json:"zync,omitempty"`
// +optional
... | 7 | 7 | 4 | [{"id": "G0", "claim": "The new ExternalComponentsSpec fields should be optional with well-defined defaults instead of required.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "setAPIManagerDefaults should return whether the CR was updated by HighAvailabi... | null |
3scale__3scale-operator__736 | 3scale/3scale-operator | 736 | defect | bd4fd5790318c69ce56b3346669873b5020c4e76 | fb1d91455bb7224637cf7be1613df91c15c75d8e | disable replicas reconciliation when annotation is present | This resolves the https://issues.redhat.com/browse/THREESCALE-8374
Verification
- deploy 3scale
- add annotation to the apiManager
1. "apps.3scale.net/disable-apicast-production-replica-reconciler": "true"
2. confirm that the apicast production replicas aren't synced anymore then set the above annotation to fal... | diff --git a/pkg/3scale/amp/operator/apicast_reconciler.go b/pkg/3scale/amp/operator/apicast_reconciler.go
index 20ea96d10..75e5a5b71 100644
--- a/pkg/3scale/amp/operator/apicast_reconciler.go
+++ b/pkg/3scale/amp/operator/apicast_reconciler.go
@@ -6,6 +6,7 @@ import (
"strings"
appsv1 "github.com/openshift/api/a... | 14 | 11 | 2 | [{"id": "G0", "claim": "Instead of the `manualHPA` annotation key, use something namespaced like `apps.3scale.net/disable-replica-fields` that describes what it does rather than what it is meant for.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Avoid d... | null |
3scale__3scale-operator__737 | 3scale/3scale-operator | 737 | defect | 6476e3e9c58a5eec38d4e33aba46530c18b65b42 | 9674b76203319c04c5fbdbe0a59f73cf25bf17fd | External components optional | ### what
* Make `spec.externalComponents` fully optional. If struct fields do not exists, the apimanager controller will default to `false`.
Currently the apimanager controller fills the *ExternalComponents` struct when not found:
```yaml
apiVersion: apps.3scale.net/v1alpha1
kind: APIManager
metadata:
name: ... | diff --git a/apis/apps/v1alpha1/apimanager_types.go b/apis/apps/v1alpha1/apimanager_types.go
index 0b0332360..18194a090 100644
--- a/apis/apps/v1alpha1/apimanager_types.go
+++ b/apis/apps/v1alpha1/apimanager_types.go
@@ -606,39 +606,30 @@ type HighAvailabilitySpec struct {
type ExternalComponentsSpec struct {
// +... | 1 | 1 | 0 | [{"id": "G0", "claim": "In setAPIManagerDefaults, the `updated := false` initialization followed by `updated = updated || externalChanged` is redundant; `updated` should be assigned directly from the return value of UpdateExternalComponentsFromHighAvailability.", "category": "maintainability", "verdict": "supported", "... | null |
3scale__3scale-operator__739 | 3scale/3scale-operator | 739 | defect | fa3d82b7594aaeab80ff1c5b797d9ec60e756656 | c6f44dc5698cfab7380a9a0387d173569c121ee5 | Implemented skipping apicast service port reconcile based on annotation | This will resolve [THREESCALE-8385](https://issues.redhat.com/browse/THREESCALE-8385)
### Verification
- Deploy 3scale
- Add the annotation to the APIManager `marin3r.3scale.net/disable-apicast-service-port-reconcile: "true"`
- Confirm apicast service gateway port is 8443
- Made any change to apicast-production/... | diff --git a/pkg/3scale/amp/operator/apicast_reconciler.go b/pkg/3scale/amp/operator/apicast_reconciler.go
index 20ea96d10..6a8f85ba7 100644
--- a/pkg/3scale/amp/operator/apicast_reconciler.go
+++ b/pkg/3scale/amp/operator/apicast_reconciler.go
@@ -2,6 +2,7 @@ package operator
import (
"fmt"
+ metav1 "k8s.io/apima... | 5 | 5 | 3 | [{"id": "G0", "claim": "When the disable annotation is set, the operator skips reconciling the apicast staging and production services entirely, so it does not even create them; use one mutator or another depending on the annotation instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope"... | null |
3scale__3scale-operator__781 | 3scale/3scale-operator | 781 | defect | 9d2dc7b1104cea4e951af996a7589c7060b9c8c4 | 4298b0cd8f10b173d95f4b5c5ab50ccf7bc80af1 | THREESCALE-8502 3scale operator to have an ability to deal with multiple release paths | ### what
[THREESCALE-8502](https://issues.redhat.com/browse/THREESCALE-8502) 3scale operator to have an ability to deal with multiple release paths
### how
Upgrade procedure in reconciliation loop. Actually, most of it was already in the normal reconciliation loop. Only DC triggers and pod template labels were... | diff --git a/apis/apps/v1alpha1/apimanager_types.go b/apis/apps/v1alpha1/apimanager_types.go
index afc49994d..07aba84f9 100644
--- a/apis/apps/v1alpha1/apimanager_types.go
+++ b/apis/apps/v1alpha1/apimanager_types.go
@@ -707,12 +707,12 @@ func (apimanager *APIManager) setAPIManagerAnnotationsDefaults() bool {
change... | 1 | 1 | 0 | [{"id": "G0", "claim": "A `break` should be added once the correct DeploymentTriggerOnImageChange policy is found in the loop, instead of continuing to iterate.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
3scale__3scale-operator__811 | 3scale/3scale-operator | 811 | defect | bfeb1bc885196ede8319ed58f495f34d73d58d4c | 309360b07f6242154777b915ffffc169786432cd | MGDAPI-5152 - remove duplicate FILE_UPLOAD_STORAGE env var | `FILE_UPLOAD_STORAGE` env var is added as part of the config map, and added separately after resulting in duplicate env vars on some DeploymentConfigs.
On v4.11 when updating any of the deployment configs a new replication controller is created and there are warnings about a duplicate `FILE_UPLOAD_STORAGE` env var i... | diff --git a/pkg/3scale/amp/component/system.go b/pkg/3scale/amp/component/system.go
index 7002c2261..10f34909d 100644
--- a/pkg/3scale/amp/component/system.go
+++ b/pkg/3scale/amp/component/system.go
@@ -243,7 +243,6 @@ func (system *System) buildSystemBaseEnv() []v1.EnvVar {
if system.Options.S3FileStorageOptions... | 1 | 1 | 1 | [{"id": "G0", "claim": "The change works for fresh install but not on upgrade: when reconciling DeploymentConfigs that already exist with the duplicate env var, the env vars are not updated, so the duplicate is not removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
3scale__3scale-operator__861 | 3scale/3scale-operator | 861 | defect | 2447e55d3259fdf3c056012be803a0ab2ba1a852 | c86f89d26d2cd1660357738c922996a11380d8c7 | Threescale 6735 - Reconcile Secrets (replace PR 845) | ## What
[THREESCALE-6735](https://issues.redhat.com/browse/THREESCALE-6735)
- This PR is based on [originnal PR 845](https://github.com/3scale/3scale-operator/pull/845) ; The description - copied; validation section was updated. PR 845 was closed.
- Current PR is also fixes the Legacy issue with `additionalPodAn... | diff --git a/controllers/apps/apimanager_controller.go b/controllers/apps/apimanager_controller.go
index 5488be1e9..41efe4af3 100644
--- a/controllers/apps/apimanager_controller.go
+++ b/controllers/apps/apimanager_controller.go
@@ -19,6 +19,9 @@ package controllers
import (
"context"
"fmt"
+ v1 "k8s.io/api/core/v... | 6 | 6 | 1 | [{"id": "G0", "claim": "The error from r.Client().Update() in reconcileAPImanagerCR can be hit when the resource is out of sync, and the reviewer asks for error handling there instead of just logging it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
3scale__3scale-operator__890 | 3scale/3scale-operator | 890 | defect | dd94456260a56b0ba52e1f556d4e041abbd3759d | 80d24973555f1238a764a2c702b73d9c07de3511 | THREESCALE-9556 Add liveness/readyness probes to pods | # Issue Link
Jira: https://issues.redhat.com/browse/THREESCALE-9556
# What
Probes are required in the following DeploymentConfigs:
- `backend-cron` Liveness probe
- `backend-worker` Liveness probe
- `system-sidekiq` Liveness probe
- `system-searchd` Readiness probe
# Verification
- Pr... | diff --git a/pkg/3scale/amp/component/backend.go b/pkg/3scale/amp/component/backend.go
index 8e14eb209..07fcc6114 100644
--- a/pkg/3scale/amp/component/backend.go
+++ b/pkg/3scale/amp/component/backend.go
@@ -129,6 +129,20 @@ func (backend *Backend) WorkerDeploymentConfig() *appsv1.DeploymentConfig {
Resources:... | 1 | 1 | 1 | [{"id": "G0", "claim": "Unit tests should be added to pkg/reconcilers/deploymentconfig_test.go for the new functions DeploymentConfigArgsMutator and DeploymentConfigProbesMutator.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
3scale__3scale-operator__900 | 3scale/3scale-operator | 900 | defect | e9989eecb03b57047818b8c10a7bbab9f9d32cb6 | 6fc443083cdfb3e733d752d704a08792baad9ae6 | THREESCALE-10381 ProxyConfigPromote CR - improve config to stage promotion | # Issue Link
Jira: https://issues.redhat.com/browse/THREESCALE-10381
# What
Additional checks are required when bumping from Config environment to Staging environment via ProxyConfigPromote CR. These checks will prevent bumping if no Product changes are detected. The PCP CR will also reflect this action.
# ... | diff --git a/controllers/capabilities/proxyconfigpromote_controller.go b/controllers/capabilities/proxyconfigpromote_controller.go
index 8754bd7e7..2c251da09 100644
--- a/controllers/capabilities/proxyconfigpromote_controller.go
+++ b/controllers/capabilities/proxyconfigpromote_controller.go
@@ -21,6 +21,7 @@ import (
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The removed production-state fetch is still required: when the product already has a production config, the PR's staging path leaves the production version at 0, so latestProductionVersion sent to the status reconciler is 0 instead of the actual production version.", "category": "correctness", "... | null |
3scale__3scale-operator__927 | 3scale/3scale-operator | 927 | defect | 944d6c751129e4edbc160733048eff87a1ce9df6 | 07ff629a92be8e4db775aa8984f1801d91858d6b | THREESCALE-10722 Refactored system-app Jobs to be recreated for each image change | # Issue Link
JIRA: [THREESCALE-10722](https://issues.redhat.com/browse/THREESCALE-10722)
# What
This PR improves upon the existing PreHook and PostHook Jobs so that they are deleted and recreated whenever there is an image change.
# Verification Steps
1. Provision a cluster
2. Checkout this PR
3. Prepare t... | diff --git a/pkg/3scale/amp/component/system.go b/pkg/3scale/amp/component/system.go
index 7ad4bda2e..d0458ceb4 100644
--- a/pkg/3scale/amp/component/system.go
+++ b/pkg/3scale/amp/component/system.go
@@ -931,7 +931,7 @@ func (system *System) SidekiqDeployment(containerImage string) *k8sappsv1.Deploy
Volumes: ... | 4 | 3 | 3 | [{"id": "G0", "claim": "The new DeleteJob may cancel a Job's work while it is still in progress, which may not be wanted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reconciler should check whether the Job is running and wait before deleting ... | null |
3scale__3scale-operator__935 | 3scale/3scale-operator | 935 | defect | 61b65b5463d8e1113fcbc53365de792415fac515 | 355a31f83d12c4dfdc60ed0db96a81aaa82e4b56 | THREESCALE-5894 Hpa feature branch merge | ## What
[THREESCALE-5894](https://issues.redhat.com/browse/THREESCALE-5894) enable hpa for backend listener, worker and apicast production
## Verification
### Positive case
Async mode enabled
We will need non logical backend redis to enable async mode
- [ ] you can Run this [script](https://github.com/3sc... | diff --git a/apis/apps/v1alpha1/apimanager_types.go b/apis/apps/v1alpha1/apimanager_types.go
index 6a88b1c1d..caae064ef 100644
--- a/apis/apps/v1alpha1/apimanager_types.go
+++ b/apis/apps/v1alpha1/apimanager_types.go
@@ -148,6 +148,7 @@ type APIManager struct {
const (
APIManagerAvailableConditionType common.Condi... | 5 | 5 | 0 | [{"id": "G0", "claim": "The stale '// needs to change from dc to deployment' comment added in DefaultHpa should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The imports in backend_reconciler.go should be rearranged (e.g. 'strings' ... | null |
3scale__3scale-operator__992 | 3scale/3scale-operator | 992 | defect | a842b26b729fc29deb740de2d6ffd9fe6ddcd9fd | 573623e1976f87db295ebc84b19688684945f3de | THREESCALE-11119 OAS extension support for products | # Issue Link
JIRA: [THREESCALE-11119](https://issues.redhat.com/browse/THREESCALE-11119)
# What
This PR adds support for [OAS extensions](https://swagger.io/docs/specification/openapi-extensions/) as defined in the proposed [OpenAPI 3scale Extensions](https://github.com/carlkyrillos/3scale-operator/blob/THREESCALE... | diff --git a/controllers/capabilities/openapi_controller.go b/controllers/capabilities/openapi_controller.go
index d8f096f6e..f683e5205 100644
--- a/controllers/capabilities/openapi_controller.go
+++ b/controllers/capabilities/openapi_controller.go
@@ -189,6 +189,12 @@ func (r *OpenAPIReconciler) reconcileSpec(openapiC... | 5 | 1 | 0 | [{"id": "G0", "claim": "The mapping rules created from the OAS have patterns ending with \"$\", which appears to make a staging request fail with \"Authentication parameters missing\".", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The policies prop... | null |
42wim__matterbridge__2124 | 42wim/matterbridge | 2,124 | defect | 56e7bd01ca09ad52b0c4f48f146a20a4f1b78696 | aa247d29dcdbb20dcb99a6cfcc353115976f0803 | Discord: Split messages if necessary | Old behavior: Telegram user sends a huge 4096-byte message (the maximum permitted by Telegram), it gets clipped to 1950 bytes on Discord.
New havior: Set `MessageSplitMaxCount=3` as config option of the Bridge, and it instead sends up to three messages to Discord (each of maximum length)
Note that this handles ed... | diff --git a/bridge/config/config.go b/bridge/config/config.go
index 18c6092082..75792ed0c3 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -121,6 +121,7 @@ type Protocol struct {
MessageLength int // IRC, max length of a message allowed
MessageQueue int // IRC... | 1 | 1 | 0 | [{"id": "G0", "claim": "Bdiscord.webhookSend has 62 lines of code, exceeding the allowed 50, and should be refactored.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
42wim__matterbridge__601 | 42wim/matterbridge | 601 | defect | 757657f29ca00fd000e113c29ebe55c5fccecd54 | b6dfee77da1a5eba6b70a7e57c3fa0a5f47c15cd | Extract bridgeMap into own package to improve testability | Right now, starting the router loads all bridges in gateway package, which means that we'll get import cycles if we're including this package in `*_test.go` for bridger tests. This addresses that in what seems like a clean way. When creating a new TestRouter, we can just pass in an isolated bridgeMap into `NewRouter()`... | diff --git a/gateway/bmap/bmap.go b/gateway/bmap/bmap.go
new file mode 100644
index 0000000000..ec6322dc7e
--- /dev/null
+++ b/gateway/bmap/bmap.go
@@ -0,0 +1,35 @@
+package bmap
+
+import (
+ "github.com/42wim/matterbridge/bridge"
+ "github.com/42wim/matterbridge/bridge/api"
+ bdiscord "github.com/42wim/matterbridge/b... | 2 | 2 | 0 | [{"id": "G0", "claim": "Remove all the package aliasing (bdiscord, bgitter, ...) from the new bmap package's imports since there is no need for it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the unnecessary empty line the change added... | null |
42wim__matterbridge__648 | 42wim/matterbridge | 648 | defect | a2754f15fc2bc2eede94e2e41712f9f0585f2426 | 5b00eff1a576200b829577c66a5e56b53a41b18e | Refactor gateway | * Decrease complexity of handleMessage, handleReceive, handleFiles
* Move handlers to handlers.go
* Split ignoreMessage up in ignoreTextEmpty, ignoreNicks and IgnoreTexts
* Add ignoreEvent
* Add testcase for ignoreTextEmpty, ignoreNicks, ignoreTexts and ignoreEvent | diff --git a/gateway/gateway.go b/gateway/gateway.go
index 0ee7a61651..d35f74e37b 100644
--- a/gateway/gateway.go
+++ b/gateway/gateway.go
@@ -1,13 +1,6 @@
package gateway
import (
- "bytes"
- "crypto/sha1" //nolint:gosec
- "fmt"
- "io/ioutil"
- "net/http"
- "os"
- "path/filepath"
"regexp"
"strings"
"time"
@@... | 2 | 1 | 0 | [{"id": "G0", "claim": "Gateway.handleMessage has a Cognitive Complexity of 23, exceeding the allowed 20, and should be refactored.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The codebase should generally favour flat, top-of-function early-e... | null |
42wim__matterbridge__889 | 42wim/matterbridge | 889 | defect | f92927eae5b460e768f6cf5fb97e237640dfbd44 | 2439a7c4d3a4b9a431d6dc802b835b4ca709b039 | Do configuration validation on start-up. Fixes #888 | Fail if:
* we don't have any gateways configured
* we have gateways configured but with non-existing bridge configuration
* we have gateways configured without any configuration | diff --git a/bridge/config/config.go b/bridge/config/config.go
index cf6872a078..5da535dc06 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -206,6 +206,7 @@ type BridgeValues struct {
}
type Config interface {
+ Viper() *viper.Viper
BridgeValues() *BridgeValues
GetBool(key string) (bool, b... | 2 | 2 | 0 | [{"id": "G0", "claim": "The error string for no configured gateways should not end with punctuation (drop the trailing period).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The error string for a gateway with no bridges should not end with punctuation (... | null |
47ng__nuqs__1066 | 47ng/nuqs | 1,066 | defect | 21797a4fda8164ae29bbf85c47776a41b913c2d2 | 0ff0aedc1c6a7301a2866f8a3c7e94705a7b5588 | feat: defaultOptions for NuqsAdapter | This PR adds `defaultOptions` to `<NuqsAdapter>`, which allows to override the globally specified defaults.
As a first step, only `shallow?: boolean` can be provided, but it can be extended to more default values. | diff --git a/packages/nuqs/src/adapters/lib/context.ts b/packages/nuqs/src/adapters/lib/context.ts
index 5aa8738a5..7eb4a5852 100644
--- a/packages/nuqs/src/adapters/lib/context.ts
+++ b/packages/nuqs/src/adapters/lib/context.ts
@@ -11,7 +11,13 @@ import { debugEnabled } from '../../lib/debug'
import { error } from '.... | 2 | 2 | 1 | [{"id": "G0", "claim": "The spread of `...props` after removing `children` and `defaultOptions` spreads an empty object in the wrong position and puts adapter props on the provider element instead of into the context value; the props should be spread into `value` next to `useAdapter`.", "category": "correctness", "verd... | null |
47ng__nuqs__1079 | 47ng/nuqs | 1,079 | defect | 37bad78f902dd4ee923c16f361fffe1c2b33c3ce | 06d4baa3f5befbb0c813eefd08f0705dfdf72706 | feat: Add support for more global default options at the adapter level | Supported:
- `shallow` defaults to `true`, change to `false` to always send notifications to the server on updates
- `scroll` defaults to `false`, change to `true` to always scroll to the top of the page after an update
- `clearOnDefault` defaults to `true`, change to `false` to always write values to the URL, even ... | diff --git a/packages/docs/content/docs/options.mdx b/packages/docs/content/docs/options.mdx
index e990aaac2..24e361167 100644
--- a/packages/docs/content/docs/options.mdx
+++ b/packages/docs/content/docs/options.mdx
@@ -37,7 +37,14 @@ Default values for some options can also be configured globally via the `default
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Pass `children` as part of `adapterProps` (omitting the third `createElement` argument, or letting a `children` prop in `adapterProps` be overwritten by the third argument) instead of relying on `@ts-expect-error`, because the directive will swallow all other type errors that might come up in th... | null |
47ng__nuqs__1254 | 47ng/nuqs | 1,254 | defect | 517a2b574c4ae1fe4ddf0c2572b6ba55550f54b2 | 28e1c709cebf9d368c011ec5f723746532b10689 | chore: Vitest Browser Mode | ## Main goal
This PR aims to move away from JSdom for tests in a browser environment and use vitest browser mode instead.
## Additional notes
On top of moving tests needing a browser environment away from jsdom, I splitted existing tests in 3 vitest projects.
1. `browser` => Self explanatory (matches all test... | diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml
index fd420a7d1..a3eca72a3 100644
--- a/.github/workflows/ci-cd.yml
+++ b/.github/workflows/ci-cd.yml
@@ -81,6 +81,8 @@ jobs:
cache: pnpm
- name: Install dependencies
run: pnpm install --ignore-scripts --frozen-lockfile --... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new 'Install Playwright Chromium' CI step fails with 'Command playwright not found', so playwright likely needs to be added as a devDependency.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G2", "claim": "Installing Playwright with sys... | null |
47ng__nuqs__1324 | 47ng/nuqs | 1,324 | defect | f9a0fb3f8fc45c8ef7cd2c0606c587d039ab3761 | 02143b711fc059e619e184da4e549aa36a9d6d0a | test: test Next.js cacheComponents in CI | It requires running a codemod to comment out the `export const dynamic = 'force-dynamic'` directives, and refactors e2e locators to account for Activity having both pages (source & destination) being mounted in the DOM during navigation.
Prelude to making a reproduction for #1273. | diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml
index 5888b27d9..cbdb624e0 100644
--- a/.github/workflows/ci-cd.yml
+++ b/.github/workflows/ci-cd.yml
@@ -154,6 +154,7 @@ jobs:
# branch protection settings for `next`.
base-path: [false]
react-compiler: [false]
+ c... | 1 | 1 | 0 | [{"id": "G0", "claim": "The codemod builds a shell command from a value (the interpolated absolute path passed to grep, and later to sed), which the security scanner flags as a shell command built from an uncontrolled absolute path.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
47ng__nuqs__1344 | 47ng/nuqs | 1,344 | defect | 7f7090fc303a598dfc5b7beade257c3d3df25646 | 88d6a28e4c5be842dca5ba43a2894abc4aa879be | fix: use process.env.DEBUG for server-side debug detection | ### Motivation:
fix: gate debug localStorage check so server import doesn’t trigger Node 25 warning
### Changes:
Use process.env.DEBUG when typeof window === 'undefined' and only read localStorage in the browser. Added tests and docs for server-side debugging.
Closes #1336. | diff --git a/AGENTS.md b/AGENTS.md
index 7598bc310..dbe39af30 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -76,6 +76,12 @@ Enable debug logs in the browser console:
localStorage.setItem('debug', 'nuqs')
```
+In server or Node environments (e.g. when using `nuqs/server`), set the `DEBUG` environment variable so it cont... | 2 | 2 | 0 | [{"id": "G0", "claim": "The docs statement that `useQueryState` logs carry a `[nuqs]` prefix should be corrected to say the prefix is always `[nuq+]` (which is also smaller gzipped).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Server (N... | null |
47ng__nuqs__406 | 47ng/nuqs | 406 | defect | c88cf2866f1474481aa2fe9d6226832f7beb4731 | 6441a0955a61b118668b9d717131244d659fe1e7 | feat: Add support for transitions | This lets non-shallow updates be notified of server rendering loading status, using an external `React.useTransition` hook.
Example usage:
```tsx
function ClientComponent() {
// 1. Provide your own useTransition hook:
const [isLoading, startTransition] = React.useTransition()
const [query, setQuery] = u... | diff --git a/packages/next-usequerystate/src/defs.ts b/packages/next-usequerystate/src/defs.ts
index d06d5d57f..c278266e1 100644
--- a/packages/next-usequerystate/src/defs.ts
+++ b/packages/next-usequerystate/src/defs.ts
@@ -41,6 +41,15 @@ export type Options = {
* will not have any effect.
*/
throttleMs?: n... | 2 | 1 | 1 | [{"id": "G0", "claim": "Make the `startTransition` / `shallow` interaction part of the package's types, so that passing `shallow: true` together with `startTransition` in the same Options object is rejected at type level (a minimum of type safety for the new option).", "category": "design", "verdict": "supported", "pri... | null |
47ng__nuqs__657 | 47ng/nuqs | 657 | defect | 8cbae4f00f89ca5452b7853c233bcdd4c5806759 | 5139ef49802d487d1f2b2b4bb5deb2dbac2d5e69 | feat(serializer): allow `null` to clear all param values from base | Follow-up to https://github.com/47ng/nuqs/discussions/653, this PR allows callers to pass `null` to a serializer instance to clear any search params from `base`. | diff --git a/packages/nuqs/src/serializer.test.ts b/packages/nuqs/src/serializer.test.ts
index 67333d6ce..3ef762e96 100644
--- a/packages/nuqs/src/serializer.test.ts
+++ b/packages/nuqs/src/serializer.test.ts
@@ -70,11 +70,16 @@ describe('serializer', () => {
const result = serialize(url, { str: 'foo' })
expe... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a test that ensures that other search params (not managed by the serializer) are kept in the output when null is used to clear all values.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
47ng__nuqs__747 | 47ng/nuqs | 747 | defect | 72a5b2bf919a4c0a13d3c4b37546dc2c1089e581 | ff45b2f25861ddebe56bad25a901ee3ec19277e8 | fix: Log an error in development if URI size of 2000 characters is exceeded. | As discussed [here](https://github.com/47ng/nuqs/pull/739#pullrequestreview-2416727212).
Error logging for when a user stores more than 2000 characters of state in a URI.
https://github.com/user-attachments/assets/c6f42fc3-c3e6-485e-b73f-39955ffe9f44
| diff --git a/errors/NUQS-414.md b/errors/NUQS-414.md
new file mode 100644
index 000000000..c7aa0450e
--- /dev/null
+++ b/errors/NUQS-414.md
@@ -0,0 +1,10 @@
+# Max URI Length Exceeded
+
+This error occurs if your URI length exceeds 2,000
+characters, there are varying browser limitations
+for max URI lengths.
+
+## Pos... | 7 | 6 | 3 | [{"id": "G0", "claim": "The error documentation should make clearer that the 2,000-character limit applies to the whole URL, not just the state part stored in it.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The error doc should link back to the... | null |
47ng__nuqs__769 | 47ng/nuqs | 769 | defect | 1c46a8eb777223b4cbb8603bd86e14df3320cad5 | 2faff699a15418c1ce66dceb40aeb8f8ef918589 | fix(serializer/types): Allow `null` value in serializer for parsers with default values | See [related discussion](https://github.com/47ng/nuqs/discussions/767).
Passing `null` to the serialize of a search param whose parser has a default currently is a type error, even though the behaviour works as expected.
This is because for the values argument it infers the types using the same `inferParserType` ... | diff --git a/packages/nuqs/src/parsers.ts b/packages/nuqs/src/parsers.ts
index 82973a601..e9c76b3a6 100644
--- a/packages/nuqs/src/parsers.ts
+++ b/packages/nuqs/src/parsers.ts
@@ -421,13 +421,13 @@ export function parseAsArrayOf<ItemType>(
}
type inferSingleParserType<Parser> = Parser extends ParserBuilder<
- inf... | 3 | 1 | 1 | [{"id": "G0", "claim": "inferParserType already handles both a single parser and a record of parsers, so the new inferSingleSerializerType/inferSerializerRecordType split should not be needed; use inferParserType and mark the output nullable instead.", "category": "design", "verdict": "supported", "priority": "P1", "sc... | null |
47ng__nuqs__908 | 47ng/nuqs | 908 | defect | 3125a0c38cb8ff072e03f11bc45dfcb153ed80d0 | 072f83f51f56799e48441f67cd68cee7da178eb1 | fix: useQueryStates does not update values correctly when config changes | Fixes #907 | diff --git a/packages/docs/src/app/playground/_demos/repro-907/page.tsx b/packages/docs/src/app/playground/_demos/repro-907/page.tsx
new file mode 100644
index 000000000..313e7fb91
--- /dev/null
+++ b/packages/docs/src/app/playground/_demos/repro-907/page.tsx
@@ -0,0 +1,55 @@
+// https://github.com/47ng/nuqs/issues/907... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new repro demo fails type-checking because useState narrows the config object to the exact {p1, p2} shape, and the reviewer suggests widening the type to accept any key.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
4C-multiphysics__4C__1178 | 4C-multiphysics/4C | 1,178 | defect | cf94e4a2952c845d4ce700d233cc7b3f7e0906f9 | 3446ef2a74acd9d336249a35cdbf347a03d1038f | Enable std::array as a supported InputSpec type | <!--
* Title: Provide a general summary of your changes in the Title above.
* Assignees: If you know anyone who should likely handle bringing this pull request (PR) to completion -- that's usually yourself -- select them from the Assignees drop-down on the right.
* Labels: Update the label of the issue(s) addre... | diff --git a/src/beaminteraction/src/potential/4C_beaminteraction_potential_input.cpp b/src/beaminteraction/src/potential/4C_beaminteraction_potential_input.cpp
index af2cafdcbba..a12799a4e21 100644
--- a/src/beaminteraction/src/potential/4C_beaminteraction_potential_input.cpp
+++ b/src/beaminteraction/src/potential/4C... | 2 | 2 | 1 | [{"id": "G0", "claim": "Rename `rank()` to `dynamic_rank()` and mention in the docs that it is the number of dynamic extents a type has.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use `std::span` for the `all_elements` validator instead of t... | null |
4C-multiphysics__4C__1316 | 4C-multiphysics/4C | 1,316 | defect | 0c62e51193b8c1d4c49a101abae8e6d548d56630 | f4f85018582124e4266ba5f998d52eb6d4f84eda | Add remapping function for AD types | ## Description and Context
Add functionality to remap the indices of depended FAD derivatives.
Basically, one can compute AD values with a certain number and ordering of dependent variables and then convert that variable to another AD variable with a different number and ordering of dependent variables.
This i... | diff --git a/src/core/utils/src/numerics/4C_utils_fad.hpp b/src/core/utils/src/numerics/4C_utils_fad.hpp
index 4d1f90a8ebd..a33c52c2eed 100644
--- a/src/core/utils/src/numerics/4C_utils_fad.hpp
+++ b/src/core/utils/src/numerics/4C_utils_fad.hpp
@@ -266,6 +266,105 @@ namespace Core::FADUtils
static double apply(con... | 2 | 2 | 0 | [{"id": "G0", "claim": "Remove the trailing underscore from the struct member name old_local_id_to_new_local_id_, since trailing underscores are only meaningful for private member variables and hurt readability in structs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
4C-multiphysics__4C__1669 | 4C-multiphysics/4C | 1,669 | defect | 60afc42333bf07c0bc8dc1ee2d35632915d40af1 | b901b14507de7e49ef84cfaa7e371ee377830c39 | Allow to specify integration rule for solid element evaluation in input file | This PR allows to specify the integration rule for solid elements in the input file like so:
```yaml
ELEMENT_BLOCKS:
- ID: 1
SOLID:
HEX8:
MAT: 1
KINEM: nonlinear
INTEGRATION:
RESIDUUM: hex_27point
MASS: hex_8point
- ID: 3
... | diff --git a/src/solid_3D_ele/4C_solid_3D_ele.cpp b/src/solid_3D_ele/4C_solid_3D_ele.cpp
index ceb993891e4..846f80e3f74 100644
--- a/src/solid_3D_ele/4C_solid_3D_ele.cpp
+++ b/src/solid_3D_ele/4C_solid_3D_ele.cpp
@@ -10,11 +10,13 @@
#include "4C_comm_parobject.hpp"
#include "4C_comm_utils_factory.hpp"
#include "4C_f... | 5 | 5 | 4 | [{"id": "G0", "claim": "Since Solid::pack() now dereferences the optional solid_calc_variant_ unconditionally, calling pack() before read_element() runs would be undefined behavior; add a FOUR_C_ASSERT(solid_calc_variant_.has_value(), ...) (or ensure pack() is never called pre-read) to prevent a hard-to-debug crash.", ... | null |
4C-multiphysics__4C__1703 | 4C-multiphysics/4C | 1,703 | defect | af53a0cae38e3966f29244da67780ae4d0fe8571 | 7734b2667307941b726997951679311cea18f69b | Implement proper type erasure for Validators | `std::function` (also a type-erasure implementation) is awesome for prototyping but quite a heavy object. This PR replaces the triple `std::function` usage within the `InputSpec::Validators` with a manual type-erasure implementation. | diff --git a/src/core/io/src/4C_io_input_spec_validators.cpp b/src/core/io/src/4C_io_input_spec_validators.cpp
index 169bfca0127..b2c424c88b7 100644
--- a/src/core/io/src/4C_io_input_spec_validators.cpp
+++ b/src/core/io/src/4C_io_input_spec_validators.cpp
@@ -8,22 +8,41 @@
#include "4C_io_input_spec_validators.hpp"
... | 3 | 3 | 1 | [{"id": "G0", "claim": "In Model::predicate, the explicit validator_.operator()(v) call is unnecessary and less readable; simplify to validator_(v).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The MoveAssign test should be registered as TEST(... | null |
4C-multiphysics__4C__1849 | 4C-multiphysics/4C | 1,849 | defect | 34e6d3152f317088776c0510d62991dac90309a6 | 44b94ccfd2f523e6d0e664972f583f7446c3562a | [discretization] Simplify element volume calculation |
## Description and Context
<!--
Provide a brief and concise description of your proposed change. Questions you should think about:
* Why is this change required? What problem does it solve?
* Is there a bigger picture? Is this PR a part of a larger set of changes? Which further steps are planned after merging th... | diff --git a/src/core/fem/src/geometry/4C_fem_geometry_element_volume.hpp b/src/core/fem/src/geometry/4C_fem_geometry_element_volume.hpp
index f24dd2f7edd..6adb40e0d42 100644
--- a/src/core/fem/src/geometry/4C_fem_geometry_element_volume.hpp
+++ b/src/core/fem/src/geometry/4C_fem_geometry_element_volume.hpp
@@ -20,9 +2... | 4 | 2 | 0 | [{"id": "G0", "claim": "The doc comment of the runtime element_volume(distype, ...) dispatcher is misleading and should document that for 1D elements it returns the length, for 2D elements the surface area, and for 3D elements the actual volume, instead of leaving a reader to assume a 1D element's volume is length time... | null |
4C-multiphysics__4C__1947 | 4C-multiphysics/4C | 1,947 | defect | 229254703a2207341d048786e781d2cfb3e27dd1 | 4b4b11996750889d01779f88c3a5c557b18cefd9 | Small fixes/extensions to 2d solid continua | This PR contains 3 small fixes/extension for solid continua.
* Extended stress output with Cauchy stress for plane strain continua
* Pass element properties to solid-scatra elements
* Return number of dofs per node of the parent element for surface and line elements | diff --git a/src/solid_3D_ele/4C_solid_3D_ele_calc.cpp b/src/solid_3D_ele/4C_solid_3D_ele_calc.cpp
index 43d16df7f44..64652def3d4 100644
--- a/src/solid_3D_ele/4C_solid_3D_ele_calc.cpp
+++ b/src/solid_3D_ele/4C_solid_3D_ele_calc.cpp
@@ -461,10 +461,10 @@ void Discret::Elements::SolidEleCalc<celltype, ElementFormulation... | 5 | 2 | 2 | [{"id": "G0", "claim": "Pass element_properties_ instead of a default-constructed {} to evaluate_material_stress at both call sites in SolidScatraEleCalc, which for 2D elements silently uses the default plane assumption and can yield wrong stresses.", "category": "correctness", "verdict": "supported", "priority": "P1",... | null |
4C-multiphysics__4C__498 | 4C-multiphysics/4C | 498 | defect | 77630ccc0f405919213d66c5d0100d55d6719eb6 | ae50c7db8702357a914eb3156ea45c4e1d0a2f70 | [epetra] Apply clang-tidy in graph wrapper | <!--
* Title: Provide a general summary of your changes in the Title above.
* Assignees: If you know anyone who should likely handle bringing this pull request (PR) to completion -- that's usually yourself -- select them from the Assignees drop-down on the right.
* Labels: Update the label of the issue(s) addre... | diff --git a/src/contact/4C_contact_interface.cpp b/src/contact/4C_contact_interface.cpp
index ddb22d49e9e..8b18a10ac4d 100644
--- a/src/contact/4C_contact_interface.cpp
+++ b/src/contact/4C_contact_interface.cpp
@@ -864,7 +864,7 @@ void CONTACT::Interface::redistribute()
nodeids[n] = ele->node_ids()[n];
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The wrapper's Export method could be renamed to `export_to`, as was done in #500.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The wrapper's Import method could be renamed to `import_from`.", "category": "maintainabilit... | null |
4C-multiphysics__4C__726 | 4C-multiphysics/4C | 726 | defect | 3b79bdf23ceaa73f0c10d80217c2e1f4cceeb3a4 | f6ed3a26bc03ecc8c2b808f95f85d4a7b1b7b519 | Simplify porofluid time integration classes | This PR merges the two time integration classes into one because only one time integration method is available (one-step-theta). However, the implementation was split into two classes. | diff --git a/src/adapter/4C_adapter_porofluid_pressure_based.hpp b/src/adapter/4C_adapter_porofluid_pressure_based.hpp
index 879fea0adae..63d2c113449 100644
--- a/src/adapter/4C_adapter_porofluid_pressure_based.hpp
+++ b/src/adapter/4C_adapter_porofluid_pressure_based.hpp
@@ -28,7 +28,7 @@ namespace Core::FE
namespa... | 2 | 2 | 0 | [{"id": "G0", "claim": "The name `PoroPressureBased::Porofluid` for the central class of the solution procedure is unclear and should be reconsidered (e.g. `TimeIntegrator`, `Operator`, `Algorithm`).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The met... | null |
567-labs__instructor__1440 | 567-labs/instructor | 1,440 | defect | bd60199ac213a99c5ca11e0a52ca3842e9ea71d1 | 281966a8433f09157273819d5e7e0135dad1e74c | Bugfix: [minor] Do not fail with google genai models if the content is longer then max file name. Closes #1439 | This fixes #1439 + some formatting done by pre-hook
Not happy about the try/catch, but it is impossible to come up with a universal cross-platform check of max file length without unnecessarily overcomplicating the code
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Handle long file paths in `Image.autodetect()` by... | diff --git a/instructor/multimodal.py b/instructor/multimodal.py
index 72b44fd9b..5d3e5861a 100644
--- a/instructor/multimodal.py
+++ b/instructor/multimodal.py
@@ -64,28 +64,25 @@ class Image(BaseModel):
)
@classmethod
- def autodetect(cls, source: Union[str, Path]) -> Image: # noqa: UP007
- """... | 4 | 2 | 0 | [{"id": "G0", "claim": "Add a comment explaining the try/except in Image.autodetect, since catching OSError to work around the max filename length issue may hide other OSError cases.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider logging ... | null |
567-labs__instructor__1696 | 567-labs/instructor | 1,696 | defect | 187517bf27d625e7694e4af31cd98fc37ac2d286 | b888745b90a7346517d46dfc522277768e4e2989 | fix(bedrock): add Bedrock-native format conversion to OpenAI format | - Add preprocessing for system=[{''text'': ''...''}] parameter conversion
- Handle content=[{''text'': ''...''}] format in messages
- Maintain backward compatibility with OpenAI format
- Add comprehensive tests for format conversion
- Resolves NotImplementedError for Bedrock-native message format
Fixes #1689
🤖 Gener... | diff --git a/instructor/process_response.py b/instructor/process_response.py
index 4a7711c33..e298ca3a8 100644
--- a/instructor/process_response.py
+++ b/instructor/process_response.py
@@ -754,6 +754,18 @@ def _prepare_bedrock_converse_kwargs_internal(
See: https://boto3.amazonaws.com/v1/documentation/api/latest... | 5 | 1 | 1 | [{"id": "G0", "claim": "The code only extracts text from the first entry of the Bedrock-native system list (system_text = system_content[0][\"text\"]), so if there are multiple system messages in the list information could be lost; concatenate all system messages or handle multiple entries.", "category": "correctness",... | null |
567-labs__instructor__1735 | 567-labs/instructor | 1,735 | defect | ed034332b5e047f262fd0fcb8b3914923c8d0ad8 | 6e38b7c5e6c958c427d3c1617d98cfce52d3d48a | feat: Add comprehensive tests for XAI _raw_response functionality | # Add comprehensive tests for XAI _raw_response functionality
## Summary
This PR adds comprehensive tests for the XAI provider's `_raw_response` functionality introduced in PR #1734. The changes include:
1. **Fixed async oversight**: Added missing `_raw_response` support to the async `acreate()` function in XAI clie... | diff --git a/instructor/providers/xai/client.py b/instructor/providers/xai/client.py
index d739a68ea..b2f53f540 100644
--- a/instructor/providers/xai/client.py
+++ b/instructor/providers/xai/client.py
@@ -82,7 +82,8 @@ async def acreate(
resp = await chat.sample()
return resp
if mode ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The XAI implementation attaches _raw_response to the parsed model only in XAI_JSON mode, so in XAI_TOOLS mode the parsed model lacks _raw_response and the PR's new tests fail (8 failures posted); jxnl asks to fix the implementation, referencing how others do create_with_completions.", "category"... | null |
567-labs__instructor__1763 | 567-labs/instructor | 1,763 | defect | 012d86e82bb389f1a4a6d172df991cd085ff321c | daa7d8e05862e4edf8c0ab1a82dfc6cadc3765e9 | Fix GCS URI Support for PDF and Audio Classes | Added GCS URI support for PDF and Audio classes
### What's Fixed
- [x] `PDF.from_url("gs://bucket/doc.pdf")`
- [x] `Audio.from_url("gs://bucket/audio.mp3")`
- [x] `Image.from_url("gs://bucket/image.png")`
### What's Pending
- `autodetect_images=True` for PDF and Audio classes
<!-- ELLIPSIS_HIDDEN -->
----
>... | diff --git a/instructor/processing/multimodal.py b/instructor/processing/multimodal.py
index 261dddcef..af53276d1 100644
--- a/instructor/processing/multimodal.py
+++ b/instructor/processing/multimodal.py
@@ -87,8 +87,6 @@ def autodetect(cls, source: str | Path) -> Image:
if isinstance(source, Path):
... | 3 | 1 | 0 | [{"id": "G0", "claim": "The nearly identical from_gs_url logic in the Audio and PDF classes (constructing the public URL and fetching content) should be refactored into a shared helper to follow DRY principles.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
567-labs__instructor__1840 | 567-labs/instructor | 1,840 | defect | fed1d2c91342f8a98f5ed093e95f7a68dd5f435d | 7eb2b69810fed46e27a0b1b1da8ef7090726ef84 | update cohere text models. | fix: cohere `command-r-plus` model is deprecated - causing tests to break
- update the models to include the latest models from cohere. Keep deprecated models for the moment.
- update tests and example code appropriately to use the latest `command-a-reasoning-08-2025`
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> U... | diff --git a/docs/examples/document_segmentation.md b/docs/examples/document_segmentation.md
index b4b21b989..2fd4e8da0 100644
--- a/docs/examples/document_segmentation.md
+++ b/docs/examples/document_segmentation.md
@@ -1,18 +1,18 @@
---
-title: 'Document Segmentation with LLMs: A Comprehensive Guide'
+title: "Docume... | 1 | 1 | 0 | [{"id": "G0", "claim": "In the PROVIDERS list in tests/test_auto_client.py, the Cohere model is set to 'cohere/command-a-03-2025' instead of 'cohere/command-a-reasoning-08-2025'; update it for consistency.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
567-labs__instructor__2007 | 567-labs/instructor | 2,007 | defect | 3b8681207679c10c283ac73de8a16b3eaae99dd0 | 46db853d71414b7062a2f9df4fceda48d3755ba8 | GenAI SafetySettings image content | fix: resolve Google GenAI SafetySettings breaking issue with image content
## Describe your changes
This change resolves a critical `400 INVALID_ARGUMENT` error in Google GenAI (Gemini) integration when `safety_settings` are used with image content. Previously, the system incorrectly sent text-only harm categories, c... | diff --git a/instructor/providers/gemini/utils.py b/instructor/providers/gemini/utils.py
index 3d9cade73..dbacc227b 100644
--- a/instructor/providers/gemini/utils.py
+++ b/instructor/providers/gemini/utils.py
@@ -304,9 +304,75 @@ def update_genai_kwargs(
if val is not None: # Only set if value is not None... | 2 | 2 | 0 | [{"id": "G0", "claim": "Move the new GenAI safety-settings tests into the GenAI test directory.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Update the changelog to document this pull request's changes.", "category": "documentation", "verdict"... | null |
567-labs__instructor__221 | 567-labs/instructor | 221 | defect | 359c5f929553bbdc9cfdb7ea00ab8a7140ec2755 | 25e8e323b88962b068dd021a06974dd55eb25303 | Support Streaming MultiTask with response_model | Resolve #213
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added a search functionality to the app.
<!-- end of auto-generated comment: release notes by coderabbit.ai --> | diff --git a/examples/streaming_multitask/streaming_multitask.py b/examples/streaming_multitask/streaming_multitask.py
index 211e8f7dc..8299b012e 100644
--- a/examples/streaming_multitask/streaming_multitask.py
+++ b/examples/streaming_multitask/streaming_multitask.py
@@ -16,14 +16,14 @@ class User(BaseModel):
age... | 15 | 7 | 0 | [{"id": "G0", "claim": "The duplicated `from typing import Iterable` import in tests/openai/test_multitask.py should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `stream_extract` helper should not be nested inside the test func... | null |
567-labs__instructor__245 | 567-labs/instructor | 245 | defect | 1942f3347f41293f585d136115470df48685db74 | a70423690ff51124e4a47e62c29f99929c829255 | Fix #244 -- Refactor dump_message function to force content key | **Bug Description**
When there is a retry, a 400 error is raised from the API, stating that the 'content' property is required in the 'messages.1' object.
**Proposed Fix**
Force the “content” key to correspond to the Message object in the OpenAI API.
**PR Comment:**
Hi team! I've investigated the issue descr... | diff --git a/instructor/patch.py b/instructor/patch.py
index 3aabefd88..13df4fc6d 100644
--- a/instructor/patch.py
+++ b/instructor/patch.py
@@ -39,9 +39,13 @@ def dump_message(message) -> dict:
if it isn't used.
"""
dumped_message = message.model_dump()
- if not dumped_message.get("tool_calls"):
- ... | 7 | 3 | 3 | [{"id": "G0", "claim": "In dump_message the new `if ret.get(\"content\"):` guard sets content to an empty string only when content is truthy, which is the opposite of the intended behavior of blanking content based on its presence.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
567-labs__instructor__860 | 567-labs/instructor | 860 | defect | 1f71ede8fbba6478d9e4582aef9b8f71f8c6986d | c1e9ec8be49d01d54adf8711479202583c04b445 | Add overloads to support a case where response_model is None | This change adds supports for type hints when `response_model=None`.
Fixes #749
<!-- ELLIPSIS_HIDDEN -->
----
| :rocket: | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit c1e9ec8be49d01d54adf8711479202583c04b445 |
|--------|--------|
### Summary:
Added overloads to `create` meth... | diff --git a/instructor/client.py b/instructor/client.py
index 7ac8fde00..c2199b053 100644
--- a/instructor/client.py
+++ b/instructor/client.py
@@ -78,16 +78,37 @@ def create(
) -> T:
...
- # TODO: we should overload a case where response_model is None
+ @overload
+ def create(
+ self: ... | 1 | 1 | 0 | [{"id": "G0", "claim": "`ruff check` fails on `tests/llm/test_openai/test_parallel.py`, so the lint error should be fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
567-labs__instructor__862 | 567-labs/instructor | 862 | defect | 1f71ede8fbba6478d9e4582aef9b8f71f8c6986d | decee789bcbf48693ee20dd443bc0f2cffd8ae2f | Changed Defaults to Tools | This should fix #679
<!-- ELLIPSIS_HIDDEN -->
----
| :rocket: | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit 42067ea91fdd38248b07d8596cf57c280ff1c0f5 |
|--------|--------|
### Summary:
Removed deprecated `Mode.FUNCTIONS`, updated references to `Mode.TOOLS`, and added a warning ... | diff --git a/docs/concepts/patching.md b/docs/concepts/patching.md
index ccb06c4a5..e8ee46139 100644
--- a/docs/concepts/patching.md
+++ b/docs/concepts/patching.md
@@ -58,7 +58,7 @@ Note that function calling is soon to be deprecated in favor of TOOL mode for Op
import instructor
from openai import OpenAI
-client ... | 2 | 1 | 1 | [{"id": "G0", "claim": "Any remaining code or comments referencing the removed FUNCTIONS mode (the parse_functions helper and the FUNCTIONS handling in extract_json) should be removed, since the mode is deprecated and no longer supported.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope":... | null |
5e-bits__5e-database__1074 | 5e-bits/5e-database | 1,074 | defect | 105f47a4cdf44beff000ac3417d6e30097e2e05a | 7cdc7cce288cb74364f8bf5f43d392f8fbee57fe | feat(2024): monster schema and first monsters | ## What does this do?
1. the schema now includes "in_lair" for xp and special ability usage times, to reflect new SRD formatting
2. moved Spellcasting up so it can be used in Actions, where spellcasting usually sits now
3. added aboleth and adult black dragon stat blocks
## How was it tested?
npm test
the o... | diff --git a/src/2024/5e-SRD-Monsters.json b/src/2024/5e-SRD-Monsters.json
new file mode 100644
index 000000000..b61b1c77c
--- /dev/null
+++ b/src/2024/5e-SRD-Monsters.json
@@ -0,0 +1,740 @@
+[
+ {
+ "index": "aboleth",
+ "name": "Aboleth",
+ "size": "Large",
+ "type": "aberration",
+ "alignment": "lawf... | 2 | 2 | 2 | [{"id": "G0", "claim": "Move the new 2024 monster data files into `src/2024/en`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Hook the monster schema into `src/2024/tests/schemas.test.ts` and `src/2024/tests/translations.test.ts`.", "category": "testin... | null |
64bit__async-openai__37 | 64bit/async-openai | 37 | defect | 132e1c5651abaa2f7832fd55f17dfedd84d7af1b | 8ff3e02d926427e0614bb8035cad4dadcdb8f632 | Adding Send bound to boxed future types | This is needed so the types can be sent between threads in a multithreaded runtime.
https://github.com/64bit/async-openai/issues/36
Thank you. | diff --git a/async-openai/src/client.rs b/async-openai/src/client.rs
index 832705107..0e21d585c 100644
--- a/async-openai/src/client.rs
+++ b/async-openai/src/client.rs
@@ -279,7 +279,7 @@ impl Client {
&self,
path: &str,
request: I,
- ) -> Pin<Box<dyn Stream<Item = Result<O, OpenAIError>>... | 1 | 1 | 0 | [{"id": "G0", "claim": "Avoid panicking on a stream error in the boxed_future test and print the error instead, since the error message helps diagnose test failures (e.g. a missing OPENAI_API_KEY showing an unauthorized 401).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
69gg__Undefined__34 | 69gg/Undefined | 34 | defect | 3a4aa1bf7c78fe5868994cacb95d854fc778e002 | 1c3903687f719f26efcbee34c9328a27e572dcfc | fix: 修复多个 bug 并优化代码交付 agent | ## 主要改动
### Bug 修复
- 修复 @bot 消息被截断的问题,统一转为 [@qq] 格式
- 修复彩蛋消息污染 message_sent_this_turn 标记的问题
- 修复多个异步调用和配置问题
- 修复 AgentToolRegistry 深度限制问题
### 功能优化
- 优化代码交付 agent 实现
- 重构 handler.py,提取 docker_utils.py 模块
- 新增 init_docker 和 send_text_file 工具
- 简化 prompt 和工作流程
- 澄清 prompt 中与 NagaAgent 的关系
- 优化 config.toml.example ... | diff --git a/config.toml.example b/config.toml.example
index c0131e72..9c3e00e9 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -178,8 +178,8 @@ thinking_include_budget = true
# en: Thinking tool-call compatibility: pass back reasoning_content in multi-turn tool calls to avoid 400 errors from some models... | 2 | 2 | 2 | [{"id": "G0", "claim": "Pre-registration of inflight tasks was decoupled from inflight_summary_enabled, but _inject_inflight_tasks in prompts.py still gates injection on inflight_summary_enabled, so with the defaults the entries are written and cleaned up but never shown to the LLM, leaving the advertised duplicate-pre... | null |
69gg__Undefined__40 | 69gg/Undefined | 40 | defect | 86bcf6eaf6a02b8b8c5fd6e202995a314f1e8662 | 43b3f81aa751a59f4863894f62f75b2145003bdb | fix(command): 修复带昵称@段导致斜杠命令无法识别 | ## 问题
用户反馈 `/help` 等斜杠命令无法触发,总是走 AI 对话。
## 根因
`parse_command` 中清除 @ 段的正则 `\[@\s*\d+\]` 只能匹配 `[@123]` 格式,但 `extract_text` → `_parse_at_segment` 实际输出 `[@123(昵称)]` 格式(OneBot 返回昵称时)。@ 段未被清除,命令无法从文本开头匹配。
## 修复
正则改为 `\[@\s*\d+(?:\((?:(?!\[@\d).)*\))?\]`:
- 贪婪匹配昵称内容,正确处理昵称含 `]` `[]` `@` `[@` `)]` 等特殊字符
- 以 `[@数字` 作为下一个 @... | diff --git a/src/Undefined/services/command.py b/src/Undefined/services/command.py
index 68fc063f..663c9585 100644
--- a/src/Undefined/services/command.py
+++ b/src/Undefined/services/command.py
@@ -95,7 +95,7 @@ def parse_command(self, text: str) -> Optional[dict[str, Any]]:
返回:
包含命令名(name)和参数列表(... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new cleanup regex in parse_command is greedy across )], so when a normal message contains )] after the @ mention (e.g. \"[@123(a)] foo )] /help\"), re.sub removes the trailing chat text and clean_text starts with /help, making non-command messages parse as commands that can unintentionally t... | null |
69gg__Undefined__41 | 69gg/Undefined | 41 | defect | a56493055142178781034e840efc0d2dbe6c65e0 | aa9bfb23073c2d96b5db00d3896251c472d6d476 | feat(access): add mode-based access control and private blacklist | ## Summary
- add switch with / /
- add private blacklist support:
- add configurable superadmin bypass for private blacklist:
- standardize access-control deny messages across tool send paths
- move detailed access-control examples out of README into
## Follow-up fix
- fix allowlist cross-dimension coupling: in... | diff --git a/README.md b/README.md
index 250ce94d..9115b5b4 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,7 @@
- [5. 跨平台与资源路径(重要)](#5-跨平台与资源路径重要)
- [配置说明](#配置说明)
- [配置热更新说明](#配置热更新说明)
- - [会话白名单示例](#会话白名单示例)
+ - [访问控制文档](#访问控制文档)
- [MCP 配置](#mcp-配置)
- [Agent 私有 MCP(可选)](#agent-私有-mcp可选)... | 1 | 1 | 1 | [{"id": "G0", "claim": "Defaulting access.mode to \"off\" breaks backward compatibility for existing configs that only define allowed_group_ids/allowed_private_ids, silently disabling access control after upgrade; the loader should infer allowlist (or otherwise keep legacy behavior) when mode is unset.", "category": "c... | null |
777genius__agent-teams-ai__47 | 777genius/agent-teams-ai | 47 | defect | 3b7dc1f5e2356280bd8ebd35de3ba23128bf99e3 | ed1482991c8fde786f7f7bc023ee9c2aed3840ad | fix(team): prevent double [1m] suffix on model string during re-launch | ## Summary
- Strip `[1m]` suffix in `normalizeModelCandidate()` so the UI always stores base model names (`opus`, not `opus[1m]`)
- Make `computeEffectiveTeamModel()` idempotent by stripping existing `[1m]` before re-appending
- Add 6 test cases covering the double-suffix scenario, defaults, limitContext, haiku, and no... | diff --git a/src/renderer/components/team/dialogs/TeamModelSelector.tsx b/src/renderer/components/team/dialogs/TeamModelSelector.tsx
index c1aa208a62..f948fb0fd1 100644
--- a/src/renderer/components/team/dialogs/TeamModelSelector.tsx
+++ b/src/renderer/components/team/dialogs/TeamModelSelector.tsx
@@ -99,7 +99,9 @@ exp... | 3 | 3 | 2 | [{"id": "G0", "claim": "normalizeModelCandidate should strip all trailing [1m] suffixes, not just one, because already-corrupted persisted input like 'opus[1m][1m]' would still yield 'opus[1m]' and be stored suffixed in UI state.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
777genius__agent-teams-ai__52 | 777genius/agent-teams-ai | 52 | defect | 3b7dc1f5e2356280bd8ebd35de3ba23128bf99e3 | 4e0eb5ef3922a45b35f47156d5430d4f3896273e | feat(chat): show project and user skills as slash command suggestions | ## Summary
- Fetch skills catalog (`fetchSkillsCatalog`) on mount and on project change in `MessageComposer`
- Merge project skills and user skills into the slash command autocomplete suggestions
- Deduplicate by name with project skills taking precedence over user skills
- Show skill scope (Project / Personal) and de... | diff --git a/src/main/services/infrastructure/FileWatcher.ts b/src/main/services/infrastructure/FileWatcher.ts
index 14b888e07e..fe90e437e3 100644
--- a/src/main/services/infrastructure/FileWatcher.ts
+++ b/src/main/services/infrastructure/FileWatcher.ts
@@ -485,7 +485,14 @@ export class FileWatcher extends EventEmitte... | 2 | 2 | 2 | [{"id": "G0", "claim": "The [1m] suffix stripping added to normalizeModelCandidate and computeEffectiveTeamModel runs even when the provider is not Anthropic, which can silently alter non-Anthropic model IDs; the stripping should be scoped to Anthropic and a non-Anthropic '[1m]' regression test should lock the passthro... | null |
777genius__agent-teams-ai__85 | 777genius/agent-teams-ai | 85 | defect | f2b70242263312ac37a627b24b85f13e145c601f | 645ac4573e00b0cc9db3f795093b31ab93873e2e | fix(windows): align session paths and validators | ## Summary
- add Windows-aware project/session path compatibility and validation hardening
- block Windows reserved filenames in UI validation paths
- use safer path containment and project path resolution for IPC/HTTP flows
## Tests
- pnpm exec vitest run test/main/utils/pathDecoder.test.ts test/main/utils/pathValida... | diff --git a/src/main/http/validation.ts b/src/main/http/validation.ts
index 9b15c606a3..90c0914764 100644
--- a/src/main/http/validation.ts
+++ b/src/main/http/validation.ts
@@ -22,7 +22,8 @@ const logger = createLogger('HTTP:validation');
function isPathContained(fullPath: string, basePath: string): boolean {
con... | 4 | 1 | 1 | [{"id": "G0", "claim": "Candidate-based project-dir resolution is wired into only 2 of ~6 ID-keyed path lookups in ProjectScanner, so for a projectId whose encoding does not match the on-disk directory, listSessions, listSessionsPaginated, getSession/getSessionWithOptions and getSessionFilterForProject silently return ... | null |
777genius__claude_agent_teams_ui__47 | 777genius/claude_agent_teams_ui | 47 | defect | 3b7dc1f5e2356280bd8ebd35de3ba23128bf99e3 | ed1482991c8fde786f7f7bc023ee9c2aed3840ad | fix(team): prevent double [1m] suffix on model string during re-launch | ## Summary
- Strip `[1m]` suffix in `normalizeModelCandidate()` so the UI always stores base model names (`opus`, not `opus[1m]`)
- Make `computeEffectiveTeamModel()` idempotent by stripping existing `[1m]` before re-appending
- Add 6 test cases covering the double-suffix scenario, defaults, limitContext, haiku, and no... | diff --git a/src/renderer/components/team/dialogs/TeamModelSelector.tsx b/src/renderer/components/team/dialogs/TeamModelSelector.tsx
index c1aa208a62..f948fb0fd1 100644
--- a/src/renderer/components/team/dialogs/TeamModelSelector.tsx
+++ b/src/renderer/components/team/dialogs/TeamModelSelector.tsx
@@ -99,7 +99,9 @@ exp... | 1 | 1 | 1 | [{"id": "G0", "claim": "Strip all trailing [1m] suffixes (not just one) in normalizeModelCandidate and computeEffectiveTeamModel so pre-corrupted inputs like opus[1m][1m] are normalized to the base model instead of still producing a double suffix, and lock this in with a regression test for already-doubled input.", "ca... | null |
777genius__claude_agent_teams_ui__52 | 777genius/claude_agent_teams_ui | 52 | defect | 3b7dc1f5e2356280bd8ebd35de3ba23128bf99e3 | 4e0eb5ef3922a45b35f47156d5430d4f3896273e | feat(chat): show project and user skills as slash command suggestions | ## Summary
- Fetch skills catalog (`fetchSkillsCatalog`) on mount and on project change in `MessageComposer`
- Merge project skills and user skills into the slash command autocomplete suggestions
- Deduplicate by name with project skills taking precedence over user skills
- Show skill scope (Project / Personal) and de... | diff --git a/src/main/services/infrastructure/FileWatcher.ts b/src/main/services/infrastructure/FileWatcher.ts
index 14b888e07e..fe90e437e3 100644
--- a/src/main/services/infrastructure/FileWatcher.ts
+++ b/src/main/services/infrastructure/FileWatcher.ts
@@ -485,7 +485,14 @@ export class FileWatcher extends EventEmitte... | 4 | 2 | 1 | [{"id": "G0", "claim": "normalizeModelCandidate strips the [1m] suffix for every provider, which can silently alter non-Anthropic model IDs; the stripping should be scoped to Anthropic candidates only.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
7Sageer__sublink-worker__331 | 7Sageer/sublink-worker | 331 | defect | 2230dfb145e82134ecf25e62fed21751b7e064c5 | 9f017c0af2cc0d5655fc852c229b091eb05531b8 | feat: 添加对 src_ip_cidr 自定义规则的支持 | # Summary
为自定义规则新增 src_ip_cidr(来源 IP CIDR)字段,允许用户按源 IP 地址进行分流。变更贯穿前端 UI、规则解析引擎、四种配置生成器及国际化,并附带完整测试。
# Changes
核心逻辑
- ruleGenerators.js — 解析 src_ip_cidr 字符串为数组(逗号分隔,trim + 去空)
- subconverterConfig.js — 接收 customRules 参数,生成 SRC-IP-CIDR 规则行,置于域名规则之前(优先级最高,无需 DNS)
配置生成器适配
- Clash (clashConfigUtils.js) — 输出 SRC-I... | diff --git a/src/app/createApp.jsx b/src/app/createApp.jsx
index b471b0749..668129357 100644
--- a/src/app/createApp.jsx
+++ b/src/app/createApp.jsx
@@ -1,4 +1,4 @@
-/** @jsxRuntime automatic */
+/** @jsxRuntime automatic */
/** @jsxImportSource hono/jsx */
import { Hono } from 'hono';
import { Layout } from '../co... | 5 | 3 | 2 | [{"id": "G0", "claim": "SingboxConfigBuilder pushes `protocol: rule.protocol` into the route rule even when the user left protocol empty, so an empty array may be emitted and Sing-Box may not treat it as matching all protocols; add a guard so the field is omitted when the array is empty.", "category": "correctness", "v... | null |
86Box__86Box__3492 | 86Box/86Box | 3,492 | defect | 937cadf054c1cf9aa4cd852de39bb64c9ee49c7e | f16f63e9ee53d8bef74b99b37ae5bef96beac367 | Fix build on clang | Summary
=======
Fixes build on clang
Checklist
=========
* [X] Closes #3490
* [X] I have discussed this with core contributors already
* [ ] This pull request requires changes to the ROM set
* [ ] I have opened a roms pull request - https://github.com/86Box/roms/pull/changeme/
References
==========
Non... | diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 5f703a65ff6..12d278e8f11 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -263,7 +263,7 @@ jobs:
build-wrapper-win-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build
- name: R... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Authors line of the new src/include/86box/plat_fallthrough.h miscredits Miran Grca for a file authored by Jasmine Iwanek.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
86Box__86Box__5834 | 86Box/86Box | 5,834 | defect | f4d3924c8c785dc30252c0dbc3b48b91fd3aefd0 | 6d6d5931bf2c3722cab0bb54f6f15363dd9f5607 | Fix several codeql warns | Summary
=======
Fix several codeql warns
Checklist
=========
* [ ] Closes #xxx
* [X] I have discussed this with core contributors already
* [ ] This pull request requires changes to the ROM set
* [ ] I have opened a roms pull request - https://github.com/86Box/roms/pull/changeme/
References
==========
... | diff --git a/src/chipset/scamp.c b/src/chipset/scamp.c
index 855175dcdfc..7ad7b3db2c1 100644
--- a/src/chipset/scamp.c
+++ b/src/chipset/scamp.c
@@ -840,7 +840,7 @@ recalc_sltptr(scamp_t *dev)
recalc_ems(dev);
}
} else {
- for (uint8_t i = 0; i < (sltptr / EMS_PGSIZE); i++)
+ fo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The loop condition compares i of type uint16_t with (pfq_size - 1) of the wider type int, a narrow-vs-wide comparison CodeQL flags in pfq_read().", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
99designs__aws-vault__1088 | 99designs/aws-vault | 1,088 | defect | dd54e907ab48ef72483bfc5ff1b870c66e3219e9 | 2c18da795dc3f915513ac4f247a5f39e8aa9613c | Handle [sso-session] section | New AWS CLI changed config format for SSO values. Instead of specifying `sso_start_url` and `sso_region`,
it now makes `sso_session` profile param, that points to a separate `[sso-session]` section.
This PR adds support for the `sso_session` param and parsing `[sso-session]` section.
| diff --git a/.gitignore b/.gitignore
index 359f9e9fd..bf3d40518 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
/aws-vault
/aws-vault-*
/SHA256SUMS
+
+/.idea
diff --git a/USAGE.md b/USAGE.md
index 9e741a9e3..04cd02302 100644
--- a/USAGE.md
+++ b/USAGE.md
@@ -434,6 +434,7 @@ include_profile = jon
_AWS IAM I... | 3 | 2 | 0 | [{"id": "G0", "claim": "The reviewer questions why the PR changed `result := []ProfileSection{}` to `var result []ProfileSection` (the IDE-warning fix), implying the change is unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `/.id... | null |
99designs__aws-vault__461 | 99designs/aws-vault | 461 | defect | 6c94f9946b9ce1fb0524c76e1787ca9b18333573 | 3598256601a364465d023070fe045410b4c412f8 | Ignore case of section and key names when parsing config. | This PR simply allows for the user to specify upper or lower (or mixed case) section and key names in their config. I raise it as I wasted 3 hours of my life wondering why my aws-vault generated session was invalid before realising mfa_**S**erial=arn:aws:iam::... was not being read.
The aws cli also ignores case. I've... | diff --git a/vault/config.go b/vault/config.go
index 817494357..4f25535c1 100644
--- a/vault/config.go
+++ b/vault/config.go
@@ -111,6 +111,7 @@ func (c *ConfigFile) parseFile() error {
log.Printf("Parsing config file %s", c.Path)
f, err := ini.LoadSources(ini.LoadOptions{
AllowNestedValues: true,
+ Insensitive... | 2 | 1 | 0 | [{"id": "G0", "claim": "Setting Insensitive: true in the ini loader is over-broad: mixed case won't work with the AWS SDK anyway, so making aws-vault support it breaks backwards compatibility, and it breaks valid configs with mixed-case profile names (only mixed-case key names are invalid).", "category": "correctness",... | null |
99designs__aws-vault__685 | 99designs/aws-vault | 685 | defect | 8a679cf21c5f74b7d9e967aa6ada2f9b543ba8cd | 0e08627e10b4ceeb0292d850060b91d8deafd951 | STS AssumeRole Session Tags implementation | This PR is trying to resolve #684 and implements the way to set Session Tags and Transitive Session Tags when `AssumeRole()` provider is used.
- Two new profile configuration parameters are introduced: `session_tags` and `transitive_session_tags`
- Two new environment variables are introduced: `AWS_SESSION_TAGS` an... | diff --git a/USAGE.md b/USAGE.md
index 1f6fc37e3..7910c8bd5 100644
--- a/USAGE.md
+++ b/USAGE.md
@@ -102,6 +102,21 @@ include_profile = root
role_arn=arn:aws:iam::123456789:role/administrators
```
+#### `session_tags` and `transitive_session_tags`
+
+It is possible to set [session tags](https://docs.aws.amazon.com/... | 1 | 1 | 0 | [{"id": "G0", "claim": "The inline session tag parsing logic in populateFromConfigFile should be split out into its own function, and the duplicate parsing in populateFromEnv probably shares logic with it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
99designs__aws-vault__88 | 99designs/aws-vault | 88 | defect | be6e5aa4ecf848b75bbf0438eb75b0790692b01f | 106ebc6e1b52381427c7941c7183a79c51816f73 | Check keychain exists with SecKeychainGetStatus | This reverts #85, because it turns out to not actually work under macOS Sierra.
This change uses the `SecKeychainGetStatus` to see if the keychain exists. I suspect we might also need to drop extensions from paths.
| diff --git a/keyring/keychain.go b/keyring/keychain.go
index ea604438a..17f865035 100644
--- a/keyring/keychain.go
+++ b/keyring/keychain.go
@@ -18,11 +18,7 @@ import (
"errors"
"fmt"
"log"
- "os"
"os/user"
- "strconv"
- "strings"
- "syscall"
"unicode/utf8"
"unsafe"
)
@@ -33,54 +29,24 @@ type keychain stru... | 3 | 1 | 1 | [{"id": "G0", "claim": "The SecKeychainStatus does not need to be explicitly released in keychainExists because it is not a ref, so the explicit CFRelease there is unnecessary.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Because new keychains wil... | null |
99designs__gqlgen__1507 | 99designs/gqlgen | 1,507 | defect | 35b80a72f6cdae48cf98c68128d96d9d70e5f756 | 2457f3e6e177fe4e317191dc76bba57def76da63 | transport: implement `graphql-transport-ws` ws sub-protocol | This implements the [`graphql-transport-ws`](https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md) websocket sub-protocol.
I have refactored the sub-protocol message parsing by creating a generic message `message` and a `messageExchanger` interface defined in the file _websocket_subprotocol.go_.
The pr... | diff --git a/example/chat/package.json b/example/chat/package.json
index 2c1efd0106a..38aaba9f933 100644
--- a/example/chat/package.json
+++ b/example/chat/package.json
@@ -4,9 +4,7 @@
"private": true,
"dependencies": {
"@apollo/client": "^3.2.3",
- "@apollo/react-hooks": "^4.0.0",
"apollo-cache-inme... | 5 | 1 | 0 | [{"id": "G0", "claim": "Reword the readme's run instruction so the `graphql-ws` library and the newer `graphql-transport-ws` protocol are not confused, e.g. \"or to run the app with the `graphql-ws` implementation (and the newer `graphql-transport-ws` protocol) do\".", "category": "documentation", "verdict": "supported... | null |
99designs__gqlgen__2436 | 99designs/gqlgen | 2,436 | defect | c2b8eabb4e863ffc1c81a49e711c7eb4689b6bea | 3eab76364be1ab3a56e990066f8b09c2c82fb709 | Add omitempty json tags for nullable fields | Fix #789: Request for `omitempty` on json struct tag for models
### Per @Luscha PR #1477 : Nullable fields generated with json omit empty tag
> Nullable fields should be generated with json omit empty tag.
> There are cases where the graphql server accepts only one of the field to perform a mutation (an example ... | diff --git a/_examples/scalars/model/generated.go b/_examples/scalars/model/generated.go
index 34fc602cc46..c3b4b2c55bb 100644
--- a/_examples/scalars/model/generated.go
+++ b/_examples/scalars/model/generated.go
@@ -8,5 +8,5 @@ import (
type Address struct {
ID external.ObjectID `json:"id"`
- Location *Poin... | 3 | 2 | 2 | [{"id": "G0", "claim": "The expected JSON tags added by this change should be written as `json:\"name,omitempty\"` (no space before omitempty) so the generated models and tests agree.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The expected JSON ... | null |
99designs__gqlgen__3242 | 99designs/gqlgen | 3,242 | defect | 44e0c3576956960a937e25912266fdc203e69a0c | dd7d19a833e8a640665f940fb0613fbf8427cd71 | Add support for embedded structs | Hello,
This is an attempt at implementing support for [embedded types](https://github.com/99designs/gqlgen/issues/626), as also described [here](https://github.com/99designs/gqlgen/discussions/3240).
The current implementation generates a **base** struct from any `interface`, which is subsequently embedded in an... | diff --git a/codegen/config/config.go b/codegen/config/config.go
index 3291950912f..245b10d7460 100644
--- a/codegen/config/config.go
+++ b/codegen/config/config.go
@@ -30,6 +30,7 @@ type Config struct {
AutoBind []string `yaml:"autobind"`
Models ... | 3 | 2 | 1 | [{"id": "G0", "claim": "The test lint suggestions should be corrected: in plugin/modelgen/models_test.go require.NotEqual(t, \"\", x) should be replaced with require.NotEmpty(t, x) (testifylint empty rule) at lines 362, 366 and 370.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "in... | null |
99designs__gqlgen__3719 | 99designs/gqlgen | 3,719 | defect | 23b40c4036cecf0bd66e8bed9072ead34ee400b1 | 1580467f41bcbf4aa6f86d3f8665cdfcb67f9426 | Fix duplicated keys | This is to add key deduplication logic to fix the related [issue/3374](https://github.com/99designs/gqlgen/issues/3374).
Here's a screenshot of a test run from the repository https://github.com/dkempner/gqlgen-union-double-typename.
<img width="1499" alt="Screenshot 2025-05-30 at 11 31 49 PM" src="https://github... | diff --git a/graphql/fieldset.go b/graphql/fieldset.go
index 2c9e3dc932a..73c048dc3f5 100644
--- a/graphql/fieldset.go
+++ b/graphql/fieldset.go
@@ -58,13 +58,18 @@ func (m *FieldSet) Dispatch(ctx context.Context) {
func (m *FieldSet) MarshalGQL(writer io.Writer) {
writer.Write(openBrace)
+ writtenFields := make(m... | 2 | 2 | 0 | [{"id": "G0", "claim": "The author should correct the minor lint nit in the pull request.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test assertion should use b.String() instead of string(b.Bytes()) in TestFieldSet_MarshalGQL.", "categor... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.