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
agersant__polaris__166
agersant/polaris
166
defect
39c8cf7595a2c4bca8857a576dce51b5445d6699
5fe5d5fe9e8b98e47bcbac6de937bee09d97273b
Update dependencies
This updates dependencies were possible and removes the now unused `time` crate.
diff --git a/Cargo.lock b/Cargo.lock index 96856bd2..69265f20 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,7 +13,7 @@ dependencies = [ "futures-core", "futures-sink", "log", - "pin-project 0.4.28", + "pin-project 0.4.29", "tokio", "tokio-util", ] @@ -39,9 +39,9 @@ dependencies = [ [[package]] name = "...
1
1
1
[{"id": "G0", "claim": "In hash_password, bubble up the error instead of panicking via .expect(\"Invalid generated password salt\").", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
agilepathway__label-checker__315
agilepathway/label-checker
315
defect
ea67aa9e8e9d92130d544dbca2e58b02cab3d235
72c75a8ad544a3bd885f0f1c9996f82c79cd2954
Replace set-output as its deprecated by github
Updated according to https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
diff --git a/internal/github/action.go b/internal/github/action.go index 311e36f8..ef9cec3c 100644 --- a/internal/github/action.go +++ b/internal/github/action.go @@ -106,7 +106,7 @@ func (a *Action) pullRequestNumber() int { } func (a *Action) resultStepOutput(result string) string { - return "::set-output name=la...
2
2
2
[{"id": "G0", "claim": "The amendment to resultStepOutput hardcodes the word `result` instead of interpolating the value of the `result` variable; it should instead be `fmt.Sprintf(\"echo 'label_check=%s' >> $GITHUB_OUTPUT\", result)`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int...
null
agittins__bermuda__262
agittins/bermuda
262
defect
3422fbacdf88ea3f4d31e87958cbe062c42014d3
20fd243198ec13843d98e82ae3e480780b9b4cba
Fix tests and change some objects
Changes: - Removed async_setup - when configuration setup isn't done in yaml, it doesn't need to exist. - Changed to OptionsFlowwithConfigEntry - Created two fixtures to get either a mockconfigentry or a mock config entry that has been set up - Changed how setup of entries works - Instead of directly calling funct...
diff --git a/custom_components/bermuda/__init__.py b/custom_components/bermuda/__init__.py index 07b9f701..9140c61b 100644 --- a/custom_components/bermuda/__init__.py +++ b/custom_components/bermuda/__init__.py @@ -9,6 +9,8 @@ from typing import TYPE_CHECKING +from homeassistant.config_entries import ConfigEntry +...
2
1
0
[{"id": "G0", "claim": "After switching BermudaOptionsFlowHandler to OptionsFlowWithConfigEntry, all references to config_entry and options should be updated to use the underscore-prefixed self._config_entry and self._options that the super class stores.", "category": "correctness", "verdict": "opposed", "priority": "P...
null
agittins__bermuda__354
agittins/bermuda
354
defect
8a128c1741e02195e539c4a8430761ef5d6799cc
3af3ce1653f08b5d01595a5d2555766d74f14de1
Convert to runtime_data
- Change to use runtime_data instead of hass.data - Limit the amount of times that we update the config flow.
diff --git a/custom_components/bermuda/__init__.py b/custom_components/bermuda/__init__.py index e7145c22..3c4df1f8 100644 --- a/custom_components/bermuda/__init__.py +++ b/custom_components/bermuda/__init__.py @@ -7,6 +7,7 @@ from __future__ import annotations +from dataclasses import dataclass from typing impor...
1
1
1
[{"id": "G0", "claim": "The diagnostics code should spell `entry.runtime_data.coordinator` correctly instead of `coordintor`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
agittins__bermuda__361
agittins/bermuda
361
defect
eee3e0e69a47bb5e6a8d7e993bd09083bd62d938
8eab1f0f2e51ac9fb4482772f0661557c6fc5019
Optimize calculate_data and redact_data()
redact data likely needs more work. Gonna let my instance run for a while and then try it. With limited data it does show some pretty large improvements. There were some merge conflicts for calculate_data and update_advertisement. So if you could just give those a extra lookover that would probably be good!
diff --git a/custom_components/bermuda/bermuda_device.py b/custom_components/bermuda/bermuda_device.py index 9774fa4c..f3b551d0 100644 --- a/custom_components/bermuda/bermuda_device.py +++ b/custom_components/bermuda/bermuda_device.py @@ -249,3 +249,7 @@ def to_dict(self): val = scanout # noqa ...
6
4
0
[{"id": "G0", "claim": "self.hist_dist_count tracks the length of self.hist_distance_by_interval under an unrelated name and should share the parent variable's name plus a suffix (e.g. self.hist_distance_by_interval_count) so the two cannot silently drift apart.", "category": "maintainability", "verdict": "supported", ...
null
agnat__node_mdns__115
agnat/node_mdns
115
defect
0c16e8a49159b0c55b80a631140a072588e7d201
a9b9ea3d93c38b9adb95fad660ee44938931b912
Emit dns error thrown by native code
The native `dns_sd.DNSServicePRocessResult` method can [throw an error](https://github.com/agnat/node_mdns/blob/7832eecc07d49f49735c771b1e00e06e513d1067/src/dns_service_process_result.cpp#L26) if there's a DNS failure, resulting in an uncaught exception and your application going down, so this pull request wraps it in ...
diff --git a/lib/browser.js b/lib/browser.js index 117180ab..5e9bd00d 100644 --- a/lib/browser.js +++ b/lib/browser.js @@ -36,9 +36,19 @@ var Browser = exports.Browser = function Browser(serviceType, options) { serviceType = serviceName + '.' + serviceType.split('.').shift(); serviceName = null; ...
4
2
0
[{"id": "G0", "claim": "Please use semicolons after statements in the new code added to lib/browser.js.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Please undo the changes to package.json (renaming the package, bumping the version and repointing the re...
null
agnat__node_mdns__152
agnat/node_mdns
152
defect
b65f48b3a4df6a839708ac166b7034459e65be3d
08bccf6f51dfc445c491aa8101fc74d37f79f62b
Add ability to update TXTRecord
Add the ability to update mDNS Advertisement TXTRecord via DNSServiceUpdateRecord. Currently only tested on OS X 10.10.2
diff --git a/lib/advertisement.js b/lib/advertisement.js index ebc0c60c..be85b089 100644 --- a/lib/advertisement.js +++ b/lib/advertisement.js @@ -64,6 +64,16 @@ Advertisement.create = function create(serviceType, port, options, callback) { return new Advertisement(serviceType, port, options, callback); } +Advert...
5
5
1
[{"id": "G0", "claim": "The new DNSServiceUpdateRecord function should be moved out of src/dns_service_register.cpp into its own file for consistency with the other functions.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks to w...
null
agnesoft__agdb__1828
agnesoft/agdb
1,828
defect
95592e613d9bc5794d0d60a375aeb63207ff016c
fd03e7b3cfe36708c34ec8c469d25d180a148ea3
[db] Count queries should return result in the query result, not as a field #1819
Change QueryResult::result from i64 to u64 and update call sites to use unsigned counts. Remove operations no longer return negative numbers; result now represents the number of affected items (non-negative). SelectEdgeCount and SelectKeyCount now set QueryResult::result to the aggregated sum of per-element counts whil...
diff --git a/agdb/src/db.rs b/agdb/src/db.rs index 64f9a8c5e..86c270a68 100644 --- a/agdb/src/db.rs +++ b/agdb/src/db.rs @@ -1092,7 +1092,7 @@ impl<Store: StorageData> DbImpl<Store> { Ok(()) } - pub(crate) fn remove_keys(&mut self, db_id: DbId, keys: &[DbValue]) -> Result<i64, DbError> { + pub(cra...
3
3
3
[{"id": "G0", "claim": "The updated `result` field description says `from` and `to` are `DbId` values while the immediately preceding `DbElement` code block still documents them as `Option<DbId>`, leaving the web reference internally inconsistent (also at lines 691, 791 and 824 of the same file).", "category": "documen...
null
agnivade__levenshtein__15
agnivade/levenshtein
15
defect
7df6e981b249894ce5cbd944090d2049eade88c5
334b01fadb5a7c55b498d374c798df515ccfdd53
Improving performance
I am not sure that the removal of the cache initialisation (last commit) works in every situation but all the tests are ok.
diff --git a/go.mod b/go.mod index 70429fd..4fcfe43 100644 --- a/go.mod +++ b/go.mod @@ -4,5 +4,5 @@ go 1.13 require ( github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 - github.com/dgryski/trifles v0.0.0-20190318185328-a8d75aae118c + github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48 ) ...
2
2
1
[{"id": "G0", "claim": "Skipping the initialisation of the cache (variable x) is unexplained and may give incorrect results in some edge cases, so the reviewer would prefer to keep the initialisation loop.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim...
null
agnivo988__Repo-lyzer__184
agnivo988/Repo-lyzer
184
defect
104fa260f71a55f0332e9d8e6440c103f2c8e294
f592ca7638df2b2ff2833328ccc6a0172a16dc65
refactor: Compilation Errors in Certificate Output
fixes #179 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Added unit tests for certificate output: PDF export, filename generation, and data formatting checks. * **Chores** * Updated documentation to reflect certificate output tasks and testing n...
diff --git a/TODO.md b/TODO.md index 432a284..6b70754 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,10 @@ -# TODO: Fix Compilation Errors in internal/output/certificate.go +# TODO: Fix Compilation Errors in Certificate Output -- [x] Update fmt.Printf for Stars (line ~49): Change "%s: %d\n" to "%s: %s\n" -- [x] Update...
2
1
1
[{"id": "G0", "claim": "TestExportCertificatePDF fails in CI because the Downloads directory doesn't exist there, so the test's environment-specific dependency on ~/Downloads (and the files it leaves behind) must be fixed, e.g. by skipping in CI or adding cleanup.", "category": "correctness", "verdict": "supported", "p...
null
agnivo988__Repo-lyzer__210
agnivo988/Repo-lyzer
210
defect
79114d0fd0af208e3ded6436e7a3eb59fae9f2ec
081a2ffcd35aca6f9d8feec94868abac52bfa2fb
Implemented Hotspot Detection for file complexity and churn analysis (Closes #207)
Description This PR addresses the need to identify "problem files" (hotspots) in the codebase. It introduces a new Hotspot Detection feature that proactively highlights files with: - High Change Frequency (Git Churn) via git log analysis - Large File Size - Deep Nesting - High Complexity (rudimentary cyclomatic co...
diff --git a/cmd/analyze.go b/cmd/analyze.go index 84875ee..25d6257 100644 --- a/cmd/analyze.go +++ b/cmd/analyze.go @@ -21,6 +21,7 @@ import ( // Parameters: // - owner: GitHub username or organization name // - repo: Repository name +// // Returns an error if the analysis fails. func RunAnalyze(owner, repo s...
8
1
1
[{"id": "G0", "claim": "In internal/ui/app.go the error returned by AnalyzeHotspots is discarded, so API or rate-limit failures can silently drop hotspot data and mislead the dashboard; the reviewer asks to log or surface the error while continuing the analysis.", "category": "correctness", "verdict": "uncertain", "pri...
null
agnivo988__Repo-lyzer__217
agnivo988/Repo-lyzer
217
defect
79114d0fd0af208e3ded6436e7a3eb59fae9f2ec
382d833772ef6cb0c0c11fc0e142c02eda55f4fd
Implemented PR Heath Metrics (Closes #215)
This pull request adds comprehensive Pull Request analytics to Repo-lyzer, enabling users to analyze PR merge times, review patterns, and quality indicators to assess project maintainer responsiveness and contribution workflow health. Changes New Files 1. internal/github/pulls.go Contains GitHub API clie...
diff --git a/cmd/analyze_pr.go b/cmd/analyze_pr.go new file mode 100644 index 0000000..694faff --- /dev/null +++ b/cmd/analyze_pr.go @@ -0,0 +1,122 @@ +package cmd + +import ( + "fmt" + "time" + + "github.com/agnivo988/Repo-lyzer/internal/analyzer" + "github.com/agnivo988/Repo-lyzer/internal/github" + "github.com/agniv...
11
4
3
[{"id": "G0", "claim": "The pull request title contains a typo ('Heath' instead of 'Health') and should be corrected for clarity.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fetching reviews with one API call per PR (N+1) with a default unbound...
null
agnivo988__Repo-lyzer__234
agnivo988/Repo-lyzer
234
defect
79114d0fd0af208e3ded6436e7a3eb59fae9f2ec
79913bc1fcab924f09b3a70a294cfd510aa6ef02
Faulty Python Dependency Parsing (Regular Expression) (Closes#230)
Summary This PR updates the parseRequirementsTxt function in internal/analyzer/dependencies.go to support a wider range of Python package identifiers and to correctly handle environment markers. Changes Updated the versionPattern regex to support dots (.), extras ([extras]), and underscores in package names. Add...
diff --git a/internal/analyzer/dependencies.go b/internal/analyzer/dependencies.go index dfab4fa..580cf34 100644 --- a/internal/analyzer/dependencies.go +++ b/internal/analyzer/dependencies.go @@ -326,10 +326,11 @@ func parseRequirementsTxt(content []byte) ([]Dependency, string) { var deps []Dependency lines := str...
2
2
1
[{"id": "G0", "claim": "The regex captures extras (e.g. `[security]`) as part of the package name, so names like `requests[security]` are used in OSV queries and vulnerability checks fail; extras should be stripped from the name, and the test expectation updated to expect `requests` if that is done.", "category": "corr...
null
agnivo988__Repo-lyzer__268
agnivo988/Repo-lyzer
268
defect
e51803947e62ed3b4bdf650d902112e8af552cc8
9c8a1ae830ad9a29b95b4d74dc49bee531376855
Fix: persist and restore monitoring state
## Summary This PR completes monitor state persistence by replacing placeholder cache handling with real state serialization/deserialization, and adds focused tests for restore behavior. ## Problem Monitor state load/save was partially implemented, which made session resume behavior unreliable. ## Changes - Im...
diff --git a/internal/monitor/monitor.go b/internal/monitor/monitor.go index 9192484..4e2c449 100644 --- a/internal/monitor/monitor.go +++ b/internal/monitor/monitor.go @@ -2,6 +2,7 @@ package monitor import ( "context" + "encoding/json" "fmt" "log" "os" @@ -282,17 +283,48 @@ func (m *Monitor) loadState() { ...
3
2
2
[{"id": "G0", "claim": "The round-trip test should also assert that LastPRID is restored, since the saved state sets LastPRID: 2 but the assertions never verify it.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "saveState stores monitor state through th...
null
agnivo988__Repo-lyzer__269
agnivo988/Repo-lyzer
269
defect
3b96c6139eba2c1f7525990645c9fc8d4696b12e
38e128884c92d2c5e3e18ddd949352480c81c5d3
feat: Add Contribution Friendliness Score for Repository Analysis (#263)
### Description This PR implements the **Contribution Friendliness Score** feature requested in #263. It evaluates how beginner-friendly and open-source contribution-ready a repository is, producing a score out of 10.0 and listing key strengths and areas of improvement. Closes #263 --- ### Implementation Deta...
diff --git a/README.md b/README.md index 81a7d1b..4b0a8aa 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ ## Features - **Deep Analytics** – Repository health, maturity scores, and bus factor. +- **Contribution Friendliness** – Assess how easy it is to contribute to a repository using weighted metrics (`--co...
8
6
5
[{"id": "G0", "claim": "Handle --compact + --contribute explicitly: --contribute has no visible effect in compact mode while the command still does extra contribution-related fetch work, so either include contribution data in compact JSON or reject the flag combination early.", "category": "design", "verdict": "support...
null
agntcy__identity__152
agntcy/identity
152
defect
9758af8c422f0d0bf09ff4c65f6d9ddc43be4977
e393d67acb227c43bc7caf9089afecfa01541c99
feat(log): added support for contextual logging
# Description - Removed the use of `errutil.Err()` and replaced with with `fmt.Errorf()` - Moved all the packages that we don't want to make external from `pkg` to `internal/pkg` (`log`, `db`, `grpc`, ...) - Added contextual logging interceptor, it will log the information related to the current gRPC request (full...
diff --git a/.gitignore b/.gitignore index 7b2fdfe1..982db3d7 100644 --- a/.gitignore +++ b/.gitignore @@ -74,3 +74,4 @@ badge.json vcs.json identity !identity/ +/.run/ diff --git a/cmd/issuer/commands/badge/issue/a2a.go b/cmd/issuer/commands/badge/issue/a2a.go index de2d533f..a46516de 100644 --- a/cmd/issuer/comman...
5
2
0
[{"id": "G0", "claim": "In internal/issuer/badge/mcp/discover.go the error messages use inconsistent capitalization for the MCP acronym (\"failed to discover mcp tools\" vs \"failed to discover MCP resources\") and should consistently use uppercase \"MCP\".", "category": "documentation", "verdict": "uncertain", "priori...
null
agones-dev__agones__3957
agones-dev/agones
3,957
defect
a78b18bc7d1d774dfaab9fc47ee8e78eeb7b2bd7
9ec84ce5bb78b905d0191d1276933c0a1eb9d81d
add metadata to agones webhook autoscaler request
**What type of PR is this?** > Uncomment only one ` /kind <>` line, press enter to put that in a new line, and remove leading whitespace from that line: > > /kind breaking > /kind bug > /kind cleanup > /kind documentation /kind feature > /kind hotfix > /kind release **What this PR does / Why we need it**:...
diff --git a/build/Makefile b/build/Makefile index 59448844af..1a5bdeaaf4 100644 --- a/build/Makefile +++ b/build/Makefile @@ -70,7 +70,7 @@ GS_TEST_IMAGE ?= us-docker.pkg.dev/agones-images/examples/simple-game-server:0.3 BETA_FEATURE_GATES ?= "AutopilotPassthroughPort=true&CountsAndLists=true&DisableResyncOnSDKServer...
3
3
3
[{"id": "G0", "claim": "The pull request should also add unit tests (pkg/fleetautoscalers/fleetautoscalers_test.go) and e2e tests (test/e2e/fleetautoscaler_test.go) for the new metadata behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new d...
null
agones-dev__agones__4054
agones-dev/agones
4,054
defect
dc6d4a02a819820baa359542334785ac12daa8ac
730ac2c6ebbcb54fda725522ba7f826e7b594abf
Delete List Value(s) on Game Server Allocation
**What type of PR is this?** /kind feature **What this PR does / Why we need it**: Adds the ability to delete value(s) from a List during game server allocation. **Which issue(s) this PR fixes**: Closes #4003 **Special notes for your reviewer**: Commits have been broken out into the different parts...
diff --git a/examples/gameserverallocation.yaml b/examples/gameserverallocation.yaml index 61594591b9..36cb4a58de 100644 --- a/examples/gameserverallocation.yaml +++ b/examples/gameserverallocation.yaml @@ -116,3 +116,6 @@ spec: - x7un - 8inz capacity: 40 # Updates the maximum capacity of the ...
2
2
1
[{"id": "G0", "claim": "Add unit tests for the new DeleteListValues function in pkg/apis/agones/v1/gameserver.go.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Fix the indentation of the deleteValues field in proto/allocation/allocation.proto.", "categ...
null
agones-dev__agones__4082
agones-dev/agones
4,082
defect
56563a932a31509d6397c4c79360f42b9a99596c
ec717e3849b2705d404c068f4a8e4d552176436a
Update `.golangci.yml` config to resolve deprecation warnings
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/.golangci.yml b/.golangci.yml index fc917eb4e0..2ad72d18ed 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,14 +18,6 @@ run: # list of build tags, all linters use it. Default is empty list. build-tags: - # which dirs to skip: they won't be analyzed; - # can use regexp here: generated.*, rege...
2
1
0
[{"id": "G0", "claim": "The deprecated linters removed from .golangci.yml (exportloopref, and the same for the other removed ones like megacheck) should be replaced with their modern replacements rather than just deleted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
agones-dev__agones__4131
agones-dev/agones
4,131
defect
bfc2c324fb3afb8cc87e74245c821dd1944c2702
490d764eaa0a78041209369097c6409bd48661fb
Log Chain ID in Events When Applying ChainPolicy in FleetAutoscaler
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/install/helm/agones/templates/crds/fleetautoscaler.yaml b/install/helm/agones/templates/crds/fleetautoscaler.yaml index 071d705725..2e15d6055e 100644 --- a/install/helm/agones/templates/crds/fleetautoscaler.yaml +++ b/install/helm/agones/templates/crds/fleetautoscaler.yaml @@ -93,6 +93,8 @@ spec: ...
6
3
3
[{"id": "G0", "claim": "The change emits the ChainPolicy event (and its logging) on every sync cycle even when nothing changed; it should only log/event when the FleetAutoscaler switches from applying one chain policy to another.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
agones-dev__agones__4159
agones-dev/agones
4,159
defect
daafb8fc2c9bc76e0f15d2bffe77243fbdbe2e0e
d042a1df129449179f1784e3abe54f62c832025c
Allocation: Re-cache allocated `GameServer`
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/pkg/gameserverallocations/allocator.go b/pkg/gameserverallocations/allocator.go index d0699514f0..c63923f34d 100644 --- a/pkg/gameserverallocations/allocator.go +++ b/pkg/gameserverallocations/allocator.go @@ -602,6 +602,8 @@ func (c *Allocator) allocationUpdateWorkers(ctx context.Context, workerCount int ...
1
1
1
[{"id": "G0", "claim": "Should we worry that the informer may deliver a stale GameServer update that overwrites the GameServer record this change writes into the allocation cache — likely to happen frequently since the informer is almost always slower but will still try to write to the cache?", "category": "correctness...
null
agones-dev__agones__4185
agones-dev/agones
4,185
defect
f4b018d4100e3c50e32d138b358deb3f57b27342
d097ea802a8eb25bbb1dbf972736ffc5096962eb
Add tests for Prometheus metrics endpoint and validation
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label thi...
diff --git a/pkg/metrics/exporter_test.go b/pkg/metrics/exporter_test.go new file mode 100644 index 0000000000..d0b71a10e1 --- /dev/null +++ b/pkg/metrics/exporter_test.go @@ -0,0 +1,315 @@ +// Copyright 2025 Google LLC All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you...
2
1
1
[{"id": "G0", "claim": "Stackdriver has been deprecated in favor of Google Cloud Monitoring, so as part of a separate issue the Stackdriver configs exercised by this test should be investigated for whether they still work as intended or need to be updated.", "category": "maintainability", "verdict": "uncertain", "prior...
null
agones-dev__agones__4186
agones-dev/agones
4,186
defect
95112c104577fb07142794518cf1eb216e3b962b
629717533fcdda7a568eef013095c812d12a62db
Changed the sidecar requests rate limiter from exponential to a constant one
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label thi...
diff --git a/cmd/controller/main.go b/cmd/controller/main.go index 41171d1902..9ca36287fd 100644 --- a/cmd/controller/main.go +++ b/cmd/controller/main.go @@ -67,6 +67,7 @@ const ( sidecarMemoryRequestFlag = "sidecar-memory-request" sidecarMemoryLimitFlag = "sidecar-memory-limit" sidecarRunA...
4
3
3
[{"id": "G0", "claim": "Questions why the sidecar does not also use the same fast/slow rate limiter as the controllers, to keep everything consistent.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The generated install/yaml/install.yaml is stale with resp...
null
agones-dev__agones__4251
agones-dev/agones
4,251
defect
f0c08d314bcfd7d12e519d171b056ae9dd3b2ea0
16862fed26a955d2a8f7687da5f39a888acae41e
e2e: add webhook autoscaler test with fleet metadata
**What type of PR is this?** /kind cleanup **What this PR does / Why we need it**: - Implemented an end-to-end test for the webhook autoscaler that validates fleet metadata is passed through correctly. - Updated defaultAutoscalerWebhook to accept a parameter for FIXED_REPLICAS, enabling tests to toggle ...
diff --git a/examples/autoscaler-webhook/Makefile b/examples/autoscaler-webhook/Makefile index 93a2f95ac6..4f7380b85a 100644 --- a/examples/autoscaler-webhook/Makefile +++ b/examples/autoscaler-webhook/Makefile @@ -29,7 +29,7 @@ PROD_REPO ?= us-docker.pkg.dev/agones-images/examples mkfile_path := $(abspath $(lastword ...
2
1
0
[{"id": "G0", "claim": "Use the framework's logger instead of fmt.Println() for the debug output in TestAutoscalerWebhookWithMetadata.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer wonders whether the PR should also cover labels: m...
null
agones-dev__agones__4265
agones-dev/agones
4,265
defect
3d8def0d82407363488ebc5c34e8285feaddba88
c061f571d5e4f2e8be9cd6974e9479f533fa22c8
Feat: implement processor client
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/pkg/processor/config.go b/pkg/processor/config.go new file mode 100644 index 0000000000..198d6f888d --- /dev/null +++ b/pkg/processor/config.go @@ -0,0 +1,37 @@ +// Copyright 2025 Google LLC All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use thi...
12
11
0
[{"id": "G0", "claim": "The new pkg/processor/doc.go carries a 'Copyright 2022' licence header and should read 'Copyright 2025'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The processor client test file (pkg/processor/client_test.go, then proc...
null
agones-dev__agones__4267
agones-dev/agones
4,267
defect
7011c5b1278d88acb69f31e0afb0da4a5e80add1
3684f1b9fadc48e6559e17f5add7b0d03ad5d64a
Return GameServerAllocationUnAllocated when an game server update error occurs
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/pkg/gameserverallocations/allocator.go b/pkg/gameserverallocations/allocator.go index c63923f34d..d384cd5bc1 100644 --- a/pkg/gameserverallocations/allocator.go +++ b/pkg/gameserverallocations/allocator.go @@ -67,6 +67,8 @@ var ( ErrConflictInGameServerSelection = errors.New("The Gameserver was already a...
5
4
0
[{"id": "G0", "claim": "goErrors.Join separates the wrapped messages with a newline, which the reviewer does not think is wanted; the error should be formatted with fmt.Errorf(\"%w: %v\", ErrGameServerUpdateConflict, err) instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
agones-dev__agones__4277
agones-dev/agones
4,277
defect
3d8def0d82407363488ebc5c34e8285feaddba88
f4bc9ace29e34e1d47a2e84d0a3c59c08294f6ab
Fleet autoscaler threads maintain state
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/pkg/fleetautoscalers/controller.go b/pkg/fleetautoscalers/controller.go index e2498c98d2..c25dc21443 100644 --- a/pkg/fleetautoscalers/controller.go +++ b/pkg/fleetautoscalers/controller.go @@ -60,11 +60,15 @@ import ( ) // fasThread is used for tracking each Fleet's autoscaling jobs -// -//nolint:gove...
2
1
1
[{"id": "G0", "claim": "TestControllerSyncFleetAutoscaler/wrong_policy fails intermittently: syncFleetAutoscaler returns \"There should be a fasThread for the FleetAutoscaler, but it was not found\" instead of the expected wrong-policy error, because the fasThread may not be registered yet when the test syncs.", "categ...
null
agones-dev__agones__4279
agones-dev/agones
4,279
defect
409a6fc3e96d82bda9a16fb10b6288d82c5fd356
318ae60c035ce47fd2c94e5d93f85a674189142b
Update Add and Remove List Value in SDK Server
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/pkg/sdkserver/sdkserver.go b/pkg/sdkserver/sdkserver.go index 25de8706c4..1c4028757e 100644 --- a/pkg/sdkserver/sdkserver.go +++ b/pkg/sdkserver/sdkserver.go @@ -1180,13 +1180,16 @@ func (s *SDKServer) AddListValue(ctx context.Context, in *beta.AddListValueReque return nil, errors.Errorf("already exist...
7
3
1
[{"id": "G0", "claim": "Unit tests should be added so the newly returned proper values from Add/RemoveListValue cannot regress, since no existing test fails even though the return values changed.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The added ...
null
agones-dev__agones__4280
agones-dev/agones
4,280
defect
409a6fc3e96d82bda9a16fb10b6288d82c5fd356
96be4bf524aa54c7a5220fde3e27d8fddaf06d81
flakey: add resource requirements to SuperTuxKart e2e test
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label t...
diff --git a/test/e2e/examples_test.go b/test/e2e/examples_test.go index e986965a74..f33dc72226 100644 --- a/test/e2e/examples_test.go +++ b/test/e2e/examples_test.go @@ -55,6 +55,12 @@ func TestSuperTuxKartGameServerReady(t *testing.T) { { Name: "supertuxkart", Image: "us-docker.pkg.dev/agones-...
1
1
1
[{"id": "G0", "claim": "In LogPodContainers the `previous` parameter seems to be used only for the log fields and not for the PodLogOptions, where Previous is hardcoded to true, so the pass meant to fetch current logs fetches previous logs instead; the reviewer suggests `Previous: previous,`.", "category": "correctness...
null
agones-dev__agones__4308
agones-dev/agones
4,308
defect
792d5687ecc3e58997fe118425561caf731d211b
9451dc9359df4ec8b54deb4b4353e20dc9867b5f
feat(autoscaler): Promote WasmAutoscaler feature from Dev to Alpha stage
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label...
diff --git a/build/Makefile b/build/Makefile index 86e12e6848..ce019248c7 100644 --- a/build/Makefile +++ b/build/Makefile @@ -73,7 +73,7 @@ BETA_FEATURE_GATES ?= "AutopilotPassthroughPort=true&CountsAndLists=true&GKEAuto # Enable all alpha feature gates. Keep in sync with `false` (alpha) entries in pkg/util/runti...
5
3
3
[{"id": "G0", "claim": "The FeatureWasmAutoscaler entry in the default feature-gates map of pkg/util/runtime/features.go is still under the Dev section and must be moved to the alpha section to complete the promotion.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
agones-dev__agones__4315
agones-dev/agones
4,315
defect
d1040b6f329fbd2447cf153e27616fb1efb305ce
a057f3d3ed3c9fc7ce180139b78402d8b7774b88
Refactor FleetAutoscaler state from map to typed struct
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label thi...
diff --git a/pkg/fleetautoscalers/controller.go b/pkg/fleetautoscalers/controller.go index 376e6a36bb..4e4e142391 100644 --- a/pkg/fleetautoscalers/controller.go +++ b/pkg/fleetautoscalers/controller.go @@ -60,20 +60,25 @@ import ( "k8s.io/utils/clock" ) +// fasState is the state for each Fleet Autoscaler instance...
2
1
1
[{"id": "G0", "claim": "fasState is passed by value to applyWasmPolicy, so modifications to state.wasmPlugin inside the function will not persist to the caller; the function should accept *fasState instead to allow the plugin to be stored and reused across calls.", "category": "correctness", "verdict": "supported", "pr...
null
agones-dev__agones__4324
agones-dev/agones
4,324
defect
47fa016a616ff8c60e67b739de63e5513efb07d0
37626b0befa6a0da6e01bcb160a7d590181c62c0
Fix update counter to return correct values
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/pkg/sdkserver/sdkserver.go b/pkg/sdkserver/sdkserver.go index 027e45b235..387042d685 100644 --- a/pkg/sdkserver/sdkserver.go +++ b/pkg/sdkserver/sdkserver.go @@ -945,7 +945,25 @@ func (s *SDKServer) UpdateCounter(_ context.Context, in *beta.UpdateCounterReque // Queue up the Update for later batch proc...
4
4
2
[{"id": "G0", "claim": "Add a test that validates this change (UpdateCounter returning the projected counter state).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Change the test's CountDiff to a value other than the one in the preceding test case so t...
null
agones-dev__agones__4326
agones-dev/agones
4,326
defect
c202b195fc5cb4e84b9a084e8eb67e221b709c97
a6b47da47d98b39005c03be41084cb5be420e149
Fix sdkserver updatelist gameserver max items
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/pkg/sdkserver/sdkserver.go b/pkg/sdkserver/sdkserver.go index 027e45b235..c841105bfb 100644 --- a/pkg/sdkserver/sdkserver.go +++ b/pkg/sdkserver/sdkserver.go @@ -51,7 +51,6 @@ import ( "agones.dev/agones/pkg/sdk" "agones.dev/agones/pkg/sdk/alpha" "agones.dev/agones/pkg/sdk/beta" - "agones.dev/agones/...
1
1
1
[{"id": "G0", "claim": "Per the original issue #4282, remove the ListMaxCapacity constant and replace every place in the code base that uses it with the non-hard-coded value.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
agones-dev__agones__4335
agones-dev/agones
4,335
defect
5c5d373ffb50107503c628be370b944ac6e6b323
afb62d91f505c451fae767846280adbc05f6ecc2
Graduate AutopilotPassthroughPort to Stable
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/build/Makefile b/build/Makefile index 8954e20f32..4d94e5ea79 100644 --- a/build/Makefile +++ b/build/Makefile @@ -69,7 +69,7 @@ KIND_CONTAINER_NAME=$(KIND_PROFILE)-control-plane GS_TEST_IMAGE ?= us-docker.pkg.dev/agones-images/examples/simple-game-server:0.39 # Enable all beta feature gates. Keep in sy...
12
11
1
[{"id": "G0", "claim": "Another leftover reference to the AutopilotPassthroughPort feature gate in TestAutopilotPortAllocator (the ParseFeatures call at gke_test.go:635) should be removed now that the gate graduated to stable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
agones-dev__agones__4375
agones-dev/agones
4,375
defect
6374cf6c5940964afa9a63160bf33be338d09c94
ce27ce0f1f99287cae7d06e88ea089bfaac954f1
feat: support init sidecar containers
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/pkg/apis/agones/v1/gameserver.go b/pkg/apis/agones/v1/gameserver.go index ee4494644f..1a807b2886 100644 --- a/pkg/apis/agones/v1/gameserver.go +++ b/pkg/apis/agones/v1/gameserver.go @@ -596,12 +596,15 @@ func (gss *GameServerSpec) Validate(apiHooks APIHooks, devAddress string, fldPat } if p.Contain...
7
5
3
[{"id": "G0", "claim": "HasContainer should consider every init container rather than only those whose RestartPolicy is Always.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rework the container lookup so one function (e.g. gss.HasContainer(container, inc...
null
agones-dev__agones__4415
agones-dev/agones
4,415
defect
2aafbba230f5e8dbb83bc2c904d4130523045daf
505500dd8aed1efd99990f499ad7737012f4d83d
Fix: propagate request context on allocation
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/cmd/allocator/main.go b/cmd/allocator/main.go index 1fc0678799..4287eee04f 100644 --- a/cmd/allocator/main.go +++ b/cmd/allocator/main.go @@ -518,8 +518,8 @@ func newServiceHandler(ctx context.Context, kubeClient kubernetes.Interface, ago allocationBatchWaitTime) h := serviceHandler{ - allocationCa...
2
1
1
[{"id": "G0", "claim": "The early-return guard for an already-cancelled request context added to allocate() might be overkill.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "If allocate() already returned because the request context was done, nobody read...
null
agones-dev__agones__4417
agones-dev/agones
4,417
defect
8fb23af63f711153c979bfcffcff5aaf721a3d80
3c83d58fcff386472e1fd4930bd3e1a3f027d3ed
fix(sdk): add validation to SetAnnotation to prevent infinite retry loop
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/pkg/sdkserver/sdkserver.go b/pkg/sdkserver/sdkserver.go index acf305d102..8459b7a03a 100644 --- a/pkg/sdkserver/sdkserver.go +++ b/pkg/sdkserver/sdkserver.go @@ -620,6 +620,18 @@ func (s *SDKServer) SetLabel(_ context.Context, kv *sdk.KeyValue) (*sdk.Empty, e func (s *SDKServer) SetAnnotation(_ context.Co...
1
1
0
[{"id": "G0", "claim": "The PR should note that validation.IsQualifiedName is deprecated in k8s.io/apimachinery v0.35 and migrate to the new validation function once the middle supported Kubernetes version shifts to 1.35 (the new function is unavailable until apimachinery v0.35).", "category": "maintainability", "verdi...
null
agones-dev__agones__4435
agones-dev/agones
4,435
defect
f3f0b2e5005efd2835234bc119af9e963f4d04b9
9bd03d6689b9461306bea827cb70bf3b3f11ed2c
Flaky Test: TestGameServerAllocationReturnLabels
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/googleforgames/agones/blob/main/CONTRIBUTING.md and developer guide https://github.com/googleforgames/agones/blob/main/build/README.md 2. Please label this ...
diff --git a/test/e2e/gameserverallocation_test.go b/test/e2e/gameserverallocation_test.go index 02d19e9c73..fe922ab253 100644 --- a/test/e2e/gameserverallocation_test.go +++ b/test/e2e/gameserverallocation_test.go @@ -1363,8 +1363,8 @@ func TestGameServerAllocationReturnLabels(t *testing.T) { gsa, err = framework....
2
2
1
[{"id": "G0", "claim": "The added require.NotNil on gsa.Status.Metadata only stops the panic but does not fix the actual flake in TestGameServerAllocationReturnLabels.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The allocation Create call can com...
null
agonyforge__arbitrader__229
agonyforge/arbitrader
229
defect
235a50079ff01d5c6dc7920d7afcd950ed7f7b01
29fe74804d92c0249fbda659b7115844a7273bba
Fix NPE on XData (v5.0.2) for Gemini Streaming Exchange when args is empy
Respect the homeCurrency configuration field when using a StreamingExchange class On the streaming class, if an exchange has the homeCurrency set in the configuration yaml file this was not taking in consideration (missing a call `to exchangeService.convertExchangePair(exchange, pair)`) For `GeminiStreamingMarket...
diff --git a/src/main/java/com/r307/arbitrader/service/ticker/StreamingTickerStrategy.java b/src/main/java/com/r307/arbitrader/service/ticker/StreamingTickerStrategy.java index c2488da..86382c4 100644 --- a/src/main/java/com/r307/arbitrader/service/ticker/StreamingTickerStrategy.java +++ b/src/main/java/com/r307/arbitr...
3
1
0
[{"id": "G0", "claim": "Detect the Gemini streaming exchange with an instanceof check instead of matching an exchange name containing \"Gemini\", so the streaming code path is not applied to the non-streaming Gemini or future exchanges with Gemini in their names.", "category": "design", "verdict": "supported", "priorit...
null
agonyforge__arbitrader__305
agonyforge/arbitrader
305
defect
6bf3a1398278299b51b24f19bff2c4da9b3309e3
07963287cd89c62998027b40fa7c2d8e86f3dc5c
Simplify and stabilize trade evaluation
* Added Exchange to OrderNotFoundException for better error message * Better encapsulation, some utility methods in Paper classes * Changed "force open condition" API to be easier to use * Rearranged evaluation in trade() to be easier to read * Better error handling in exitPosition() * Easier to debug NPEs in getV...
diff --git a/src/main/java/com/r307/arbitrader/exception/OrderNotFoundException.java b/src/main/java/com/r307/arbitrader/exception/OrderNotFoundException.java index 2e2a9d1..8d1f95e 100644 --- a/src/main/java/com/r307/arbitrader/exception/OrderNotFoundException.java +++ b/src/main/java/com/r307/arbitrader/exception/Ord...
2
1
0
[{"id": "G0", "claim": "OrderVolumeCache.getCachedVolume should return Optional instead of null to avoid possible NPEs in the future.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The keys List used just to track the cache size seems unnecessary since c...
null
agonyforge__arbitrader__338
agonyforge/arbitrader
338
defect
d8f398ae94846a6722926dd928eabb5c84957537
ac05a647552b3b311673bc5a41233a4eb8a15d6e
Enhance paper AccountInfo with balance info + paper trading FeeComputation.CLIENT
This commit: - enables the FeeComputation.CLIENT exchanges to work with PaperTrading. The calculation is the opposite to the addFees/subtractfees method. - unit tests the PaperTradeService.fillOrder method. The FeeComputation.CLIENT test need real data. - keep track of all the balances of the PaperAccountService, no...
diff --git a/application.example.yaml b/application.example.yaml index 5d045ff..cf7d8b3 100644 --- a/application.example.yaml +++ b/application.example.yaml @@ -90,16 +90,20 @@ trading: # (Optional) # Enable paper trading. Orders will not be forwarded to the exchanges. Instead, a paper exchange will execute the...
1
1
0
[{"id": "G0", "claim": "Leave the initialBalance setting uncommented in application.example.yaml so readers scanning the example file notice the option; setting it to 100 (the existing default) should hurt nothing.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
agonyforge__arbitrader__351
agonyforge/arbitrader
351
defect
c7deac58ef77644f5508cd7da88228e78975651b
8e7d2d45f7e830da4d6e7de27b6d593852ce5bf9
Bootstrap margin fee exchange configuration
This pull request replaces https://github.com/agonyforge/arbitrader/pull/320
diff --git a/application.example.yaml b/application.example.yaml index 77cb926..9560771 100644 --- a/application.example.yaml +++ b/application.example.yaml @@ -170,9 +170,12 @@ trading: - REP/USD - ZEC/USD - # The amount of fees Kraken charges. If an exchange's API supports requesting fees at ...
6
5
3
[{"id": "G0", "claim": "PaperTradeService#getFee should charge the margin fee only when margin is actually required/enabled (e.g. via a useMargin(order) check) and the trade fee otherwise, and its logging should be prefixed so paper-exchange logs are identifiable instead of charging margin fees for every order on a sho...
null
agonyforge__arbitrader__370
agonyforge/arbitrader
370
defect
47cb842813003ef7bb126f38320bc91d794c385c
2a1c761729eb12d65efb375ee77b621945425acd
Effective spreads
This changes the configuration from entrySpread / exitTarget to: - entrySpreadTarget: the effective spread to meet before entering a trade - exitSpreadTarget: the effective spread to meet before closing a trade - minimumProfit: the profit in percentage to get before closing a trade. Default to 0. If exitSpreadTarge...
diff --git a/application.example.yaml b/application.example.yaml index 26236ee..44a2256 100644 --- a/application.example.yaml +++ b/application.example.yaml @@ -61,12 +61,20 @@ notifications: token: x trading: - # The percentage difference between the "long" and "short" exchanges before we will open our positi...
2
2
2
[{"id": "G0", "claim": "The new warning in connectExchanges should check both getExitSpreadTarget() and getMinimumProfit() and be logged at WARN level, since the message matters only when both settings are configured together.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
agroal__agroal__100
agroal/agroal
100
defect
70d743bc6ed0760e671d7c47d9496b337f16d0e3
84106549b310066c846c63b394253a71d70dd1dd
AG-227: Explicitly close connection after reconnect for commit
Hi @barreiro, I think we should add this additional commit to avoid a new introduced leak. Maybe add the same pattern to other methods too. IMHO, none of them is used outside recover START/ END cycle. (Official Narayana modules, of course!)
diff --git a/agroal-narayana/src/main/java/io/agroal/narayana/RecoveryXAResource.java b/agroal-narayana/src/main/java/io/agroal/narayana/RecoveryXAResource.java index f83b7126..757e2837 100644 --- a/agroal-narayana/src/main/java/io/agroal/narayana/RecoveryXAResource.java +++ b/agroal-narayana/src/main/java/io/agroal/na...
1
1
1
[{"id": "G0", "claim": "rollback() needs the same close-after-reconnect handling that was added to commit() to avoid a connection leak.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
agroal__agroal__104
agroal/agroal
104
defect
30465b6eaae28366449832e1ee22bbe8a9b83562
c9631915e65adc65181cf1f1d86973aa6d1dce19
Delay opening of recovery connection
@mmusgrov this addresses some of the points discussed in the issue
diff --git a/agroal-narayana/src/main/java/io/agroal/narayana/RecoveryXAResource.java b/agroal-narayana/src/main/java/io/agroal/narayana/RecoveryXAResource.java index 66d5f833..cda07635 100644 --- a/agroal-narayana/src/main/java/io/agroal/narayana/RecoveryXAResource.java +++ b/agroal-narayana/src/main/java/io/agroal/na...
2
2
1
[{"id": "G0", "claim": "The changes should be tested together with the new test from #103 and the fix from jbosstm/narayana#2246 changed to call .recover(XAResource.TMSTARTRSCAN | XAResource.TMENDRSCAN) combined.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl...
null
agroal__agroal__142
agroal/agroal
142
defect
0819e8611ad7f8e26dd7b64cbe1983e29e8a8a7c
38f5698d7cbce7aee3f3e42ced7c7b3d5652beac
AG-281 - Introduce `ConnectionValidator#sqlValidator`
This introduces a new ConnectionValidator to allow specifying the validation SQL
diff --git a/agroal-api/src/main/java/io/agroal/api/configuration/AgroalConnectionPoolConfiguration.java b/agroal-api/src/main/java/io/agroal/api/configuration/AgroalConnectionPoolConfiguration.java index 660aacc7..283c08c1 100644 --- a/agroal-api/src/main/java/io/agroal/api/configuration/AgroalConnectionPoolConfigurat...
1
1
0
[{"id": "G0", "claim": "The pull request should respect the existing code style by keeping a space after `(` and before `)` instead of stripping the spaces around arguments (e.g. rewriting `connection.isValid( 0 )` as `connection.isValid(0)`).", "category": "maintainability", "verdict": "supported", "priority": "P3", "...
null
agroal__agroal__145
agroal/agroal
145
defect
532e628af4e77599f3840a4ce2c6f230cdfc91c9
d152402e1aab1662924177325eaa784b438e3d8c
AG-281 - Add basic integration of sql connection validator into AgroalPropertiesReader
@gastaldi: Little extension to your last commit. Might need also to integrate with AgroalPropertiesReader. @barreiro: Actually no idea how a good syntax can be looked
diff --git a/agroal-spring-boot-starter/src/main/java/io/agroal/springframework/boot/AgroalDataSourceAutoConfiguration.java b/agroal-spring-boot-starter/src/main/java/io/agroal/springframework/boot/AgroalDataSourceAutoConfiguration.java index d3785f0e..8d9f376e 100644 --- a/agroal-spring-boot-starter/src/main/java/io/a...
1
1
0
[{"id": "G0", "claim": "Add support for a custom SQL query validator syntax (e.g. custom(<Query>) with an optional timeout) to the validator-name parser, which currently supports only the empty/default/defaultX forms.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
agroal__agroal__170
agroal/agroal
170
defect
7c21e885422635d66d406d131beca411bc3a3866
a5460f24a988b3f4f8ac1e0eed1942fcbed4d06f
AG-296 - Add network timeout setting
I just realized that all the drivers ignore the `executor` parameter on `setNetworkTimeout()` so let's allow users to configure that.
diff --git a/agroal-api/src/main/java/io/agroal/api/configuration/AgroalConnectionFactoryConfiguration.java b/agroal-api/src/main/java/io/agroal/api/configuration/AgroalConnectionFactoryConfiguration.java index 8e2daca5..950b3bd4 100644 --- a/agroal-api/src/main/java/io/agroal/api/configuration/AgroalConnectionFactoryC...
2
2
1
[{"id": "G0", "claim": "The escape before the closing bracket in SQL_VALIDATOR_PATTERN that this pull request removed may be necessary, since ] should not be interpreted as a regex group.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull reque...
null
agronholm__apscheduler__1060
agronholm/apscheduler
1,060
defect
51222e7a5e110578721a0f291ae983add6214ffd
7727de052f7ec19044b2b7a6491c672feb2523ff
Fix dst skip hour
<!-- Thank you for your contribution! --> ## Changes Fixes #1059 Test case for CronTrigger: ``` trigger: CronTrigger(hour=2) start time: datetime.datetime(2013, 3, 10, 2, 0, tzinfo=zoneinfo.ZoneInfo(key='US/Eastern') expected next: datetime.datetime(2013, 3, 11, 2, 0, tzinfo=zoneinfo.Zone...
diff --git a/docs/versionhistory.rst b/docs/versionhistory.rst index c4dad971..eb4777f5 100644 --- a/docs/versionhistory.rst +++ b/docs/versionhistory.rst @@ -6,6 +6,8 @@ APScheduler, see the :doc:`migration section <migration>`. **4.0.0a6** +- Fixed an issue where `CronTrigger.next` returned a non-existing date o...
2
2
1
[{"id": "G0", "claim": "The PR should avoid adding the python-dateutil dependency (added in E010) just for this bug fix, using a way other than dateutil to check if a datetime exists instead.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ch...
null
agronholm__apscheduler__1062
agronholm/apscheduler
1,062
defect
c5a0346d303f64a044ef744aa75d5d6a18593d34
6acfacd995931b57e9eeae3d51e99474c8b4db45
Fix start end time timezone
<!-- Thank you for your contribution! --> ## Changes Fixes #1061 - convert `start_time` and (if not None) `end_time` to `self.timezone` - use `self.timezone` as default, when `start_time` or `end_time` are not aware ## Checklist If this is a user-facing code change, like a bugfix or a new feature, please ...
diff --git a/docs/versionhistory.rst b/docs/versionhistory.rst index c9f7ea25..e4ecb0cf 100644 --- a/docs/versionhistory.rst +++ b/docs/versionhistory.rst @@ -6,6 +6,8 @@ APScheduler, see the :doc:`migration section <migration>`. **UNRELEASED** +- Fixed an issue where ``CronTrigger`` does not convert ``start_time`...
2
2
1
[{"id": "G0", "claim": "The new test only covers the timezone conversion of start_time and does not test the tz conversion of end_time.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test should use proper time zones (ZoneInfo) instead of fixed-offs...
null
agronholm__apscheduler__258
agronholm/apscheduler
258
defect
c6c5031276c3b864e127c637d2bdd48138a0b426
b5233b3ec0a8525eef22e90f8abddf690dd759ff
Implement random jitter option for CronTrigger and IntervalTrigger
Fixes #168
diff --git a/apscheduler/triggers/base.py b/apscheduler/triggers/base.py index ba98632ea..2e32e684b 100644 --- a/apscheduler/triggers/base.py +++ b/apscheduler/triggers/base.py @@ -1,4 +1,6 @@ from abc import ABCMeta, abstractmethod +import datetime +import random import six @@ -17,3 +19,30 @@ def get_next_fire_t...
3
3
1
[{"id": "G0", "claim": "The serialized-state version number of IntervalTrigger (and CronTrigger) must be bumped because the new 'jitter' field changes the serialized format.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In base.py, `timedelta` ...
null
agronholm__apscheduler__865
agronholm/apscheduler
865
defect
8d26ee534218d3c7a29bb40523180e37e3db78a4
0cc3131fc6a2ead598cdd826f9c5b1587a84158a
tests: move to pytest-lazy-fixtures dep & mqtt update
This PR addresses failing tests due to pytest-lazy-fixture incompatibility with pytest v8, and breaking changes in paho.mqtt v2. Replaces pytest-lazy-fixture with pytest-lazy-fixtures, and adjusts use of mqtt client to conform to new api. @agronholm now that https://github.com/dev-petrov/pytest-lazy-fixtures/issu...
diff --git a/pyproject.toml b/pyproject.toml index 51eafa2d3..29f47d314 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,13 +54,13 @@ test = [ "anyio[trio]", "asyncmy >= 0.2.5; python_implementation == 'CPython'", "coverage >= 7", - "paho-mqtt >= 1.5", + "paho-mqtt >= 2.0", "psycopg", ...
4
4
2
[{"id": "G0", "claim": "The PR needlessly upgrades the pytest dependency floor to >= 8.0.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For forward compatibility the mqtt_broker test fixture should use the v2 callback API rather than pinning Ca...
null
agronholm__exceptiongroup__118
agronholm/exceptiongroup
118
defect
8d2f6273ffe94b0f805f001d20f8e4fadae0b58f
f7a3c3c14a079e046be90b5459d263dfba63b310
fix type errors, add type tests
* Fixes #117 * Adds `tests/type_test.py` as type test, which quickly alerted me to two additional errors I also fixed: * The cause of #117 wasn't isolated to `BaseExceptionGroup` and `ExceptionGroup` was also lacking `type[...]`, but instead of getting an error at creation it instead returning `ExceptionGroup[Unknow...
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6df9b58..f4bab13 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ on: pull_request: jobs: - pyright: + typing: strategy: fail-fast: false matrix: @@ -23,9 +23,13 @@ jobs: ...
2
2
1
[{"id": "G0", "claim": "The `labels` option in the inline tox configuration needs updating too if the `pyright` test environment is renamed to `typing`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A changelog note should be added for this PR's ch...
null
agronholm__exceptiongroup__155
agronholm/exceptiongroup
155
defect
2cba84352c3f01e8af2f37bf102d0dd515e15dc0
43226e1fd5654cd6006bc5c7949ca48c1c00b549
Fix ExceptionGroup repr changing when original exception sequence is mutated
Fixes #154 Mirrors the CPython fix (python/cpython#141736) for the backport: `ExceptionGroup.__repr__` no longer reflects mutations to the original exception sequence passed to the constructor. Changes: - Use lazy `repr(list(self._exceptions))` in `__repr__` instead of pre-computing at construction time (avoids O(N²)...
diff --git a/src/exceptiongroup/_exceptions.py b/src/exceptiongroup/_exceptions.py index f42c1ad..bd94e84 100644 --- a/src/exceptiongroup/_exceptions.py +++ b/src/exceptiongroup/_exceptions.py @@ -102,6 +102,7 @@ def __new__( instance = super().__new__(cls, __message, __exceptions) instance._excepti...
5
4
2
[{"id": "G0", "claim": "The version-conditional branches in test_exceptions_mutate_original_sequence are redundant and should be collapsed into the single combined check the reviewer suggested.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
agronholm__exceptiongroup__38
agronholm/exceptiongroup
38
defect
bffd8dee914e00df751f2eb82a97e392362cf2db
76af37a1dd2439751a39a760ccd5662b71777352
Fixed traceback exception only showing 2 nested levels of context/cause
Fixes #36.
diff --git a/CHANGES.rst b/CHANGES.rst index a3fad6c..a0a4066 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,6 +3,11 @@ Version history This library adheres to `Semantic Versioning 2.0 <http://semver.org/>`_. +**UNRELEASED** + +- Fixed formatted traceback missing exceptions beyond 2 nesting levels of + ``__cont...
1
1
0
[{"id": "G0", "claim": "The `traceback_exception_original_init` declaration can be removed too, since the PR no longer calls it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
agronholm__exceptiongroup__4
agronholm/exceptiongroup
4
defect
c8876fd47237f76ef76a62fd732d2ba7381a39fa
62db2794d1bd59cd628c9730c70bc9ceb954a67c
PEP 678: new API for add_note()
Just after my last PR - and after we'd asked the Steering Council to consider the PEP - we had some translation-related concerns that ended up prompting a slight redesign. So here's another PR with the new interface! (and I'm sorry for the churn! Thanks for maintaining the backport 💖)
diff --git a/src/exceptiongroup/_exceptions.py b/src/exceptiongroup/_exceptions.py index 0d40a6b..29e4e51 100644 --- a/src/exceptiongroup/_exceptions.py +++ b/src/exceptiongroup/_exceptions.py @@ -70,7 +70,22 @@ def __init__(self, __message: str, __exceptions: Sequence[EBase], *args: Any): super().__init__(__m...
2
1
0
[{"id": "G0", "claim": "Add a changelog entry for the PEP 678 changes to CHANGES.rst before merging.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A module-level add_note() helper should be shipped in the backport so that users wanting PEP 678 no...
null
agronholm__exceptiongroup__69
agronholm/exceptiongroup
69
defect
84b41345df273dac2ed3db0784d23af32482e319
c42e2924051a2f234be75a942ca7607ff350b10d
catch now raises typeerror on async handler
@Zac-HD Fixes #66 I'm not entirely sure about the error message - which ones of `exc`, `excgroup`, `matched` and/or `exc_types` should be printed, and should we print the `str`, `repr`, or `__name__`. Currently it looks like: ``` E TypeError: Error trying to handle ExceptionGroup('', [TypeError('second arg...
diff --git a/CHANGES.rst b/CHANGES.rst index 040c6f9..6780ff9 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,6 +3,9 @@ Version history This library adheres to `Semantic Versioning 2.0 <http://semver.org/>`_. +**1.1.3** +- `catch` now raises a `TypeError` if passed an async exception handler instead of just givin...
5
5
2
[{"id": "G0", "claim": "The new test should pass `match=` to `pytest.raises` so it verifies the raised error is the expected one.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The TypeError raised on an async handler should be chained to the original e...
null
agronholm__exceptiongroup__8
agronholm/exceptiongroup
8
defect
0a42081b4f701d8bcff3ca8e78f2298641f4dce2
971fd6cba5a33d852dca1702dab4450c27852255
Patch format-exception-only too
Fixes #7, ensuring that e.g. Pytest's traceback formatting (which uses `format_exception_only()`) will also show notes.
diff --git a/CHANGES.rst b/CHANGES.rst index 2a8a4fe..ef8aa63 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,6 +3,10 @@ Version history This library adheres to `Semantic Versioning 2.0 <http://semver.org/>`_. +**1.0.0rc5** + +- Patch for ``traceback.TracebackException.format_exception_only()`` (PR by Zac Hatfiel...
3
2
0
[{"id": "G0", "claim": "The 3.11 tests should already pass, since the package runs on 3.11a7 now.", "category": "testing", "verdict": "opposed", "priority": "P3", "scope": "unclear"}, {"id": "G1", "claim": "A blank line should separate the if/else control block from the return statement in _format_final_exc_line.", "ca...
null
agronholm__exceptiongroup__88
agronholm/exceptiongroup
88
defect
362f35a6f7824b171d9f83a60001b406b0152961
9f3645ca62e82957fe978d9444ccbd17e8361420
monkeypatch apport excepthook
This mostly just copies over code from trio, that had logic for making sure `MultiError`s got printed despite `apport` messing with `sys.__excepthook__`. I'm planning to clean up the test code a bit more, and could move it into `test_formatting` if you want. I added the `-s` to pytest in CI to help debugging, but I'll...
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 075899f..a13e445 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: - name: Install dependencies run: pip install -e .[test] coverage - name: Test with pytest - run: coverage ru...
5
4
0
[{"id": "G0", "claim": "The CI workflow should not add `-s` to the coverage-run pytest invocation, since it could be used locally when needed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PYTHONPATH-building if/else in run_script should be...
null
agronholm__typeguard__105
agronholm/typeguard
105
defect
7507ca9601280b294a2678c62d8feb06d783ea78
b165d9f937d937c58d60a9e8776b55a3e25ab507
Add support for Mock and MagicMock types.
These are analogous to Any, except for values instead of arguments. Any accepts any value. MagicMock can pretend to be any type.
diff --git a/tests/test_typeguard.py b/tests/test_typeguard.py index b032ebf5..e7fcb782 100644 --- a/tests/test_typeguard.py +++ b/tests/test_typeguard.py @@ -4,6 +4,7 @@ from concurrent.futures import ThreadPoolExecutor from functools import wraps, partial, lru_cache from io import StringIO, BytesIO +from unittest....
1
1
0
[{"id": "G0", "claim": "For the sake of completeness, the tests should use plain Mock as well as MagicMock.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
agronholm__typeguard__106
agronholm/typeguard
106
defect
7507ca9601280b294a2678c62d8feb06d783ea78
5b54c49238c79cb10e1fe13b6a3e46837e4476e4
Suppress tracebacks.
Suppress extra lines in tracebacks as per the comment: # suppress unnecessarily long tracebacks
diff --git a/tests/test_typeguard.py b/tests/test_typeguard.py index b032ebf5..99b8dd8f 100644 --- a/tests/test_typeguard.py +++ b/tests/test_typeguard.py @@ -4,6 +4,7 @@ from concurrent.futures import ThreadPoolExecutor from functools import wraps, partial, lru_cache from io import StringIO, BytesIO +import traceba...
3
3
1
[{"id": "G0", "claim": "Separate the logical blocks of the new TestTracebacks test with an empty line.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The re-raised TypeErrors should use `*exc.args` as the argument; wrapping the previous exceptio...
null
agronholm__typeguard__114
agronholm/typeguard
114
defect
87a5f2264a0537772d87ac321c7f0dc2dbad5310
7684068b57c628165df164ee199753440e5a5c11
Support backport Literal from typing_extensions
Allows the type checker to support `Literal` types in python `3.5` through `3.7` if `typing_extensions` is installed. For example: I'm writing a program targeted to python 3.8 but must maintain support for 3.7. The official [typing_extensions](https://github.com/python/typing/tree/master/typing_extensions) package b...
diff --git a/tests/test_typeguard_py36.py b/tests/test_typeguard_py36.py index 7dc4d698..2200c68b 100644 --- a/tests/test_typeguard_py36.py +++ b/tests/test_typeguard_py36.py @@ -4,6 +4,7 @@ import pytest from typeguard import TypeChecker, typechecked +from typing_extensions import Literal class TestTypeChecke...
4
2
1
[{"id": "G0", "claim": "Asks what the 'BP' prefix in the newly imported alias BPLiteral stands for, implying the cryptic name should be made more explicit.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new typing_extensions fallback catches o...
null
agronholm__typeguard__180
agronholm/typeguard
180
defect
56e44c3558e51d564db1b34e8ff606cfb0eeb3f5
dd16e852cb8e0ecc49a114df9a3a1d8e4a66aa9c
Add decorator to disable run time type checking
Closes #179
diff --git a/docs/api.rst b/docs/api.rst index b6c24686..65af0d0e 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -14,6 +14,8 @@ API reference .. autodecorator:: typechecked +.. autodecorator:: typeguard_ignore + .. autoclass:: TypeChecker .. autoexception:: TypeHintWarning diff --git a/docs/userguide.rst b/do...
2
1
0
[{"id": "G0", "claim": "The pull request should also add a changelog entry for the new @typeguard_ignore decorator.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The decorator is not versatile enough to disable type checking for an individual cal...
null
agronholm__typeguard__243
agronholm/typeguard
243
defect
2adc2e99c8af9a3bab443ed3f201eb768a94a2ec
fe1472eb552dd5e7050260ed47ad2682c11db59d
Import is_typeddict from typing_extensions if possible
Fixes #242.
diff --git a/pyproject.toml b/pyproject.toml index f1e84b4d..fdc3a4ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ Documentation = "https://typeguard.readthedocs.io/en/latest/" test = [ "pytest", 'mypy; python_implementation != "PyPy"', + "typing_extensions; python_version >= '3.10'"...
2
1
1
[{"id": "G0", "claim": "If this fixes a problem, the pull request needs to add a test that would fail without the fix.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asked whether it would actually hurt to run the new test on older Pythons,...
null
agronholm__typeguard__251
agronholm/typeguard
251
defect
a298d6cde249fe7ad46b90b94aa3bdd246e60417
16dd3c46890e3bad5492ef0acab22cbc71f023cb
Handles type checks for Type[Protocol]
I noticed that typeguard wasn't able to correctly type check passed in classes when the type hint was a Type[Protocol]. You would receive an error like: `TypeError: Protocols with non-method members don't support issubclass()`. Using isinstance() in these situations would be able to correctly type check the passed in c...
diff --git a/src/typeguard/_checkers.py b/src/typeguard/_checkers.py index 3bed1295..cf13d44a 100644 --- a/src/typeguard/_checkers.py +++ b/src/typeguard/_checkers.py @@ -376,7 +376,9 @@ def check_class( return expected_class = args[0] - if isinstance(expected_class, TypeVar): + if getattr(expecte...
2
1
0
[{"id": "G0", "claim": "The warning message added in check_protocol should use f-strings instead of str.format, since the project requires Python 3.7.4 at minimum.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR seems to be dropping type c...
null
agronholm__typeguard__278
agronholm/typeguard
278
defect
585bdc02fdeca40e4d241a372b1503a7e2be1b62
73fb3078fda94e7c4be8ec2a4f5c06e847f347e2
Fixed an exception when a dict has mixed bytes and str keys
The following code demonstrates the problem that is fixed by this PR: ```python from typing import TypedDict from typeguard import typechecked class TestDict(TypedDict): a: str @typechecked def test() -> TestDict: return { 'str': 'test', b'bytes': 'test' } test() ``` ...
diff --git a/src/typeguard/_checkers.py b/src/typeguard/_checkers.py index a60ecbe2..c5b211f8 100644 --- a/src/typeguard/_checkers.py +++ b/src/typeguard/_checkers.py @@ -197,6 +197,13 @@ def check_mapping( raise +def _sorted_dict(value): + try: + return sorted(value) + except Type...
5
4
3
[{"id": "G0", "claim": "The pull request fixes the mixed bytes/str-keys exception without any regression test, so one should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test suite fails for Python 3.7 because the new test imports TypedD...
null
agronholm__typeguard__408
agronholm/typeguard
408
defect
bab0b3f97119b715c9b54ba865ad9fdd9e014cba
4802b3ad9c4573d6aee14dfacfb6a294770085ea
Avoid creating ref cycles
By storing previously raised exceptions inside a local, this code created ref cycles that kept all locals in all calling stack frames alive. This is because exceptions hold references to their tracebacks, which hold references to the relevant frames, which holds a reference to the local errors dict that holds refere...
diff --git a/docs/versionhistory.rst b/docs/versionhistory.rst index 868b4462..2bdfb73d 100644 --- a/docs/versionhistory.rst +++ b/docs/versionhistory.rst @@ -4,6 +4,11 @@ Version history This library adheres to `Semantic Versioning 2.0 <https://semver.org/#semantic-versioning-200>`_. +**Unreleased** + +- Avoid cre...
4
4
2
[{"id": "G0", "claim": "check_union should delete the errors dict before returning on the early-return success path, instead of only cleaning it up around the raise of the aggregate error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A test should...
null
agronholm__typeguard__433
agronholm/typeguard
433
defect
7c2460e3239975ee6a4cf0b98489540c4fa9f11d
11989380d5f4dc1b11bd3530ec206cf57c4545cc
Fixed generic aliases not passing checks against `type`
fixes #432 `is_class(dict[str,str], type)` returns `False` after python 3.11. Use `isinstance(dict[str, str], types.GenericAlias)` to check in this situation.
diff --git a/src/typeguard/_checkers.py b/src/typeguard/_checkers.py index f5dcc7b2..fff2f5a6 100644 --- a/src/typeguard/_checkers.py +++ b/src/typeguard/_checkers.py @@ -437,7 +437,9 @@ def check_class( args: tuple[Any, ...], memo: TypeCheckMemo, ) -> None: - if not isclass(value): + if not isclass(va...
1
1
1
[{"id": "G0", "claim": "The PR's fix covers only `types.GenericAlias` on Python 3.11+, so typing generic aliases such as `Dict` and `Dict[str, str]` still fail checks against `type`/`Type`; the reviewer suggests testing `check_type(Dict[str, str], Type[Any])` and the author thinks all of these types should be checked a...
null
agronholm__typeguard__490
agronholm/typeguard
490
defect
c72b6752b7069d695898ea29abb2a31983c1bf80
a64f3e260a66d7ffb9910ae8823e3256e98fbf03
Use get_protocol_members in protocol checking
<!-- Thank you for your contribution! --> ## Changes This changes `check_protocol()` to make use of `get_protocol_members` from typing-extensions. This allows removing an existing hard-coded exclusion list for attributes existing on Protocol, but also handles the cases `__orig_bases__` and `__weakref__` that was br...
diff --git a/docs/versionhistory.rst b/docs/versionhistory.rst index afedbaa1..64e33d87 100644 --- a/docs/versionhistory.rst +++ b/docs/versionhistory.rst @@ -4,6 +4,11 @@ Version history This library adheres to `Semantic Versioning 2.0 <https://semver.org/#semantic-versioning-200>`_. +**UNRELEASED** + +- Fixed bas...
5
5
1
[{"id": "G0", "claim": "The proper fix should involve typing_extensions.get_protocol_members() instead of iterating dir(origin_type) with an ignore list.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new parametrize decorator should use the flat str...
null
aheckmann__gm__138
aheckmann/gm
138
defect
429841664f362dedb45eca52830d1d3385128d64
8bbce432029b8308a225668ad311b07b2ef12202
[WIP] Fix tests
Tests are absolutely not working for me, so I'm trying to fix them. Let me know if you have any issues/suggestions/etc. - [x] Morph - Seems to assume temporary files are made, which is not the case I've seen. Simplified so that the morph test passes. - [x] getterIdentify - photo.JPG tests have incorrect attributes test...
diff --git a/lib/convenience/morph.js b/lib/convenience/morph.js index 4f305c78..93bc708c 100644 --- a/lib/convenience/morph.js +++ b/lib/convenience/morph.js @@ -1,10 +1,3 @@ - -/** - * Module dependencies. - */ - -var fs = require('fs'); - /** * Extend proto. */ @@ -25,35 +18,10 @@ module.exports = function (pro...
2
2
0
[{"id": "G0", "claim": "Since the asserted image statistics values differ across platforms, the test should allow some variance instead of asserting one specific value.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The code unconditionally deletes th...
null
aheckmann__gm__238
aheckmann/gm
238
defect
3af88a772a171eea82b3a09c28dd050f0470522a
66b93161ceab19d3824448282195e61b2e17557b
support compare for ImageMagick, #230
Couple of notes: Response from ImageMagick compare is a bit different: - 0 is 2 images are the same - 1 is 2 images are dissimilar - 2 is actual error Therefore, I put some conditions around differences between GM & IM. Happy to revise if there're issues.
diff --git a/.gitignore b/.gitignore index ed3974ac..0d04d004 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ examples/imgs/* !examples/imgs/orientation/*\d.jpg !examples/imgs/orientation/*.correct.jpg *.sw* +.idea \ No newline at end of file diff --git a/index.js b/index.js index 16662c9c..167d86e6 10064...
4
2
1
[{"id": "G0", "claim": "The pull request's tests fail on the CI build (the failure log even names test/compareImagagick.js, which is not the correct filename), so the tests must be fixed before the code will be reviewed.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "unclear"}, {"id": "G1"...
null
ahmetb__go-linq__122
ahmetb/go-linq
122
defect
9b75bfdcd4c49fdfd69601f69c8faec3c8ceff0f
d53fd335a95e6c473711423a18924ae5df1a78a6
Migrate to github actions
- adds github action CI - adds dependabot to bump go version on CI - removes travis CI
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..91a5d20 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,63 @@ +name: ci.yml + +on: + pull_request: + push: + branches: + - main + - master + +permissions: + contents: read + +env: + GO111MODULE:...
1
1
0
[{"id": "G0", "claim": "The CI workflow probably doesn't need a go-version matrix; it could just test on go1.25 with dependabot set up to bump the version.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ahmetb__go-linq__46
ahmetb/go-linq
46
defect
ba42ddae458c0def2bc25a414ff03a6cc449752d
8b1166494e26378c6c955b494a000b243e63e684
AppendToSlice - Issue #43
Closes #43
diff --git a/result.go b/result.go index ef42dc4..3c2650e 100644 --- a/result.go +++ b/result.go @@ -381,17 +381,42 @@ func (q Query) ToMapBy( res.Elem().Set(m) } -// ToSlice iterates over a collection and populates the result slice with elements. +// ToSlice iterates over a collection, copy to result slice the co...
9
4
3
[{"id": "G0", "claim": "ToSlice should not replace the caller's underlying slice (replacing slices can produce unexpected behaviour, and the method's signature implies appending to an existing slice).", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Rename...
null
ahmetb__go-linq__57
ahmetb/go-linq
57
defect
09a5b98a94d9d61408936d13d9b007a49bc42a26
95469b003a20b6995966b416f1ab9798de73b20d
ForEach functions
ForEach pack of functions. These might be really helpful.
diff --git a/result.go b/result.go index 844d2b0..34e47ab 100644 --- a/result.go +++ b/result.go @@ -225,6 +225,77 @@ func (q Query) FirstWithT(predicateFn interface{}) interface{} { return q.FirstWith(predicateFunc) } +// ForEach performs the specified action on each element of a collection. +func (q Query) ForEa...
2
1
0
[{"id": "G0", "claim": "ForEach's action signature should be changed to return an error so that the loop breaks and ForEach returns when the action returns one.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The TestForEach closure should compute i*2 inste...
null
ahmetb__go-linq__90
ahmetb/go-linq
90
defect
80a9834c2df7169a4d12db9ae43fa1bbfad3b643
2d0068e565f4ed67dcb99526351f153075dd7681
Typed channels support
- introduced a new method `FromTypedChannel()` - `From()` calls `FromChannel()` if channel is of type `chan interface{}` and `FromTypedChannel` for all other channels - benchmark for `FromTypedChannel()` and `FromChannel()` performance comparison
diff --git a/benchmark_test.go b/benchmark_test.go index 55eb296..f386a23 100644 --- a/benchmark_test.go +++ b/benchmark_test.go @@ -61,3 +61,33 @@ func BenchmarkZipSkipTake_generics(b *testing.B) { }).Skip(2).Take(5) } } + +func BenchmarkFromChannel(b *testing.B) { + for n := 0; n < b.N; n++ { + ch := make(chan...
1
1
0
[{"id": "G0", "claim": "FromTypedChannel should be renamed to FromChannelT to follow the library's -T() naming convention for reflection-based typed methods, and its godoc should explain how it differs from FromChannel.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ahmetb__go-linq__94
ahmetb/go-linq
94
defect
7a0b206d473ffb4a18013f6ac4f1d3c31f8c1757
befff4109587b7743d8c6c3671d21f72e42a4427
Adds ToChannelT function
- introduced a new method `ToChannelT` to improve the typed channels' support.
diff --git a/example_test.go b/example_test.go index a46af5b..97335e6 100644 --- a/example_test.go +++ b/example_test.go @@ -1284,6 +1284,24 @@ func ExampleQuery_ToChannel() { // 10 } +// The following code example demonstrates how to use ToChannelT +// to send a slice to a typed channel. +func ExampleQuery_ToChan...
1
1
0
[{"id": "G0", "claim": "The TestToChannelT goroutine can be simplified from an anonymous closure to a direct `go From(input).ToChannelT(c)` call.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ahmetb__kubectl-tree__102
ahmetb/kubectl-tree
102
defect
ac0d67ad2561d79ad5ae6289bd106cbcebe28b84
0fd3f63855d52edbfe4606a893534a2014bfc57a
feat: add --condition-types flag for custom condition types
Close #48 Adds support for checking custom condition types (e.g., Processed, Scheduled) beyond the default 'Ready' condition. The flag accepts comma-separated values and checks them in priority order. - Add --condition-types flag - Update extractStatus() to support multiple condition types - Add unit tests ...
diff --git a/cmd/kubectl-tree/rootcmd.go b/cmd/kubectl-tree/rootcmd.go index 4a29586..4880e0c 100644 --- a/cmd/kubectl-tree/rootcmd.go +++ b/cmd/kubectl-tree/rootcmd.go @@ -35,11 +35,15 @@ import ( ) const ( - allNamespacesFlag = "all-namespaces" - colorFlag = "color" + allNamespacesFlag = "all-namespaces"...
1
1
0
[{"id": "G0", "claim": "Use pflag's built-in StringSlice support for the --condition-types flag instead of a plain String flag with manual comma-splitting and trimming.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ahmetb__kubectl-tree__115
ahmetb/kubectl-tree
115
defect
44b784104c46a1ebd3c9a2f990106c2790de7708
a887a56f9c014efcf478980c8aae9fde08a92240
feat: filter resources
This is a followup on #113 It extends the functionality in 2 ways, it allows using glob patterns and it also allows filtering the resources. there's an edge case noted in the code, if an intermediate owner is filtered out, it breaks the traversal but I think it's up to the user to know what they are doing, the m...
diff --git a/README.md b/README.md index 3bdeca2..19c930e 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,17 @@ Example (Agones Fleet): ## Flags -By default, the plugin will only search "namespaced" objects in the same -namespace as the specified object. +By default, the plugin searches only namespaced object...
5
4
0
[{"id": "G0", "claim": "The pull request should use a single `--exclude-custom-resources[=false]` flag instead of building a sophisticated glob-based include/exclude expression mechanism in this tool.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove t...
null
ahmetb__kubectx__219
ahmetb/kubectx
219
defect
01bd237baaf12656308bcd7add7bd20ec7181965
69c1a3b518cc2f713ec0d410a287cef35d72dcb2
Structural refactoring for multiple kubeconfig support
This PR does 2 things with the same goal - to ease the development of multiple kubeconfig support. 1. Change on **Loader** interface `Load() (ReadWriteResetCloser, error)` to `Load(cfgPath string) (ReadWriteResetCloser, error)`. By passing **cfgPath** instead of getting it inside, we'll be able to write `for...
diff --git a/cmd/kubectx/current.go b/cmd/kubectx/current.go index c8f07159..9a070098 100644 --- a/cmd/kubectx/current.go +++ b/cmd/kubectx/current.go @@ -6,7 +6,6 @@ import ( "github.com/pkg/errors" - "github.com/ahmetb/kubectx/internal/cmdutil" "github.com/ahmetb/kubectx/internal/kubeconfig" ) @@ -14,7 +13...
2
1
0
[{"id": "G0", "claim": "HomeDir's hand-rolled environment lookup (XDG_CACHE_HOME/HOME/USERPROFILE) should use the stdlib os.UserCacheDir instead.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Change Loader.Load to return []ReadWriteResetCloser, read [0] a...
null
ahmetb__kubectx__416
ahmetb/kubectx
416
defect
8fb8c9f2f263c13f551b672dd183dd226fd77d1b
fdfa71dc0bb5c9a8e097122f8a609db6f731feed
feat(kubens): added force flag to switch namespaces even if it doesn'…
Hello! Added `--force` && `-f` flags to `kubens` command to switch namespace even if it doesn't exist. issue: https://github.com/ahmetb/kubectx/pull/333 ### usage example ``` $ kubens not-found-namespace --force Context "test" set. Active namespace is "not-found-namespace". --- $ kubens not-found-namespace -...
diff --git a/README.md b/README.md index 87e8f47f..ff2b390d 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,15 @@ Active namespace is "kube-system". $ kubens - Context "test" set. Active namespace is "default". + +# change the active namespace even if it doesn't exist +$ kubens not-found-namespace --force +Conte...
6
6
4
[{"id": "G0", "claim": "The two force-flag usage lines added to the help text have an indentation issue and should be merged into a single `--force/-f` line.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README example writes the single-lette...
null
ai-dynamo__aiconfigurator__100
ai-dynamo/aiconfigurator
100
defect
e9a5452ee3be5e081e90c3f5a194f92289325334
f2ae22a50a15016b69f34120768cfa9f425861f0
fix: fix webapp with sglang and vllm
new backends have different support matrix of models, paralle, quant, etc. Need to get it working generally and allow possible failures. add tests for cli with new backends.
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index eeecace0f0..846653f71b 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -30,9 +30,11 @@ jobs: docker run --name aic aiconfigurator:test \ pytest \ tests/cli/...
2
1
0
[{"id": "G0", "claim": "In update_quant_mode_choices the non-wideep sglang branch and the fallback else branch assign the same four quant-mode choice lists, and the reviewer asks to use `backend_name == \"sglang\" and enable_wideep` as the condition to reduce the repetition.", "category": "maintainability", "verdict": ...
null
ai-dynamo__aiconfigurator__1079
ai-dynamo/aiconfigurator
1,079
defect
e0735ccca08c790b37c511a20f484a62a4127118
b53fca917fa267278978319da42880f23f769b83
fix: handle AIConfigurator 0.9.0 RC0 generator/validator NVBugs
#### Overview: - Fix Dynamo 1.2.0 backend version resolution for SGLang by updating the generator matrix and adding an explicit SGLang 0.5.11 CLI template contract. (6175617) - Align cli generate with cli default so --generated-config-version, --generator-dynamo-version, and generator overrides drive template selec...
diff --git a/src/aiconfigurator/cli/main.py b/src/aiconfigurator/cli/main.py index 78b14d4a66..9ec5c6453c 100644 --- a/src/aiconfigurator/cli/main.py +++ b/src/aiconfigurator/cli/main.py @@ -19,6 +19,7 @@ add_generator_override_arguments, generate_naive_config, generator_cli_helper, + load_generator_o...
3
3
3
[{"id": "G0", "claim": "Forwarding arbitrary generator_overrides can produce non-agg params while the summary path still hard-reads generator_params['params']['agg']['max_batch_size'], which can crash with KeyError; handle non-agg params.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "...
null
ai-dynamo__aiconfigurator__297
ai-dynamo/aiconfigurator
297
defect
11626e4326bb056033e3066d8c3615e89f5d17d7
5410a0235263d6ae5add710987b91421e877a7f4
feat: Add performance data collectors for Mamba2
#### Overview: 1. Add data collector for mamba prefill 2. Add data collector for mamba decode 3. To use the collector, simply use `python collect.py --backend trtllm --ops mamba2`
diff --git a/collector/collect.py b/collector/collect.py index fd505bee21..eb96f77ad8 100644 --- a/collector/collect.py +++ b/collector/collect.py @@ -667,6 +667,14 @@ def collect_trtllm(num_processes: int, ops: list[str] | None = None): if v.startswith(("1.1.0", "1.2.0")) else None, ...
1
1
1
[{"id": "G0", "claim": "The PR should include sample collector output data (mamba2_perf.txt) alongside the collector code.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ai-dynamo__aiconfigurator__321
ai-dynamo/aiconfigurator
321
defect
a9422fae7e56df02258f69a1b0e2fb07d0358482
ecb806d1fcf51a041309922e866e6ea1c1c5e37a
feat: customized system path
#### Overview: add --customized-paths to cli and webapp, allows reading additional paths --system-paths default,/additional_path, or --system-paths /new_path
diff --git a/README.md b/README.md index 3b84b27c41..511acaaef5 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ aiconfigurator cli support --model_path QWEN3_32B --system h200_sxm - Use `exp`, pass in exp.yaml by `--yaml_path` to customize your experiments and even a heterogenous one. - Use `--save_dir DIR`...
3
3
1
[{"id": "G0", "claim": "In the multi-root search, when a system yaml is found but the database fails to load or its data path does not exist, the code should continue the search loop over the remaining roots instead of returning None and exiting.", "category": "correctness", "verdict": "supported", "priority": "P1", "s...
null
ai-dynamo__aiconfigurator__473
ai-dynamo/aiconfigurator
473
defect
00ce740c2ddb0a9bf1fcce9e6d6a1689c22d754c
ef3859a6c1690f1074ed6e738f478428c3120a81
feat: Better handling of missing perf data files
#### Overview: Previously, when the perf database is loaded for a certain system+backend, it would print warnings for every missing perf file, even if the file wasn't needed to run the specified model. With this PR, the warning logs are changed to debug logs, and an informative error is given only if a missing perf fi...
diff --git a/src/aiconfigurator/sdk/perf_database.py b/src/aiconfigurator/sdk/perf_database.py index 7813f95fb8..bc3c3b941d 100755 --- a/src/aiconfigurator/sdk/perf_database.py +++ b/src/aiconfigurator/sdk/perf_database.py @@ -9,15 +9,16 @@ import logging import math import os -from collections import defaultdict +f...
5
3
2
[{"id": "G0", "claim": "The MoE branch of _load_op_data returns a generator expression where the function's declared return type is tuple[LoadedOpData, ...], and should return a concrete tuple.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "After th...
null
ai-dynamo__aiconfigurator__566
ai-dynamo/aiconfigurator
566
defect
e516c532cc129926628afa8ff0762defacb664b6
91d815d494d51852a8e6b6ba0ebae8e1271747a6
fix: unify trtllm alltoall moe dispatch sm100
#### Overview: Unify the TRT-LLM AlltoAll communication path to cover both WideEP (NVLinkTwoSided) and CutlassFusedMoE/TRTLLMGen (NVLinkOneSided) backends, and refactor MoEDispatch SM100 routing to align with TRT-LLM's actual per-backend `select_alltoall_method_type` logic. #### Details: **AlltoAll path unification:...
diff --git a/collector/slurm_comm_collector/README.md b/collector/slurm_comm_collector/README.md index 78ebba2470..c9183d7784 100755 --- a/collector/slurm_comm_collector/README.md +++ b/collector/slurm_comm_collector/README.md @@ -72,5 +72,5 @@ bash submit_mnnvl.sh squeue -u $USER # Results will be saved to -cat re...
10
6
3
[{"id": "G0", "claim": "Treat fp8_block like fp8 in the SM100 DP fallback volume calculation, because the fallback branch still routes fp8_block through the full-BF16 volume path and inflates the all_gather/reduce_scatter estimate when alltoall is disabled.", "category": "correctness", "verdict": "supported", "priority...
null
ai-dynamo__aiconfigurator__588
ai-dynamo/aiconfigurator
588
defect
bd67339cd725afa23cc18cd3093f02da60848c5b
f89b5db65d3beb562517cad56ff990a0c43559ca
perf: cut Blackwell GEMM collection time via weight caching and adaptive L2 bypass
perf: cut Blackwell GEMM collection time via weight caching and adaptive L2 bypass Major: - Adaptive outside_loop_count: replace fixed 5 weight copies with max(1, min(5, ceil(50MB / weight_bytes))), avoiding redundant allocations for shapes that already exceed GPU L2 cache - Per-worker weight cache: single-e...
diff --git a/collector/collect.py b/collector/collect.py index 4d1b7c5325..8d5448bd04 100644 --- a/collector/collect.py +++ b/collector/collect.py @@ -412,6 +412,7 @@ def parallel_run(tasks, func, num_processes, module_name="unknown", resume_optio error_queue = mp.Queue() result_queue = mp.Queue() proces...
6
6
5
[{"id": "G0", "claim": "The new stall break gated on `queue.empty()` never fires when a worker dies after `queue.get()` leaves a stale `remaining` count and a non-empty queue, so the monitoring loop can hang indefinitely instead of surfacing the fatal loss of tasks.", "category": "correctness", "verdict": "supported", ...
null
ai-dynamo__aiconfigurator__662
ai-dynamo/aiconfigurator
662
defect
588f5220476f8dd320c66f9da80c1e4413fa6fad
2472a7d1d6dab8065857f657452cee669c75e328
feat: dsv32 and glm5 support
#### Overview: Add DeepSeek-V3.2 (`DeepseekV32ForCausalLM`) and GLM-5 (`GlmMoeDsaForCausalLM`) as a new `DEEPSEEKV32` model family, independent from the existing `DEEPSEEK` (V3/V3.1) family. Both models use DSA (DeepSeek Sparse Attention) + MoE architecture and support TRT-LLM, SGLang, and vLLM backends with wideep/...
diff --git a/collector/collect.py b/collector/collect.py index a0d423c939..8deece0fd2 100644 --- a/collector/collect.py +++ b/collector/collect.py @@ -1011,7 +1011,7 @@ def main(): # Setup logging - debug flag is handled inside setup_logging if logger is None: - logger = setup_logging(scope=args.ops ...
6
1
1
[{"id": "G0", "claim": "The absolute import `from collector.helper import ...` requires the repo root on sys.path, so the documented direct invocation (python collect_mla_module.py) fails with an ImportError before argument parsing; add a bootstrap to prepend the repo root to sys.path, or switch the documented usage to...
null
ai-dynamo__aiconfigurator__942
ai-dynamo/aiconfigurator
942
defect
90714f30edd72b3d0c3148bd291a2bc00b67a7ab
b384c0fb2413fd224980ad160007f473d707a8ac
feat: deepseekv4 mhc collect and query
## Overview Add DeepSeek-V4 **mHC (Manifold- Constrained Hyper-Connections)** pre/post kernel performance collection and query to aiconfigurator's sglang backend. Follows the *1 OpEntry = 1 file* convention. Also renames the `deepseek_v4_mhc_module` namespace to the generic `mhc_module` to decouple the kernel f...
diff --git a/collector/common_test_cases.py b/collector/common_test_cases.py index 71d50e79c0..cc1eeb49f6 100644 --- a/collector/common_test_cases.py +++ b/collector/common_test_cases.py @@ -84,6 +84,17 @@ def is_wideep_moe_model(model_name: str) -> bool: "zai-org/GLM-5", ] +# MHC (DeepSeek-V4 Hash-Compressed a...
6
5
2
[{"id": "G0", "claim": "The two `from helper import ...` lines in collector/sglang/collect_mhc_module.py are not sorted (Ruff I001), which is failing the CI lint job and should be reordered.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tok...
null
ai-dynamo__aiconfigurator__988
ai-dynamo/aiconfigurator
988
defect
a16b7fe4a5fb13768ed26641dc8e848ca688ec5c
6bef1940f75a059bc4922a3f259b7c2e5e7971c9
fix: preserve experiment prefix
`prefix` in the experiment YAML was not being forwarded anywhere and got lost, even when it was documented ``` exp_agg: &exp_agg mode: "patch" serving_mode: "agg" model_path: "nvidia/Kimi-K2.5-NVFP4" total_gpus: 8 system_name: "h200_sxm" backend_name: "trtllm" database_mode: "HYBRID" isl: 40...
diff --git a/src/aiconfigurator/cli/main.py b/src/aiconfigurator/cli/main.py index 730ccb5b92..199e75608d 100644 --- a/src/aiconfigurator/cli/main.py +++ b/src/aiconfigurator/cli/main.py @@ -991,7 +991,7 @@ def build_experiment_task_configs( task_kwargs["decode_system_name"] = inferred_decode_system or sys...
2
2
2
[{"id": "G0", "claim": "Because \"prefix\" is not added to _EXPERIMENT_RESERVED_KEYS, a top-level prefix in an experiment YAML without an explicit config block is double-handled - written to task_kwargs and also injected into the synthesized YAML patch config - which is confusing in patch mode and can, in mode: replace...
null
ai-dynamo__aiperf__129
ai-dynamo/aiperf
129
defect
daca4f9afa8847f657c3609ae7ada39f86c1048b
84c33ae49d9edfc2a4554e5ca600ff28a4711022
refactor: extensive new simpler hook system
Simplifies the process of how some of the hook system works. Hopefully a little easier to understand, but this is still a bit of a complex functionality added to simplify the end-users. I have renamed `supports_hooks` to `provides_hooks` as I feel many times it has been confused with both humans and AI thinking tha...
diff --git a/aiperf/common/hooks.py b/aiperf/common/hooks.py index 870c69cbc6..dbe3961ec9 100644 --- a/aiperf/common/hooks.py +++ b/aiperf/common/hooks.py @@ -1,229 +1,112 @@ # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 """ -...
5
1
0
[{"id": "G0", "claim": "The `_srcfile` line should use `__file__` instead of `HooksMixin.get_hooks.__code__.co_filename`, which the bot claims is invalid because `get_hooks` is an instance method.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `ba...
null
ai-dynamo__aiperf__188
ai-dynamo/aiperf
188
defect
151fcabeac3d5a5c50f79c4a5e1f2b985d16c7d3
0ed43d120ecd8c85ebcdab4a519ba04e8309aa39
chore: move zmq outside of common
- Remove comms folder, place `base_comms.py` directly inside `aiperf/common` - Move `aiperf/common/comms/zmq` to just `aiperf/zmq`
diff --git a/aiperf/common/comms/base_comms.py b/aiperf/base_comms.py similarity index 100% rename from aiperf/common/comms/base_comms.py rename to aiperf/base_comms.py diff --git a/aiperf/common/comms/zmq/__init__.py b/aiperf/common/comms/zmq/__init__.py deleted file mode 100644 index b26b35e5a8..0000000000 --- a/aipe...
5
5
4
[{"id": "G0", "claim": "The import in aiperf/zmq/zmq_comms.py should be `from aiperf.common.base_comms import` instead of `from aiperf.base_comms import`, matching the PR description's stated placement of base_comms.py.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id"...
null
ai-dynamo__aiperf__216
ai-dynamo/aiperf
216
defect
f8503352ee88633b85334ad4acbe379b1b1f6efe
9a58931d64f885dccd3f9da7943692768a540a7a
fix: add alternative special token IDs for token cache block generation
NOTE: There has been same fix pushed to GAP (https://github.com/triton-inference-server/perf_analyzer/pull/408) and this PR is to apply the same change in AIPerf but with more robust handling of special tokens. ### Summary When generating cache blocks, `PromptGenerator` sets the first token in the cache block a...
diff --git a/aiperf/common/exceptions.py b/aiperf/common/exceptions.py index 0b473e486f..d0038fddca 100644 --- a/aiperf/common/exceptions.py +++ b/aiperf/common/exceptions.py @@ -116,3 +116,7 @@ class UnsupportedHookError(AIPerfError): class ValidationError(AIPerfError): """Exception raised when something fails...
5
4
3
[{"id": "G0", "claim": "The truthiness checks `if self.bos_token_id:` and `if self.eos_token_id:` will fail when the token ID is 0, which is a valid token ID; they should use `is not None` to properly check for None values.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {...
null
ai-dynamo__aiperf__253
ai-dynamo/aiperf
253
defect
4af268828568c4666fbe6a342d1d15037c63137f
fd8506c571d606d0e89084d6908706e05803c3a6
refactor: secure zmq ipc and tcp defaults, better cli integration
Security measures: - ZMQ TCP defaults to localhost - ZMQ IPC defaults to using a new random generated tempdir Usability: `--zmq-host` will automatically select the tcp backend and set the zmq host `--zmq-ipc-path` will auto select ipc communication at that path If both are provided, error out. If neither are ...
diff --git a/aiperf/common/config/groups.py b/aiperf/common/config/groups.py index a675dd3508..64d84fa6fd 100644 --- a/aiperf/common/config/groups.py +++ b/aiperf/common/config/groups.py @@ -25,3 +25,4 @@ class Groups: UI = Group.create_ordered("UI") WORKERS = Group.create_ordered("Workers") DEVELOPER = ...
3
1
0
[{"id": "G0", "claim": "The same path-validation logic is duplicated across the three IPC address property methods and should be extracted into a private method or done once in the model validator.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
ai-dynamo__aiperf__270
ai-dynamo/aiperf
270
defect
ce3ef90eac56a259a908cf04c9b70a23c02281f8
7794d6c60a1561821bc97de14ce46bb04d7d3d6f
fix: cap the default number of max workers to 32
- changes the formula for record-processors to be 1 for every 4 workers if not specified - changes formula for default workers to min(concurrency, (cpus * 0.75) - 1) cherry-pick + conflict resolution of #266 onto main branch
diff --git a/aiperf/common/config/worker_config.py b/aiperf/common/config/worker_config.py index e3e9832bc0..22ab12410d 100644 --- a/aiperf/common/config/worker_config.py +++ b/aiperf/common/config/worker_config.py @@ -8,6 +8,7 @@ from aiperf.common.config.cli_parameter import CLIParameter, DisableCLI from aiperf.com...
3
3
0
[{"id": "G0", "claim": "The tuple `(10,3,None,3)` is missing a space after the comma between its second and third parameters and should be written `(10, 3, None, 3)`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The tuples `(44,1000,None,32)` ...
null
ai-dynamo__aiperf__314
ai-dynamo/aiperf
314
defect
d056b9ea70240f0a60bf3dc612b24e6f72010d7c
5510f4170ac83f79b86bfa93b2ea4cffb7702b13
feat: refactor credit processor
- Move code in credit_processor_mixin.py code to worker.py. - Refactor conversation message code to handle multi turn conversations. This do NOT yet build multi turn payloads. That will come in a separate PR. - Add delay and session_id to the mooncake_trace model. <!-- This is an auto-generated comment: release n...
diff --git a/aiperf/dataset/composer/synthetic.py b/aiperf/dataset/composer/synthetic.py index b5c8557cbf..ba88db2f27 100644 --- a/aiperf/dataset/composer/synthetic.py +++ b/aiperf/dataset/composer/synthetic.py @@ -74,12 +74,12 @@ def _create_turn(self, is_first: bool) -> Turn: if self.include_audio: ...
12
7
2
[{"id": "G0", "claim": "Consider defining a custom exception class instead of raising NotInitializedError with a long inline message at the uninitialized-inference-client check.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The behaviour when a...
null
ai-dynamo__aiperf__348
ai-dynamo/aiperf
348
defect
db4f6397d11ee2d4cfbb41f70b2327315163dcf0
bd1481e8a63408beed1d3e56bb52f56820bb4dee
fix: Fix issues with macOS and Textual UI Dashboard
Dashboard on MacOS is able to be interacted with keyboard and mouse, without ANSI terminal garbage or freezing. Originally I had planned to swap multiprocessing out with asyncio subprocesses, but after investigation, found the performance of them to be much worse than the multiprocessing due to not being able to use...
diff --git a/README.md b/README.md index f86432c07e..42ec42a3d6 100644 --- a/README.md +++ b/README.md @@ -164,4 +164,4 @@ NVIDIA AIPerf | LLM Metrics - Output sequence length constraints (`--output-tokens-mean`) cannot be guaranteed unless you pass `ignore_eos` and/or `min_tokens` via `--extra-inputs` to an inference...
5
3
1
[{"id": "G0", "claim": "Drop the unused `# noqa: SIM115` directives on the devnull reopens in aiperf/common/bootstrap.py because Ruff reports RUF100 (SIM115 not enabled) and they make the linter fail.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
ai-dynamo__aiperf__416
ai-dynamo/aiperf
416
defect
e901c9755553a9f9358adc89999641d9714fa773
f148933d09448cc7c45e00e586c1493146200a58
fix: convert invalid records to error records for proper tracking
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Enhanced error handling for invalid inference results with improved error classification and detailed diagnostic notes. * **Tests** * Reorganized test infrastructure and fixtures for better tes...
diff --git a/src/aiperf/common/exceptions.py b/src/aiperf/common/exceptions.py index d84161e4a6..4c43351ec0 100644 --- a/src/aiperf/common/exceptions.py +++ b/src/aiperf/common/exceptions.py @@ -119,6 +119,24 @@ class InferenceClientError(AIPerfError): """Exception raised when a inference client encounters an erro...
2
1
0
[{"id": "G0", "claim": "The test helper's `_valid = False` line is misleading because `valid` is a computed property, so it should be removed (or the explicit `create_invalid_record()` helper used instead).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
ai-dynamo__aiperf__450
ai-dynamo/aiperf
450
defect
e5194fa1d209748d694820597f278f104f968120
310f6bb5e5b0dd18ea5e0705cc352679352aa044
feat: Add support for image metrics and vision endpoint
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added comprehensive image and video metrics, including throughput calculations and per-image latency measurements. * Upgraded multimodal feature support from partial to full capability. * **...
diff --git a/docs/genai-perf-feature-comparison.md b/docs/genai-perf-feature-comparison.md index bd6b55f056..9fbe50c315 100644 --- a/docs/genai-perf-feature-comparison.md +++ b/docs/genai-perf-feature-comparison.md @@ -38,8 +38,8 @@ This comparison matrix shows the supported CLI options between GenAI-Perf and AI |----...
3
1
1
[{"id": "G0", "claim": "ImageThroughputMetric._parse_record can divide by a zero request latency (a record whose last response perf_ns equals start_perf_ns can pass base validation), which would raise ZeroDivisionError and kill the metric pipeline; the reviewer asks that non-positive latency be treated as NoMetricValue...
null
ai-dynamo__aiperf__519
ai-dynamo/aiperf
519
defect
7a78f4bddd7b9b8fb03ad93f3c00b17a7a690ce7
f8bb635710607aa579bc9b694559a0277350bd8b
fix: Set default dataset sampling strategy
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Bug Fixes * Improved dataset configuration handling to automatically initialize proper default sampling settings when user preferences are unavailable or incomplete. This enhancement ensures consistent and reliab...
diff --git a/src/aiperf/dataset/dataset_manager.py b/src/aiperf/dataset/dataset_manager.py index abc1a5dd85..69fe0b36d4 100644 --- a/src/aiperf/dataset/dataset_manager.py +++ b/src/aiperf/dataset/dataset_manager.py @@ -8,7 +8,7 @@ from aiperf.common.aiperf_logger import AIPerfLogger from aiperf.common.base_component_...
3
3
1
[{"id": "G0", "claim": "Consider using a local variable instead of mutating self.user_config.input.dataset_sampling_strategy when defaulting it, since mutating the config object passed to the constructor could lead to unexpected behavior if the config is shared or inspected elsewhere.", "category": "maintainability", "...
null