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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NordSecurity__libtelio__961 | NordSecurity/libtelio | 961 | defect | a7575e1d453c17eeb702bb0436e13714bbc44923 | b2d8da79ac16bb70b6682de52131b578340a4de8 | Add new ffi function to unset the global logger | The unsetting of the global logger will wait for all the messages (that have been in the queue) to be logged, when it was called. This should prevent the user provided logging callback to be ever called after the `unset_global_logger` call finished.
### :ballot_box_with_check: Definition of Done checklist
- [x] Commit... | diff --git a/.unreleased/unregister-global-ffi-logger b/.unreleased/unregister-global-ffi-logger
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/nat-lab/tests/uniffi/libtelio_remote.py b/nat-lab/tests/uniffi/libtelio_remote.py
index bd55b331e4..be4404627f 100644
--- a/nat-lab/tests/uniffi/libtelio_remote... | 2 | 1 | 1 | [{"id": "G0", "claim": "There is no test that calls the stopper in the middle of an act of logging, so the stopper path that is actually used (with_default / the global-logger flow) is untested, and the reviewer would like to see such a test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "... | null |
NordSecurity__nordvpn-linux__1311 | NordSecurity/nordvpn-linux | 1,311 | defect | 9858e7d904689412c0dae4c46b26f5e0f018c0bc | a901be02af3025a6ae9c52cf7fcc4bce49cdb6f3 | LVPN-9882: Update rules insertion | A fix for when daemon and OS rules are out of sync | diff --git a/daemon/firewall/firewall.go b/daemon/firewall/firewall.go
index 155aef316..30ecae232 100644
--- a/daemon/firewall/firewall.go
+++ b/daemon/firewall/firewall.go
@@ -49,7 +49,8 @@ func NewFirewall(noop, working Agent, publisher events.Publisher[string], enable
func (fw *Firewall) Add(rules []Rule) error {
... | 6 | 4 | 0 | [{"id": "G0", "claim": "This needs to be improved: the new replace-or-delete logic around existing rules (commented '=> replace or return error', resetting existingRule and deleting stale OS rules) is unclear and should be improved.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "in... | null |
NordSecurity__nordvpn-linux__1347 | NordSecurity/nordvpn-linux | 1,347 | defect | 3d7f73f5987d024c108edccd68a3439437409d5d | 282f0f82ab01dbbd2981f39beff6bf32be3d6ebd | LVPN-9636: Improve http response limit handling | - Apply HTTP response size limit (20MB) to compressed data before decompression
- Fixes issue where large server list responses (~31MB decompressed, ~1MB compressed) were
incorrectly rejected | diff --git a/core/cdn.go b/core/cdn.go
index 5716bc95b..be87eabd9 100644
--- a/core/cdn.go
+++ b/core/cdn.go
@@ -66,38 +66,35 @@ func (api *CDNAPI) request(path, method string) (*CDNAPIResponse, error) {
defer resp.Body.Close()
var body []byte
- var reader io.ReadCloser
- if err == nil {
- switch method {
- cas... | 4 | 3 | 0 | [{"id": "G0", "claim": "Replace the manual byte-by-byte fill with bytes.Repeat to make largeData concise in TestSimpleAPI_SizeLimitAppliedToCompressedResponse.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Shorten the TestCDNAPI_Request_Validat... | null |
NordSecurity__nordvpn-linux__1356 | NordSecurity/nordvpn-linux | 1,356 | defect | ad77386a0aeef9d2f80099d69009bef50070f512 | 351f6610ed309a289eff674ddf55801e7c6314e7 | LVPN-10035: emit analytics upon failed DNS modification when NetworkManager is chosen as the management service | This PR introduces analytics events being emitted upon erroneous situation when NetworkManager is chosen as the management service. | diff --git a/daemon/dns/dns.go b/daemon/dns/dns.go
index a639beb66..d27c95107 100644
--- a/daemon/dns/dns.go
+++ b/daemon/dns/dns.go
@@ -189,8 +189,9 @@ func (d *DNSServiceSetter) setUsingAvailable(iface string, nameservers []string)
d.currentManagementService = systemdResolvedManagementService
if err := d.set(d.sy... | 3 | 1 | 0 | [{"id": "G0", "claim": "The success branch of the systemd-resolved attempt re-assigns d.currentManagementService = systemdResolvedManagementService, duplicating the assignment already made before the d.set call, and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "... | null |
NordSecurity__nordvpn-linux__454 | NordSecurity/nordvpn-linux | 454 | defect | 7939cbbca9a26aec0e82d29a0d540774a3b54864 | 98d1389272d68bf94ab6bb2c3608bd00845e5c92 | Add CLI command for virtual servers | Signed-off-by: Marius Sincovici <marius.sincovici@nordsec.com>
* Add nordvpn set virtuallocation enable|disable command.
* Display the status of virtual servers in nordvpn settings command | diff --git a/cli/cli.go b/cli/cli.go
index 55419843b..153679165 100644
--- a/cli/cli.go
+++ b/cli/cli.go
@@ -301,6 +301,20 @@ func NewApp(version, environment, hash, salt string,
Action: cmd.SetLANDiscovery,
BashComplete: cmd.SetBoolAutocomplete,
},
+ {
+ Name: "virtuallocation",
+ Alia... | 5 | 2 | 0 | [{"id": "G0", "claim": "The settings output prints \"Virtual location\" in lower case while all other settings names capitalize words, and asks for \"Virtual Location\".", "category": "naming", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Requests adding spaces after the True... | null |
NordSecurity__nordvpn-linux__934 | NordSecurity/nordvpn-linux | 934 | defect | 7c7cab4ca6c6767c856c4f552bff9ef926b2f011 | 0d2631cd8166150137a47e34a4b3648c93f52ce7 | LVPN-8136: Change setting labels | Changes:
- `AnalyticsConsent: granted/denied/undefined` changed to `User Consent: enabled/disabled/undefined`
- tests | diff --git a/cli/cli_settings.go b/cli/cli_settings.go
index 7973bfe4b..b855f4fe5 100644
--- a/cli/cli_settings.go
+++ b/cli/cli_settings.go
@@ -39,7 +39,7 @@ func (c *cmd) Settings(ctx *cli.Context) error {
fmt.Printf("Firewall: %+v\n", nstrings.GetBoolLabel(settings.GetFirewall()))
fmt.Printf("Firewall Mark: 0x%x... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `notSet` constant (\"not set\") should be kept in nstrings rather than skipped, even if nothing currently uses it, for full usability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NordSecurity__nordvpn-linux__944 | NordSecurity/nordvpn-linux | 944 | defect | 37c6ab9dbfc817d1e78d775d24dcde0fa5426a77 | a293e55b3d3b1e2bb620e114726e17df691c4bb8 | LVPN-5971: Unify UA header value sent out for app and moose | Changes under this PR:
- unify data being used for the UA (currently it's based on distro name in both cases)
- make the UA RFC9110 complianat
- in case dbus is unavilable, bit of distro name reading fallbacks to use etc/os-realease file
- small changes required to make user_agent testable
Example of a new UA va... | diff --git a/cmd/daemon/main.go b/cmd/daemon/main.go
index cdc021003..56c7d7a8d 100644
--- a/cmd/daemon/main.go
+++ b/cmd/daemon/main.go
@@ -206,8 +206,10 @@ func main() {
log.Fatalln("Error on creating validator:", err)
}
}
-
- userAgent := fmt.Sprintf("NordApp Linux %s %s", Version, distro.KernelName())
+ us... | 1 | 1 | 0 | [{"id": "G2", "claim": "In DebianFileList and RpmFileList the bare `return nil, err` should wrap the error with context (e.g. fmt.Errorf(\"Failed to fetch fileinfo: %w\", err)) so failures are easier to trace once logged.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"... | null |
NordSecurity__nordvpn-linux__951 | NordSecurity/nordvpn-linux | 951 | defect | 1ef6266a6d28f9cf33e5be5517fc325e79c3b0aa | da82e23f5000b3e7f894e15b36c2b55201689db0 | LVPN-8062: Provide rollout group value | Changes under this PR:
- add a method calculating rollout group value
- value is based on machineID, SHA256 hash of it is calculated and then used to provide a value between range of [1, max] (where max must not exceed `DefaultMaxGroup`)
- tests | diff --git a/config/remote/utils.go b/config/remote/utils.go
new file mode 100644
index 000000000..c8cbb804a
--- /dev/null
+++ b/config/remote/utils.go
@@ -0,0 +1,43 @@
+package remote
+
+import (
+ "crypto/sha256"
+ "encoding/binary"
+ "fmt"
+
+ "github.com/google/uuid"
+)
+
+const DefaultMaxGroup = 100
+
+type Group ... | 5 | 4 | 1 | [{"id": "G0", "claim": "The Group struct's value field is unexported, so code outside the package has no way to access the computed group value.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The DefaultMaxGroup constant should get a comment explaining i... | null |
NorthernMan54__homebridge-alexa__799 | NorthernMan54/homebridge-alexa | 799 | defect | 014d6abdaf89093e7a0627d7a930374d69245be1 | 989a12de0116b15f44a4237f472402b1caaf0e5c | Add Smoke/CO/Leak sensors as Contact Sensors for Alexa routine triggers | Alexa doesn't natively support smoke, CO, or leak sensors, making it impossible to trigger routines from these devices. This maps them to `Alexa.ContactSensor` (detected=open, not_detected=closed), enabling routine triggers without any loss of sensor semantics. The feature is opt-in via a new `alexaAlertSensors` config... | diff --git a/package-lock.json b/package-lock.json
index a489967..e5cfc97 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -68,6 +68,7 @@
"integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==",
"dev": true,
"license": "MIT",
+ "p... | 5 | 2 | 2 | [{"id": "G0", "claim": "README documentation for the new Smoke/CO/Leak contact-sensor feature is missing.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The feature ships with no ability to enable or disable it (no config option).", "category": "d... | null |
Nota-NetsPresso__netspresso-trainer__471 | Nota-NetsPresso/netspresso-trainer | 471 | defect | 1bc3bed216b293d63497f78ef613ae0c990448da | 5869c1d3d313d6022940693b333f4a9c7952bc09 | Adding YOLOFastestV2 full model except loss | ## Description
This PR aims to support YOLOFastestV2 model (#376 ).
However, There are some works left to do.
- Implement correspoding loss (for now I choose to use existing retinanetloss).
- Load pretrained weights
- Add docs
We recommend to link at least one existing issue for PR. Before your create a PR, ... | diff --git a/config/model/yolo/yolo-fastest-v2-detection.yaml b/config/model/yolo/yolo-fastest-v2-detection.yaml
new file mode 100644
index 000000000..3e9c29b9b
--- /dev/null
+++ b/config/model/yolo/yolo-fastest-v2-detection.yaml
@@ -0,0 +1,38 @@
+model:
+ task: detection
+ name: yolofastest
+ checkpoint:
+ use_p... | 3 | 3 | 1 | [{"id": "G0", "claim": "The postprocessor parameters (topk_candidates, score_thresh, nms_thresh, class_agnostic) in yolo-fastest-v2-detection.yaml should be moved under a postprocessor section once #470 is merged.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"... | null |
NotePlan__plugins__120 | NotePlan/plugins | 120 | defect | 191e312bf8f7224bafc150449fe104f8b9b7a2f4 | 99c6f96039d33919714ff9f5146a06ef02fc83cc | Plugin expenses | ## my first plugin
### content
* track your expenses on an easy way and create a csv file (note) for further analysis
* i also implemented an aggregate function, to aggregate the expenses of a year by month and cluster
* just read the README, there I have described it in detail
* I hope it works on my iPhone as... | diff --git a/m1well.Expenses/CHANGELOG.md b/m1well.Expenses/CHANGELOG.md
new file mode 100644
index 000000000..4c15f2f1d
--- /dev/null
+++ b/m1well.Expenses/CHANGELOG.md
@@ -0,0 +1,14 @@
+# Expenses Plugin Changelog
+
+
+## [1.0.0] - 2021-11-24 (@m1well)
+
+### Added
+* initial releaase
+* added file `plugin.json`
+* a... | 4 | 3 | 0 | [{"id": "G0", "claim": "The CHANGELOG should not list the individual files added in the initial commit.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The first line of README.md should read '# m1well.Expense Plugin'.", "category": "documentation"... | null |
NotePlan__plugins__141 | NotePlan/plugins | 141 | defect | a3fe37469197a65daeddf9e23544240ef2b7d48a | bef97e199935d384a89a2679c00d2cae0ec4a7a3 | expenses plugin redesign | after a discussion with @dwertheimer I created a whole redesign of my expenses plugin.
some of the changes:
* columorder is configurable
* delimiter is configurable
* 3 more commands for faster usage
* more exception handling
* more tests
* more type checks on some areas
* ... | diff --git a/.gitignore b/.gitignore
index ce70b4324..e6d4a6815 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@ package-lock.json
lcov*
coverage/
.history/*.*
+xtemp/
\ No newline at end of file
diff --git a/helpers/general.js b/helpers/general.js
index bfde5bf2e..80238a1a9 100644
--- a/helpers/general.js... | 2 | 1 | 0 | [{"id": "G0", "claim": "The leftPadWithZeros function should not be moved out of the global helpers/general.js in this pull request (changes to the global helper file should be done as a separate PR).", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The xtem... | null |
NotePlan__plugins__209 | NotePlan/plugins | 209 | defect | 44446f9a562575729ba487421df154acf74083f1 | 997511afb7d6dbd6bd2c80db318bf704af18fb68 | Summaries 0.5.0 for test 2 | fix #207 | diff --git a/helpers/__tests__/paragraphs.test.js b/helpers/__tests__/paragraphs.test.js
new file mode 100644
index 000000000..e797797a4
--- /dev/null
+++ b/helpers/__tests__/paragraphs.test.js
@@ -0,0 +1,27 @@
+/* global describe, expect, test */
+import * as p from '../paragraph'
+
+describe('summaryHelpers', () => {... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test descriptions ('1', '2', ...) should be descriptive and start with 'should' (e.g. 'should find search term in a URL') so failures are readable without opening the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NotePlan__plugins__220 | NotePlan/plugins | 220 | defect | 4924016998de928fd30ff0eb3322033079230ca5 | e5363c0c9504cbd22d6e22c8e6340ecadde35985 | Feature/event automations new config | - removed getOrMakeConfigurationSection from dwertheimer.EventAutomations
- updated include/exclude to work with CSV strings of keys (were arrays before)
- added onUpdateOrInstall function for new config settings
- requires NotePlan 3.4 | diff --git a/dwertheimer.EventAutomations/CHANGELOG.md b/dwertheimer.EventAutomations/CHANGELOG.md
index 48803e771..9de39769b 100644
--- a/dwertheimer.EventAutomations/CHANGELOG.md
+++ b/dwertheimer.EventAutomations/CHANGELOG.md
@@ -2,6 +2,9 @@
## Changelog
+[0.4.3]
+- change config to make includeTasksWithText e... | 1 | 1 | 1 | [{"id": "G0", "claim": "Refactoring DataStore.settings and writing it back in onUpdateOrInstall creates settings.json with the (default) values, so the _configuration migration that runs below will never be executed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NotePlan__plugins__380 | NotePlan/plugins | 380 | defect | de3da9f49ae9f6f5a9d8c048e7fdda3d2d00252c | ed06c51cbbc0fa587f2a617b59cd98b5a44aa45f | Readswise unofficial 0.1.0 | # Features
- Full highlight download
- Highlight updates
- Tags
- Group be content type
- Set download folder
# Todo
* Image support
* Callback url to refresh notes
* Ability to get random note via templates
* Convert metadata to front matter | diff --git a/aaronpoweruser.ReadwiseUnofficial/CHANGELOG.md b/aaronpoweruser.ReadwiseUnofficial/CHANGELOG.md
new file mode 100644
index 000000000..1638220e4
--- /dev/null
+++ b/aaronpoweruser.ReadwiseUnofficial/CHANGELOG.md
@@ -0,0 +1,27 @@
+# aaronpoweruser.ReadwiseUnofficial Changelog
+
+## About aaronpoweruser.Readw... | 5 | 3 | 1 | [{"id": "G0", "claim": "The string 'readwise' in the plugin description and the command description should be capitalised to 'Readwise'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The groupByType setting should not be a free 'string' type whos... | null |
NotePlan__plugins__572 | NotePlan/plugins | 572 | defect | 954536030cf22b7c7c844a595635b1a644580ad8 | 3c77e038eabe09406e5316023a76e6f08c3b3f67 | [0.20.0] NoteHelpers: Add unlinked note finder | Searches through notes and find unlinked references to other note plan notes.
Add a new **/find unlinked notes** command. Finds and creates links to existing notes in the current note.
| diff --git a/aaronpoweruser.UnlinkedNoteFinder/CHANGELOG.md b/aaronpoweruser.UnlinkedNoteFinder/CHANGELOG.md
new file mode 100644
index 000000000..fc806268a
--- /dev/null
+++ b/aaronpoweruser.UnlinkedNoteFinder/CHANGELOG.md
@@ -0,0 +1,35 @@
+# aaronpoweruser.UnlinkedNoteFinder Changelog
+
+## About aaronpoweruser.Unlin... | 2 | 2 | 0 | [{"id": "G0", "claim": "The plugin README should explain how unlinked references are matched and say the command operates on a single note, not 'notes'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hand-rolled elapsed-time logging should use... | null |
NousResearch__hermes-agent__6796 | NousResearch/hermes-agent | 6,796 | defect | 3eade90b399b99e2e76ff7b4bc16e4ccbe2f116c | f28390d3c877b34487d152cb9087e51b58656a52 | feat(nix): shared-state permission model for interactive CLI users | ## Summary
Enables interactive CLI users in the `hermes` group to share full read-write state (sessions, memories, logs, cron) with the gateway service.
Builds on #6317 (which fixed `addToSystemPackages` to export `HERMES_HOME`) and addresses the deeper permission issues that made shared state impossible even after t... | diff --git a/hermes_cli/config.py b/hermes_cli/config.py
index a981b1bbbf14..80dce6c0483b 100644
--- a/hermes_cli/config.py
+++ b/hermes_cli/config.py
@@ -197,14 +197,44 @@ def _ensure_default_soul_md(home: Path) -> None:
def ensure_hermes_home():
- """Ensure ~/.hermes directory structure exists with secure per... | 1 | 1 | 1 | [{"id": "G0", "claim": "The handler applies chmod 0660 only after rollover and not in _open(), so a log file created on initial open by an interactive CLI user with umask 0022 gets 0644 and the gateway then cannot write to it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}... | null |
NovaSky-AI__SkyRL__1031 | NovaSky-AI/SkyRL | 1,031 | defect | e9de3bdba254db8780059f48507987eb93d108c0 | 71250d6f1721b13257de433fc11e7e05bc763c53 | [tx] Make sure multi-node sampler checkpointing works both for local and remote file systems | Fix https://github.com/NovaSky-AI/SkyRL/issues/1025
Since NFS and a local file system cannot be distinguished by APIs alone, rank 0 writes a small probe file and the other ranks read it to determine whether they should write the file to the target location or not.
We also fixed a serialization issue that happens ... | diff --git a/skyrl-tx/tx/utils/models.py b/skyrl-tx/tx/utils/models.py
index 6e840febfe..202cdc858e 100644
--- a/skyrl-tx/tx/utils/models.py
+++ b/skyrl-tx/tx/utils/models.py
@@ -99,8 +99,15 @@ def load_safetensors(
prefix: str = "",
filter_fn: Callable[[tuple], bool] | None = None,
) -> None:
+ checkpoin... | 1 | 1 | 1 | [{"id": "G0", "claim": "Using pathlib.Path for checkpoint_dir makes exists() incorrectly return False for cloud storage paths like s3:// or gs://, so the new check should use AnyPath from cloudpathlib instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NovaSky-AI__SkyRL__1042 | NovaSky-AI/SkyRL | 1,042 | defect | fce42a7f2c031d069561056f0375b1ed296d878d | 32dd61eb578f8c94c1bf331cbbf4fe20feee8ac7 | [tx] Fix seed when num_samples > 0 to produce different samples | This fixes the behavior of seeding if num_samples > 0. Also aligns it with vLLM's behavior, see https://github.com/NovaSky-AI/SkyRL/pull/1015 | diff --git a/skyrl-tx/tests/tinker/test_api.py b/skyrl-tx/tests/tinker/test_api.py
index 80f502d0fa..b55bc71998 100644
--- a/skyrl-tx/tests/tinker/test_api.py
+++ b/skyrl-tx/tests/tinker/test_api.py
@@ -337,6 +337,33 @@ def test_sample_with_stop_strings(service_client):
assert stop_string in stopped_text
+def ... | 2 | 1 | 0 | [{"id": "G0", "claim": "request_data.num_samples is used in the sample loop without range validation, which can leave a request PENDING forever when num_samples <= 0 and exhaust memory/CPU when it is very large; add validation that num_samples is at least 1 and does not exceed a reasonable maximum.", "category": "secur... | null |
NovaSky-AI__SkyRL__1051 | NovaSky-AI/SkyRL | 1,051 | defect | c7f2d9f9cf13ebb4bb19f49e75b1f2f8b3be5857 | 726d920ed7b14fd7a197bc8660c49d037cb2484d | [tx] Wire loss_fn_config through Tinker backend to SkyRL dispatch | ## Summary
- The Tinker SDK supports passing `loss_fn_config` to `forward_backward()`, and the SkyRL worker dispatch already accepts it, but the TX backend bridge layer was not forwarding it
- This wires `loss_fn_config` through the full chain: API model → types → engine batch prep → `PreparedModelPassBatch` → backen... | diff --git a/skyrl-tx/tx/tinker/api.py b/skyrl-tx/tx/tinker/api.py
index 918b600312..a3919210ef 100644
--- a/skyrl-tx/tx/tinker/api.py
+++ b/skyrl-tx/tx/tinker/api.py
@@ -288,9 +288,14 @@ def to_types(self) -> types.Datum:
class ForwardBackwardInput(BaseModel):
data: list[Datum]
loss_fn: Literal["cross_entro... | 2 | 1 | 1 | [{"id": "G0", "claim": "The batch-level loss_fn_config takes the first request's config and applies it to all requests in the batch (cross-request contamination) while silently ignoring conflicting configs, so configs should instead be collected per request as a list (all_loss_fn_configs) mirroring all_loss_fn_types.",... | null |
NovaSky-AI__SkyRL__1079 | NovaSky-AI/SkyRL | 1,079 | defect | 9172197644228d23206ab91325834d29fb66f339 | 543cdc10555a8d0db0aadaf3969023117d8c7cdc | [tx] Stack weights — Qwen3 | stacks on https://github.com/NovaSky-AI/SkyRL/pull/1078
## Summary
- Add `StackedDecoderLayers` infrastructure that stores transformer layer weights in `(num_layers, ...)` format for efficient
`jax.lax.scan`-based forward passes (`tx/layers/stacked.py`)
- Adapt checkpoint I/O and LoRA operations to work ... | diff --git a/skyrl-tx/tests/models/lora_test_utils.py b/skyrl-tx/tests/models/lora_test_utils.py
new file mode 100644
index 0000000000..b83d583d69
--- /dev/null
+++ b/skyrl-tx/tests/models/lora_test_utils.py
@@ -0,0 +1,81 @@
+"""Shared test utilities for LoRA training tests."""
+
+import jax
+import jax.numpy as jnp
+
... | 5 | 1 | 1 | [{"id": "G0", "claim": "The newly added `if key not in tensors: continue` guard in load_safetensors runs before the expert-specific key handling, so MoE expert weights (whose checkpoint keys are per-expert) are silently skipped when loading checkpoints.", "category": "correctness", "verdict": "uncertain", "priority": "... | null |
NovaSky-AI__SkyRL__1199 | NovaSky-AI/SkyRL | 1,199 | defect | 0f19201f238f38a88ed2d3a2597bc05e58ea67e8 | 0c30630452baa20f0d257ec390daf0b2a98b35de | [train][CI] Add regression thresholds for E2E CI runs | # What does this PR do?
Adds regression thresholds for E2E CI runs.
## Methodology
Currently, I've chosen the following metrics:
1. Evaluation reward (`eval/all/avg_score`)
2. Train reward (`loss/avg_final_rewards`)
3. Avg num tokens generated (training) (`generate/avg_num_tokens`)
4. Rollout logprobs tr... | diff --git a/tests/train/gpu_e2e_test/get_summary.py b/tests/train/gpu_e2e_test/get_summary.py
new file mode 100644
index 0000000000..cb7e95a0e1
--- /dev/null
+++ b/tests/train/gpu_e2e_test/get_summary.py
@@ -0,0 +1,55 @@
+import wandb
+import argparse
+import operator
+
+parser = argparse.ArgumentParser()
+parser.add_... | 5 | 3 | 1 | [{"id": "G0", "claim": "The assertion-failure message prints only the metric name, operator and threshold and omits the actual metric value, so a failed CI check cannot be debugged from the log; it should append the value as the success path does.", "category": "correctness", "verdict": "supported", "priority": "P2", "... | null |
NovaSky-AI__SkyRL__1228 | NovaSky-AI/SkyRL | 1,228 | defect | f3f2dbffaede4db50bfb11b73378b0c0104c2ceb | 3f3e4e236b2bfaa8ecaa61c1eb110ff319d1c5e8 | [tx] Implement Qwen 3.5 model architecture | This PR implements the Qwen 3.5 model architecture, supporting mixed linear and full attention layers. For now we don't stack the layers yet to keep it simple. This PR also doesn't include MoE support yet.
Here are some examples you can run on 8xH100:
**Qwen/Qwen3.5-27B Model**
```
uv run --extra gpu --extra ... | diff --git a/skyrl/tx/models/configs.py b/skyrl/tx/models/configs.py
index 0ebad27761..0e9055e8e4 100644
--- a/skyrl/tx/models/configs.py
+++ b/skyrl/tx/models/configs.py
@@ -38,8 +38,18 @@ def __init__(
gradient_checkpointing: bool = False,
mhc_expansion_rate: int = 1,
):
- # Copy all att... | 6 | 3 | 2 | [{"id": "G0", "claim": "get_dtype silently falls back to jnp.bfloat16 for any unsupported dtype instead of raising ValueError, which can mask dtype typos and cause silent precision errors or dtype mismatches; it should fail fast by raising.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":... | null |
NovaSky-AI__SkyRL__1271 | NovaSky-AI/SkyRL | 1,271 | defect | 2f40a070f90d312d598d0f17854f354c337d2189 | 9f96802e3d933549f32e19503eecc90ed0f28ef7 | [train][1/N] Native Weight Sync API: NCCL | # Use vLLM Native Weight Sync APIs for NCCL Weight Transfer
## Motivation
SkyRL's weight synchronization between trainer and inference engines previously relied on custom HTTP endpoints (`/init_weight_transfer`, `/update_weights`, `/get_server_info`) and a `WorkerWrap` extension injected into vLLM workers.
As... | diff --git a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py b/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
index 0e0cac0352..374560e24b 100644
--- a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
+++ b/skyrl/backends/skyrl_train/inference_serv... | 21 | 17 | 3 | [{"id": "G0", "claim": "The `dict[str, str | int]` generic alias is not a callable constructor and will raise a TypeError at runtime; use the plain `dict()` constructor for the trainer_init payload.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Dis... | null |
NovaSky-AI__SkyRL__1281 | NovaSky-AI/SkyRL | 1,281 | defect | 72f8d86397871fee09427661af998430e152d9dd | b19a9b5ac0ba9e263ea1345be62973e3090d2218 | [train] Add validation for step-wise GeneratorOutput | Alternatively we do not care the step order and not use the `cumsum` trick in advantage broadcast
### Summary
Previously, `validate_generator_output()` was **skipped entirely** when `step_wise_trajectories=True`:
```python
if not self.cfg.generator.step_wise_trajectories:
validate_generator_output(len(in... | diff --git a/docs/content/docs/tutorials/step-wise-training.mdx b/docs/content/docs/tutorials/step-wise-training.mdx
index b2e5125372..af3810e202 100644
--- a/docs/content/docs/tutorials/step-wise-training.mdx
+++ b/docs/content/docs/tutorials/step-wise-training.mdx
@@ -12,6 +12,16 @@ However, re-tokenization has two f... | 2 | 1 | 0 | [{"id": "G0", "claim": "The call to validate_generator_output in evaluate_step_wise (skyrl/train/evaluate.py:184) passes generator_input as the first argument where the function expects num_prompts (len(generator_input[\"prompts\"])), violating the function's API contract (M001 further claims this will cause a runtime ... | null |
NovaSky-AI__SkyRL__1285 | NovaSky-AI/SkyRL | 1,285 | defect | 2fb789a3db8634229e53e4a5d0a3bffead3e4f25 | ad9105b15f959abffc9c16e07e26b4cbc2274f6b | [train] Make TrainingInputBatch to PAD only to left, hence response tensors be right-aligned | ## Summary
Fix cross-sample padding inflation in `convert_prompts_responses_to_batch_tensors` by replacing the two-segment padding layout with a unified left-padded layout.
**Before:** sequences padded to `max(prompt_lens) + max(response_lens)`. When the longest prompt and longest response come from different sam... | diff --git a/examples/train/search/run_search.sh b/examples/train/search/run_search.sh
index 678e1f93c0..554f94f7e9 100755
--- a/examples/train/search/run_search.sh
+++ b/examples/train/search/run_search.sh
@@ -1,10 +1,32 @@
set -x
-# Colocated GRPO training+generation for Qwen2.5-Coder-3B-Instruct on SearchR1 data.... | 4 | 3 | 2 | [{"id": "G0", "claim": "The warning echoed in examples/train/search/run_search.sh should be redirected to standard error (\">&2\") instead of standard output so users can separate warnings from normal script output.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id"... | null |
NovaSky-AI__SkyRL__1291 | NovaSky-AI/SkyRL | 1,291 | defect | 05ae3d016aea8c4f15d5d4defe084bd4e2c07b08 | 52a400fcdae5cf07d055f340931f7c0c9999b85b | [train][2/N] Native Weight Syncing APIs: IPC | follow up to https://github.com/NovaSky-AI/SkyRL/pull/1271,
introduces ipc for colocated case.
Since cuda ipc is not natively supported in 0.16 (will be available in next version), I copied the implementation and registered as a custom engine. This will eventually be removed in favor of the built in version.
Te... | diff --git a/pyproject.toml b/pyproject.toml
index fb8e501e7a..9ea62d1ddc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -161,6 +161,9 @@ include-package-data = true
[tool.setuptools.dynamic]
version = {attr = "skyrl.__version__"}
+[project.entry-points."vllm.general_plugins"]
+skyrl_ipc_engine = "skyrl.backen... | 14 | 8 | 1 | [{"id": "G0", "claim": "Using `pickle.loads` on the network-supplied `ipc_handles_pickled` field is highly insecure and enables RCE; a safe serialization format like JSON should be used instead, even though deserialization is gated behind VLLM_ALLOW_INSECURE_SERIALIZATION.", "category": "security", "verdict": "uncertai... | null |
NovaSky-AI__SkyRL__1300 | NovaSky-AI/SkyRL | 1,300 | defect | 05ae3d016aea8c4f15d5d4defe084bd4e2c07b08 | 00cb5305a0830a9570030611b5526419bef38b8a | [vllm] enable mp distributed executor backend (no multi-node engines) | ## Overview
Adds a `distributed_executor_backend` config option (`"mp"` | `"ray"` ) to `InferenceEngineConfig`, enabling the vLLM multiprocessing backend for single-node multi-GPU serving without relying on Ray for intra-engine worker management.
### Legacy inference stack (`ray_wrapped_inference_engine`)
When... | diff --git a/examples/train/flash_rl/main_dapo_flashrl.py b/examples/train/flash_rl/main_dapo_flashrl.py
index e5a0d729e4..5c8bafe721 100644
--- a/examples/train/flash_rl/main_dapo_flashrl.py
+++ b/examples/train/flash_rl/main_dapo_flashrl.py
@@ -32,10 +32,12 @@ class DAPOAlgorithmConfig(AlgorithmConfig):
DAPOFlashRLC... | 4 | 4 | 2 | [{"id": "G0", "claim": "With the mp backend and data_parallel_size > 1, all DP ranks of an engine get the same CUDA_VISIBLE_DEVICES because engine_gpu_ids_map is keyed only by engine index, so DP ranks fight over the same GPUs instead of each using its own TP*PP slice.", "category": "correctness", "verdict": "supported... | null |
NovaSky-AI__SkyRL__1301 | NovaSky-AI/SkyRL | 1,301 | defect | e9e5fb23a481693775aea0f75c1ebfb1a9c3cc99 | 29632d18596b426277ec72c715f7f9b46b9397aa | [CI] Skip FlashRL integration test in CI and fix failing generation test for new inference codepath | # What does this PR do?
Fixes outstanding CI failures.
1. FlashRL integration test is failing on CI after the vllm 0.16.0 upgrade. The correct fix is to migrate the flashRL fork: https://github.com/SumanthRH/vllm/tree/flashrl to the latest version. (We currently only support one vllm version in SkyRL)
2. `tests... | diff --git a/ci/gpu_ci_run_skyrl_train.sh b/ci/gpu_ci_run_skyrl_train.sh
index 1d801fea0b..6ae92c3fbe 100755
--- a/ci/gpu_ci_run_skyrl_train.sh
+++ b/ci/gpu_ci_run_skyrl_train.sh
@@ -20,14 +20,15 @@ uv run --directory . --isolated --extra dev --extra fsdp pytest -s tests/backend
# echo "$add_integrations"
# fi
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test ID for the MoE model case should be updated (e.g. to \"tp2_pp1_dp2_moe\") so it reflects that a different model is used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
NovaSky-AI__SkyRL__1302 | NovaSky-AI/SkyRL | 1,302 | defect | 05ae3d016aea8c4f15d5d4defe084bd4e2c07b08 | 7f04071b96bbe18f68b81cb24bd0e7a853b464b0 | [skyrl][inference] Fix port collision when ports are allocated. | ### Summary
Addresses issue #1299
- Replace `get_open_port()` (test-then-release) with `find_and_reserve_port()` which holds the socket open via `SO_REUSEADDR` to prevent port race. condition between concurrent `VLLMServerActor` instances when one or more ports have already been reserved (e.g., in tinker).
- ... | diff --git a/skyrl/backends/skyrl_train/inference_servers/common.py b/skyrl/backends/skyrl_train/inference_servers/common.py
index 17ae4bb36e..652b1dc049 100644
--- a/skyrl/backends/skyrl_train/inference_servers/common.py
+++ b/skyrl/backends/skyrl_train/inference_servers/common.py
@@ -7,6 +7,7 @@
import logging
impo... | 4 | 1 | 1 | [{"id": "G0", "claim": "The port reservation socket is never closed if the actor is constructed but start() is never called, or if shutdown() is called before start(), because the socket is only released inside _run_server().", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"},... | null |
NovaSky-AI__SkyRL__1303 | NovaSky-AI/SkyRL | 1,303 | defect | 05ae3d016aea8c4f15d5d4defe084bd4e2c07b08 | c871632541daa3e48a479f1a7a1814e68d57d6e6 | [bug][train] Fix max_seq_len calculation | Fixes #1154
## Summary
This PR removes the implicit `max_seq_len` heuristic calculation and requires users to set it explicitly when using `trainer.algorithm.loss_reduction=seq_mean_token_sum_norm`.
## Changes
- Removed the automatic `trainer.algorithm.max_seq_len` default from `SkyRLTrainConfig.__post_init_... | diff --git a/docs/content/docs/configuration/config.mdx b/docs/content/docs/configuration/config.mdx
index 6d6655f2ae..cca1962dc2 100644
--- a/docs/content/docs/configuration/config.mdx
+++ b/docs/content/docs/configuration/config.mdx
@@ -490,7 +490,7 @@ algorithm:
- `token_mean`: computes average loss over all va... | 8 | 7 | 5 | [{"id": "G0", "claim": "In validate_cfg the new seq_mean_token_sum_norm check uses an assert instead of raising a ValueError, so the validation can be skipped entirely when Python runs with -O; it should raise ValueError like the other configuration validation checks in the file.", "category": "correctness", "verdict":... | null |
NovaSky-AI__SkyRL__1319 | NovaSky-AI/SkyRL | 1,319 | defect | 4e19c1f09268636e8aa56ac6bbc27b70467f4bde | 9585a71c3f5ba59684ab04678280e934fc633303 | [algorithm][generator] change overlong filtering to use stop reasons over checking eos token | previously overlong filtering was doing this:
```python
[
[0] * len(mask) if not response or response[-1] != eos_token_id else mask
for mask, response in zip(loss_masks, response_ids)
]
```
which was flaky, since models could choose to end with a token other than `tokenizer.eos_token_id`. Thi... | diff --git a/skyrl/train/generators/skyrl_gym_generator.py b/skyrl/train/generators/skyrl_gym_generator.py
index 97bb8a543f..a6e8373c29 100644
--- a/skyrl/train/generators/skyrl_gym_generator.py
+++ b/skyrl/train/generators/skyrl_gym_generator.py
@@ -650,7 +650,7 @@ async def generate_batched(
rollout_metrics ... | 1 | 1 | 0 | [{"id": "G0", "claim": "apply_overlong_filtering returns a shallow copy for masks that are not zeroed out (stop_reason == \"stop\"), sharing inner-list references with the input loss_masks; return mask[:] instead so the kept masks are copies.", "category": "maintainability", "verdict": "supported", "priority": "P2", "s... | null |
NovaSky-AI__SkyRL__1325 | NovaSky-AI/SkyRL | 1,325 | defect | dcd58cace674ac50abbd49c8c24777cdd0434a09 | 11d43e1fd78bd55421cf4e21fed9a6a0c5581f71 | [transformers] set return dict false for transformers v5 compatibility | # Overview
This PR makes 2 changes for transformers-v5 compatibility:
- Sets `return_dict=False` where needed for transformers-v5 compatibility - this can be merged prior to explicitly upgrading to transformers v5 in the pyproject.toml, since vllm still does not technically fully support it in the latest release. (Th... | diff --git a/skyrl/backends/skyrl_train/inference_engines/inference_engine_client.py b/skyrl/backends/skyrl_train/inference_engines/inference_engine_client.py
index 578b1d4639..cd48a3927d 100644
--- a/skyrl/backends/skyrl_train/inference_engines/inference_engine_client.py
+++ b/skyrl/backends/skyrl_train/inference_engi... | 1 | 1 | 1 | [{"id": "G0", "claim": "With return_dict=False, apply_chat_template returns a list of token IDs directly, so indexing the result with [\"input_ids\"] in generate() raises a TypeError at runtime and the dictionary key access must be removed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope":... | null |
NovaSky-AI__SkyRL__1329 | NovaSky-AI/SkyRL | 1,329 | defect | 9118ab6db4a22689aa715042b41f0630a389f921 | baf4401c43375a64edd15be4131a0247133ff25f | [train] Add support for LoRA in the new inference codepath | # What does this PR do?
Adds LoRA support in the new inference codepath.
## Summary
- Adds a new `/v1/load_lora_adapter` endpoint to `VLLMServerActor` to support loading lora weights in the vllm server
- Adds support for lora weights in `RemoteInferenceClient` with a new method `load_lora_from_disk`. The caller... | diff --git a/ci/gpu_ci_run_skyrl_train.sh b/ci/gpu_ci_run_skyrl_train.sh
index 6ae92c3fbe..1ef5183b19 100755
--- a/ci/gpu_ci_run_skyrl_train.sh
+++ b/ci/gpu_ci_run_skyrl_train.sh
@@ -35,3 +35,4 @@ uv run --directory . --isolated --extra dev --extra fsdp pytest -s tests/backend
_SKYRL_USE_NEW_INFERENCE=1 uv run --isola... | 1 | 1 | 0 | [{"id": "G0", "claim": "Asks whether LoRA weight syncing should go through the same codepath as normal weight syncing (a single unified interface like update_named_weights, anticipating the future vLLM LoRA weight sync API) instead of a separate function.", "category": "design", "verdict": "supported", "priority": "P2"... | null |
NovaSky-AI__SkyRL__1331 | NovaSky-AI/SkyRL | 1,331 | defect | 84fea6f8ad46c496371cc860d2548405b40cf242 | 545268ff31d44054cdf9847c844af9de790c3333 | [train] Multi-modal inputs support in FSDP2 | This PR adds support for variable-shape vision inputs (e.g. `pixel_values`, `image_grid_thw`) to the FSDP2 training backend, item 2 in #1200 .
### Summary
- **`TensorList`**: New container in `training_batch.py` for lists of tensors with variable shapes per batch element (e.g., each image may produce a different ... | diff --git a/skyrl/backends/skyrl_train/training_batch.py b/skyrl/backends/skyrl_train/training_batch.py
index 05260f4b8b..2cbbbbc8b6 100644
--- a/skyrl/backends/skyrl_train/training_batch.py
+++ b/skyrl/backends/skyrl_train/training_batch.py
@@ -11,6 +11,90 @@
DictType = TypeVar("DictType")
+def _serialize_tensor... | 7 | 6 | 2 | [{"id": "G0", "claim": "The new TensorBatch.__eq__ loop calls torch.equal on TensorList values (raising TypeError when they are equal) and its final return calls the undefined _values_equal method (raising AttributeError), so equality checks that should return True crash instead.", "category": "correctness", "verdict":... | null |
NovaSky-AI__SkyRL__1335 | NovaSky-AI/SkyRL | 1,335 | defect | 56de22ded44891a3f09a7db1954447d3492e1b12 | 5855ee8edbb94187f7fc52c384048d8ff0c3f8cc | [train][2/N] Support for Megatron PP + CP for R3 | # Summary
Extending #1273, this PR provides support for pipeline parallelism and context parallelism for R3. See #815 for tracking of future tasks to fully support routing replay in all settings.
# Implementation
**Pipeline Parallelism**
For pipeline parallelism, we create a helper function `_get_current_pp_sta... | diff --git a/examples/train/router_replay/router_replay_fully_async.sh b/examples/train/router_replay/router_replay_fully_async.sh
new file mode 100644
index 0000000000..5739f47421
--- /dev/null
+++ b/examples/train/router_replay/router_replay_fully_async.sh
@@ -0,0 +1,107 @@
+set -x
+
+# Fully async GRPO training+gene... | 15 | 14 | 7 | [{"id": "G0", "claim": "The fully async example script is configured for the megatron strategy but runs `uv run --isolated --extra fsdp`, which may not install the necessary Megatron dependencies (a copy-paste artifact); it should be changed to `--extra megatron`.", "category": "correctness", "verdict": "supported", "p... | null |
NovaSky-AI__SkyRL__1341 | NovaSky-AI/SkyRL | 1,341 | defect | be602d8ca3ef7f6f71cdab26acb0889e2b64c81a | 52b917dbb005a86886bb50c30b3b139e2ebcd500 | [tx] Fuse the projection matrices for Qwen3 | This fixes the performance difference between the Jax and FSDP backends pointed out in https://skyrl.slack.com/archives/C09E1QY8Q3E/p1773782377475849?thread_ts=1773773383.873189&cid=C09E1QY8Q3E
Design decisions:
- We are implementing the "performant" LoRA option from https://docs.nvidia.com/nemo-framework/user-gu... | diff --git a/skyrl/tx/models/qwen3.py b/skyrl/tx/models/qwen3.py
index 3caec159cb..531cfcca04 100644
--- a/skyrl/tx/models/qwen3.py
+++ b/skyrl/tx/models/qwen3.py
@@ -28,43 +28,22 @@ def __init__(self, config: Qwen3Config, *, dtype: jnp.dtype, rngs: nnx.Rngs) ->
if shard_attention_heads:
assert se... | 5 | 2 | 2 | [{"id": "G0", "claim": "Fusing q/k/v and gate/up projections replaces the LoRALinear layers with plain nnx.Linear, removing LoRA support for those projections, which is a feature regression; if LoRA support is intended, fused LoRALinear layers should be used.", "category": "design", "verdict": "supported", "priority": ... | null |
NovaSky-AI__SkyRL__1352 | NovaSky-AI/SkyRL | 1,352 | defect | 72f8d86397871fee09427661af998430e152d9dd | 90c14a48ae639e5373f00dba161c044c5805afe9 | [skyrl][tx] Move ModelInput token extraction to backends | # Move ModelInput token extraction to the SkyRL-train and jax backend
This PR is a precursor to adding multi-modal input chunks for VLM training (point 4, #1200 ). The tinker frontend passes to the backend lists of `ModelInput`s (for now only `EncodedTextChunk`s).
### Changes
- Rename `ModelInputChunk` to ... | diff --git a/skyrl/benchmarks/benchmark_engine.py b/skyrl/benchmarks/benchmark_engine.py
index 99ad7122a9..7867a76066 100644
--- a/skyrl/benchmarks/benchmark_engine.py
+++ b/skyrl/benchmarks/benchmark_engine.py
@@ -17,7 +17,7 @@ def make_fwd_bwd_input(token_lists: list[list[int]]) -> types.ForwardBackwardInp
w... | 4 | 3 | 2 | [{"id": "G0", "claim": "The `validate_location` validator on `ImageAssetPointerChunk` only checks that the location string is non-empty and does not enforce any URI format, so malformed locations could fail downstream; add more robust validation such as checking for a valid URI scheme.", "category": "correctness", "ver... | null |
NovaSky-AI__SkyRL__1360 | NovaSky-AI/SkyRL | 1,360 | defect | 9d7bca91a505970211ec844f10bf5c072e921163 | 95e31d0ca4cb8ff2a180b9603bd17ab85a95ca57 | [train] LoRA-only weight syncing for Megatron | closes https://github.com/NovaSky-AI/SkyRL/issues/1336
Uses megatron new `export_adapter_weights` to save loras to disk and load in vllm. Bumped megatron version for the new api.
Added new megatron tests to `test_lora.py`, run test_lora with both `_USE_SKYRL_NEW_INFERENCE=0` and `1`.
Added some more robust shut... | diff --git a/pyproject.toml b/pyproject.toml
index 4012edbc74..6b4a834dd1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -209,6 +209,7 @@ override-dependencies = [
"transformer-engine[pytorch]==2.10.0; sys_platform == 'linux'",
"megatron-core==0.16.0; sys_platform == 'linux'",
"ml_dtypes>=0.5.0; sys... | 11 | 8 | 5 | [{"id": "G0", "claim": "When self._is_lora is True, broadcast_to_inference_engines returns early without awaiting cache_reset_task, so with use_prefix_cache=True the prefix cache may not be cleared before the engine uses the updated LoRA weights, which can lead to stale cached results.", "category": "correctness", "ver... | null |
NovaSky-AI__SkyRL__1361 | NovaSky-AI/SkyRL | 1,361 | defect | 6eebbfe31cb507b0e334328254fa0a90076eebf3 | 4ac293ea7a1efdb2e04bf47a834f81b199a0b0d0 | [skyrl] Add ImageChunk and ImageAssetPointerChunk types | This PR adds support for multi-modal model inputs (images) to SkyRL. `ImageChunk` and `ImageAssetPointerChunk` follow the tinker SDK implementation ([ImageChunk](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/image_chunk.py), [ImageAssetPointerChunk](https://github.com/thinking-machines-lab/... | diff --git a/skyrl/tinker/api.py b/skyrl/tinker/api.py
index 70ea50de43..6a9efe5b60 100644
--- a/skyrl/tinker/api.py
+++ b/skyrl/tinker/api.py
@@ -6,7 +6,7 @@
import time
from contextlib import asynccontextmanager, suppress
from datetime import datetime, timedelta, timezone
-from typing import Any, AsyncGenerator, C... | 8 | 6 | 3 | [{"id": "G0", "claim": "The discriminator function `_get_model_chunk_type` silently picks a type based on the order of `if` statements when a dictionary payload contains multiple discriminating keys (e.g. `tokens` and `location`), and should instead check for ambiguity and raise an error.", "category": "correctness", "... | null |
NovaSky-AI__SkyRL__1363 | NovaSky-AI/SkyRL | 1,363 | defect | e5f649561da713380779181dfca9fa1102706d87 | 2d740f43a598d56f2dcb4f27ef32706c11d0a147 | [tx] Optimize the decode performance | - Hoist per-layer parameter slicing out of the jax.lax.while_loop in the decode path. XLA was not treating these as loop-invariant, causing many wrapped_slice ops to re-execute every decode step.
- ~1.65x decode speedup on Qwen3-4B (L40S), improving effective memory bandwidth utilization from 42% to 71% of peak.
... | diff --git a/skyrl/tx/layers/stacked.py b/skyrl/tx/layers/stacked.py
index 799e7ce3a3..39ab572880 100644
--- a/skyrl/tx/layers/stacked.py
+++ b/skyrl/tx/layers/stacked.py
@@ -145,6 +145,17 @@ def __iter__(self):
for i in range(self.num_layers):
yield self[i]
+ def preextract_decode(self):
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "StackedDecoderLayers.__call__ references an undefined `layer_kwargs` (NameError at runtime) and its signature does not accept the `decode_layers` kwarg that callers now pass (TypeError), so the signature must accept `decode_layers` and use it directly instead of popping it from a nonexistent dic... | null |
NovaSky-AI__SkyRL__1365 | NovaSky-AI/SkyRL | 1,365 | defect | a91f6e52fc121ed0a4491191a2073394aa0c0f84 | 6a73c656895e7fe6b267d42c9aef9e5a42cd4ede | [train] Patch vLLM v0.16.0 sleep mode to properly free model weights | vLLM v0.16.0 has a bug in `gpu_worker.py:load_model()` where context managers are chained with `and` instead of `,`:
with pool_ctx and config_ctx: # BUG: only config_ctx is entered
In Python, `A and B` evaluates A but returns B when A is truthy, so `pool_ctx.__enter__()` is never called. This means model wei... | diff --git a/skyrl/backends/skyrl_train/inference_servers/vllm_worker.py b/skyrl/backends/skyrl_train/inference_servers/vllm_worker.py
index 8249b30a7f..97f3a1f066 100644
--- a/skyrl/backends/skyrl_train/inference_servers/vllm_worker.py
+++ b/skyrl/backends/skyrl_train/inference_servers/vllm_worker.py
@@ -18,6 +18,46 @... | 3 | 1 | 0 | [{"id": "G0", "claim": "The import paths for Worker and set_current_vllm_config are for vLLM v0.17.0+ while the patch targets v0.16.x, so the monkey-patch will fail with an ImportError on a standard vLLM v0.16.x installation.", "category": "correctness", "verdict": "opposed", "priority": "P0", "scope": "introduced"}, {... | null |
NovaSky-AI__SkyRL__1373 | NovaSky-AI/SkyRL | 1,373 | defect | 6eebbfe31cb507b0e334328254fa0a90076eebf3 | 42b13a85a0b96a880e39db26723f4161964353dc | [SkyRL] Introduce /render endpoint to the new http inference client | ## Summary
This PR addresses #1288 by adding a `render_chat_completion` method to `RemoteInferenceClient` that calls the vLLM `/v1/chat/completions/render` endpoint, making progress on #1200. `/render` tokenizes the input, returning token IDs and, for multimodal inputs, features `mm_hashes` and `mm_placeholders`. Th... | diff --git a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py b/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
index 1b4276fc85..d6d53bfbd4 100644
--- a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
+++ b/skyrl/backends/skyrl_train/inference_serv... | 3 | 3 | 1 | [{"id": "G0", "claim": "The docstring for `request_payload` says it can contain `headers` but the implementation ignores them, so the docstring should drop the mention of `headers`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `body.pop(\"se... | null |
NovaSky-AI__SkyRL__1376 | NovaSky-AI/SkyRL | 1,376 | defect | e583439818774dce0c545163eb45c20ee2a5146d | e6c01fc088a7603de8da8b2c4783bc9ca22e7542 | [trainer] refactor `dispatch_from_staged` to individually serialize DP chunks to avoid materializing whole batch on all workers | ## Summary
When training with large batches (e.g. with `rollout_expert_indices` inflating `TrainingInputBatch` to ~30GB), the old `stage_data` approach `ray.put` the **entire** batch as a single object and passed that `ObjectRef` to every worker. Each worker deserialized the full blob just to slice out its small por... | diff --git a/skyrl/backends/skyrl_train/distributed/dispatch.py b/skyrl/backends/skyrl_train/distributed/dispatch.py
index 1a54726e5a..1fdc255335 100644
--- a/skyrl/backends/skyrl_train/distributed/dispatch.py
+++ b/skyrl/backends/skyrl_train/distributed/dispatch.py
@@ -165,22 +165,66 @@ def sync_collect(cls, actor_inf... | 4 | 2 | 0 | [{"id": "G0", "claim": "The loop in stage_chunks that slices mini-batches and stages per-DP chunks can be made more concise and Pythonic by using data.chunk(mini_batch_size) and a nested list comprehension instead of manual indexing.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "i... | null |
NovaSky-AI__SkyRL__1381 | NovaSky-AI/SkyRL | 1,381 | defect | a91f6e52fc121ed0a4491191a2073394aa0c0f84 | 16d89c496015b292b3b40591eecee503471a0c34 | [train] Use a shared semaphore for all generate requests with `RemoteInferenceClient`; Move tokenization to client | # What does this PR do?
- Improves concurrency handling in`RemoteInferenceClient` by making a shared semaphore for all generation requests. Previously, individual `.generate` requests had their own semaphore. With Async RL, different samples make different `.generate` calls, and thus the number of concurrent `.gener... | diff --git a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py b/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
index 1b4276fc85..eb0c589517 100644
--- a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
+++ b/skyrl/backends/skyrl_train/inference_serv... | 6 | 6 | 2 | [{"id": "G0", "claim": "The new session log uses private aiohttp TCPConnector attributes (_conns, _acquired), which is risky, and logging it at INFO on every session retrieval is noisy; the log level should be DEBUG.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id... | null |
NovaSky-AI__SkyRL__1383 | NovaSky-AI/SkyRL | 1,383 | defect | d00b17e7c822164ed4ae9b797e48ca67b18e05c0 | 6f92f07545a81323f115a18c3ab29c3e1130aefc | [bug] fix sleep bugs | Sleep params were not correctly being sent, and engines were not being slept in colocated case upon initialization, leading to oom.
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/novasky-ai/skyrl/pull/1383" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcse... | diff --git a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py b/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
index 1b4276fc85..41e81fe1bb 100644
--- a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
+++ b/skyrl/backends/skyrl_train/inference_serv... | 4 | 3 | 2 | [{"id": "G0", "claim": "The function-local `import asyncio` is redundant because asyncio is already imported at the top of the file and should be removed per PEP 8.", "category": "style", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added `asyncio.run(client.sleep()... | null |
NovaSky-AI__SkyRL__1385 | NovaSky-AI/SkyRL | 1,385 | defect | cca8a396099bd60f7ba2a407d16fc74dc3ff1b23 | 97e0b71dbb5dff46f3c66a5c551a59214e91f0b2 | [train] Add `vLLMRouter` in new inference codepath | # What does this PR do?
Adds `vllm-router` as the routing layer in the new inference codepath.
The current python-based router scales very poorly.
TODO:
- [x] GSM8K E2E run
- [x] Switch to vLLMRouter in GPU CI
- [x] Fully AsyncRL E2E run
## Summary
1. Introduces a new router class `vLLMRouter` cl... | diff --git a/ci/gpu_ci_run_skyrl_train.sh b/ci/gpu_ci_run_skyrl_train.sh
index 1ef5183b19..e83abcebff 100755
--- a/ci/gpu_ci_run_skyrl_train.sh
+++ b/ci/gpu_ci_run_skyrl_train.sh
@@ -7,7 +7,7 @@ uv run examples/train/gsm8k/gsm8k_dataset.py --output_dir $HOME/data/gsm8k
uv run examples/train/search/searchr1_dataset.py ... | 5 | 3 | 2 | [{"id": "G0", "claim": "The CI script should define a variable for the common part of the repeated `uv run` command to improve maintainability and reduce repetition.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `line.decode()` call in `_dr... | null |
NovaSky-AI__SkyRL__1394 | NovaSky-AI/SkyRL | 1,394 | defect | e3dc00d43430f5d26a6af086d9f1a0f2dd2faef4 | 7c98b4151b4134325e7b9d6ba6b9a81dcb1793dd | [train] Make `vLLMRouter` the default router in the new inference codepath | # What does this PR do?
Makes `vLLMRouter` the default router in the new inference codepath, following the migration plan in https://github.com/novasky-ai/skyrl/pull/1385
## Test Plan
I ran the DAPO recipe on Qwen 1.7B https://github.com/NovaSky-AI/SkyRL/blob/e3dc00d43430f5d26a6af086d9f1a0f2dd2faef4/examples/t... | diff --git a/ci/gpu_ci_run_skyrl_train.sh b/ci/gpu_ci_run_skyrl_train.sh
index dfc0430d22..1ef5183b19 100755
--- a/ci/gpu_ci_run_skyrl_train.sh
+++ b/ci/gpu_ci_run_skyrl_train.sh
@@ -32,7 +32,7 @@ uv run --directory . --isolated --extra dev --extra fsdp pytest -s tests/backend
# Run tests for new inference layer
# ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `router_type` config field (default \"default\", docstring still pointing at the deleted InferenceRouter) is orphaned dead code whose only consumer was deleted in this PR, so the field should be removed or updated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "s... | null |
NovaSky-AI__SkyRL__1399 | NovaSky-AI/SkyRL | 1,399 | defect | aa91e7998cec774927a5af02dc912099f2f17811 | 2e9a10d3dde8176e42c7d96696424e2227ce41d0 | [bug] Fix weight sync with DP > 1 in non-colocated setups | # What does this PR do?
Fixes #1398.
Fixes a rank calculation bug during weight syncing with DP > 1 in non-colocated setups.
With vLLM, DP ranks are managed as separate engine instances (i.e `AsyncLLMEngine` or `LLM` instances). However, the distributed process world is shared within a DP deployment.
SkyR... | diff --git a/skyrl/backends/skyrl_train/inference_engines/inference_engine_client.py b/skyrl/backends/skyrl_train/inference_engines/inference_engine_client.py
index a443142a78..de0deb7ee4 100644
--- a/skyrl/backends/skyrl_train/inference_engines/inference_engine_client.py
+++ b/skyrl/backends/skyrl_train/inference_engi... | 2 | 1 | 0 | [{"id": "G0", "claim": "The loop asserting that all engines share the same dp_size can be simplified into a more Pythonic one-liner using a set.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When dp_size > 1, multiple DP-rank engines within the... | null |
NovaSky-AI__SkyRL__1403 | NovaSky-AI/SkyRL | 1,403 | defect | 7e2832b3adeedeebb871919e1511c346acd86489 | 82e63814bc0a7cfbb0eb5e99de11186ac79d9a23 | [megatron][checkpointing] fix checkpointing with optimizer cpu offload for dist_ckpt_optim_fully_reshardable=False | ## Summary
- Fix three upstream megatron-core bugs that prevented checkpoint save/load from working when `optimizer_cpu_offload` is enabled with the Megatron backend:
1. **`KeyError` in `HybridDeviceOptimizer._update_fp32_params_by_new_state`**: params already in fp32 are not in `param_to_fp32_param`, but the ori... | diff --git a/skyrl/backends/skyrl_train/distributed/megatron/megatron_strategy.py b/skyrl/backends/skyrl_train/distributed/megatron/megatron_strategy.py
index 5653f3b08f..10133c5c24 100644
--- a/skyrl/backends/skyrl_train/distributed/megatron/megatron_strategy.py
+++ b/skyrl/backends/skyrl_train/distributed/megatron/me... | 1 | 1 | 0 | [{"id": "G0", "claim": "The try...except ImportError block bundles multiple independent patches and dependency checks, so if the FusedAdam import fails the other monkeypatches for HybridDeviceOptimizer and DistributedOptimizer are not applied; consider splitting it into more granular try...except blocks so patches are ... | null |
NovaSky-AI__SkyRL__1417 | NovaSky-AI/SkyRL | 1,417 | defect | e3f0448adaa808794878fd6e1a9031c317d8d1b6 | ab19f0f5092e8119692728f1775d587ff11dd76e | [SkyRL][train] Support prompt_logprobs in /sample in the new inference stack | ## Summary
This PR addresses #1416 and adds prompt log probabilities to the new `/sample` endpoint in the new remote inference client.
- Add `prompt_logprobs` and `topk_prompt_logprobs` support to `RemoteInferenceClient.sample()`, wiring through to vLLM's `/inference/v1/generate` endpoint
- Accepts `include_prompt... | diff --git a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py b/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
index 5f2707ba25..6a5a0cf0ca 100644
--- a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
+++ b/skyrl/backends/skyrl_train/inference_serv... | 11 | 9 | 6 | [{"id": "G0", "claim": "The result_prompt_logprobs comprehension indexes pos_dict[str(token_ids[i])] directly, which raises a KeyError when a prompt token ID is missing from the server's returned dict (e.g. when the token falls outside top-k), and enumerate indexing is less safe than zip for aligning token_ids with raw... | null |
NovaSky-AI__SkyRL__1420 | NovaSky-AI/SkyRL | 1,420 | defect | bf243b8d64bf5afd0c64ccd8b6af6d2285b800be | f2a81bc5a3f42ba461aac19abf388ba24a7e5c2b | [megatron] Fix loss aggregation for context parallelism (CP) in Megatron | Fixes `test_megatron_train[tp2_cp2_policy_seq_packing_no_entropy_loss]` failing after #1296.
### Problem
The loss refactor in #1296 introduced two CP-specific bugs:
1. **Metrics double-counted across CP ranks**: `all_reduce_metrics` used `get_data_parallel_group(with_context_parallel=True)`, which includes CP rank... | diff --git a/skyrl/backends/skyrl_train/workers/megatron/megatron_model_wrapper.py b/skyrl/backends/skyrl_train/workers/megatron/megatron_model_wrapper.py
index 925a4b8a65..30bbe4a705 100644
--- a/skyrl/backends/skyrl_train/workers/megatron/megatron_model_wrapper.py
+++ b/skyrl/backends/skyrl_train/workers/megatron/meg... | 2 | 1 | 1 | [{"id": "G0", "claim": "Raising the global absolute tolerance to 2.5e-1 for all metrics may be too permissive, especially for small-magnitude metrics such as policy_lr and clip_ratio, and per-metric or relative tolerance checks should be used instead.", "category": "testing", "verdict": "uncertain", "priority": "P1", "... | null |
NovaSky-AI__SkyRL__1421 | NovaSky-AI/SkyRL | 1,421 | defect | bf243b8d64bf5afd0c64ccd8b6af6d2285b800be | c15ea98b41d8ff5897d8f269e4e49729e45637b1 | [bug] Fix logprobs handling and error status codes for vllm-router compatibility | # What does this PR do?
`vllm-router` has stricter request validation than the previous Python `InferenceRouter`:
- `/v1/completions` expects logprobs as integer, not boolean
- Missing required fields return 422 (Unprocessable Entity) instead of 400
- Error responses may be plain text instead of JSON
This PR... | diff --git a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py b/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
index 5f2707ba25..fbde2e0587 100644
--- a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
+++ b/skyrl/backends/skyrl_train/inference_serv... | 1 | 1 | 1 | [{"id": "G0", "claim": "The immediate-failure check should be restricted to 4xx status codes so that transient non-JSON 5xx errors remain eligible for retries.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
NovaSky-AI__SkyRL__1426 | NovaSky-AI/SkyRL | 1,426 | defect | 791fbf9e2da75e554667a294e710deb24070cc71 | 5c18a9af43ab61ce9f4758003e99e35a9b9a4d56 | [dependencies] Upgrade transformers to >=5.0.0,<=5.3.0 | ## Upgrade to transformers v5
### Summary
Upgrades `transformers` from `>=4.56.1,<5` to `>=5.0.0,<=5.3.0` and adapts SkyRL's model initialization, FSDP loading, and test code to accommodate v5 breaking changes.
## CI
Round 2 CI: https://github.com/NovaSky-AI/SkyRL/actions/runs/23917102581 -> 10 failing from b... | diff --git a/pyproject.toml b/pyproject.toml
index ec398ac9d0..4f3f6dd3d0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,7 +17,7 @@ dependencies = [
"rich>=14.1.0",
"safetensors>=0.6.2",
"tokenizers>=0.21.2",
- "transformers>=4.56.1,<5",
+ "transformers",
"typer>=0.17.4",
# "wand... | 7 | 6 | 5 | [{"id": "G0", "claim": "The meta_init path in HFModelWrapper calls model_class.from_config with attn_implementation and torch_dtype keyword arguments that most models' __init__ does not accept, which will likely raise a TypeError, and it ignores the rope_scaling/rope_theta overrides that the from_pretrained path applie... | null |
NovaSky-AI__SkyRL__1476 | NovaSky-AI/SkyRL | 1,476 | defect | 02be377857cf2b5e274617ddbdc771149c002527 | c8e9ce023701de50ebd1e4f8ec678870e6b93d3c | [CI] Migrate non-Megatron GPU CI to run on new inference codepath | # What does this PR do?
Migrate the new inference codepath to run only on the new inference codepath.
This is the first part in a series of PRs to migrate completely to the new inference codepath.
I will wait for R3 to land before merging changes from this PR: #1428
## Fixes
1. Fix port collisions for... | diff --git a/ci/gpu_ci_run_skyrl_train.sh b/ci/gpu_ci_run_skyrl_train.sh
index 987722ee98..8fc0968005 100755
--- a/ci/gpu_ci_run_skyrl_train.sh
+++ b/ci/gpu_ci_run_skyrl_train.sh
@@ -2,6 +2,7 @@
set -xeuo pipefail
export CI=true
+export _SKYRL_USE_NEW_INFERENCE=1
# Prepare datasets used in tests.
uv run examples/... | 4 | 3 | 3 | [{"id": "G0", "claim": "The calculation of num_deployments assumes data_parallel_size is at least 1 and that len(server_urls) is an exact multiple of it; if data_parallel_size is 0 it will raise ZeroDivisionError and if the division is inexact it will silently truncate, so these invariants should be validated.", "categ... | null |
NovaSky-AI__SkyRL__1484 | NovaSky-AI/SkyRL | 1,484 | defect | e648005bddd2e9c5e331c05f94f55b1bdd4d9c4e | 67f2a5a978eeb988b97b8798ac0cce757adcd25a | [skyrl][tinker] Multi-modal Tinker Sampling | ## Summary
Adds VLM sampling support to `RemoteInferenceClient` sample endpoint. Finalizes inference side changes for #1200.
- Extract `_render_for_sample` to handle both text-only and image-containing prompts. For text-only prompts, it flattens chunk tokens directly. When images are present, it calls `/v1/chat/... | diff --git a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py b/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
index b838504424..7d3b9d96aa 100644
--- a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
+++ b/skyrl/backends/skyrl_train/inference_serv... | 3 | 2 | 2 | [{"id": "G0", "claim": "The splicing logic in _render_for_sample assumes the number of placeholders returned by the /render endpoint exactly matches the number of image chunks in the prompt; if there is a mismatch an IndexError would be raised, so the count should be validated explicitly before the splicing loop.", "ca... | null |
NovaSky-AI__SkyRL__1489 | NovaSky-AI/SkyRL | 1,489 | defect | c8bdc6320da93c7647a2aede61ef95a7b9ae3c42 | 91e9ad3b0f6eb411e8eb30c52be2fc776c33c706 | [tinker] Fix single request batching in TinkerEngine | For each model, we currently make sure to not batch forward/backward requests that come after a destructive update like optim_step or load_weights. In addition, we also need to make sure to not batch destructive updates that come after forward/backward requests.
E.g. for a sequence like optim1 → fwdbwd2 → optim2, we... | diff --git a/skyrl/tinker/engine.py b/skyrl/tinker/engine.py
index 6c449eb9f7..e524d587c6 100644
--- a/skyrl/tinker/engine.py
+++ b/skyrl/tinker/engine.py
@@ -296,6 +296,23 @@ def _checkpoint_status_context(self, model_id: str, checkpoint_id: str, checkpoi
)
session.commit()
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The logic identifying blocked passes loops over all pending passes on every call to find_single_requests and can be optimized (dictionary lookup or a more efficient SQL query) to avoid O(N*M) complexity as pending requests grow.", "category": "performance", "verdict": "supported", "priority": "P... | null |
NovaSky-AI__SkyRL__1508 | NovaSky-AI/SkyRL | 1,508 | defect | 6d5484d4e1266039b8111fea8f9bd1a63d07068d | e4fe94d7d3ebbd42834c1c4ed9f459dd2e21d56f | [ci] Add CI for supported models for megatron backend, and add supported model page to docs | Add round trip test with tiny model versions for full coverage of all models that we claim first class support for in SkyRL.
This PR adds test coverage for:
1. Qwen3
2. GLM-4.7/4.7-Flash
Also add a docs page listing supported models:
<img width="888" height="907" alt="image" src="https://github.com/user-attach... | diff --git a/.github/workflows/gpu_skyrl_train_megatron_models.yaml b/.github/workflows/gpu_skyrl_train_megatron_models.yaml
new file mode 100644
index 0000000000..81eef7ede4
--- /dev/null
+++ b/.github/workflows/gpu_skyrl_train_megatron_models.yaml
@@ -0,0 +1,71 @@
+name: Megatron-Model-GPU-CI
+
+on:
+ push:
+ b... | 8 | 6 | 3 | [{"id": "G0", "claim": "The docstring's run command uses the old file path instead of the new megatron/ subdirectory location, so the documented command fails with file-not-found.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The links to example... | null |
NovaSky-AI__SkyRL__1515 | NovaSky-AI/SkyRL | 1,515 | defect | c2d6d4754cb999273122dea80b2870d564a3925c | 9f77026f13d8bc4d6902f766c742839fce088182 | IPC Chunked fix | While we wait for https://github.com/vllm-project/vllm/pull/39212 and https://github.com/vllm-project/vllm/pull/37476, support for chunked updates is still unavailable on vllm. In the meantime, this PR adds a new worker extension class for new inference that adds the relevant start/finish weight update api, allowing ch... | diff --git a/skyrl/backends/skyrl_train/inference_servers/new_inference_worker_wrap.py b/skyrl/backends/skyrl_train/inference_servers/new_inference_worker_wrap.py
new file mode 100644
index 0000000000..9ec9e3627a
--- /dev/null
+++ b/skyrl/backends/skyrl_train/inference_servers/new_inference_worker_wrap.py
@@ -0,0 +1,14... | 2 | 1 | 0 | [{"id": "G0", "claim": "The assignment `self._skyrl_is_checkpoint_format = True` at the end of `finish_weight_update` is redundant and potentially misleading, and should be removed so that only the active flag is reset.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {... | null |
NovaSky-AI__SkyRL__1527 | NovaSky-AI/SkyRL | 1,527 | defect | 39148a08bb309d26d2703b1a77b0eec9cc3b843f | 69086f252c0a7f2bd4bad37159bad8125d554536 | [qoc] Extract `pad_batch()` into a helper to `training_batch.py` | In preparation for merging in https://github.com/NovaSky-AI/SkyRL/pull/1483, where we will pad at mini batch level, we extract `pad_batch()` into a helper function in `training_batch.py` that is TrainingInputBatch-in and TrainingInputBatch-out.
Note that for `trainer.py`, `pad_size > 0` only when step-wise training ... | diff --git a/skyrl/backends/skyrl_train/training_batch.py b/skyrl/backends/skyrl_train/training_batch.py
index 4b482d83e8..58491f697c 100644
--- a/skyrl/backends/skyrl_train/training_batch.py
+++ b/skyrl/backends/skyrl_train/training_batch.py
@@ -1,5 +1,6 @@
"""Defines interfaces for training data."""
+import copy
... | 2 | 2 | 2 | [{"id": "G0", "claim": "pad_training_input_batch will crash if unpadded_batch.metadata is None (TensorBatch allows metadata to be optional), and the pad_size==0 path mutates the original batch's metadata despite the docstring saying the original batch is returned; metadata should be initialized before access.", "catego... | null |
NovaSky-AI__SkyRL__1535 | NovaSky-AI/SkyRL | 1,535 | defect | c7cb2a5fb3f6e462789e3b1632f0b50bf955fc6f | b96c97d408527fb6df2508a8dd532c3736415a45 | [qoc] Make concatenate_generator_outputs linear instead of O(K^2) | ## Summary
\`concatenate_generator_outputs\` used the \`sum([go[key] for go in gens], [])\` pattern to flatten each list-valued field, which is **O(K² · L̄)** — every \`+\` copies the running result. Replace with an explicit extend loop (**O(N_total)**). No signature change; no behavior change (existing test passes ... | diff --git a/skyrl/train/generators/utils.py b/skyrl/train/generators/utils.py
index 39410b9d6b..cbf10dc9c0 100644
--- a/skyrl/train/generators/utils.py
+++ b/skyrl/train/generators/utils.py
@@ -225,6 +225,19 @@ def get_metrics_from_generator_output(generator_output: GeneratorOutput, uids: L
)
+def _flatten_fi... | 2 | 2 | 1 | [{"id": "G0", "claim": "The _flatten_field docstring refers to `gens`, but the function argument is named `generator_outputs`; updating it will improve clarity and consistency with the code.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Accessing... | null |
NovaSky-AI__SkyRL__1585 | NovaSky-AI/SkyRL | 1,585 | defect | 366135ed1f931951a976619a97b1d627383c01b9 | d6d00a6f4744c56abbabc8fd17263c9ad28b3218 | [ci] skip megatron deps for non-megatron CI, disable sample packing for MLA on L4 | ^
Should fix train gpu CI and new models CI on L4.
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/novasky-ai/skyrl/pull/1585" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<im... | diff --git a/ci/gpu_ci_run_skyrl_train.sh b/ci/gpu_ci_run_skyrl_train.sh
index 254418dfbf..8a6026fe8d 100755
--- a/ci/gpu_ci_run_skyrl_train.sh
+++ b/ci/gpu_ci_run_skyrl_train.sh
@@ -7,7 +7,7 @@ uv run examples/train/gsm8k/gsm8k_dataset.py --output_dir $HOME/data/gsm8k
uv run examples/train/search/searchr1_dataset.py ... | 2 | 2 | 2 | [{"id": "G0", "claim": "The MLA model-name checks use case-sensitive matching for \"Moonlight\" but case-insensitive for \"glm-4\"; \".lower()\" should be used consistently in both get_test_actor_config and _extra_env_vars_for_model so lowercase variants like \"moonlight-1b\" are detected.", "category": "correctness", ... | null |
NovaSky-AI__SkyRL__1606 | NovaSky-AI/SkyRL | 1,606 | defect | 8b68310eee4d1256ab608129bb24b078dd7a4fc4 | 733c52f418b1e9c15ad6a7859cd3771fcc666ae4 | [bug] Fix LoRA disk reloading and sleep issues | Two bugs fixed here:
1. When lora is enabled with merge_lora=False, a lora reload request with `load_inplace=True` causes each step to trigger load from disk causing massive slowdowns. This requires an upstream vllm fix, but I provide a temporary workaround by unloading the lora first then loading with `load_inplace=F... | diff --git a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py b/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
index a0c2198583..881d4b8124 100644
--- a/skyrl/backends/skyrl_train/inference_servers/remote_inference_client.py
+++ b/skyrl/backends/skyrl_train/inference_serv... | 3 | 1 | 0 | [{"id": "G0", "claim": "In both _unload_on_server and _load_on_server, calling resp.json() directly on a >=400 response can raise an aiohttp ContentTypeError when the error body is not JSON (e.g. a plain-text 502/500), masking the real HTTP status; the JSON parsing should be wrapped in try-except so raise_for_status st... | null |
NovaSky-AI__SkyRL__1611 | NovaSky-AI/SkyRL | 1,611 | defect | 8b68310eee4d1256ab608129bb24b078dd7a4fc4 | aaa9fd3f997908419b689dea2f677a1abc700202 | [train] SFT 2/N: Support training on all assistant messages, add HF export support and `num_epochs` | # What does this PR do?
Enhances the native SFT trainer with support for training on all assistant messages, adding HF export support and support for a num_epoch config
## Changes
- Add `TrainOnWhat` StrEnum (`last_assistant_message` / `all_assistant_messages`)
and wire it into `SFTConfig`, exporting it fro... | diff --git a/examples/train/sft/README.md b/examples/train/sft/README.md
index 51a5892687..d56aafd2cc 100644
--- a/examples/train/sft/README.md
+++ b/examples/train/sft/README.md
@@ -68,8 +68,8 @@ All SFT configuration is defined in [`skyrl/train/config/sft_config.py`](../../.
| `model.path` | `Qwen/Qwen3-0.6B` | Hugg... | 2 | 1 | 1 | [{"id": "G0", "claim": "In the all-assistants path only `chat_template` is extracted from `tokenizer_kwargs` and `get_response_ids_and_loss_mask_from_messages` accepts nothing else, so other tokenization flags (like `enable_thinking`) are dropped before reaching `apply_chat_template`, which will lead to incorrect token... | null |
NovaSky-AI__SkyRL__1617 | NovaSky-AI/SkyRL | 1,617 | defect | 2d0694252983acc67e8cb2f017c47cf6e48d1712 | b8a55f3a2e8cdb73af42707322f8fe765a9d85e3 | [tinker][megatron] Multi-LoRA Megatron + Tinker API | Adds multi-tenant LoRA training to the SkyRL-Train Megatron Tinker backend. Multiple Tinker clients can `create_model` against the same server, each with its own LoRA adapter sharing the base model.
## Architecture
- New `AdapterStore` (per `PolicyWorker`) holds a per-adapter pinned-CPU snapshot of the LoRA bucket par... | diff --git a/docs/content/docs/tinker/multi_lora_design.mdx b/docs/content/docs/tinker/multi_lora_design.mdx
new file mode 100644
index 0000000000..e5e0e6b54c
--- /dev/null
+++ b/docs/content/docs/tinker/multi_lora_design.mdx
@@ -0,0 +1,110 @@
+---
+title: "Multi-LoRA on Megatron — Design"
+---
+
+# Multi-LoRA on Megat... | 4 | 3 | 1 | [{"id": "G0", "claim": "If two training loops interleave forward_backward and optim_step calls, a tenant's accumulated gradients are corrupted or cleared because the swap does not cover the shared GPU grad buffers; to support parallel multi-tenancy the design must either swap the gradient buffers or enforce atomicity f... | null |
NovaSky-AI__SkyRL__1635 | NovaSky-AI/SkyRL | 1,635 | defect | 811f8ee9df8cae0bee16803bb4bd535f98a1cebf | 3b5614fb6c4a92ace1e075f8dd11bd75a1b1a8b0 | Fix nan leak from masked positions in `compute_approx_kl` | Replace `kld * loss_mask` with `torch.where(loss_mask.bool(), kld * loss_mask, 0.0)` in `compute_approx_kl`, so `nan` at masked positions (where `0 * nan = nan`) can no longer leak through into `policy_kl` / `final_loss`.
Closes https://github.com/NovaSky-AI/SkyRL/issues/1633 | diff --git a/skyrl/backends/skyrl_train/utils/ppo_utils.py b/skyrl/backends/skyrl_train/utils/ppo_utils.py
index 64606b26a7..3faab49484 100644
--- a/skyrl/backends/skyrl_train/utils/ppo_utils.py
+++ b/skyrl/backends/skyrl_train/utils/ppo_utils.py
@@ -119,7 +119,9 @@ def compute_approx_kl(
raise ValueError(f"In... | 1 | 1 | 1 | [{"id": "G0", "claim": "Using masked_fill instead of the original multiplication only supports binary masks, so if loss_mask is ever used as a soft mask the KL values would no longer be scaled; use torch.where to prevent the nan leak while preserving potential soft masking.", "category": "correctness", "verdict": "supp... | null |
NovaSky-AI__SkyRL__1638 | NovaSky-AI/SkyRL | 1,638 | defect | e4648d454b30427cae5e5748955d2e3f38240f3c | d96746103ba7c176b6e618943401e3111e95daa7 | [tinker] Forward sample requests directly to backend vLLM (non-colocated) | ## Description
When SkyRL-Train runs non-colocated (`colocate_all=false`), vLLM is always-on but its sample capacity is wasted: the Tinker engine subprocess serializes `sample` behind `forward_backward` / `optim_step` in its 100ms tick loop, so a sample submitted at the start of a 30s training step waits 30s. For mu... | diff --git a/skyrl/backends/skyrl_train_backend.py b/skyrl/backends/skyrl_train_backend.py
index ebf612f575..18c4940e8e 100644
--- a/skyrl/backends/skyrl_train_backend.py
+++ b/skyrl/backends/skyrl_train_backend.py
@@ -138,6 +138,12 @@ def __init__(self, base_model: str, config: SkyRLTrainBackendOverrides):
se... | 4 | 4 | 3 | [{"id": "G0", "claim": "The vLLM /v1/completions payload is missing the `stop` parameters (`stop` and `stop_token_ids`), which are present in the SamplingParams and should be forwarded so generation terminates according to the request configuration.", "category": "correctness", "verdict": "supported", "priority": "P1",... | null |
NovaSky-AI__SkyRL__1650 | NovaSky-AI/SkyRL | 1,650 | defect | acbc21ccf4e14d48848ab2bb094d8e00d8886072 | abcb01b23ba57f44fa29e5477561ad20c3358a37 | [train] Fix chunked-logprob backward and skip chunking for short sequences | # What does this PR do?
## Summary
This PR contains three correctness/efficiency fixes for the chunked logprob path in `from_parallel_logits_to_logprobs`, plus one test-tolerance bump that unblocks a Megatron entropy-loss CI test.
## Changes
### 1. `fix: ChunkedDistributedLogprob.backward use scatter-add to... | diff --git a/skyrl/backends/skyrl_train/distributed/megatron/model_utils.py b/skyrl/backends/skyrl_train/distributed/megatron/model_utils.py
index c75790247a..a1c9c4c652 100644
--- a/skyrl/backends/skyrl_train/distributed/megatron/model_utils.py
+++ b/skyrl/backends/skyrl_train/distributed/megatron/model_utils.py
@@ -2... | 3 | 1 | 0 | [{"id": "G0", "claim": "Use the in-place `.neg_()` on `softmax_output` instead of `.neg()` when building `grad_input`, since the tensor is unused afterwards and in-place negation avoids an extra allocation.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
NovaSky-AI__SkyRL__1657 | NovaSky-AI/SkyRL | 1,657 | defect | fb87f35dfe9f74f71445da60c79549773b15ba5e | 5411f24d5c5edda5347b5d1280809b3fd335998e | [lora][tinker] Add pause and resume for multi-tenant lora | Addresses https://github.com/NovaSky-AI/SkyRL/issues/1647
Today's `pause_generation()` is a **global** vLLM keep-mode pause: when one LoRA tenant syncs new weights, every other tenant's in-flight generation freezes for the duration of the swap. This blocks practical multi-tenant LoRA RL training.
This PR adds a p... | diff --git a/skyrl/backends/skyrl_train/inference_engines/base.py b/skyrl/backends/skyrl_train/inference_engines/base.py
index 1ec593aae8..a109135100 100644
--- a/skyrl/backends/skyrl_train/inference_engines/base.py
+++ b/skyrl/backends/skyrl_train/inference_engines/base.py
@@ -165,13 +165,22 @@ async def reset_prefix_... | 8 | 2 | 2 | [{"id": "G0", "claim": "Accessing `st.lora_name` on vLLM `RequestState` objects will likely raise an `AttributeError` on standard vLLM, since the name lives on `st.lora_request`; the suggested fix is to read it via `getattr(st.lora_request, \"lora_name\", None)`.", "category": "correctness", "verdict": "uncertain", "pr... | null |
NovaSky-AI__SkyRL__1667 | NovaSky-AI/SkyRL | 1,667 | defect | fb87f35dfe9f74f71445da60c79549773b15ba5e | 9e8255da69f429c73854f0ae92cc88b8052d3fe3 | [feat] Add a Tinker-compatible `forward(loss_fn=...)` API to SkyRL's FSDP and Megatron policy workers and refactor worker outputs | # What does this PR do?
## Summary
Adds a Tinker-compatible `forward(loss_fn=...)` API to SkyRL's FSDP and Megatron policy workers, and refactors the worker output contract to a single `WorkerOutput` dataclass mirroring Tinker's `ForwardBackwardOutput`.
## Changes
### `forward(loss_fn=...)` on policy worker... | diff --git a/skyrl/backends/skyrl_train/distributed/dispatch.py b/skyrl/backends/skyrl_train/distributed/dispatch.py
index 434fb0f21d..f608cbd476 100644
--- a/skyrl/backends/skyrl_train/distributed/dispatch.py
+++ b/skyrl/backends/skyrl_train/distributed/dispatch.py
@@ -1,10 +1,11 @@
"""Defines dispatch and collect lo... | 5 | 2 | 1 | [{"id": "G0", "claim": "In _forward_micro_with_loss the per-sample loop performs multiple GPU-to-CPU synchronizations (.item(), .cpu(), .tolist() for every batch element), which can significantly degrade performance for larger micro-batches; the tensors should be moved to CPU once and the valid lengths computed in a ve... | null |
NovaSky-AI__SkyRL__1668 | NovaSky-AI/SkyRL | 1,668 | defect | cc59cbdef0062fd8abae7bb249a10f5b6d46173e | 37b6072562f0fc2f11dcbb8751f6f7e1cdfd0dca | [feat] Add support for evaluation dataset in `SFTTrainer` | # What does this PR do?
## Summary
Adds evaluation-dataset support to `SFTTrainer`. During training, eval is run every `eval_interval` steps on a held-out dataset, and `eval_loss` is logged to wandb alongside `train_loss`. Built on top of [PR 1 (`pr1-forward-loss`)](../pr1-forward-loss/pr.md), which provides the... | diff --git a/examples/train/sft/run_sft_megatron_tulu3_50k.sh b/examples/train/sft/run_sft_megatron_tulu3_50k.sh
index 98705046d3..0d6fcc1b5f 100755
--- a/examples/train/sft/run_sft_megatron_tulu3_50k.sh
+++ b/examples/train/sft/run_sft_megatron_tulu3_50k.sh
@@ -21,6 +21,8 @@ uv run --isolated --extra megatron \
m... | 1 | 1 | 1 | [{"id": "G0", "claim": "Dropping the trailing partial eval batch can ignore a significant portion of evaluation data on small eval sets or large distributed setups, and the num_full_batches == 0 check crashes the trainer for evaluation datasets smaller than dp_size * micro_train_batch_size_per_gpu; the reviewer asks to... | null |
NovaSky-AI__SkyRL__1670 | NovaSky-AI/SkyRL | 1,670 | defect | fb87f35dfe9f74f71445da60c79549773b15ba5e | ae29b20b392783d604b47670fd686b3938894c11 | [CI] add E2E CI for SFT on the Tulu3 dataset with the Megatron backend | # What does this PR do?
Adds a nightly E2E CI job that exercises the full SFT pipeline against the Megatron backend on the Tulu3 dataset, mirroring the structure of the existing GSM8K GPU E2E jobs.
* Backend: Megatron with TP=1, PP=1 on L4_ci (4 GPUs).
* Workload: Qwen/Qwen2.5-0.5B-Instruct, 100 steps, train[:20... | diff --git a/.github/workflows/gpu_e2e_ci_sft.yaml b/.github/workflows/gpu_e2e_ci_sft.yaml
new file mode 100644
index 0000000000..8571f0d8cb
--- /dev/null
+++ b/.github/workflows/gpu_e2e_ci_sft.yaml
@@ -0,0 +1,47 @@
+name: SkyRL-GPU-E2E-CI-SFT
+
+on:
+ schedule:
+ - cron: '30 8 * * *' # Every day at 08:30 UTC (~0... | 4 | 1 | 0 | [{"id": "G0", "claim": "The wandb assertion invocation should use `--extra megatron` instead of `--extra fsdp`, since this is a Megatron E2E test and the mismatch may cause dependency failures.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "RUN_NAME... | null |
NovaSky-AI__SkyRL__1677 | NovaSky-AI/SkyRL | 1,677 | defect | 064fc1b543d14bd3cf1615fc57928bd0d4d6f983 | a25052ffd2c39d18b83b8204234f9e42a3cccc64 | [multi-lora] skip pause/resume for lora with merge=false | pausing and resuming generation are not needed when updating lora weights in vLLM - we can simply rely on `load_lora_adapter` (https://docs.vllm.ai/en/stable/features/lora/#in-place-lora-reloading) to directly update the weights in the engine without worrying about corrupted weight state.
Results for fully async ... | diff --git a/examples/train/fully_async/fully_async_run_gsm8k_megatron_lora.sh b/examples/train/fully_async/fully_async_run_gsm8k_megatron_lora.sh
new file mode 100644
index 0000000000..1066009e5f
--- /dev/null
+++ b/examples/train/fully_async/fully_async_run_gsm8k_megatron_lora.sh
@@ -0,0 +1,85 @@
+set -x
+
+# Fully a... | 1 | 1 | 1 | [{"id": "G0", "claim": "The condition for skipping the pause/resume cycle is too broad and potentially unsafe: it should explicitly check the inference backend is vllm, access megatron_config/lora_config safely (e.g. via getattr) so a non-Megatron strategy like FSDP cannot hit an AttributeError crash, and consolidate t... | null |
Nozbe__WatermelonDB__1227 | Nozbe/WatermelonDB | 1,227 | defect | 7cb5ff387f4f583654469c0a3cb76b3eda628499 | b698584922bfcb3777e4ea498832f87ae9400362 | feat: expose dbName in adapter | I have issues with managing several user (and several underlying db - see #1224), to avoid creating too many database I want to check that current one is related to connected user
What I'm doing right now is:
```
if (
user.status === 'connected' &&
// @ts-ignore
(!dbRef.current || dbRef.cur... | diff --git a/src/adapters/__tests__/commonTests.js b/src/adapters/__tests__/commonTests.js
index e94c1eaa7..64551f872 100644
--- a/src/adapters/__tests__/commonTests.js
+++ b/src/adapters/__tests__/commonTests.js
@@ -1284,5 +1284,8 @@ export default () => {
}
})
})
+ it('can retrieve dbName', async (ada... | 3 | 3 | 1 | [{"id": "G0", "claim": "The underlying adapters should expose a public `dbName` property rather than `_dbName`, since the compat layer is meant only to turn callback-based functions into promise-returning functions.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
Nozbe__WatermelonDB__136 | Nozbe/WatermelonDB | 136 | defect | a78e9cb1bf5e6f0f212877cf11b4e5b449626ed6 | 18545973bb5d434260314898fdcd36b4c0986f00 | Actions — Part 2 | Adds a database constructor flag `actionsEnabled: boolean`. If `true`, you can only perform write operations (create/update/delete) from inside an action. Plus tests.
Ultimately, this will always be enabled, but this way we can experiment and iterate without forcing changes onto users before we're sure this is the r... | diff --git a/package.json b/package.json
index 970101490..48a1d3634 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "@nozbe/watermelondb",
"description": "Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast",
- "version":... | 2 | 1 | 0 | [{"id": "G0", "claim": "The _ensureInAction check may not be safe, since other actions could be queued while Collection.create is used outside of an action without the check throwing — the author replies it gives only ~99% coverage, not a guarantee.", "category": "correctness", "verdict": "opposed", "priority": "P1", "... | null |
Nozbe__WatermelonDB__14 | Nozbe/WatermelonDB | 14 | defect | 6e45e86df1b54a716a8b973df1fb2889401797af | b60b34b5ed91fc797e3b2f2156792c83b183e502 | Add quotes to names in sql queries to allow keywords as table names and columns | @radex gave this a quick shot. Is there any way to integration-test this out-of-the-box?
Fixes #9 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0de4012cf..315efddc7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,9 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
-### Addded
+### Added
### Changed
+- Add quotes to all names in sql queries to allow... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pull request's added tests never put a keyword like `order` into query terms — they cover schema, insert and update with keyword-named columns — so a test should be added (or extended) to make sure querying with a keyword actually works.", "category": "testing", "verdict": "supported", "prio... | null |
Nozbe__WatermelonDB__18 | Nozbe/WatermelonDB | 18 | defect | 560eed8bb9174add9ec926c01933563b6b8b43a0 | 79da53d514a893ed3652636792ee5a306752a3d0 | Don't rely on Jest to mock lokijs web worker in tests | - This fixes Purple tests. Before, Jest magic was required to use a web worker mock in tests. Now, it's just NODE_ENV check and conditional require, so it works in Purple out of the box
- Improves build script (doesn't copy over unnecessary native files) | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 34b210262..7d6b3c9bb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed
- Add quotes to all names in sql queries to allow keywords as table or column names
+- Fixed r... | 3 | 3 | 0 | [{"id": "G0", "claim": "Avoid mutating a `defaultExport` variable and disabling the eslint rules by extracting a `getDefaultExport()` helper function and exporting its result.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Cast inline as `const ... | null |
Nozbe__WatermelonDB__399 | Nozbe/WatermelonDB | 399 | defect | 8008e5c829081a3546695b0b77af0931abb1a550 | 0dc73592f27d8449317920780c16f180f401dd3e | Hierarchical delete with batch | Implements helper function for fetching all descendants.
Adds two experimental functions for batch deleting and destroying. | diff --git a/src/Model/helpers.js b/src/Model/helpers.js
index 293aea3ac..aea77c158 100644
--- a/src/Model/helpers.js
+++ b/src/Model/helpers.js
@@ -21,3 +21,24 @@ export const createTimestampsFor = (model: Model) => {
return timestamps
}
+
+export async function fetchChildren(model: Model): Promise<Model[]> {
+ ... | 11 | 11 | 1 | [{"id": "G0", "claim": "fetchChildren should read associations via `model.constructor` instead of `model.collection.modelClass`, which would simplify the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "fetchChildren should not build its res... | null |
Nozbe__WatermelonDB__80 | Nozbe/WatermelonDB | 80 | defect | f8c8eb940593019256be07a66766645e87a4b88e | a0a2b3ca4008a1ffe81ecc05fdd59b5daae78e02 | [Schema] bool → boolean | Just realized that schema type `bool` should be named `boolean`, since we follow JavaScript conventions, and that's how JS type is called.
I changed this and added only temporary backwards compatibility (for schema creation, not for migrations).
I think we should merge this before we ship migrations as to cause l... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index bdd4ff20b..8e4868fea 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
+### Deprecations
+
+- [Schema] Column type 'bool' is deprecated — change to 'boolean'
+
## Unreleased
### Depre... | 1 | 1 | 1 | [{"id": "G0", "claim": "The bool → boolean rename missed some remaining references in documentation (Model.md, Schema.md) and in a comment (RawRecord.js) that still say 'bool'.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Nozbe__WatermelonDB__81 | Nozbe/WatermelonDB | 81 | defect | a4bb3c572c81c22e5f1589371ca309eaa5270e0f | ef8dbaea529ebfd1303f9d9e1cf84ace8ff24fd8 | Migrations API refactoring | - Refactored migration spec API based on feedback from @mobily:
- `minimumVersion`, `currentVersion` parameters are deleted from `schemaMigrations()`
- `{ from: 3, to: 4, steps: [] }` is simplified to `{ toVersion: 4, steps: [] }`. Skipping multiple versions is not allowed
- @mobily suggested `version: x`, but... | diff --git a/src/Schema/migrations/helpers.js b/src/Schema/migrations/helpers.js
index 10c7fe689..f9491d098 100644
--- a/src/Schema/migrations/helpers.js
+++ b/src/Schema/migrations/helpers.js
@@ -1,13 +1,12 @@
// @flow
-import { sortBy, prop, pipe, map } from 'rambdax'
+import { prop, pipe, map } from 'rambdax'
im... | 4 | 4 | 0 | [{"id": "G0", "claim": "The maxVersion line could use optional chaining (`newestMigration?.toVersion || 1`) instead of the ternary conditional.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The error thrown for gapped or out-of-order migration ... | null |
NuVotifier__NuVotifier__35 | NuVotifier/NuVotifier | 35 | defect | 9342f75317146ac9b10ae8e73f3e9913c041e136 | 10fe1d35abf29c93745f92d331d331e633681e4f | Replace legacy Java EE method for Java 9 | As Java 9 introduces the module methodology for dependencies, the class "DatatypeConverter" is no longer accessible from general runtime without extra arguments upon execution. Yet as class "Base64" is introduced since Java 8, it is a great advantage to utilize such method to replace the legacy EE method. | diff --git a/bukkit/pom.xml b/bukkit/pom.xml
index fbd19146..a79fab64 100644
--- a/bukkit/pom.xml
+++ b/bukkit/pom.xml
@@ -58,7 +58,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
- <version>1.8.8-R0.1-SNAPSHOT</version>
+ <v... | 2 | 2 | 2 | [{"id": "G0", "claim": "Do not bump the bukkit spigot-api dependency from 1.8.8 to 1.12.2 unless 1.12.2 API features are used, to maintain backwards compatibility with 1.12.2 servers.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Do not bump the bungeec... | null |
NuVotifier__NuVotifier__85 | NuVotifier/NuVotifier | 85 | defect | 3ac45554ac2df7f1b70efb4e88c77c215979a1f7 | e3645e23e9051b075f6ba771ede965f2f03dbe93 | Make the plugin actually work on Sponge API7 and cleanup a few other things | This commit https://github.com/parallelblock/NuVotifier/commit/2673fc2d4dfdc817fee6ffae8d3239802c233eeb caused sponge servers to be completely unable to use the plugin. The main problem being `com.google.inject` was being relocated so Sponge was unable to provide the Logger or the configDir to the plugin. To resolve th... | diff --git a/bukkit/src/main/java/com/vexsoftware/votifier/NuVotifierBukkit.java b/bukkit/src/main/java/com/vexsoftware/votifier/NuVotifierBukkit.java
index 1c8c32ee..fcce17d0 100644
--- a/bukkit/src/main/java/com/vexsoftware/votifier/NuVotifierBukkit.java
+++ b/bukkit/src/main/java/com/vexsoftware/votifier/NuVotifierB... | 2 | 1 | 1 | [{"id": "G0", "claim": "The gradle wrapper distribution URL should not be switched from gradle-4.0-bin.zip to gradle-4.0-all.zip, and the change should be reverted if -all is not needed to compile.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
Nuitka__Nuitka__339 | Nuitka/Nuitka | 339 | defect | e0e660efb86fadeb69c32fe027078f1ceab4233b | c2629810880571714da42cdb32e6edf40fb779fe | Standalone tests for botocore & boto3 + fix to Urllib3Using.py | ### What does this PR do?
Created standalone test Boto3Using.py, which mocks calls to AWS services to test both boto3 and botocore.
Also changed Urllib3Using.py to address Python2 and Python3 differently using sys to check for version, fix to #373
### Why was it initiated? Any relevant Issues?
PyPI top 50
#... | diff --git a/tests/standalone/Boto3Using.py b/tests/standalone/Boto3Using.py
new file mode 100644
index 0000000000..915a3d22e4
--- /dev/null
+++ b/tests/standalone/Boto3Using.py
@@ -0,0 +1,15 @@
+import boto3
+
+# nuitka-skip-unless-imports: boto3
+
+session = boto3.Session(
+ aws_access_key_id='Example',
+ aws_s... | 4 | 4 | 3 | [{"id": "G0", "claim": "Testing the full boto/boto3 functionality requires AWS credentials, which are sensitive and unavailable, so the PR's new tests should mock the API calls (e.g. with moto).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The separat... | null |
Nuitka__Nuitka__3590 | Nuitka/Nuitka | 3,590 | defect | affd57f281882d2f4e292e5d7534c3bc43f421ea | 4838ff6dbeef07062acd73b46b39e5f0b90fb769 | Support arbitrary debuggers through `--debugger` | # What does this PR do?
The `--debugger` flag can now be used with something like `--debugger=...` to tell Nuitka to choose an arbitrary executable to run (for example, `--debugger=valgrind` or `--debugger="rr record"`). The existing behavior with `--debugger` without an `=` is retained; GDB is still automatically c... | diff --git a/nuitka/MainControl.py b/nuitka/MainControl.py
index c0af558e33..76414e9cc7 100644
--- a/nuitka/MainControl.py
+++ b/nuitka/MainControl.py
@@ -790,7 +790,11 @@ def callExecPython(args, add_path, uac):
def _executeMain(binary_filename):
# Wrap in debugger, unless the CMD file contains that call already... | 4 | 3 | 2 | [{"id": "G0", "claim": "Sourcery suggests shallRunInDebugger should validate options.debugger (empty strings, invalid values) against a preset whitelist of debugger names to be more robust.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The absolute-p... | null |
Nuitka__Nuitka__3757 | Nuitka/Nuitka | 3,757 | defect | b76043bde0ab0c3773b2e5c0e1a6c1f95a63b59b | 1379d34d4c9161f905667732df98fdc093b365eb | Add loop-ownership check to ValueTraceLoopComplete | # Description
## ❓ What does this PR do?
Adds the same loop-ownership check that `ValueTraceLoopIncomplete` already has to `ValueTraceLoopComplete`, making enclosing loops correctly see `tshape_unknown` instead of the pre-loop type. The optimizer no longer treats certain variables as None after nested for-loops.
... | diff --git a/nuitka/optimizations/ValueTraces.py b/nuitka/optimizations/ValueTraces.py
index 44995727d7..cc64045f76 100644
--- a/nuitka/optimizations/ValueTraces.py
+++ b/nuitka/optimizations/ValueTraces.py
@@ -621,6 +621,9 @@ def removeMergeUsage(self):
def getTypeShape(self):
return self.previous.getTyp... | 3 | 3 | 1 | [{"id": "G0", "claim": "Add a nested-loop inference test variant where the inner loop never runs, so the variable legitimately stays None and the guarded branch stays false, to ensure the optimizer does not incorrectly infer the variable is always non-None.", "category": "testing", "verdict": "supported", "priority": "... | null |
Nuitka__Nuitka__3763 | Nuitka/Nuitka | 3,763 | defect | 00b4c0a61705d196cbe7f21fb08bf86e42357dc7 | eedcf5751ea602a61c6d8e94f3fc91904a87293c | Fix `__builtins__` in compiled functions | # Description
<!--
Thank you for contributing to Nuitka!
Before submitting a PR, please review the guidelines:
https://github.com/Nuitka/Nuitka/blob/develop/CONTRIBUTING.md
-->
## ❓ What does this PR do?
Fixes the `__builtins__` attribute for compiled functions to match CPython.
## 🧐 Why was it initiat... | diff --git a/nuitka/build/static_src/CompiledFunctionType.c b/nuitka/build/static_src/CompiledFunctionType.c
index e873e2410c..c33c113341 100644
--- a/nuitka/build/static_src/CompiledFunctionType.c
+++ b/nuitka/build/static_src/CompiledFunctionType.c
@@ -584,7 +584,15 @@ static PyObject *Nuitka_Function_get_builtins(Py... | 3 | 1 | 0 | [{"id": "G0", "claim": "Handle the case where `__builtins__` is already a dict rather than a module: with this change, if `__builtins__` is a dict (valid in CPython and possibly user-overridden), LOOKUP_ATTRIBUTE(..., \"__dict__\") raises AttributeError, turning previously working cases into failures; check PyDict_Chec... | null |
Nuitka__Nuitka__3800 | Nuitka/Nuitka | 3,800 | defect | bae83041df6b6cfbc6a9e869e7896b63d6ac7110 | 4239a7ea962762cbf2aca9bb7b182426912c416c | fix Generic types in classes bugs #3799 | pending resolution of #3801 (PEP 695) | # Description
<!--
Thank you for contributing to Nuitka!
Before submitting a PR, please review the guidelines:
https://github.com/Nuitka/Nuitka/blob/develop/CONTRIBUTING.md
-->
## ❓ What does this PR do?
<!-- A clear and concise description of the changes. -->
## 🧐 Why was it initiated? Any relevant Is... | diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
new file mode 100644
index 0000000000..2e7a6a54ae
--- /dev/null
+++ b/.devcontainer/Dockerfile
@@ -0,0 +1,7 @@
+FROM mcr.microsoft.com/devcontainers/python:1-3.12
+
+RUN mkdir -p /usr/share/keyrings \
+ && curl -fsSL https://dl.yarnpkg.com/debian/pubke... | 5 | 2 | 0 | [{"id": "G0", "claim": "With all the module-scope prints inside one try/except NameError block, the first NameError (from T) means T1, T2, P1 and P2 are never actually tested for being undefined at module scope.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
Nuitka__Nuitka__3813 | Nuitka/Nuitka | 3,813 | defect | 01286ea2ef3ab103ad9bbda8a9e425f37d5a50d6 | cda1e32731c8fcdeab2fe5f145023fee25e8c7ff | Support generic type variables in `async def` functions | # Description
<!--
Thank you for contributing to Nuitka!
Before submitting a PR, please review the guidelines:
https://github.com/Nuitka/Nuitka/blob/develop/CONTRIBUTING.md
-->
## ❓ What does this PR do?
Adds support for `async def foo[T, *Ts, **P]` syntax.
## 🧐 Why was it initiated? Any relevant Issue... | diff --git a/nuitka/tree/ReformulationFunctionStatements.py b/nuitka/tree/ReformulationFunctionStatements.py
index 6553809451..32b9dd836c 100644
--- a/nuitka/tree/ReformulationFunctionStatements.py
+++ b/nuitka/tree/ReformulationFunctionStatements.py
@@ -242,6 +242,43 @@ def _buildBytecodeOrSourceFunction(provider, nod... | 4 | 3 | 2 | [{"id": "G0", "claim": "In `buildAsyncFunctionNode`, `_getFunctionProvider` is invoked before the `compilation_mode != \"compiled\"` early return, so in non-compiled modes an `ExpressionOutlineFunction` may be created and immediately discarded; consider moving the call to just before `buildFunctionWithParsing` to avoid... | null |
Nuitka__Nuitka__3832 | Nuitka/Nuitka | 3,832 | defect | 3f07db5f0634d6acf123b6c37590c105f1a2193d | 38282830ccac91d157e68a7df5ebe86756926e6b | Fix the `__parameters__` attribute of generic classes | # Description
## ❓ What does this PR do?
Fixes the value of `__parameters__` for subclasses to match CPython. In particular:
1. Only use a single instance of type variables.
2. Use `typing._GenericAlias` and `types.GenericAlias`
Both of these changes fix `_generic_init_subclass`, which in turn fixes `__par... | diff --git a/nuitka/build/static_src/HelpersTypes.c b/nuitka/build/static_src/HelpersTypes.c
index 1c9623be80..9241f1c98b 100644
--- a/nuitka/build/static_src/HelpersTypes.c
+++ b/nuitka/build/static_src/HelpersTypes.c
@@ -373,9 +373,9 @@ static PyTypeObject *_getTypeGenericAliasType(void) {
if (type_generic_ali... | 4 | 1 | 1 | [{"id": "G0", "claim": "Add a test for a fully concrete subclass where all base type parameters are bound (e.g. class FullyConcrete(Base[int, str])), asserting its __parameters__, __bases__ and __orig_bases__, so that mishandling of fully-specialized bases is caught.", "category": "testing", "verdict": "supported", "pr... | null |
Nuitka__Nuitka__3844 | Nuitka/Nuitka | 3,844 | defect | f4da3d2fb9a69a2e68daa10de1cb9e743c7a535e | 07613676d1f9b1bd711799ba7d2e9f4e98d14a9d | Plugins: Fix standalone forkserver __main__ bootstrap for multiprocessing | # Description
## ❓ What does this PR do?
This PR fixes standalone `multiprocessing` + `forkserver` worker bootstrap so top-level task functions from `__main__` can be unpickled reliably.
- Updates `MultiprocessingPlugin` post-load patching for `multiprocessing.spawn._fixup_main_from_path`:
- keeps CPython b... | diff --git a/nuitka/build/static_src/MainProgram.c b/nuitka/build/static_src/MainProgram.c
index 27fe8a0f38..02ddd136a9 100644
--- a/nuitka/build/static_src/MainProgram.c
+++ b/nuitka/build/static_src/MainProgram.c
@@ -507,6 +507,13 @@ static void setCommandLineParameters(int argc, wchar_t **argv) {
}
... | 9 | 7 | 2 | [{"id": "G0", "claim": "The `os` and `sys` imports in `_fixup_main_from_path_for_nuitka` should be moved to the module level and reused instead of importing inside the function on each call.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `kw... | null |
Nuitka__Nuitka__3850 | Nuitka/Nuitka | 3,850 | defect | 380ae2fbfead3704261685cbe704ef875dbcf7e9 | c8eec39397efca9793be56009e0db16d43bdeee2 | Python3.13: Fix uncompiled coroutine cancel()/await suspension handling | # Description
## ❓ What does this PR do?
This PR fixes Python 3.13+ uncompiled coroutine cancel/await bridge handling in Nuitka.
It aligns `Nuitka_PyGen_gen_send_ex2()` with the published CPython 3.13.12 / 3.14.0 suspended frame-state semantics so that `FRAME_SUSPENDED_YIELD_FROM` is treated as a suspended sta... | diff --git a/nuitka/build/static_src/CompiledGeneratorTypeUncompiledIntegration.c b/nuitka/build/static_src/CompiledGeneratorTypeUncompiledIntegration.c
index 2e53b7fee5..26009ec3b7 100644
--- a/nuitka/build/static_src/CompiledGeneratorTypeUncompiledIntegration.c
+++ b/nuitka/build/static_src/CompiledGeneratorTypeUncom... | 3 | 2 | 0 | [{"id": "G0", "claim": "The regression test should assert the CancelledError's __cause__/__context__ chaining behavior on Python 3.13+, not just the returned value, so it also covers the corrected exception-chaining semantics.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"... | null |
Nuitka__Nuitka__3854 | Nuitka/Nuitka | 3,854 | defect | 380ae2fbfead3704261685cbe704ef875dbcf7e9 | e1407253a2ed1af17e32b4c285529d92450281c1 | Python3.12+: Align BUILTIN_SUM1 float summation with CPython compensated sum | # Description
## ❓ What does this PR do?
Align `BUILTIN_SUM1()` with CPython 3.12+ float summation semantics by switching the Python 3.12+ exact-float path to compensated summation after the integer fast path has already produced a float result.
This keeps the existing integer/bool fast path unchanged, leaves ... | diff --git a/nuitka/build/static_src/CompiledCodeHelpers.c b/nuitka/build/static_src/CompiledCodeHelpers.c
index 7af36eb722..38f0066e14 100644
--- a/nuitka/build/static_src/CompiledCodeHelpers.c
+++ b/nuitka/build/static_src/CompiledCodeHelpers.c
@@ -1470,6 +1470,84 @@ PyObject *BUILTIN_SUM1(PyThreadState *tstate, PyOb... | 7 | 4 | 0 | [{"id": "G0", "claim": "The tests should add a mixed int/bool + float case with very large integers (e.g. 10**100) so the PyLong_AsLongAndOverflow overflow fallback path is exercised.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Generator-based covera... | null |
Nuitka__Nuitka__3858 | Nuitka/Nuitka | 3,858 | defect | 380ae2fbfead3704261685cbe704ef875dbcf7e9 | d815fe903d173d51baf99b48ce8b77fe98cbfb0d | Fix `__type_params__` in classes | # Description
## ❓ What does this PR do?
Fixes the `__type_params__` attribute (for classes only). I still need to fix functions, but I'll do that in a different PR.
## 🧐 Why was it initiated? Any relevant Issues?
- #3856
## 🧱 Type of Change
- [x] 🐛 Bug fix (non-breaking change which fixes an issue... | diff --git a/nuitka/build/static_src/HelpersTypes.c b/nuitka/build/static_src/HelpersTypes.c
index 1c9623be80..7cc391267c 100644
--- a/nuitka/build/static_src/HelpersTypes.c
+++ b/nuitka/build/static_src/HelpersTypes.c
@@ -394,34 +394,42 @@ static int _Nuitka_contains_typevartuple(PyTupleObject *params) {
return 0... | 4 | 2 | 0 | [{"id": "G0", "claim": "The golden test should also exercise __type_params__ on parametrized forms of the generic class (e.g. TypeParams[int], TypeParams[int, str, bool]), not only on the bare class definition, so regressions in the unpacking logic are caught.", "category": "testing", "verdict": "supported", "priority"... | null |
Nuitka__Nuitka__572 | Nuitka/Nuitka | 572 | defect | ae52b56024d53159a72a5acbfaac792ca207c418 | e8c5e81fc1526020178873af820b4998d4030e44 | Distutils: Add support for distinct package namespaces | # What does this PR do?
Add `Distutils` support for wheels with multiple top level packages.
# Why was it initiated? Any relevant Issues?
Address #571, #527, and makes a compromise for #530
# PR Checklist
- [x] Correct base branch selected? `develop` for new features and bug fixes too.
If it's part of... | diff --git a/nuitka/Tracing.py b/nuitka/Tracing.py
index 6d6edb8e3e..5a5fd824a4 100644
--- a/nuitka/Tracing.py
+++ b/nuitka/Tracing.py
@@ -81,7 +81,7 @@ def my_print(*args, **kwargs):
del kwargs["style"]
- print(style, *(args + ("\033[0m",)), **kwargs)
+ print(*((style + args[0],) + args[1:] ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The new style concatenation would crash when my_print is called with no positional arguments, so the styled print should not rely on args[0].", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The class py_package should be expla... | null |
Nuitka__Nuitka__646 | Nuitka/Nuitka | 646 | defect | bf66f529d3ad38714e1aa24f1659b6f31653cb41 | c03106411fae34d30de8af14cdd9c3fcb8268e75 | Distutils nested namespaces | # What does this PR do?
Fixes support of the build_nuitka distutils command for implicit namespace packages nested more than one level deep.
# Why was it initiated? Any relevant Issues?
This bug was reported in #612. | diff --git a/nuitka/distutils/DistutilCommands.py b/nuitka/distutils/DistutilCommands.py
index 6cf471be23..04a7f96d22 100644
--- a/nuitka/distutils/DistutilCommands.py
+++ b/nuitka/distutils/DistutilCommands.py
@@ -24,6 +24,7 @@
import os
import subprocess
import sys
+from distutils import dir_util
import wheel.b... | 5 | 4 | 0 | [{"id": "G0", "claim": "The new move logic should use the project's existing nuitka.utils.FileOperation.copyTree helper instead of importing distutils' dir_util into this module.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The copy_tree plus ... | null |
Nukesor__pueue__251 | Nukesor/pueue | 251 | defect | a4b3d674c844f6edca06f6394e7c08b9d4558dfb | 183312f7c9df36a80b014c16bcc38c87793d2c88 | Add support to clean tasks by the group name | This PR adds the `--clean` parameter in the `pueue clean` command
Closes: #248
| diff --git a/CHANGELOG.md b/CHANGELOG.md
index f38bc8ae0..47655bb00 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Introduce the `rm` (remove), `re` (restart) and `fo` (follow) subcommand aliases [#245](https://github.... | 7 | 7 | 0 | [{"id": "G0", "claim": "The `use std::fmt::Write` plus `write!(...).unwrap()` in `construct_success_clean_message` is confusing and adds an unnecessary `unwrap`; restructure the function to build the message with plain `format!` calls as suggested.", "category": "maintainability", "verdict": "supported", "priority": "P... | null |
Nukesor__pueue__378 | Nukesor/pueue | 378 | defect | dbdcf6ec88ec084c2f380dd17e479da80b0883dd | d963e211e84fe56a9f59668baf5a718bba73705b | Address flaky tests | Handle flaking tests better at the CI level, make it easier to find flaking tests and address some of those issues.
This PR extracts work done to mitigate flaky tests from #376. I'll rebase that PR on top of this one (so include the commits here into that PR). If this PR is merged before the other, the other can be ... | diff --git a/.config/nextest.toml b/.config/nextest.toml
new file mode 100644
index 000000000..f6299c3c7
--- /dev/null
+++ b/.config/nextest.toml
@@ -0,0 +1,47 @@
+# See https://nexte.st/book/configuration.html for format and defaults
+# Profiles defined here inherit from profile.default
+
+# profile used in GitHub tes... | 5 | 4 | 0 | [{"id": "G0", "claim": "The event file upload step should use actions/upload-artifact@v3 instead of @v2.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `success() || failure()` part of the upload-test-results step's `if` condition appears to... | null |
Nukesor__pueue__490 | Nukesor/pueue | 490 | defect | 1df7933bb07eac8124920f3cebd1d263e84ea1fc | e270c551576288d2884b7c0db0dec1fec931fda9 | Support editing task priorities | Adds support for the modification of task priorities in a queue via `pueue edit --priority/-o` and `pueue restart --edit-priority/-o` (fixes #449). Despite the interesting discussion in #449 about how to improve task editing in general, this takes the easy way out and tries to integrate with the existing editing system... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 74bc85afb..1b69f2ad0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Added
+- Support modification of task priorities via `pueue edit --priority/-o` and `pueue restart --... | 2 | 2 | 0 | [{"id": "G0", "claim": "The pull request's CHANGELOG entry sits in a stale section because the development branch was not updated after the latest patch releases on master, leaving a minor merge conflict to resolve (the entry should end up under the current unreleased heading, 3.3.4).", "category": "documentation", "ve... | null |
Nukesor__pueue__560 | Nukesor/pueue | 560 | defect | d6fa9a6b42cda6af6854b971a1d4dfc9123d8a3d | c5126ca04b5ed356d7fc8ae72928ff418e939996 | feat: support command filter on `pueue status` | impl #524
example:
```
pueue add -- ls /var
pueue status command%=ls
pueue status command=ls /var
pueue status command!=ls
```
I'm not sure if spaces require special handling. In the above example, the query statement seems works fine even without escaping.
Also, I would like to discuss that other tha... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 54675459d..be2c31663 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -54,6 +54,7 @@ TLDR: The new task state representation is more verbose but significantly cleane
- Add `pueue reset --groups [group_names]` to allow resetting individual groups. [#482](https://github.com/... | 4 | 4 | 0 | [{"id": "G0", "claim": "In the `filter_command` test, the comment inside the `!=` branch should be replaced with \"Make sure the task's command doesn't match the filter.\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the `filter_command` tes... | null |
Nukesor__pueue__658 | Nukesor/pueue | 658 | defect | 74805ac54075fc409422c65d1e327afda55fbdd3 | 0dacd5e03e921091ac2ac4a07580f0d61dec6d69 | change: replace command-group with process-wrap | Resolves https://github.com/Nukesor/pueue/issues/593
I'm a package maintainer for Alpine Linux and not a Rust specialist, I wanted to try and enable this tool for less common architectures which required bumping nix, but this wasn't possible without replacing the `command-group` dependency. I've made a naive attempt... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0fb86840..9270dcb9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- `pueue add` Canonicalize `--working-directory` paths.
+### Maintenance
+
+- Replace deprecated `comman... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new test helper should not use unsafe code (unsafe { libc::kill(...) }) — prefer the safe ChildWrapper-based signal API used elsewhere, and if unsafe is unavoidable, use the nix crate's abstractions instead of raw libc.", "category": "correctness", "verdict": "supported", "priority": "P2", "... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.