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
New-JAMneration__JAM-Protocol__251
New-JAMneration/JAM-Protocol
251
defect
2f85c8d1552305b48911748e6cf92c61a88de880
ff3356e2dee5b12952a5c6f8ab866d8c07941d69
feat: exit reason
implement exit reason first ![image](https://github.com/user-attachments/assets/550dfcc6-eff7-40a3-bd85-46c1ac3d431e)
diff --git a/PolkaVM/exit_reason.go b/PolkaVM/exit_reason.go new file mode 100644 index 00000000..a77c911f --- /dev/null +++ b/PolkaVM/exit_reason.go @@ -0,0 +1,67 @@ +package PolkaVM + +import ( + "fmt" +) + +type ExitReasonTypes int + +const ( + CONTINUE ExitReasonTypes = iota + HALT + PANIC + OUT_OF_GAS + PAGE_FAULT...
1
1
1
[{"id": "G0", "claim": "The type of the host-call meta in PVMExitTuple should be changed from string to uint64.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
New-JAMneration__JAM-Protocol__255
New-JAMneration/JAM-Protocol
255
defect
2eb85c92f45a142017aa97562ee563e7029453f9
c460fa43435c513e0f515c25b56970a6d0ab02da
feat: add the global store for redis_client
resolve: https://github.com/New-JAMneration/JAM-Protocol/issues/250
diff --git a/config/config.go b/config/config.go index 95392df9..b834d507 100644 --- a/config/config.go +++ b/config/config.go @@ -29,6 +29,11 @@ type config struct { ValidatorsSuperMajority int `json:"validators_super_majority"` AvailBitfieldBytes int `json:"avail_bitfield_bytes"` } `json:"const"` + Redis...
1
1
1
[{"id": "G0", "claim": "Use types.Encoder rather than utilities.Encoder for the Redis backend, and check the decoder likewise.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
New-JAMneration__JAM-Protocol__263
New-JAMneration/JAM-Protocol
263
defect
0d2d22ab91c8a6138e01959e2588523c476e8cd3
063d11b97c34d816079078d44aa14081d46e6c2e
feat: add section a7 initializer function
<img width="675" alt="image" src="https://github.com/user-attachments/assets/6e4c6b10-8da9-4e7a-97b6-b4eaaa07546e" /> <img width="650" alt="image" src="https://github.com/user-attachments/assets/c1a6abbf-9869-4489-b18c-af50cd6cb726" /> <img width="860" alt="image" src="https://github.com/user-attachments/assets/f2509...
diff --git a/PolkaVM/memory.go b/PolkaVM/memory.go index 1e3cc336..879369f7 100644 --- a/PolkaVM/memory.go +++ b/PolkaVM/memory.go @@ -2,20 +2,13 @@ package PolkaVM type MemoryAccess int -type Memory struct { - Segments MemorySegment -} - -type MemorySegment struct { - Address uint32 // Starting Address - D...
1
1
0
[{"id": "G0", "claim": "The constants (ZZ, ZI, ZP, ZA) should be extracted out of single_initializer.go into a separate constants file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
New-JAMneration__JAM-Protocol__324
New-JAMneration/JAM-Protocol
324
defect
a6caf7ba4810ff10412dc274c6eb5791c5181233
87169205f2e489c974f2273caf120f8e0bdb7e28
315 feat gp062 a513 eq200 206
This is an initial PR, waiting MT's PR and interpreter decision
diff --git a/PolkaVM/branch.go b/PolkaVM/branch.go new file mode 100644 index 00000000..b45f5457 --- /dev/null +++ b/PolkaVM/branch.go @@ -0,0 +1,9 @@ +package PolkaVM + +func branch(b ProgramCounter, C bool, bitmask []bool) (ExitReasonTypes, ProgramCounter) { + panic("not implemented") +} + +func djump(a int, jumpTabl...
2
1
0
[{"id": "G0", "claim": "The custom min function in PolkaVM/single_initializer.go shadows Go's built-in min and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The getRegModIndex/getRegFloorIndex code in decode.go is a re-format...
null
New-JAMneration__JAM-Protocol__338
New-JAMneration/JAM-Protocol
338
defect
9883cd6b3c4c7c3c910e1b8d79a0a8ab5e265c38
156d3945135ec54e52ca797965fecc49f8ed8e1f
305 feat a54 a57
implemented instructions a.5.4 - a.5.7 including memory load and access func. The cross-page access is also done. The logic of cross-page access is quite complicated, if detailed explanation is needed, @me.
diff --git a/PolkaVM/decode.go b/PolkaVM/decode.go index c75e871f..93c1bc37 100644 --- a/PolkaVM/decode.go +++ b/PolkaVM/decode.go @@ -2,15 +2,21 @@ package PolkaVM import ( "fmt" + "log" + + "github.com/New-JAMneration/JAM-Protocol/internal/types" + utils "github.com/New-JAMneration/JAM-Protocol/internal/utilitie...
11
9
6
[{"id": "G0", "claim": "The instruction handler functions should carry an \"inst\" prefix for consistency.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "decodeTwoImmediates returning 0, 0 on error suppresses the error; the error should be retur...
null
New-JAMneration__JAM-Protocol__346
New-JAMneration/JAM-Protocol
346
defect
e383e239087be0fbdfe4194d99e0b14006cb669f
6beebff69e1f3d632015eb57a9d5819abe071f34
341 feat a510 instructions sbrk
1. feat : A.5.10 , sbrk 2. fix storeIntoMemory, loadFromMemory memory check exists bugs 3. djump some variables stick to GP, and passed the test vectors 4. Now, most of the instructions passed the test vectors except riscv-prefix test vectors
diff --git a/PolkaVM/argument_invocation.go b/PolkaVM/argument_invocation.go index 82197973..eedbc8cd 100644 --- a/PolkaVM/argument_invocation.go +++ b/PolkaVM/argument_invocation.go @@ -7,7 +7,7 @@ func Psi_M( gas Gas, // gas counter argument Argument, // argument omega Omega, // jump table - addition any, // ho...
7
6
3
[{"id": "G0", "claim": "In djump's range check the term jumpTable.Length*ZA multiplies the table length by itself since ZA equals jumpTable.Length, so the bound should combine the entry length with the table size.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
New-JAMneration__JAM-Protocol__350
New-JAMneration/JAM-Protocol
350
defect
e383e239087be0fbdfe4194d99e0b14006cb669f
37303b5a42bc95b3098ff2e8df572984c3c0a24b
General functions
![image](https://github.com/user-attachments/assets/40d8b942-c18b-4be5-a282-709450a280a3) ![image](https://github.com/user-attachments/assets/71e0ffe9-ac94-43fe-adbc-650040a9e258)
diff --git a/PolkaVM/argument_invocation.go b/PolkaVM/argument_invocation.go index 82197973..9555c856 100644 --- a/PolkaVM/argument_invocation.go +++ b/PolkaVM/argument_invocation.go @@ -21,7 +21,7 @@ func Psi_M( } } - g, v, a := R(Psi_H(standardProgram.ProgramBlob.InstructionData, counter, gas, standardProgram....
6
6
6
[{"id": "G0", "claim": "The host-call function table should have 26 entries (hostCallFunctions = [26]) because host call functions share index numbers 0~26, not [5]Omega.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In lookup, the service selectio...
null
New-JAMneration__JAM-Protocol__379
New-JAMneration/JAM-Protocol
379
defect
de7d2f89d544599f0c1d6c784048e0fff4780592
eaed3b0be531a4e373391d8e0c34c5ede7580139
329 feat tls handshake integration and certificate validation callback
Closes #329
diff --git a/internal/networking/cert/generator.go b/internal/networking/cert/generator.go index c2b138db..db2aea14 100644 --- a/internal/networking/cert/generator.go +++ b/internal/networking/cert/generator.go @@ -1,4 +1,4 @@ -package network +package cert import ( "crypto/ed25519" @@ -20,9 +20,9 @@ import ( "g...
1
1
0
[{"id": "G0", "claim": "The Rust-VRF submodule update could be done in a separate pull request instead of being included in this one.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
New-JAMneration__JAM-Protocol__444
New-JAMneration/JAM-Protocol
444
defect
62c6d799f5cc9ce7a302dddae1f13074fd879fdf
e9560bb9c0e08ced3b530c491b0b31814bfde36a
382 feat gp 064 refine
Appendix. B.3 Refine invocation Appendix. B.8 Refine functions
diff --git a/PolkaVM/host_call.go b/PolkaVM/host_call.go index 889133be..e76421e9 100644 --- a/PolkaVM/host_call.go +++ b/PolkaVM/host_call.go @@ -5,6 +5,7 @@ import ( "log" // service "github.com/New-JAMneration/JAM-Protocol/internal/service_account" + "github.com/New-JAMneration/JAM-Protocol/internal/service_ac...
12
10
7
[{"id": "G0", "claim": "ExportSegment should be declared as [SegmentSize]byte instead of the hard-coded [4104]byte.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "historicalLookup should check and read h (not o) when loading the 32-byte code has...
null
New-JAMneration__JAM-Protocol__466
New-JAMneration/JAM-Protocol
466
defect
4341dc2f951ce3105d64d873d69bf3a83ba45d31
19720b5420869ca25271b5824f6b237c2c7eab4b
feat: trouble shooting
Currently, there's an issue because the state provided by davxy in each testing dataset is limited, which causes errors during ring initialization.
diff --git a/cmd/test.go b/cmd/test.go index 1ea221d1..d75306dc 100644 --- a/cmd/test.go +++ b/cmd/test.go @@ -124,7 +124,8 @@ For example: fmt.Println("----------------------------------------") passed := 0 failed := 0 - for _, testFile := range testFiles { + for idx, testFile := range testFiles { + ...
3
3
3
[{"id": "G0", "claim": "Authorizations has no error code; implement a generic error code type for the authorizations test suite now, and add specific error types later if different types emerge.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "History has ...
null
New-JAMneration__JAM-Protocol__51
New-JAMneration/JAM-Protocol
51
defect
16d61081f7491c58b06aab161121ab3eb04cceb4
8fee081db4838c73ef82ce56b4bf89170689d36a
feat: add E_G essential struct and test
![image](https://github.com/user-attachments/assets/97782348-eefd-4045-b543-c5995dd2abfb)
diff --git a/internal/extrinsic/guarantee_controller.go b/internal/extrinsic/guarantee_controller.go new file mode 100644 index 00000000..cdc6b74d --- /dev/null +++ b/internal/extrinsic/guarantee_controller.go @@ -0,0 +1,77 @@ +package extrinsic + +import ( + jamTypes "github.com/New-JAMneration/JAM-Protocol/internal/j...
2
2
1
[{"id": "G0", "claim": "The Add method's doc comment should say Guarantee instead of Preimage.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "GuaranteeController.Add should not remove duplicates from the guarantees, since duplicates are not needed...
null
New-JAMneration__JAM-Protocol__577
New-JAMneration/JAM-Protocol
577
defect
7fcd2cfcbe060163fffbb8ce96b6ffce6b6dab2b
e0926bdaf7fb47593be293d53b13c3428762b1c5
refactor: update PVM invocations GP 0.6.7
1. pvm invocations update details #563 2. service account storage : change dict key type , use string instead of byte_sequence <img width="563" alt="截圖 2025-06-09 晚上9 37 26" src="https://github.com/user-attachments/assets/d5da914f-5847-486f-977f-de4f20fc37d4" />
diff --git a/PVM/host_call.go b/PVM/host_call.go index eb443240..c718b709 100644 --- a/PVM/host_call.go +++ b/PVM/host_call.go @@ -404,21 +404,12 @@ func read(input OmegaInput) (output OmegaOutput) { } // v = a_s[k]? , a = nil is checked, only check k in Key(a_s) - // first compute k - encoder := types.NewEncod...
4
4
3
[{"id": "G0", "claim": "In RealPVMExecutor.Psi_I, taking the address of the concrete local value `&code` can never be nil, so the pointer is pointless.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Changing Storage from map[OpaqueHash]ByteSequence to ma...
null
New-JAMneration__JAM-Protocol__585
New-JAMneration/JAM-Protocol
585
defect
b1d0ce8c244d1b24d7b7b952f94a2c5caeee75fd
01db072752361d22a15fc81f77758e94b940c4dd
564 update serialization v067
- Update state key constructor - Update stat serialization - Remove deprecated serialization functions
diff --git a/internal/types/decode.go b/internal/types/decode.go index 28b33bee..c3923f1a 100644 --- a/internal/types/decode.go +++ b/internal/types/decode.go @@ -3264,3 +3264,53 @@ func (s *StateKeyVals) Decode(d *Decoder) error { return nil } + +// AccumulatedServiceHash +func (a *AccumulatedServiceHash) Decode(...
1
1
0
[{"id": "G0", "claim": "encodeDelta4KeyVal should not hash key.Hash again with Blake2b before passing part_2 into the state key; as in v0.6.7, `h` should be passed directly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
New-JAMneration__JAM-Protocol__705
New-JAMneration/JAM-Protocol
705
defect
deeedd5e972655640bbaf4e11a7a0a597f1a921b
97cc3f359638d491ba1dce6e7bc8f0ebe59bd90e
fix: Refactor: Update Accumulation GP v0.7.1 DeltaDoubleDagger by the deferred_transfer major logic change
0.7.1 <img width="487" height="110" alt="image" src="https://github.com/user-attachments/assets/3d60b1f9-637f-41d4-9ec9-28c4d3793f97" /> 0.7.0 <img width="480" height="300" alt="image" src="https://github.com/user-attachments/assets/a1b7e1f7-e96a-48f5-9de2-8ab028354e1a" />
diff --git a/internal/accumulation/accumulation.go b/internal/accumulation/accumulation.go index ff3a8b47..474d4f07 100644 --- a/internal/accumulation/accumulation.go +++ b/internal/accumulation/accumulation.go @@ -203,15 +203,10 @@ func OuterAccumulation(input OuterAccumulationInput) (output OuterAccumulationOu ga...
8
7
4
[{"id": "G0", "claim": "To pass the v0.7.1 jam-test-vectors, the accumulate test's statistics field needs to be adjusted per the updated jam-test-vectors, and the commented-out statistics validation (including the nil check) remains disabled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope...
null
New-JAMneration__JAM-Protocol__842
New-JAMneration/JAM-Protocol
842
defect
5db741075c377312613b454da152b26c1491af38
f248bed8a9d87d9d75c48527b3caaa18caa0ef49
refactor: 0.7.1 fuzzy
Some different with 0.7.1 fuzz/traces 1. jam-test-vectors uses 0.7.2 transfer 2. jam-test-vectors log Host-Call consume gas The different will keep commented Need to uncomment the scope of `v0.7.2` and commented `v0.7.1` scope of `transfer` and `log` host-call PASS: fuzz/traces, jam-test-vectors reports, stor...
diff --git a/PVM/host_call.go b/PVM/host_call.go index ffbd807d..43899379 100644 --- a/PVM/host_call.go +++ b/PVM/host_call.go @@ -777,7 +777,6 @@ func read(input OmegaInput) (output OmegaOutput) { serviceID := *input.Addition.GeneralArgs.ServiceId delta := *input.Addition.GeneralArgs.ServiceAccountState - var ...
2
2
1
[{"id": "G0", "claim": "The post-state unmatched key-vals may also need to be initialized during RestoreBlockAndState, not just the prior-state ones.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The original filterPreimageExtrinsics takes a pointe...
null
New-JAMneration__JAM-Protocol__879
New-JAMneration/JAM-Protocol
879
defect
09c36ce678d4d8309719d8cce19622d3618a5806
1d00f7196835e4514be9c4fa2d2ab49f114806b4
fix: key storage locally
Avoid storing keys in the database to prevent exposure and keep them in local storage instead.
diff --git a/internal/keystore/database_storage.go b/internal/keystore/database_storage.go deleted file mode 100644 index 55c0ad7b..00000000 --- a/internal/keystore/database_storage.go +++ /dev/null @@ -1,243 +0,0 @@ -package keystore - -import ( - "errors" - "fmt" - "sync" - - "github.com/New-JAMneration/JAM-Protocol/...
2
2
2
[{"id": "G0", "claim": "LocalKeyStore.Import() silently overwrites an existing key instead of returning an ErrKeyExists-style error as the removed DBKeyStore.Import() did; the reviewer asks to restore the existence check (or, if the overwrite is intentional, document it) to prevent accidental key loss.", "category": "c...
null
New-JAMneration__JAM-Protocol__895
New-JAMneration/JAM-Protocol
895
defect
fc4db24bd64b5cddba43a4bd2696d7cf8ed55a7d
1ff85b7f48fea8338d0a5e2aa72e76c9545b08e2
refactor: Memory & small optimizations for MMR and Merkle tree
Low-level memory optimizations to reduce allocations and improve execution efficiency. ### Memory Optimizations - **MMR (`mmr.go`)**: - Pre-allocate buffers in `concatenateAndHash()` (64 bytes) - Copy-on-write in `AppendOne()` to avoid multiple copies - Pre-allocate buffers in `SuperPeak()` (68 bytes) ...
diff --git a/internal/utilities/merkle_tree/merkle_tree.go b/internal/utilities/merkle_tree/merkle_tree.go index 1027b340..9d4661c2 100644 --- a/internal/utilities/merkle_tree/merkle_tree.go +++ b/internal/utilities/merkle_tree/merkle_tree.go @@ -4,28 +4,25 @@ import ( "github.com/New-JAMneration/JAM-Protocol/interna...
3
3
2
[{"id": "G0", "claim": "Mb's named `output` return value could be removed, which would also remove the ByteSequence-to-OpaqueHash copy.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In T, the pre-allocated capacity uses `len(sibling)`, but the resu...
null
New-JAMneration__JAM-Protocol__910
New-JAMneration/JAM-Protocol
910
defect
8dc6b986442d3b57b1136f87bcbe1d4eee064273
7fb8eccf39584e2bc6e9ebe2309920f19a5ebd5b
feat: Audit items for node intergration (GetJudgement / Broadcast / Collect Result)
## Summary Implement `GetJudgement` — auditor's core verification function (GP §17.16–17.17). Fetch original bundle → re-execute via PVM → compare with claimed report. GetJudgement(auditReport) BundleFetcher.FetchBundle(report) ← needs CE impl (stub for now) WorkPackageController.Process() ← already working (Ψ...
diff --git a/internal/auditing/audit_bus.go b/internal/auditing/audit_bus.go new file mode 100644 index 000000000..00c63febf --- /dev/null +++ b/internal/auditing/audit_bus.go @@ -0,0 +1,112 @@ +package auditing + +import ( + "log" + + "github.com/New-JAMneration/JAM-Protocol/internal/types" +) + +// CE144Announcement ...
4
4
2
[{"id": "G0", "claim": "After tranche 0 the full a0 judgments are passed to IsBlockAudited while the loop passes only the current an judgments; the reviewer asks whether that inconsistency is expected behaviour.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ...
null
New-JAMneration__JAM-Protocol__925
New-JAMneration/JAM-Protocol
925
defect
4865352025165dda27970f27c9d134f7534b186f
918654ad387fce5f1887e9d6048a5fb74db72d0e
feat: Validator grid and UP/CE networking infrastructure
## Summary This PR adds **validator grid topology and neighbor computation** aligned with JAMNP, and strengthens **QUIC connection handling / stream dispatch** and **CE handler wire consistency**. It also includes small **API, naming, and index-safety** cleanups so follow-up work (UP 0, automatic dialing, epoch tran...
diff --git a/internal/networking/handler/ce/ce128_test.go b/internal/networking/handler/ce/ce128_test.go index 621ca961..5e16d3b6 100644 --- a/internal/networking/handler/ce/ce128_test.go +++ b/internal/networking/handler/ce/ce128_test.go @@ -475,7 +475,7 @@ func TestCE128RequestWithPeer(t *testing.T) { t.Fatalf("Fa...
2
2
2
[{"id": "G0", "claim": "IsNeighbor(key) should consider peers whose key exists only in Previous/Next at the same validator index, since JAMNP-S counts same-index-across-epochs as grid neighbours, instead of looking up Current only.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
New-JAMneration__JAM-Protocol__926
New-JAMneration/JAM-Protocol
926
defect
4865352025165dda27970f27c9d134f7534b186f
e931cbd5159d1237c2d959eb1cfa23f108cb595a
refactor: Add Encoder Pool by sync.Pool to Reduce Repeated Allocation GC Cost
## Summary Issue: #824. The codebase has 128 occurrences of the same `NewEncoder → Encode → Blake2bHash` pattern across 44 files. Each call allocates a new `Encoder` and buffer, then discards them for GC. Under high-frequency calls this creates unnecessary memory pressure. ### Changes - Add `sync.Pool` for ...
diff --git a/internal/types/encoder.go b/internal/types/encoder.go index 61e126ab..a183dfeb 100644 --- a/internal/types/encoder.go +++ b/internal/types/encoder.go @@ -4,6 +4,7 @@ import ( "bytes" "fmt" "math/bits" + "sync" ) type Encoder struct { @@ -11,6 +12,21 @@ type Encoder struct { HashSegmentMap HashS...
2
2
2
[{"id": "G0", "claim": "EncodeMany returns e.buf.Bytes() without cloning, so with the newly introduced sync.Pool a caller using GetEncoder -> EncodeMany -> PutEncoder would get a slice aliasing the pooled buffer that is overwritten when the encoder is reused, causing silent data corruption; the reviewer asked to clone ...
null
New-JAMneration__JAM-Protocol__932
New-JAMneration/JAM-Protocol
932
defect
4865352025165dda27970f27c9d134f7534b186f
545b59a257759e0eccd34fe1bd6136f4c1bbbe22
feat: update TLS configuration handling to use pre-generated certificates
Waiting #925 , and should be merged after that ### Summary - Refactor TLS setup in `internal/networking/cert` to work cleanly with pre-generated certificates and shared helpers (e.g. building server/client `tls.Config` from existing key material). - Add Ed25519 / TLS test coverage (generator_test). - Wire QUIC ...
diff --git a/internal/networking/cert/generator.go b/internal/networking/cert/generator.go index 5f5128ff9..3eae6c742 100644 --- a/internal/networking/cert/generator.go +++ b/internal/networking/cert/generator.go @@ -207,14 +207,8 @@ func generateTLSCertificate(seed []byte) (tls.Certificate, error) { return selfSigne...
1
1
0
[{"id": "G0", "claim": "(nit, non-blocking) In TestRealQuicStreamBlockRequest, check that the error from quic.NewTLSConfig is not nil before dereferencing clientTLS to set InsecureSkipVerify.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
New-JAMneration__JAM-Protocol__936
New-JAMneration/JAM-Protocol
936
defect
c685564d2385d1766cbd03b90407bffc6f730cbd
1715aa37ac455c2601f90631afa3ec691c76c2e0
fix/test: set ValidatorID bug + Stage 1 tests
## Bug Fix (#935) `ComputeInitialAuditAssignment()` did not set `ValidatorID` when building `AuditReport` (defaulted to 0). This field is read by `UpdatePositiveJudgersFromAudit()` and `IsWorkReportAudited()` to match who was assigned vs who judged. Wrong ID causes Rule 1 to always fail, forcing fallback to supermajo...
diff --git a/internal/auditing/auditing.go b/internal/auditing/auditing.go index 5f9f539e..fb3de66a 100644 --- a/internal/auditing/auditing.go +++ b/internal/auditing/auditing.go @@ -124,7 +124,14 @@ func ComputeInitialAuditAssignment(Q []*types.WorkReport, validatorIndex types.V } shuffled := shuffle.Shuffle(coreI...
2
2
0
[{"id": "G0", "claim": "setupDeterministicAuditChain does four unrelated things (tiny mode, singleton reset, header setup, key generation) while most tests need only part of it; split it into setupChainState (tiny mode + reset, used by all tests) and setupForAnnouncement (header + Ed25519 key, used only by the signing ...
null
New-JAMneration__JAM-Protocol__961
New-JAMneration/JAM-Protocol
961
defect
f3fee380440e60014141088e8a60f09c340c224e
3fc5f5c85e9f0fbbef1676f7abe2d23ed5b57e7c
feat(telemetry): Block Outline + Cost structs (#946)
> Next sub-PR after #954. See the [planning comment on #775](https://github.com/New-JAMneration/JAM-Protocol/issues/775#issuecomment-4324368926) for the wider plan. ## What this is Pure types + codec for the JIP-3 Block Outline and the four PVM Cost structs. No emission, no callsite hooks — just the types so the upco...
diff --git a/internal/telemetry/blockoutline.go b/internal/telemetry/blockoutline.go new file mode 100644 index 000000000..1f6bd1fa3 --- /dev/null +++ b/internal/telemetry/blockoutline.go @@ -0,0 +1,78 @@ +package telemetry + +import "fmt" + +// BlockOutline is the fixed-size block summary used by JIP-3 events 42 +// (...
1
1
0
[{"id": "G0", "claim": "The cost Test*ZeroEncodesToZeroes tests should add explicit length checks (mirroring TestBlockOutline_ZeroEncodesToZeroes) right after enc := ...Encode(), because the byte loop alone would still pass if Encode() regressed to returning an empty slice.", "category": "testing", "verdict": "supporte...
null
New-JAMneration__JAM-Protocol__970
New-JAMneration/JAM-Protocol
970
defect
5b8e474fed28cfb0f05d894deeefc30cd9778609
edead4e01e83316428ed5a9858649081f8298464
feat(telemetry): bridge helpers + contract test framework
> Follow-up to #954 and #961. This is part of the JIP-3 telemetry plan in #775. ## Summary This PR adds helper functions for connecting `internal/networking/quic.EventBus` handlers to the telemetry `Client` API. No real node events are subscribed in this PR. The domain event PRs (#958) will use these helpers later. ...
diff --git a/internal/networking/quic/event_bus.go b/internal/networking/quic/event_bus.go index 7216ba1f7..5371a6d7e 100644 --- a/internal/networking/quic/event_bus.go +++ b/internal/networking/quic/event_bus.go @@ -26,7 +26,10 @@ const ( BulkSyncCompleted EventType = "BulkSyncCompleted" ) -type Event int...
2
2
0
[{"id": "G0", "claim": "Please add a test like TestBridgeFollowup_ReturnsNilOnExtractPanic asserting that BridgeFollowup recovers a panic thrown inside extract, returns nil, and does not run the follow-up emit, so panic-invariant coverage is symmetric across Bridge, BridgeLazy and BridgeFollowup.", "category": "testing...
null
NewFuture__DDNS__501
NewFuture/DDNS
501
defect
33a0c295c10d5d45e6196465e3638189cf32441f
f2e6e567687f5bb41f982ad6095b810f1964bb87
feat(config:line): 支持自定义线路参数
Adds support for custom DNS line (ISP route) configuration, enabling users to specify different DNS resolution routes for different internet service providers. This is particularly useful for Chinese DNS providers that support multi-line resolution. ## Changes Made ### Core Implementation - Modified `ddns/__main__.py...
diff --git a/ddns/__main__.py b/ddns/__main__.py index 1435e1ae7..6de6dddc1 100755 --- a/ddns/__main__.py +++ b/ddns/__main__.py @@ -74,14 +74,14 @@ def change_dns_record(dns, proxy_list, **kw): dns.set_proxy(proxy) record_type, domain = kw["record_type"], kw["domain"] try: - r...
4
4
1
[{"id": "G0", "claim": "The line parameter documentation should also be added to the CLI and ENV docs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The line parameter should also be listed in the README feature list.", "category": "documentation...
null
NewFuture__DDNS__503
NewFuture/DDNS
503
defect
1e351642d58fc8bed29060a48666984e9316f4b7
6a7d69cd57c4b7109f6fe9a5f283aa8403b6a5bb
Refact(tests): improve base ,test, and instructions
This pull request introduces several enhancements and refactorings to the Python-based Dynamic DNS (DDNS) client. Key changes include the addition of development guidelines, refactoring of domain-related utility methods, updates to provider implementations, and adjustments to testing strategies for improved reliability...
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 000000000..13c9bd2ab --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,81 @@ +This is a Python-based Dynamic DNS (DDNS) client that automatically updates DNS records to match the current IP address. It...
7
3
1
[{"id": "G0", "claim": "The tests patch `ddns.provider._base.join_domain`, which does not stub the `join_domain` imported into the Cloudflare module, so the patch target should be `ddns.provider.cloudflare.join_domain`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
NewFuture__DDNS__505
NewFuture/DDNS
505
defect
3d155b671e089971b2c5123c031702f6fdb7ac82
67fc7e7b6660eab2a98be010f638a58528248a36
Add No-IP (noip.com) Dynamic DNS Provider Support
Implements No-IP (www.noip.com) support as requested in the issue. No-IP is a popular dynamic DNS service that provides simple HTTP-based API for updating DNS records. ## Implementation Details - **Provider Type**: SimpleProvider (following the maintainer's guidance for simple API calls) - **Authentication**: HTTP Ba...
diff --git a/ddns/provider/__init__.py b/ddns/provider/__init__.py index 4552e9645..44a139643 100644 --- a/ddns/provider/__init__.py +++ b/ddns/provider/__init__.py @@ -8,6 +8,7 @@ from .dnspod_com import DnspodComProvider from .he import HeProvider from .huaweidns import HuaweiDNSProvider +from .noip import NoipPro...
6
5
2
[{"id": "G0", "claim": "Move the `import base64` from inside the method body to the top of the file with the other imports.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Change the module author tag from \"NewFuture\" to \"GitHub Copilot\" on d...
null
NewFuture__DDNS__514
NewFuture/DDNS
514
defect
3bb6241c5b3588f8b88dc67f227d3b3b6d75b2bc
0737b416ca6781143aef01fcb1f4bbe4ec018534
feat(provider:NameSilo):添加NameSilo支持(待验证)
This PR implements comprehensive NameSilo DNS provider support for the DDNS client, enabling users to manage DNS records through NameSilo's API. ## What's New ### NameSilo Provider Implementation - **Full CRUD Operations**: Supports querying, creating, and updating DNS records via NameSilo's API - **BaseProvider Arch...
diff --git a/ddns/provider/__init__.py b/ddns/provider/__init__.py index cbe921071..46bc78138 100644 --- a/ddns/provider/__init__.py +++ b/ddns/provider/__init__.py @@ -10,6 +10,7 @@ from .dnspod_com import DnspodComProvider from .he import HeProvider from .huaweidns import HuaweiDNSProvider +from .namesilo import N...
21
18
4
[{"id": "G0", "claim": "In `_create_record` the truthiness check `if ttl:` skips a TTL of 0; it should explicitly detect when a TTL was provided (e.g. `if ttl is not None:`).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The class should be named `...
null
NewFuture__DDNS__515
NewFuture/DDNS
515
defect
3bb6241c5b3588f8b88dc67f227d3b3b6d75b2bc
4cbfd389b5075620864cccb7f358aa9a6d49650d
feat(config): 支持当行注释 Add JSON comment support with # and // styles for configuration files
This PR implements support for single-line comments in JSON configuration files using both `#` and `//` comment styles, as requested in the issue discussion. ## Features Added - **Comment removal utility**: New `ddns/util/comment.py` module with `remove_comment(str) -> str` function - **Dual comment style support**: ...
diff --git a/ddns/config/file.py b/ddns/config/file.py index 54a8b9585..6135cb13f 100644 --- a/ddns/config/file.py +++ b/ddns/config/file.py @@ -7,6 +7,7 @@ from io import open from json import loads as json_decode, dumps as json_encode from sys import stderr, stdout +from ..util.comment import remove_comment d...
11
3
1
[{"id": "G0", "claim": "remove_comment should also delete the trailing comma left at the end of a line when stripping an end-of-line comment.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "tests/test_util_comment.py uses self.subTest, which does not...
null
NewFuture__DDNS__520
NewFuture/DDNS
520
defect
22c9cf8d543c2cfcc8da429d7e0a37d99418aabd
37bf9c3a713f436d8c4d088b6d76bc9e2bc086a4
fix(http): fix and refactor http
This pull request introduces several significant changes, including enhancements to SSL handling, refactoring of HTTP request logic, and updates to terminal command configurations. These changes improve code maintainability, security, and functionality while simplifying the implementation of HTTP requests. ### SSL H...
diff --git a/.vscode/settings.json b/.vscode/settings.json index 417cc24eb..2283265cb 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -29,11 +29,28 @@ ], "github.copilot.chat.agent.terminal.allowList": { "python": true, + "python -c": true, "python -m": true, ...
8
2
2
[{"id": "G0", "claim": "If the regex does not match, _open logs an error but implicitly returns None, which may lead to unexpected issues; it should raise a specific exception or return an explicit default value.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
NewFuture__DDNS__521
NewFuture/DDNS
521
defect
22c9cf8d543c2cfcc8da429d7e0a37d99418aabd
dc16d6722c7209e0572cca3b67938901e5c78879
feat(provider:edgeone): 支持腾讯EdgeOne Add Tencent Cloud EdgeOne DNS provider support
Implements support for Tencent Cloud EdgeOne (边缘安全速平台 EO) DNS provider as requested in the feature request. ## What's Added ### New EdgeOne Provider (`ddns/provider/edgeone.py`) - Full DNS record management via EdgeOne API v2022-09-01 - TC3-HMAC-SHA256 authentication (same as TencentCloud provider) - Zone and record ...
diff --git a/ddns/provider/__init__.py b/ddns/provider/__init__.py index 46bc78138..c802c5b1d 100644 --- a/ddns/provider/__init__.py +++ b/ddns/provider/__init__.py @@ -8,6 +8,7 @@ from .dnscom import DnscomProvider from .dnspod import DnspodProvider from .dnspod_com import DnspodComProvider +from .edgeone import Ed...
9
8
2
[{"id": "G0", "claim": "EdgeOneProvider should inherit from TencentCloudProvider instead of reimplementing the Tencent Cloud authentication itself.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The zone lookup logic in _query_zone_id should be simplifie...
null
NewFuture__DDNS__528
NewFuture/DDNS
528
defect
411764e1b5d769040043ac618308b4b7e5b194c9
33377e50db5fe0c09ca456e21546a82b446690a6
enhance(noip): Remove base64 dependency and use URL-embedded authentication for NoIP provider
This PR enhances the NoIP provider by replacing manual base64 encoding with URL-embedded authentication, simplifying the code and removing the base64 dependency. ## Changes Made **Before**: Manual HTTP Basic Auth header creation ```python import base64 # Manual base64 encoding for Authorization header auth_string = ...
diff --git a/ddns/provider/noip.py b/ddns/provider/noip.py index c4ab8eae9..64b82a1b5 100644 --- a/ddns/provider/noip.py +++ b/ddns/provider/noip.py @@ -4,7 +4,6 @@ @author: GitHub Copilot """ -import base64 from ._base import SimpleProvider, TYPE_FORM @@ -59,21 +58,25 @@ def set_record(self, domain, value, re...
3
3
1
[{"id": "G0", "claim": "The `quote` import inside `set_record` should be moved to the top of the file, trying `._base` first.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Do not hardcode the NoIP endpoint (and don't change the endpoint per req...
null
NewFuture__DDNS__542
NewFuture/DDNS
542
defect
f06f782f28709ac33146343b49b9833e42bd916d
d036c3c6c83cf3544efce1a1503b323581ab45c1
fix(cli): new config default path
This pull request includes a minor update to the `ddns/config/cli.py` file. The change refines how the default configuration path is determined when the `config` attribute in `namespace` is a list. * [`ddns/config/cli.py`](diffhunk://#diff-0723443ecdc201b3b39bfa650d35b046070cc766a6aee9947aed75144bf6d827L85-R86): Upd...
diff --git a/ddns/config/cli.py b/ddns/config/cli.py index ae4898b0e..2b4001929 100644 --- a/ddns/config/cli.py +++ b/ddns/config/cli.py @@ -82,7 +82,8 @@ def __call__(self, parser, namespace, values, option_string=None): if values and values != "true": config_path = str(values) # type: str ...
2
1
1
[{"id": "G0", "claim": "The getattr call no longer provides a default value, which could cause an AttributeError if namespace does not have a 'config' attribute; use getattr(namespace, \"config\", None) or \"config.json\" to maintain the original behavior.", "category": "correctness", "verdict": "supported", "priority"...
null
NewFuture__DDNS__547
NewFuture/DDNS
547
defect
b9bd2ab33362824b13fc572dcd3c4f19357587b5
e5ba9b99e598a8df28f9f052d6f4d040b8009ff3
feat(scheduler): enhance Windows task scheduling and command executio…
This pull request introduces several improvements and refactorings to the build, release, and scheduler logic of the DDNS project. The main changes focus on more robust version and tag handling for release automation, enhanced cross-platform build and packaging steps (especially for Windows), and significant refactorin...
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d960a3f5..b9a703a3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -183,6 +183,7 @@ jobs: output-dir: dist lto: yes file-description: "DDNS客户端[测试版 Alpha]" + windows-cons...
3
1
0
[{"id": "G0", "claim": "The install.sh version validation only checks that VERSION is non-empty and does not validate that it is a proper version format, so invalid tag names from the API could pass this check and cause issues downstream.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "...
null
NewFuture__DDNS__549
NewFuture/DDNS
549
defect
14630204112c15f1b99e0a3c131b66f884235882
de8e45d12974af0f95804b4b0c81214a52b8bcf7
feat(ip): implement automatic failover for public IP detection APIs with unified interface
This PR implements automatic failover for public IP detection when using the `public` method, addressing reliability issues when individual IP detection APIs are unavailable. The implementation maintains full backward compatibility while providing a unified interface for both failover and custom URL scenarios. ## Chan...
diff --git a/ddns/ip.py b/ddns/ip.py index f20c0f9ee..919b5c800 100644 --- a/ddns/ip.py +++ b/ddns/ip.py @@ -16,6 +16,24 @@ # https://community.helpsystems.com/forums/intermapper/miscellaneous-topics/5acc4fcf-fa83-e511-80cf-0050568460e4 IPV6_REG = r"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6...
8
4
1
[{"id": "G0", "claim": "public_v4/public_v6 need not be backward compatible since the API is not called elsewhere, so the url parameter can be removed.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The IPv6 API list should use http://ipv6.icanhazip.com in...
null
NewFuture__DDNS__550
NewFuture/DDNS
550
defect
1e0f066684d0995b6c5574bfa360d6a83d0d6164
37dde28d1dbdedb451ccc300b56e9f2bbec0b98c
fix(scheduler ): scheduler path and check
This pull request introduces several improvements and refactorings to the DDNS project, primarily focused on scheduler handling, Docker build compatibility, and platform-specific behaviors. The main changes include refactoring scheduler subprocess logic, adding support for Docker builds by removing scheduler components...
diff --git a/.github/patch.py b/.github/patch.py index de746bc60..21edf6f14 100755 --- a/.github/patch.py +++ b/.github/patch.py @@ -86,6 +86,110 @@ def add_nuitka_include_modules(pyfile): return True +def add_nuitka_windows_unbuffered(pyfile): + """ + 为Windows平台在现有的 --python-flag 配置中添加 unbuffered 标志 + ...
3
2
2
[{"id": "G0", "claim": "If the existing --python-flag value is an empty string, concatenating ',unbuffered' produces a leading comma, so the code should handle empty existing_flags before appending.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
NewFuture__DDNS__564
NewFuture/DDNS
564
defect
1600e57aff994e751c31305bcebf0580348ce248
e77cd7264c2adc8ceb3b23b5a14e9d39f33dc9a9
fix(config): restore log.file configuration for v4.1 multi-provider format
## Fix log.file configuration in v4.1 multi-provider format ### Problem Summary In DDNS v4.1, the `log.file` configuration was ignored when using the new `providers` array format with multiple providers. Console logging worked normally and domain updates proceeded, but logs were not written to the specified file. **U...
diff --git a/ddns/config/__init__.py b/ddns/config/__init__.py index 8d98faee5..c3cb896f3 100644 --- a/ddns/config/__init__.py +++ b/ddns/config/__init__.py @@ -49,8 +49,9 @@ def _get_config_paths(config_paths): def _setup_logging(cli_config, env_config, all_json_configs): # type: (dict, dict, list[dict]) -> logg...
6
5
2
[{"id": "G0", "claim": "The new comments in _setup_logging are too verbose and could be more concise and clearer, per the suggested wording.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The import statements inside the test method should be move...
null
NewFuture__DDNS__566
NewFuture/DDNS
566
defect
80813a07144ed1514a8448330ecdc2459dcfcb05
b1f340f1ad99d70f0e7c4d31efadc413d6cfdf06
fix(provider): ensure extra params take priority over old_record in _update_record
## Issue When calling `_update_record()` across providers, the `extra` parameter should take priority over values from `old_record`. However, CloudFlare provider had the priority order reversed for certain fields. ## Problem In `ddns/provider/cloudflare.py`, the `_update_record` method was incorrectly prioritizing `...
diff --git a/ddns/provider/cloudflare.py b/ddns/provider/cloudflare.py index f0abea22d..0d102ae73 100644 --- a/ddns/provider/cloudflare.py +++ b/ddns/provider/cloudflare.py @@ -81,9 +81,9 @@ def _update_record(self, zone_id, old_record, value, record_type, ttl, line, ext # type: (str, dict, str, str, int | str...
2
2
1
[{"id": "G0", "claim": "The new aliesa test imports `unittest.mock`, which does not exist on Python 2.7, raising `ImportError: No module named mock`.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Using `eval()` to parse the JSON body in tests/test_...
null
NewFuture__DDNS__571
NewFuture/DDNS
571
defect
d910a06fb723140f0f0ff4a322638141bccf1545
d495546e735b94c5c7920812746fa3b67a7bcd7f
fix(cloudflare): DNS record query conditions - Boolean encoding and extra filter fallback
- [x] Fix Boolean values in URL query parameters (False → false, True → true) - moved to cloudflare.py - [x] Simplify _query_record implementation in CloudflareProvider - [x] Update tests to verify Boolean serialization in cloudflare provider - [x] Add tests to verify fallback logic for extra filter matching - [x] Upda...
diff --git a/ddns/provider/_base.py b/ddns/provider/_base.py index 3e82ed9ed..427b4ccc4 100644 --- a/ddns/provider/_base.py +++ b/ddns/provider/_base.py @@ -68,6 +68,7 @@ def encode_params(params): # type: (dict|list|str|bytes|None) -> str """ 编码参数为 URL 查询字符串,参数顺序会排序 + Boolean值会被转换为小写字符串 (True -> "tru...
5
2
1
[{"id": "G0", "claim": "The new _query_record docstring mixes Chinese and English without parameter details; add Args/Returns sections and use one language per project conventions.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The record-extracti...
null
NewFuture__DDNS__664
NewFuture/DDNS
664
defect
81840212e066393df4025c7e7acc123744ea79cd
cfad72883bb6425806da7994e40a38f79d568a6d
refactor(provider): optimize cloudns implementation and add documentation
## CloudNS Provider Optimization and Documentation - Complete ✅ Successfully optimized the newly added ClouDNS provider and updated all related documentation and references. ### Code Optimization ✅ - [x] Review cloudns.py implementation - [x] Simplify `_request` method error handling (removed redundant checks) - [x] ...
diff --git a/ddns/provider/cloudns.py b/ddns/provider/cloudns.py index c4908aa76..ae89474ad 100644 --- a/ddns/provider/cloudns.py +++ b/ddns/provider/cloudns.py @@ -1,7 +1,8 @@ # coding=utf-8 """ ClouDNS API -@author: NewFuture (modifications for ClouDNS) +@doc: https://www.cloudns.net/wiki/ +@author: NewFuture """...
2
2
2
[{"id": "G0", "claim": "The ClouDNS provider should use the minimum 60 seconds as the default TTL for created records instead of 3600.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The inline dict-unpacking syntax **{...} in cloudns.py raises a Syn...
null
NewFuture__DDNS__670
NewFuture/DDNS
670
defect
a336bf2d9ba4e26b12e2ccd5ab1277918abb6cfd
3a0d77cb46d8b2218ba2d80fe0ce3276cc078707
docs(agents): exclude VitePress and ESA tooling files from structure tracking
## Plan: Ignore specific docs files in update-agents workflow - [x] Understand the issue and the update_agents_structure.py script - [x] Modify update_agents_structure.py to exclude the 4 files from scan: - `docs/esa-deploy.md` - `docs/esa.js` - `docs/llms.txt` - `docs/package.json` - [x] Remove excluded files...
diff --git a/.github/scripts/update_agents_structure.py b/.github/scripts/update_agents_structure.py index 356affb35..23e33e00e 100644 --- a/.github/scripts/update_agents_structure.py +++ b/.github/scripts/update_agents_structure.py @@ -13,6 +13,14 @@ def scan_files(directory, extensions): # type: (str, tuple) ->...
3
1
0
[{"id": "G0", "claim": "The exclude list includes docs files (esa.js, llms.txt, package.json) that scan_files never scans since only .md files are scanned from docs/, which the reviewer says does no harm but could mislead maintainers; they ask to remove the non-.md entries or add a comment explaining only .md files are...
null
Next-Flip__Momentum-Firmware__524
Next-Flip/Momentum-Firmware
524
defect
c176524fca3d8ab3485fd5ef5220b8c7f3cdae2d
507bfbf004e9671d8a72b99064a1053953fb5421
NFC: Add Mifare Ultralight C Write Support
# What's new - Added Ultralight C Write functionality. With this, you can now, as long as keys are saved in the dictionary, write to Ultralight C cards. You have 2 options: `Write (Keep Key)` and `Write (Copy Key)`. These 2 options allow you to pick if you want to overwrite the key on the target card; or keep it. T...
diff --git a/applications/main/nfc/helpers/protocol_support/mf_ultralight/mf_ultralight.c b/applications/main/nfc/helpers/protocol_support/mf_ultralight/mf_ultralight.c index 5a0c88cf7b..313d6be507 100644 --- a/applications/main/nfc/helpers/protocol_support/mf_ultralight/mf_ultralight.c +++ b/applications/main/nfc/help...
10
10
0
[{"id": "G0", "claim": "There is probably no reason to make the added is_mfulc check a separate variable since it is only used in one place.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The extra debug logs for merely transitioning to the next...
null
Nexus-Router__nexus__128
Nexus-Router/nexus
128
defect
08cf365d99de5bfdc9ee7c3bee0a0be3566cd0c6
c1d5f9997c97b04f603b825c228a9ba83f9e253f
feat(gb-9490): bring your own key
Enabling this to the LLM provider, the user can define a special header `X-Provider-Api-Key`, which is then passed to the LLM as the API key instead of the one in the configuration. The configuration API key is now optional, so you can only use the header if you want.
diff --git a/README.md b/README.md index 5ae219bd..e83eaac1 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,7 @@ Create a `nexus.toml` file to configure Nexus: [llm.providers.openai] type = "openai" api_key = "{{ env.OPENAI_API_KEY }}" +forward_token = true [llm.providers.anthropic] type = "anthropic" @@ -38...
2
1
0
[{"id": "G0", "claim": "Making api_key optional without validation could lead to runtime errors; the PR should add validation ensuring api_key is Some when forward_token is false, or provide clearer error messages when no key is available.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": ...
null
Nexus-Router__nexus__198
Nexus-Router/nexus
198
defect
fac280077b82898d2fef2d475070f534853db5d0
11f67cbcf25ce9b69eaf5c87078fb334ef961158
feat(gb-9579): otel metrics groundwork
The basics of otel metrics, test api and so on. Response times and status codes so far. Everything else comes in subsequent PRs.
diff --git a/CLAUDE.md b/CLAUDE.md index 1b1d3927..032e5b90 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -30,6 +30,7 @@ When editing code in this repository, you are working on **Nexus**, an AI router - **Mini-moka**: In-memory caching for rate limit buckets - **Redis**: Redis support for distributed rate limiting - **...
2
1
0
[{"id": "G0", "claim": "The field-level serde `default` attributes (e.g. `#[serde(default = \"default_endpoint\")]` on `endpoint`) are redundant given the struct-level default on OtlpExporterConfig.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
Nexus-Router__nexus__29
Nexus-Router/nexus
29
defect
f9dec90b5158103e2b8a17e4767059da59332712
c6adfe8a0c53015c6d3c9640e5cea6c52e45ecbf
chore: add more to the server name and instructions to guide the LLM
We should always list all the services, all the tools, and even in the server name provide info what is possible.
diff --git a/crates/config/src/mcp.rs b/crates/config/src/mcp.rs index db9b4be8..09353206 100644 --- a/crates/config/src/mcp.rs +++ b/crates/config/src/mcp.rs @@ -68,6 +68,8 @@ pub struct HttpConfig { /// or wait for the server to send a message endpoint event. #[serde(default)] pub message_url: Option<U...
1
1
0
[{"id": "G0", "claim": "The token field added to HttpConfig is confusing and does not belong in this pull request.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Nezreka__SoulSync__374
Nezreka/SoulSync
374
defect
c6f3bf9d84fcddf50eb280f38da845d94f1c23dd
a60546929e1a5944da19016eae26442214e55595
Fix Album Completeness job reporting zero findings for every album
Reported by sassmastawillis: the Album Completeness maintenance job scans 3127 albums in 0.1 seconds and reports 0 findings — for every user, regardless of whether their library is actually complete. Restoring an older DB surfaced 7 correct findings, so the code logic works; the DB state is what's making everything loo...
diff --git a/core/deezer_worker.py b/core/deezer_worker.py index b5e942fc7..4940d16dd 100644 --- a/core/deezer_worker.py +++ b/core/deezer_worker.py @@ -8,7 +8,7 @@ from utils.logging_config import get_logger from database.music_database import MusicDatabase from core.deezer_client import DeezerClient -from core.wor...
2
2
2
[{"id": "G0", "claim": "api_track_count is not copied during the ratingKey migration, so the cache disappears when an album row is rekeyed and the next completeness scan falls back to live API lookups.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
NicoNex__echotron__26
NicoNex/echotron
26
defect
c63bc7f3c296cabc185409a1d0cbcdfe61709df9
d26669751bde711b15957a02f33d88b1d81adbb3
Support Bot API 6.2
The only thing I wasn't able to identify were the changes to the Web Apps
diff --git a/options.go b/options.go index ef6e882..2286a6e 100644 --- a/options.go +++ b/options.go @@ -90,6 +90,7 @@ const ( PreEntity = "pre" TextLinkEntity = "text_link" TextMentionEntity = "text_mention" + CustomEmojiEntity ...
3
3
0
[{"id": "G0", "claim": "Rename the MessageEntity field `CustomEmojiId` to `CustomEmojiID`, with an uppercase D.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`StickerType` here was probably meant to be `StickerSetType`, and the `StickerSetType`...
null
NicolasHug__Surprise__415
NicolasHug/Surprise
415
defect
46b9914995e6c8c7d227b46f2eaeef2d4600580f
1d2531cb075ce5e66f55f6a6faa1ebecdbd7fc00
docs: Fix a few typos
There are small typos in: - doc/source/FAQ.rst - doc/source/getting_started.rst - examples/k_nearest_neighbors.py - surprise/prediction_algorithms/algo_base.py - surprise/prediction_algorithms/knns.py - tests/test_zero_ratings.py Fixes: - Should read `workaround` rather than `workaroud`. - Should read `simil...
diff --git a/TODO.md b/TODO.md index 75c152f9..800303b6 100644 --- a/TODO.md +++ b/TODO.md @@ -4,7 +4,7 @@ TODO * remove offset from everywhere (Reader, Trainset, test(), predict()...). Make a test to make sure that zero ratings are handled correctly. Right now we store ratings as defaultdict(list) in ur and ir,...
1
1
1
[{"id": "G0", "claim": "The misspelled ref label `pred_package_knn_inpired` was corrected only in doc/source/FAQ.rst while it still exists elsewhere (the knn_inspired.rst label definition and two algo_base.py docstrings), leaving FAQ.rst's reference dangling; the reviewer asked to either leave it as-is everywhere or fi...
null
NightscoutFoundation__xDrip__1879
NightscoutFoundation/xDrip
1,879
defect
9ff51046fc713aa7fdfe45980fffaea765c85b0e
e26a54ebd50f91dd707016913a9efe79b024cb68
fix for Unparseable date format
Change ISO 8601 date string parsing to be able to read Nightscout data if DE_NORMALIZE_DATES is enabled. A unit test is implemented as well. Test strings and their correction can be seen at https://regex101.com/r/utF21U. A detailed description is added to the individual commits, especially to 5a30fc2. The unit te...
diff --git a/app/build.gradle b/app/build.gradle index b488e135b8..33d1520304 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -375,8 +375,9 @@ dependencies { //implementation 'com.google.dagger:dagger-android-support:2.x' // if you use the support libraries annotationProcessor 'com.google.dagger:dagge...
1
1
1
[{"id": "G0", "claim": "The new unit tests may not cover every date/time string format that the previous implementation accepted.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
NightscoutFoundation__xDrip__1887
NightscoutFoundation/xDrip
1,887
defect
ed52709b38243dcbde1f45b890a8affe6456a133
29f8b8e695b2c8592b09ef7c759c12938df37d21
Tzachi libre no calibrations
Allow libre 2 to work without calibrations. By default, users still have to calibrate. After installation, users can activate the new feature. No issues are expected with OOP1 or bluecon users. Still needs testing. To try the new version please use: https://drive.google.com/uc?id=1vqFnHulnXXBYggydqTv8KYY8NVZ9T3...
diff --git a/app/src/main/java/com/eveningoutpost/dexdrip/Home.java b/app/src/main/java/com/eveningoutpost/dexdrip/Home.java index 80d2431a2c..df5422a1e9 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/Home.java +++ b/app/src/main/java/com/eveningoutpost/dexdrip/Home.java @@ -2542,7 +2542,7 @@ private void up...
14
7
1
[{"id": "G0", "claim": "The log line is missing a trailing space before the appended libreTrendPoint value.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's changes should be run through code formatting before merge.", "category": "...
null
NightscoutFoundation__xDrip__2075
NightscoutFoundation/xDrip
2,075
defect
da6bb4f7fa9dc55e339000fb00209a5b0fc7dfd7
f7264f2e9342da243cf2ffcb4fc77cf5a6c39e3a
Initial support for libre pro.
Based on information and code that I have received from @keencave This is not tested as I don't have libre pro sensors. Would be nice if someone with such a sensor can check this. Should work with direct nfc scan or devices like miaomiao. Can be downloaded from: https://drive.google.com/file/d/1VGVvnx-ktEsvHfu...
diff --git a/app/src/main/java/com/eveningoutpost/dexdrip/NFCReaderX.java b/app/src/main/java/com/eveningoutpost/dexdrip/NFCReaderX.java index 3f44a1fe7c..d4a0ab4d1d 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/NFCReaderX.java +++ b/app/src/main/java/com/eveningoutpost/dexdrip/NFCReaderX.java @@ -86,6 +86,...
3
1
1
[{"id": "G0", "claim": "parseHistoryData and parseTrendData are almost identical (differing only in the index 26 vs 27 and data size 16 vs 32) and should be merged/parameterized to reduce code duplication.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
NightscoutFoundation__xDrip__382
NightscoutFoundation/xDrip
382
defect
f97d9582c6a9529a770c8f309795b04a62d14c9a
9cecee44eabaef728cb5daf4485989dc3bb28094
BlueReader: Implement better handling of ugly state
Implement additional settings for blueReader Set some translations for several messages Put right name of bridge-name in nightscout uploader for battery
diff --git a/app/src/main/java/com/eveningoutpost/dexdrip/Home.java b/app/src/main/java/com/eveningoutpost/dexdrip/Home.java index c9f2d55cc8..ce72377505 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/Home.java +++ b/app/src/main/java/com/eveningoutpost/dexdrip/Home.java @@ -2540,6 +2540,12 @@ private void d...
12
11
3
[{"id": "G0", "claim": "Add comments on the command byte constants saying which letter each byte value converts to, to make them easier to understand and compare with the blueReader documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
NightscoutFoundation__xDrip__4287
NightscoutFoundation/xDrip
4,287
defect
1ac4e3f87600f14025b4c491c67e7b3f0e4575fe
6b5ed424536651a6f336100234cf782dd97ab1ec
Fetch IoB from MiniMed Mobile EU companion app
I noticed the MiniMed app I have shows insulin on board in the notification, so I wanted to fetch it, mostly so I can add it to my Pebble watchface ([here](https://github.com/mortenfyhn/xDrip-Pebble-E)). With the existing Omnipod companion app IoB fetching, this turned out to be quite easy. Thanks @bart2 ! Here's...
diff --git a/app/src/main/java/com/eveningoutpost/dexdrip/services/UiBasedCollector.java b/app/src/main/java/com/eveningoutpost/dexdrip/services/UiBasedCollector.java index d3ab9d5f8d..03aa136117 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/services/UiBasedCollector.java +++ b/app/src/main/java/com/evening...
1
1
1
[{"id": "G0", "claim": "The pull request changed the expected value of the Omnipod IoB unit test to 5.12 without explanation, and the change makes the unit test fail (expected 5.12 but parseIoB returned 5.1); please explain it or revert it to 5.1.", "category": "correctness", "verdict": "supported", "priority": "P1", "...
null
Nike-Inc__gimme-aws-creds__166
Nike-Inc/gimme-aws-creds
166
defect
76f41030a04bc28138cbe241da87bead4d126568
fe8acdf2e0794d3da7c1702a07aa9b6001671a7a
165 Support Pathless profile names, and account aliases
* Add staticmethod to parse friendly name and get account alias * Update arn parser to split out the path from the role * Add configuration option to toggle whether to add path to role name ## Description 1. Added new config item: `include_path' - (optional) includes that full role path to the role name for prof...
diff --git a/README.md b/README.md index 43cd31bf..25a26a58 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ A configuration wizard will prompt you to enter the necessary configuration para - write_aws_creds - True or False - If True, the AWS credentials will be written to `~/.aws/credentials` otherwise it wil...
3
3
0
[{"id": "G0", "claim": "Add an example to the README's include_path entry showing the difference between setting it to y and n.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reword the include_path docstring entry in config.py to 'include_path - ...
null
Nike-Inc__gimme-aws-creds__25
Nike-Inc/gimme-aws-creds
25
defect
fb2519a3da1b771b6c1ab47ec30850eaed1cf33a
74f3fb68b068faf8fb714caee4fb044521d5d63f
Friendly error and version
I added an error is an appname is not found and added --version.
diff --git a/gimme_aws_creds/__init__.py b/gimme_aws_creds/__init__.py index fef657d7..0a04ddcd 100644 --- a/gimme_aws_creds/__init__.py +++ b/gimme_aws_creds/__init__.py @@ -1 +1,2 @@ __all__ = ['config', 'okta', 'main'] +version = '1.0.4' diff --git a/gimme_aws_creds/config.py b/gimme_aws_creds/config.py index da7bf...
1
1
1
[{"id": "G0", "claim": "When the configured app name is not found, the tool should display an error message and let the user choose from the list of returned apps instead of throwing an exception that dies with the message buried in a stack trace.", "category": "design", "verdict": "supported", "priority": "P1", "scope...
null
Nike-Inc__gimme-aws-creds__252
Nike-Inc/gimme-aws-creds
252
defect
850b02ff34958d069b34bd8a86efe678c0662f3d
9ee8b3c089a9014eb7d32c54edc89754b2958dbc
Webauthn over a virtual CTAP keyring device
## Description This PR proposes the addition of creating webauthn enrollments via gimme-aws-creds, in a manner where they could be used directly from the CLI. This means that, for instance, one would be able to use the familiar touch-id / windows hello prompts, if enabled in their okta account - in a similar fa...
diff --git a/README.md b/README.md index 7f3a4694..14129028 100644 --- a/README.md +++ b/README.md @@ -266,8 +266,15 @@ gimme-aws-creds works both on FIDO1 enabled org and WebAuthN enabled org Note that FIDO1 will probably be deprecated in the near future as standards moves forward to WebAuthN -WebAuthN support is...
1
1
0
[{"id": "G0", "claim": "A separate sqlite database is unnecessary for storing the registered FIDO authenticator mapping; a JSON file would do.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Nike-Inc__gimme-aws-creds__406
Nike-Inc/gimme-aws-creds
406
defect
679c30f2e6cebc6ebd2a97160c570ca78cfffe0e
3d658c8ebf342c5ef9e79285ffbe4f8d18a4ba93
feat: add email option for mfa
This PR adds an option to use email as a factor for MFA ## Description Currently, email isn't supported as a factor for MFA. This PR adds email as a factor. Its pretty much the same as sms coding wise and I just had to make a few changes. I added tests as well. ## Related Issue https://github.com/Nike-Inc/g...
diff --git a/README.md b/README.md index f1d28ad0..41a9556b 100644 --- a/README.md +++ b/README.md @@ -129,8 +129,8 @@ To make it easier you can also create an alias for the gimme-aws-creds command w ```bash # make sure you have the "~/.okta_aws_login_config" locally first! touch ~/.okta_aws_login_config && \ -alias...
1
1
1
[{"id": "G0", "claim": "The PR unintentionally altered the README's docker alias instructions (renaming the alias to gimme-aws-creds-docker and changing the mount path to ~/.aws/credentials2), and those changes should be removed.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
Nike-Inc__gimme-aws-creds__48
Nike-Inc/gimme-aws-creds
48
defect
ab3abca51d9fc890619123ad32b2a786fabf3673
3927dae7b2787f41992cf0d5b3eacefe3edecc4f
Avoid using API KEY by specifing an app url #26
Hi, If you use MFA for AuthN, awsprocesscreds still have some problem with handling MFA properly. So here are the small modifications to handle app url without the need of using of an OKTA API KEY - adding the option to use an application url instead of using API KEY. - defaulting to appurl in configuration - re...
diff --git a/gimme_aws_creds/config.py b/gimme_aws_creds/config.py index 4a9c4709..179f628f 100644 --- a/gimme_aws_creds/config.py +++ b/gimme_aws_creds/config.py @@ -35,6 +35,7 @@ def __init__(self): self.api_key = None self.conf_profile = 'DEFAULT' self.verify_ssl_certs = True + self...
4
3
2
[{"id": "G0", "claim": "The pull request should keep the check that the Okta username is an email address, because accepting non-qualified usernames can cause ambiguous errors when they conflict with another domain.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {"id": "G...
null
NiklasEi__bevy_asset_loader__239
NiklasEi/bevy_asset_loader
239
defect
5a5481608820a434c5fc9b1cd48ba4f64e2571df
90711c467c8065bbbfff2ed51a2cea3a9e122e7c
Make SubStates work
Prior to this change, Bevy `SubStates` do not work. Running the new example gives this panic: ``` ❯ cargo run --example sub_state Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s Running `target/debug/examples/sub_state` 2024-10-21T11:30:32.578903Z INFO bevy_diagnostic::system_inform...
diff --git a/bevy_asset_loader/Cargo.toml b/bevy_asset_loader/Cargo.toml index b3227eda..7678bad8 100644 --- a/bevy_asset_loader/Cargo.toml +++ b/bevy_asset_loader/Cargo.toml @@ -121,3 +121,7 @@ required-features = ["2d"] [[example]] name = "asset_maps" path = "examples/asset_maps.rs" + +[[example]] +name = "sub_sta...
2
2
0
[{"id": "G0", "claim": "The new sub_state example should be changed to a \"green path\" example, without the \"booting\" state, manual user input, and the failure state, to make it clearer.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new can_run_w...
null
NiklasRosenstein__pydoc-markdown__151
NiklasRosenstein/pydoc-markdown
151
defect
e1210a3a3bd9247b73fef6066808cde2032374b5
1091ae48ba9680ffa03e683dd03378ffa559569f
Docusaurus renderer
Fixes #147 ## Proposed changes - add options on the default `MarkdownRenderer`: - `escape_html_in_docstring` - `render_module_header_template` - `skip_empty_modules` - create a `DocusaurusRenderer` class that can generate multiple markdown files - add end-to-end tests for the functionality
diff --git a/.gitignore b/.gitignore index f1765441..ec11b7da 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ Pipfile.lock .pytest_cache/ .vscode CHANGELOG.md +pydoc-markdown/src/pydoc_markdown/test/test_package/docs/reference/ diff --git a/pydoc-markdown/package.yml b/pydoc-markdown/package.yml index 953...
7
5
1
[{"id": "G0", "claim": "The DocusaurusRenderer should use a MarkdownRenderer subclass that overrides the field defaults instead of holding a plain MarkdownRenderer field, so that the customized defaults still apply when the markdown field is configured.", "category": "design", "verdict": "supported", "priority": "P1", ...
null
NiklasRosenstein__pydoc-markdown__84
NiklasRosenstein/pydoc-markdown
84
defect
e7e93b2bf7f7535e0de4cd275058fc9865dff21b
0c0b239d6a02f49609984ac96d26a1c178d33dbf
Add GooglePreprocessor and SmartPreprocessor
GooglePreprocessor - supports Google format for docstrings SmartPreprocessor - wisely chooses between RST and Google preprocessors for each docstring
diff --git a/README.md b/README.md index 0abddaed..f692875a 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ gens_dir: _build/pydocmd # This will end up as the MkDocs 'docs_dir' site_dir: _build/site theme: readthedocs loader: pydocmd.loader.PythonLoader -preprocessor: pydocmd.preprocessor.Preproces...
3
3
1
[{"id": "G0", "claim": "The pull request reformats existing code from the codebase's two-space indentation to four-space (pylint auto-formatting mixed into the change); please go back to two-space so the PR contains only the changes it intends to address.", "category": "maintainability", "verdict": "supported", "priori...
null
NiladriHazra__Open-Fiesta__107
NiladriHazra/Open-Fiesta
107
defect
6ffcf54c18497ab5f825a65a957d097ebd558b17
5ef7158fff97a8a3c7d7fc41b0827ccc5e702ca7
test: migrate inline snapshots to file-based snapshots for Jest compa…
…tibility <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Added snapshot tests for theme class generation (default and custom). * Improved PWA-related tests for determinism, robustness, typing, richer media/display mocks, and more resilient error/p...
diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 00000000..d9d04a0a --- /dev/null +++ b/jest.config.js @@ -0,0 +1,12 @@ +module.exports = { + preset: 'ts-jest', + testEnvironment: 'node', + transform: { + '^.+\\.tsx?$': [ + 'ts-jest', + { + tsconfig: 'tsconfig.json', + ...
10
1
0
[{"id": "G0", "claim": "toMatchSnapshot() will fail in CI if the corresponding .snap files are not checked in; commit the generated snapshot (lib/**/__snapshots__/generateThemeClasses.test.ts.snap) or run tests with --updateSnapshot in CI.", "category": "testing", "verdict": "uncertain", "priority": "P3", "scope": "int...
null
Ninjabrain1__Ninjabrain-Bot__128
Ninjabrain1/Ninjabrain-Bot
128
defect
543b6869375b62b8cc9b76ef395664c33039a045
13f43c5ad32d5701f21f1f484a1b4236c328c7a3
Add CORS headers to API
Implements #127 -- API requests (and subscriptions) now have CORS enabled for all routes so browsers/browser sources in OBS can interpret them. I also exposed the `angleAdjustments` field for each eye, since it was already possible to calculate with some division (& it's a nice piece of information to have when buil...
diff --git a/src/main/java/ninjabrainbot/io/api/ApiV1HttpHandler.java b/src/main/java/ninjabrainbot/io/api/ApiV1HttpHandler.java index b54c6490..dc9de64c 100644 --- a/src/main/java/ninjabrainbot/io/api/ApiV1HttpHandler.java +++ b/src/main/java/ninjabrainbot/io/api/ApiV1HttpHandler.java @@ -89,6 +89,9 @@ private void se...
1
1
0
[{"id": "G0", "claim": "Rename the API JSON field from \"angleAdjustments\" to \"correctionIncrements\" for consistency.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NixOS__nix__13030
NixOS/nix
13,030
defect
99a16c520386754a467c53f0d26ce03ac1f34bd6
039e56922cba22b62c77e61331b5b4e309a7ecd8
libstore/filetransfer: add support for MTLS authentication
Certificate/private-key pair can be configured globally and it will be handled by libcurl. ## Motivation In our setup, we use client certificate authentication extensively to access company resources. It would be very easy for us to deploy a binary cache and setup authentication the same way. ## Context Fix...
diff --git a/src/libstore/filetransfer.cc b/src/libstore/filetransfer.cc index a917188d92f4..ac24fb0dd664 100644 --- a/src/libstore/filetransfer.cc +++ b/src/libstore/filetransfer.cc @@ -371,6 +371,11 @@ struct curlFileTransfer : public FileTransfer curl_easy_setopt(req, CURLOPT_SSL_VERIFYHOST, 0); ...
3
1
1
[{"id": "G0", "claim": "The client certificate and key settings are global and applied to every HTTPS request, so a configured client certificate is sent to all binary caches unconditionally, which raises a privacy implication; the option should instead be scoped per substituter/URL rather than being a global configura...
null
NixOS__nix__13445
NixOS/nix
13,445
defect
485cbfc7f11f21da23e0bc0f315a9d6f50a33bbc
36530b238c37c4f9ba8650f87c18d55896512102
libutil: Use Boost.URL for URI parsing
<!-- IMPORTANT Nix is a non-trivial project, so for your contribution to be successful, it really is important to follow the contributing guidelines: https://github.com/NixOS/nix/blob/master/CONTRIBUTING.md Even if you've contributed to open source before, take a moment to read it, so you understand the p...
diff --git a/packaging/dependencies.nix b/packaging/dependencies.nix index 7ce3bf1259c0..dda9ef8dc186 100644 --- a/packaging/dependencies.nix +++ b/packaging/dependencies.nix @@ -62,6 +62,7 @@ scope: { "--with-context" "--with-coroutine" "--with-iostreams" + "--with-url" ]; ...
4
2
2
[{"id": "G0", "claim": "The space-handling change may affect store URLs other than the experimental mounted-ssh-ng test, since not all store URLs are experimental.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The URI space-handling change should a...
null
NixOS__nix__13757
NixOS/nix
13,757
defect
f64000e3f480246f83c54678c9d4cbdccc5ca372
705a2c755fe56e7c8b959f9b31c3dbf08bc5da58
libfetchers/git: add support for '.' in gitmodules
## Motivation Please see https://github.com/NixOS/nix/issues/13215 Basically, `.gitmodules` file may have `.` as the branch listed for a submodule. The git-documentation claims this is a "special" branch that represents it should be identical to the parent repository. [[ref](https://git-scm.com/docs/gitmodules#D...
diff --git a/src/libfetchers-tests/git.cc b/src/libfetchers-tests/git.cc new file mode 100644 index 000000000000..bd4fe47cf1a0 --- /dev/null +++ b/src/libfetchers-tests/git.cc @@ -0,0 +1,205 @@ +#include <gtest/gtest.h> +#include "nix/store/store-open.hh" + +#include <nix/fetchers/fetch-settings.hh> +#include <nix/fetc...
5
4
0
[{"id": "G0", "claim": "Consider using the unmerged dummy:// in-memory store approach (NixOS/nix#10915) for the test's store instead of a temporary on-disk store.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Implement the CHECK macro in terms of GTest'...
null
NixOS__nix__13821
NixOS/nix
13,821
defect
f64000e3f480246f83c54678c9d4cbdccc5ca372
09adbe80b36e6b1efbf968365ae452140703950e
Improve Git URI handling
Git URI can also support scp style links similar to git itself. This change augments the function fixGitURL to better handle the scp style urls through a minimal parser rather than regex which has been found to be brittle. [[ref](https://git-scm.com/book/ms/v2/Git-on-the-Server-The-Protocols)] [[ref](https://github....
diff --git a/src/libutil-tests/url.cc b/src/libutil-tests/url.cc index fb27689de713..4db23b78583c 100644 --- a/src/libutil-tests/url.cc +++ b/src/libutil-tests/url.cc @@ -10,6 +10,33 @@ namespace nix { using Authority = ParsedURL::Authority; using HostType = Authority::HostType; +TEST(fixGitURL, parsesMultipleTypes...
10
8
2
[{"id": "G0", "claim": "After NixOS/nix#13819, fixGitURL should be made to return a ParsedURL.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Doxygen documentation block for fixGitURL should live in the header (url.hh), combined with or replacing wha...
null
NixOS__nix__14863
NixOS/nix
14,863
defect
130a6563300c18284e8dd94ae2deb78f76e0b5d1
322160e16f33ec68a1f6f4a47ce97308e28b8d1e
libutil: relax git URL parsing to accept paths without a user component
## Motivation This change resolves several deficiencies with the current url normalization. Tests documenting these deficiencies have been corrected and new tests added to cover additional fetchGit test expectations. ## Context fixes #14852 fixes #14867 The primary new functionality is that SCP-like paths...
diff --git a/src/libutil-tests/url.cc b/src/libutil-tests/url.cc index 356a134dc9b3..61f2287cc5c9 100644 --- a/src/libutil-tests/url.cc +++ b/src/libutil-tests/url.cc @@ -48,7 +48,7 @@ INSTANTIATE_TEST_SUITE_P( .path = {"", "path"}, }, }, - // SCP-like URL (rewritte...
5
3
2
[{"id": "G0", "claim": "Hardcoding `github.com` in the regex is not the right approach, and the PR should not re-add regexes but instead move toward the manual parsing of #13821.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "fixGitURL should only be use...
null
NixOS__nix__15060
NixOS/nix
15,060
defect
73a727f3d27add6a47cf70ec6d896cdaef03629d
1100c9dc235b2f9b5084eeb601d181d683631e10
Support `readLinkAt` and `openFileEnsureBeneathNoSymlinks` on Windows too
## Motivation This means that `RestoreSink` can work in the TOCTOU-resilliant way on Windows too. And it also bodes will for the upcoming OS source accessor improvements. A few misc little refactors around error handling and whatnot are done along the way too. (No more attempt to support pre Windows Vista! lol.) ...
diff --git a/src/libutil-tests/file-descriptor.cc b/src/libutil-tests/file-descriptor.cc index 2690ff190d00..df94788d2231 100644 --- a/src/libutil-tests/file-descriptor.cc +++ b/src/libutil-tests/file-descriptor.cc @@ -1,7 +1,10 @@ #include <gtest/gtest.h> +#include <gmock/gmock.h> #include "nix/util/file-descripto...
1
1
0
[{"id": "G0", "claim": "`handleToPath` could also be implemented for Linux/macOS to improve error messages when working with FDs.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NixOS__nix__15074
NixOS/nix
15,074
defect
1cf4d12b6a632ef995370302b7422dd3d969e030
473c568e746c1b7616c185e5172e8b394a7e154d
Factor out chroot logic from `ChrootDerivationBuilder` into its own obj
## Motivation This shrinks the big derivation builder compilation unit, and hopefully puts on on the road to being able to do all derivation builder cleanup with RAII. Also, share the exception-using `chmod` wrapper with more code. ## Context <!-- Provide context. Reference open issues if available. --> ...
diff --git a/src/libstore/unix/build/chroot-derivation-builder.cc b/src/libstore/unix/build/chroot-derivation-builder.cc index 9db24e7898d1..ee735802655f 100644 --- a/src/libstore/unix/build/chroot-derivation-builder.cc +++ b/src/libstore/unix/build/chroot-derivation-builder.cc @@ -1,5 +1,7 @@ #if defined(__linux__) |...
3
3
1
[{"id": "G0", "claim": "Replace the raw mkdir/SysError calls in setupBuildChroot with the createDir wrapper.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Drop the nix/store includes from the new chroot.hh, using forward declarations instead.",...
null
NixOS__nix__15101
NixOS/nix
15,101
defect
f326f028139b6278b9400a1a34ba25ad4ed9ede9
4d31e80bda26e07edc057c6c7f8aed7bc25e3c2c
libstore: split out local build and store related settings under `LocalSettings`
## Motivation The global `Settings` struct contained many settings that only apply to local builds or the local store (sandbox configuration, GC settings, build user groups, etc.). This commit extracts these into a dedicated `LocalSettings` struct in its own header, along with `GCSettings` and `AutoAllocateUidSettin...
diff --git a/src/libstore-test-support/test-main.cc b/src/libstore-test-support/test-main.cc index 0b9072dc08f6..1c17dd3e206e 100644 --- a/src/libstore-test-support/test-main.cc +++ b/src/libstore-test-support/test-main.cc @@ -31,13 +31,13 @@ int testMainForBuidingPre(int argc, char ** argv) // sandboxBuildDir =...
8
7
1
[{"id": "G0", "claim": "In derivation-building-goal.cc and local-store.cc (and the sites below it), LocalSettings should be reached through the store's config (worker.store.config / config->getLocalSettings()) instead of the global settings object.", "category": "design", "verdict": "supported", "priority": "P2", "scop...
null
NixOS__nix__15190
NixOS/nix
15,190
defect
ef659136cabbd120f3d303c9e02670911cc2847d
0e4b44ea96fa559c7085e0a3b9411a3ce94bddd0
daemon: use per-store state directory for socket path
## Motivation This commit makes the daemon socket path derive from the store's `stateDir` instead of the global `nixDaemonSocketFile`, so `nix daemon --store /foo/bar` serves from a socket under that store's state directory. The UDS remote store client likewise resolves its default socket path from its own `stateDir...
diff --git a/src/libstore/include/nix/store/local-fs-store.hh b/src/libstore/include/nix/store/local-fs-store.hh index 7b8dde9b0e01..9219330605c9 100644 --- a/src/libstore/include/nix/store/local-fs-store.hh +++ b/src/libstore/include/nix/store/local-fs-store.hh @@ -64,6 +64,12 @@ public: PathSetting realStoreDi...
4
2
1
[{"id": "G0", "claim": "Fold the NIX_DAEMON_SOCKET_PATH lookup into getDefaultDaemonSocketPath so the helper itself returns the effective default socket path for all use-cases.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Get rid of the nixDaemonSocket...
null
NixOS__nix__15233
NixOS/nix
15,233
defect
20f7f33123b353622fd4f81380bcca8904d0b57a
7ab726072b2526c39df098c209cbd1f0c61e569a
libstore: remove `Settings::nixStore` in favor of `StoreConfigBase::getDefaultNixStoreDir`
## Motivation This commit removes the `nixStore` member from `Settings` and instead computes the default Nix store directory directly in `StoreConfigBase::getDefaultNixStoreDir()` from env vars (`NIX_STORE_DIR`, `NIX_STORE`) or the compile-time default. The method is made public so callers that previously reached th...
diff --git a/src/libexpr-tests/primops.cc b/src/libexpr-tests/primops.cc index 36e3fa598033..d228a31650dc 100644 --- a/src/libexpr-tests/primops.cc +++ b/src/libexpr-tests/primops.cc @@ -2,6 +2,7 @@ #include <gtest/gtest.h> #include "nix/expr/eval-settings.hh" +#include "nix/store/store-api.hh" #include "nix/util/...
3
3
2
[{"id": "G0", "claim": "The builtins.storeDir test should assert against the store the test actually uses (state.store->storeDir) rather than against the global default store directory.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The \"Store director...
null
NixOS__nix__15241
NixOS/nix
15,241
defect
291372278191b9f9275d5da145705380c4183cab
16a659fe1fb630819a0335311d7cc185ed7b89c9
libutil: fix `isInDir` rejecting paths starting with dot
## Motivation The old check rejected any relative path whose first character was a dot, producing false negatives for valid descendants like `.ssh` or `.config`. This commit changes the logic such that now it inspects the first path component via `path::begin()`, only rejects `.` and `..` rather than anything dot-pr...
diff --git a/src/libutil-tests/file-system.cc b/src/libutil-tests/file-system.cc index 34402cb1bf55..d4b0ac8ddc9a 100644 --- a/src/libutil-tests/file-system.cc +++ b/src/libutil-tests/file-system.cc @@ -212,6 +212,24 @@ TEST(isInDir, emptyDir) ASSERT_EQ(p1, false); } +TEST(isInDir, hiddenSubdirectory) +{ + a...
2
2
0
[{"id": "G0", "claim": "The new isInDir tests could be shortened by using EXPECT_TRUE/EXPECT_FALSE instead of the ASSERT_EQ lines.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test suite should also cover isInDir with the inputs /foo/. and...
null
NixOS__nix__15283
NixOS/nix
15,283
defect
4fff871383d6554ece26ddbc29c0230e6443db84
af1a4c663da759a6e4b213053b910647460c65bc
Filesystem error improvements
## Motivation File system error improvements - Make `descriptorToPath` cross-platform (renamed from `windows::handleToPath`). Uses `/proc/self/fd` on Linux and `F_GETPATH` on macOS. Add `HAVE_F_GETPATH` meson check. This is based on 7226a116a0bbc1f304d8160615525cb0aeb46096, which was removed in 479c356510dcd...
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index ffb14c42ec7e..0324d98f0402 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -710,7 +710,7 @@ void NixRepl::loadFlake(const std::string & flakeRefS) try { cwd = std::filesystem::current_path(); } catch (std::filesystem::filesystem_e...
2
1
1
[{"id": "G0", "claim": "The new SystemError constructors should take format arguments as forwarding references (Args &&...) and pass them with std::forward instead of taking them by const reference and forwarding nothing, as they did before this change.", "category": "design", "verdict": "supported", "priority": "P1", ...
null
NixOS__nix__15312
NixOS/nix
15,312
defect
42f6e9933d75c3c22814f4f8558a8082ffbef8eb
408f83d8e7155ed05dd94607f507b5c0eae0c1f5
cli: continue converting `Path` to `std::filesystem::path` in CLI commands
## Motivation This follows the previous commit by converting more string-based `Path` fields and locals to `std::filesystem::path` across the CLI layer: `MixOutLinkBase::outLink`, `CmdAddToStore::path`, `CmdBundle::outLink`, `CmdDevelop` redirects and shell, `nix-build`, `nix-channel`, `nix-env`, `nix-instantiate`, ...
diff --git a/src/libcmd/include/nix/cmd/command.hh b/src/libcmd/include/nix/cmd/command.hh index 3d00b2c00919..4019b06773f6 100644 --- a/src/libcmd/include/nix/cmd/command.hh +++ b/src/libcmd/include/nix/cmd/command.hh @@ -407,7 +407,7 @@ void createOutLinks(const std::filesystem::path & outLink, const BuiltPaths & bu ...
10
10
5
[{"id": "G0", "claim": "The added `path.filename().filename()` may not be equivalent to the old `baseNameOf(path)` when deriving the default store name; the reviewer asks whether it is the same and suggests `path.filename()`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
NixOS__nix__15331
NixOS/nix
15,331
defect
63845dd9b38d63ef0bb2c30718f18e3c3a9e6cb9
0ad5ad24504f4440ee337afec8a4af90dbb5cc33
Error on invalid URL param in github fetcher
Resolves #15304 <!-- IMPORTANT Nix is a non-trivial project, so for your contribution to be successful, it really is important to follow the contributing guidelines: https://github.com/NixOS/nix/blob/master/CONTRIBUTING.md Even if you've contributed to open source before, take a moment to read it, so y...
diff --git a/src/libfetchers-tests/input.cc b/src/libfetchers-tests/input.cc index faff55f2c2d0..62273d319acc 100644 --- a/src/libfetchers-tests/input.cc +++ b/src/libfetchers-tests/input.cc @@ -1,6 +1,8 @@ #include "nix/fetchers/fetch-settings.hh" #include "nix/fetchers/attrs.hh" #include "nix/fetchers/fetchers.hh"...
3
3
0
[{"id": "G0", "claim": "The new throwOnInvalidURLParam test should use EXPECT_THROW or EXPECT_THAT instead of a manual try/catch with a gotException flag, e.g. with gmock matchers to match the exception message.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
NixOS__nix__15332
NixOS/nix
15,332
defect
16f10c1321946221647a6b9c3fd52571d8c2dde3
4e50f5ab300fc247a4c5e7d16b056ea19bc5b7ae
ci: add Windows nix-util-tests job
## Motivation We want to run Windows tests in CI, to avoid compilation issues that could go undetected, like we had seen in #15330. --- Add :+1: to [pull requests you find important](https://github.com/NixOS/nix/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc). The Nix maintainer team uses a [GitHub project bo...
diff --git a/src/libutil/file-system.cc b/src/libutil/file-system.cc index 23cfb7aba6ec..776d4e20db71 100644 --- a/src/libutil/file-system.cc +++ b/src/libutil/file-system.cc @@ -599,7 +599,20 @@ std::pair<AutoCloseFD, std::filesystem::path> createTempFile(const std::filesyst auto tmpl = (defaultTempDir() / (prefi...
1
1
0
[{"id": "G0", "claim": "The Windows branch of createTempFile should use the existing openNewFileForWrite helper instead of hand-rolling _wmktemp plus _wopen.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
NixOS__nix__15339
NixOS/nix
15,339
defect
c8b02e6ff3d31273b16d147fa963539ee5bdd68a
a07e2678395718eb7cf691e0db877d0830c597f6
libstore: convert more `Path` to `std::filesystem::path`
## Motivation This commit converts local filesystem paths throughout libstore from the string-based `Path` typedef to `std::filesystem::path`. --- Add :+1: to [pull requests you find important](https://github.com/NixOS/nix/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc). The Nix maintainer team uses a [GitHub...
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index c702df8f0392..83945ae136ce 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -560,7 +560,7 @@ ProcessLineResult NixRepl::processLine(std::string line) auto localStore = state->store.dynamic_pointer_cast<LocalFSStore>(); ...
6
5
0
[{"id": "G0", "claim": "The manual `std::getline(ss, keyPath, ',')` loop splitting `config.secretKeyFiles` on commas should probably be replaced with one of the project's split/tokenize functions.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": ...
null
NixOS__nix__15377
NixOS/nix
15,377
defect
c806a241b8bdde8dd885565deb6e3264d6234f6e
c6d605c56980d875aad99d84e7e0efd3db771871
Fix windows url paths
## Motivation This PR is a collection of fixes for Windows path handling in URL construction, flakeref resolution, and the test environment. It solves a few issues: - nix-expr-tests and nix-flake-tests cannot run at all under meson test on Windows because `$HOME` is not set in the test environment - `GitTest.sub...
diff --git a/src/libexpr-tests/meson.build b/src/libexpr-tests/meson.build index c5b72851da53..0b0a01c20654 100644 --- a/src/libexpr-tests/meson.build +++ b/src/libexpr-tests/meson.build @@ -84,6 +84,8 @@ test( this_exe, env : { '_NIX_TEST_UNIT_DATA' : meson.current_source_dir() / 'data', + 'HOME' : meson...
1
1
1
[{"id": "G0", "claim": "Flakeref `path:` URLs never have an authority part, so PathInputScheme::toURL should not set a conditional `.authority` on the ParsedURL.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
NixOS__nix__15429
NixOS/nix
15,429
defect
984c6287bcbd3b190f17c02593fc77b691cee823
01e51295a3c5f68307ad5ce4fa720b84dee6ee27
Optional path settings
## Motivation `sshKey`, `secretKeyFile`, `remountHook`, and `upperLayer` used empty strings denoting a setting that was "not configured". This is unsound for a type called `AbsolutePath` since an empty path is not absolute. The first commit changes them to `Setting<std::optional<AbsolutePath>>`, which makes the "...
diff --git a/src/libstore-tests/machines.cc b/src/libstore-tests/machines.cc index c4cbf47e4e22..4246a876ca87 100644 --- a/src/libstore-tests/machines.cc +++ b/src/libstore-tests/machines.cc @@ -27,7 +27,7 @@ TEST(machines, getMachinesUriOnly) ASSERT_THAT(actual, SizeIs(1)); EXPECT_THAT(actual[0], Field(&Mach...
5
4
1
[{"id": "G0", "claim": "The env lookup feeding `caFile` should use the Os-string-aware `getEnvOs` helper instead of `getEnv`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `upper-layer` setting should not be an optional setting with an error fallbac...
null
NixOS__nix__15444
NixOS/nix
15,444
defect
4d0a79d67e543491bc1dc9a3c325c3fd02424a04
4632d9a24a8b4a780f50747b484c4310b7169348
Use `statusToString` for child process exit diagnostics
Use `statusOk`/`statusToString` consistently when checking child process wait statuses, so that failures produce human-readable messages (e.g. "exited with code 2") rather than raw integer comparisons or nothing at all. Also give distinct exit codes to each failure path in the `fchmodatTryNoFollow` test for easier d...
diff --git a/src/libstore/unix/build/freebsd-derivation-builder.cc b/src/libstore/unix/build/freebsd-derivation-builder.cc index 073daac566f4..1dea56585cac 100644 --- a/src/libstore/unix/build/freebsd-derivation-builder.cc +++ b/src/libstore/unix/build/freebsd-derivation-builder.cc @@ -439,9 +439,8 @@ struct ChrootFree...
3
3
1
[{"id": "G0", "claim": "The helper's failure should be reported like the Linux builder does (e.g. through stderr) rather than only a generic throw, and the `/* TODO: Capture the error from the helper? */` comment should be kept until that is done.", "category": "maintainability", "verdict": "supported", "priority": "P2...
null
NixOS__nix__15449
NixOS/nix
15,449
defect
c72793f990826611c345544d9364d2e395ec87c3
3fc0715625d72d5cb6971bff0cce4c577b35057e
feat(libstore): configurable HTTP retry with full-jitter backoff
## Motivation When many Nix processes (e.g. ~1800 CI jobs) cold-fetch from the same S3 substituter prefix simultaneously, S3 returns `503 SlowDown`. The current retry logic in `filetransfer.cc` uses a 250ms base delay for 503, giving only a ~4-second total retry window — far too short for S3 partition scaling. The ret...
diff --git a/doc/manual/rl-next/http-retry-backoff.md b/doc/manual/rl-next/http-retry-backoff.md new file mode 100644 index 000000000000..a9270b2b0137 --- /dev/null +++ b/doc/manual/rl-next/http-retry-backoff.md @@ -0,0 +1,26 @@ +--- +synopsis: Configurable HTTP retry backoff with full jitter and Retry-After support +i...
16
14
2
[{"id": "G0", "claim": "The default initial retry delay of 250ms is longer than what other SDKs use and should be lowered (to around 100ms).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The backoff intermediate is computed in `unsigned long`, which i...
null
NixOS__nix__15550
NixOS/nix
15,550
defect
8bdee4d8dbc1100c0a467312256e1bcca41ffe72
b99f3028c7e1f3cc71d98ad1c6e35b3a1c276ecd
libutil: emit multi-frame zstd for parallel-decodable output
Libarchive's zstd filter produces a single frame regardless of ZSTD_c_nbWorkers, so decompression is stuck on one core. For large NARs (e.g. 11 GiB) that means ~9 seconds of single-threaded zstd while everything else waits. Replace the libarchive zstd path with a direct-libzstd sink that cuts a new frame every 16 M...
diff --git a/src/libutil-tests/compression.cc b/src/libutil-tests/compression.cc index 53d476fa8593..01a6fc58b1a3 100644 --- a/src/libutil-tests/compression.cc +++ b/src/libutil-tests/compression.cc @@ -1,5 +1,6 @@ #include "nix/util/compression.hh" #include <gtest/gtest.h> +#include <zstd.h> namespace nix { @@ ...
6
5
2
[{"id": "G0", "claim": "On a libzstd built without ZSTD_MULTITHREAD the checkZstd wrapper on ZSTD_c_nbWorkers throws, so the worker-count setting should skip the check and let compression fall back to single-threaded.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
NixOS__nix__15615
NixOS/nix
15,615
defect
4c9afebaaa0707caf85ff69cb687cc1f9a118794
a38b60cc0dfb4124aecc12a6892702fc091e9fd7
libutil: Make MemorySourceAccessor exceptions more precise, makeFSSou…
…rceAccessor tracks metadata <!-- IMPORTANT Nix is a non-trivial project, so for your contribution to be successful, it really is important to follow the contributing guidelines: https://github.com/NixOS/nix/blob/master/CONTRIBUTING.md Even if you've contributed to open source before, take a moment to r...
diff --git a/src/libutil-tests/memory-source-accessor.cc b/src/libutil-tests/memory-source-accessor.cc index d9a48da0cebd..e80bfaeb9adb 100644 --- a/src/libutil-tests/memory-source-accessor.cc +++ b/src/libutil-tests/memory-source-accessor.cc @@ -144,7 +144,7 @@ TEST_F(MemorySourceAccessorTestErrors, addFileParentNotDi...
4
3
0
[{"id": "G0", "claim": "The new NotADirectory throw in MemorySourceAccessor::open should arguably not be conditional on create, so that non-maybe lstat through a non-directory throws it too instead of the reviewer being surprised that it is conditional.", "category": "design", "verdict": "uncertain", "priority": "P2", ...
null
NixOS__nix__15647
NixOS/nix
15,647
defect
a37db9d249afd61a81ae26368696f60e065d6f61
6de772153f3f05a05bd808a2ba2910d5c1fef681
Chmod cleanup
## Motivation See the second commit ## Context The first commit just adds some test infra that is useful in the second commit, and will be useful again later. --- Add :+1: to [pull requests you find important](https://github.com/NixOS/nix/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc). The Nix maintain...
diff --git a/src/libutil-test-support/include/nix/util/tests/gmock-matchers.hh b/src/libutil-test-support/include/nix/util/tests/gmock-matchers.hh index 27d765e9e816..e48faca7c68e 100644 --- a/src/libutil-test-support/include/nix/util/tests/gmock-matchers.hh +++ b/src/libutil-test-support/include/nix/util/tests/gmock-m...
2
1
0
[{"id": "G0", "claim": "Fix the grammar of the added comment: \"AT_SYMLINK_NOFOLLOW cause failures even if there is no symlink\" instead of \"causes\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The per-OS whitelist in the fchmodatTryNoFollow ...
null
NixOS__nix__15721
NixOS/nix
15,721
defect
c2a31eff0173d69eb2706b6992601dc3bf1ca94f
8bb52d200cb2917e8991350b68d660f377db0e55
PosixDirectorySourceAccessor: Drop dirfd cache on resetFileCache()
The dirfd cache can hold an fd to a directory that has since been removed and recreated; `*at()` through it then reports phantom ENOENT. In `nix repl`, after replacing a directory (e.g. `git checkout`) and `:r`, `pathExists` returns false / `readFile` errors for files that exist. Pre-#15718 returned the new content. R...
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index e4fe3ba6a5f8..9981ecfd9426 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -1172,6 +1172,7 @@ void EvalState::resetFileCache() fileEvalCache->clear(); inputCache->clear(); positions.clear(); + getFSSourceAccessor()->invalidateC...
2
2
2
[{"id": "G0", "claim": "The directory accessor should not recover gracefully from deleted directories, since the evaluator assumes the filesystem is immutable and only new stuff can appear there.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The change to ...
null
NixOS__nix__3425
NixOS/nix
3,425
defect
b79b81dd2d62d2363105c5c7a1d91be2df338ddf
7a6d76d16770d1143354967af41a8d2fdba3fb96
Add user@address:port support
This patch allows users to specify the connection port in the store URLS like so: ``` nix store info --store "ssh-ng://localhost:22" --json ``` Previously this failed with: `error: failed to start SSH connection to 'localhost:22'`, because the code did not distinguish the port from the hostname. This patch r...
diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc index 69d1c6f7e467..4e8e8de9b52c 100644 --- a/src/build-remote/build-remote.cc +++ b/src/build-remote/build-remote.cc @@ -142,6 +142,7 @@ static int _main(int argc, char * * argv) } } ...
8
5
3
[{"id": "G0", "claim": "The pull request should not add a new `split` helper because a function `tokenizeString` to split strings already exists.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should not add a new `join` helper ...
null
Nixtla__hierarchicalforecast__295
Nixtla/hierarchicalforecast
295
defect
f825ea02dd81bbfc0a124920cb30aba952317c7e
5fbd2b0a97784f99f77278fa36b35c09d718dabe
[FEAT] Improve residuals-based reconciliation stability and faster ma.cov
- Adds faster ma.cov method to mint_cov - Improves stability of residuals-based methods. - Includes test for covariance matrices in MinT - Includes benchmark that can be run for MinT and ma.cov, useful for future benchmarking
diff --git a/hierarchicalforecast/_modidx.py b/hierarchicalforecast/_modidx.py index c71bea5d..10a5019c 100644 --- a/hierarchicalforecast/_modidx.py +++ b/hierarchicalforecast/_modidx.py @@ -122,6 +122,8 @@ '...
5
4
1
[{"id": "G0", "claim": "Allocating W with np.empty instead of zero-initialising it and transposing it would be a tad faster, since every element is set in the loop anyway and the transpose is unnecessary.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
Nixtla__hierarchicalforecast__450
Nixtla/hierarchicalforecast
450
defect
1ec49ea0c34c25f4390fe3c00543ebfefcca92c7
8f69d064599677f4f661c82852017a87b876e1ed
[FEAT] Deprecate Numba for C++
This PR was written with the help of AI tools and reviewed /adjusted by @elephaint ## Summary This release replaces all Numba JIT-compiled numerical kernels with a native C++ extension built via pybind11 and Eigen. The change removes the `numba` and `intel-cmplr-lib-rt` runtime dependencies, improves cold-start p...
diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md new file mode 100644 index 00000000..dd1e7d0c --- /dev/null +++ b/.claude/CLAUDE.md @@ -0,0 +1,185 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Project Overview + +HierarchicalForecast i...
8
8
4
[{"id": "G0", "claim": "The pytest.yml workflow does not limit the GITHUB_TOKEN's permissions and should set an explicit permissions block (e.g. contents: read).", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new python-publish workflow's upload jo...
null
Nixtla__neuralforecast__1055
Nixtla/neuralforecast
1,055
defect
0b9fad9d4bea56f4f278687fb03cb424ce25eb6f
6f1fff25d683ee1bbea6794a4f6c22a73d1f9a9c
[FEAT[ - Add multivariate evaluation to CI
Add a step to evaluate multivariate forecasting models in the CI. Right now, it uses the ETTm2 dataset with a horizon of 96. Models tested are: TSMixer, SOFTS, iTransformer and AutoiTransformer. More models can be added.
diff --git a/.circleci/config.yml b/.circleci/config.yml index d9168c9c8..76b078ea9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -64,6 +64,30 @@ jobs: - store_artifacts: path: ./action_files/test_models/data/evaluation.csv destination: evaluation.csv + test-multivariate-...
2
1
1
[{"id": "G0", "claim": "The CI should include all multivariate models - also StemGNN, MLPMultivariate and TSMixerx - and their Auto counterparts, so that every change is minimally tested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "All multivariate m...
null
Nixtla__neuralforecast__1393
Nixtla/neuralforecast
1,393
defect
42602762b1fb1aed9c3523631b531bf96547c647
51e9989f307b11c2e5e52429a54afd7b571763f7
[FEAT] Any horizon explanation
Support explanations for horizons that are longer than the training horizon <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Enables explanations over extended horizons with a refactored recursive/direct prediction pipeline and a new explain(h=...) API, updating attribution logic and tests accordingly. > > - **Explainability...
diff --git a/neuralforecast/common/_base_model.py b/neuralforecast/common/_base_model.py index f2c8d78f2..f748682b0 100644 --- a/neuralforecast/common/_base_model.py +++ b/neuralforecast/common/_base_model.py @@ -1394,9 +1394,7 @@ def _predict_step_recurrent(self, batch, batch_idx): else: return y...
7
7
2
[{"id": "G0", "claim": "Debug print statements were accidentally left in the production explanation code and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The baseline_predictions expression `baseline_predictions[:, h, series...
null
Nixtla__neuralforecast__1406
Nixtla/neuralforecast
1,406
defect
a37d6cfa68eeca633a0ead5d1def7053cd4d8c54
a1afce7dcb56adb547121c091f572d662e1f2fd5
[FEAT] Support normalization for static exogenous features
This PR adds normalization for static exogenous features via `local_static_scaler_type` in `NeuralForecast`, extending the existing normalization framework that already supports `local_scaler_type` for temporal features. ### **Motivation** Static features can vary widely in magnitude (e.g., a static feature suc...
diff --git a/neuralforecast/core.py b/neuralforecast/core.py index e891d7941..6d0e40555 100644 --- a/neuralforecast/core.py +++ b/neuralforecast/core.py @@ -222,6 +222,7 @@ def __init__( models: List[Any], freq: Union[str, int], local_scaler_type: Optional[str] = None, + local_static_s...
1
1
0
[{"id": "G0", "claim": "The docstring for local_scaler_type should say 'temporal features' instead of 'all features'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
Nixtla__neuralforecast__1445
Nixtla/neuralforecast
1,445
defect
cf894028d799bd9a30cbc986c82bc53bacec3a02
30f40438ae1928b33db375e70e5e50c494dce880
[FEAT] Add XLinear
Adds the XLinear model to neuralforecast. **Results reproduction** _On ETTm1, h=96, multivariate_ | MSE (paper) | MSE (ours) | MAE (paper) | MAE (ours)| |:-------------|:------------|:-------------|:-----------| | 0.311 | 0.327 | 0.351 | 0.351 | _On ETTm1, h=96, univariate with features_ | MSE (paper) | MSE ...
diff --git a/docs/mintlify/docs.json b/docs/mintlify/docs.json index a10acac60..9e913d330 100644 --- a/docs/mintlify/docs.json +++ b/docs/mintlify/docs.json @@ -120,7 +120,8 @@ "models.timexer.html", "models.tsmixer.html", "models.tsmixerx.html", - "models.vanil...
7
3
1
[{"id": "G0", "claim": "The documentation references imgs_models/xlinear.png but the image file does not exist, so the docs page shows a broken link.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Denormalization should use broadcasting (stdev[:, ...
null
Nixtla__neuralforecast__1460
Nixtla/neuralforecast
1,460
defect
aba273e77ef45c5308b73ea090402f5802b1f457
301405ce4d023d264d479469329761fefe542085
fix: use exist_ok=True in save() to prevent FileExistsError with DDP
## Summary - Fixes `FileExistsError` when calling `nf.save()` with DDP multi-GPU strategy - Root cause: race condition between `fs.exists(path)` and `fs.makedirs(path)` — multiple DDP processes check simultaneously, all see the directory doesn't exist, then one creates it and the rest fail - Fix: add `exist_ok=True` t...
diff --git a/neuralforecast/core.py b/neuralforecast/core.py index 997943e22..ec4bc6800 100644 --- a/neuralforecast/core.py +++ b/neuralforecast/core.py @@ -1725,7 +1725,7 @@ def save( fs, _, _ = fsspec.get_fs_token_paths(path) if not fs.exists(path): - fs.makedirs(path) + fs.m...
1
1
1
[{"id": "G0", "claim": "Changing fs.makedirs to exist_ok=True lets every DDP worker that passes the fs.exists(path) check continue through NeuralForecast.save() and write the same output files concurrently, which can yield nondeterministic or corrupted artifacts; the save path should be owned by a single rank (e.g. gat...
null
Nixtla__neuralforecast__1461
Nixtla/neuralforecast
1,461
defect
aba273e77ef45c5308b73ea090402f5802b1f457
ecbf7dae9e8c000650423d4c7ccc7244ce6d7f47
fix: correct min_samples formula in conformal prediction for step_size
## Summary - Fixes the `min_samples` check in `_conformity_scores()` which incorrectly assumed `step_size == h`, causing `ValueError` for valid series lengths - Adds `step_size` parameter to `PredictionIntervals` so users can control the step size used in conformal cross-validation - The corrected formula `h + step_si...
diff --git a/neuralforecast/core.py b/neuralforecast/core.py index 997943e22..33c60c080 100644 --- a/neuralforecast/core.py +++ b/neuralforecast/core.py @@ -1947,7 +1947,8 @@ def _conformity_scores( ) min_size = ufp.counts_by_id(df, id_col)["counts"].min() - min_samples = self.h * self.pr...
3
2
2
[{"id": "G0", "claim": "The min_samples requirement h + step_size * n_windows is off by (step_size - 1) compared with cross_validation's test_size = h + step_size * (n_windows - 1), so with step_size > 1 the check rejects feasible inputs and raises ValueError (e.g. h=12, n_windows=3, step_size=6, series length 25).", "...
null
Nixtla__neuralforecast__1478
Nixtla/neuralforecast
1,478
defect
08dbe30d52c23a58844fd41605a3f79ed95ece9f
dc229cede3216218498537b8d512aa715dbc59ad
[FEAT] Cache trainer for faster inference
A small change that caches the trainer so it's not recreated every time. This speeds up consecutive inference almost 2x. Useful when the same model is used for inference multiple times and during cross-validation (when `refit=False`). Below is the result of a small profiling benchmark: ### CPU | Config | Cold (ms...
diff --git a/neuralforecast/common/_base_model.py b/neuralforecast/common/_base_model.py index d039fc5eb..907c6c1d8 100644 --- a/neuralforecast/common/_base_model.py +++ b/neuralforecast/common/_base_model.py @@ -2070,7 +2070,13 @@ def predict( 'baseline_predictions': baseline_predictions ...
2
1
1
[{"id": "G0", "claim": "The reviewer asks whether the cache-invalidation comparison ensures a one-to-one identical key-value mapping of the pred_trainer_kwargs (so the cached trainer is only reused when the kwargs are identical).", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"...
null
Nixtla__neuralforecast__1487
Nixtla/neuralforecast
1,487
defect
8afc73f94b571f92a1bd2ce2a663708594a708dc
0ad5987e959b0bef7457e5bc9e616a801d1e5343
[FIX] Error when saving model with custom callbacks
When a model is instantiated with custom callbacks, saving and reloading it causea `predict()` to fail with a `ValueError` from PyTorch Lightning's YAML serializer. The root cause is that `BaseModel.save()` was persisting `self.hparams`, which includes trainer_kwargs, and callback objects are not YAML-serializable. ...
diff --git a/neuralforecast/common/_base_model.py b/neuralforecast/common/_base_model.py index 97a130438..f9d8a0de9 100644 --- a/neuralforecast/common/_base_model.py +++ b/neuralforecast/common/_base_model.py @@ -678,9 +678,15 @@ def on_validation_epoch_end(self): self.validation_step_outputs.clear() # free m...
1
1
1
[{"id": "G0", "claim": "The save method's guard checks for \"callbacks\" inside a \"trainer_kwargs\" subdict of hparams, but hyperparams are stored flattened, so it should delete the top-level \"callbacks\" key; the test passes only because TQDMProgressBar is pickleable.", "category": "correctness", "verdict": "support...
null
Nixtla__neuralforecast__369
Nixtla/neuralforecast
369
defect
8850aba6dcc8a26d4dd738c2113e53dd47542f4e
bdf22ca2ca5aa70db4682ec7b25cbd4dc0ccb2c1
[FIX] Losses in Auto models initialization
Fixed a bug with the default config for Auto models caused by defining multiple losses. - Losses for Auto models can only be defined in the initialization, defaulted with MAE. - Added asserts in BaseAuto to avoid passing horizon and loss inside the configs. - deepcopy the config input inside BaseAuto to avoid over...
diff --git a/action_files/test_models/src/evaluation.py b/action_files/test_models/src/evaluation.py index bbe756edc..e47a14d9d 100644 --- a/action_files/test_models/src/evaluation.py +++ b/action_files/test_models/src/evaluation.py @@ -45,7 +45,7 @@ def evaluate(model: str, dataset: str, group: str): groups = ['O...
1
1
0
[{"id": "G0", "claim": "The assert statements in BaseAuto.__init__ checking config['h'] and config['loss'] should be changed to if conditions that raise Exceptions, since exception messages help users debug.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Nixtla__neuralforecast__644
Nixtla/neuralforecast
644
defect
77161f12f9cf101d1ca1f45693c5b9badb34ee2b
c2d8ef460b3e4a93f0b7ea1c98c12662e8652135
[FIX] use_init_models_flag and predict_rolled deprecated
* Added possibility in `core` methods `fit` and `cross_validation` to use initial models when multiple calls are made in the same script. * Added `use_init_models` parameter for methods (default is True) to control using initial models or fine-tune previously fitted models. * Deprecated `predict_rolled` function, in ...
diff --git a/action_files/test_models/src/models.py b/action_files/test_models/src/models.py index 474b0d15f..5ad2aa2e5 100644 --- a/action_files/test_models/src/models.py +++ b/action_files/test_models/src/models.py @@ -80,7 +80,7 @@ def main(dataset: str = 'M3', group: str = 'Other') -> None: for model in models...
2
2
1
[{"id": "G0", "claim": "The docstring for use_init_models says \"option (default=True)\" where it should say \"optional (default=True)\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inplace-fitting test computes initial_weights and after_we...
null