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
vortex-data__vortex__6273
vortex-data/vortex
6,273
defect
92156f5540f9f2bae88703e7eb9fc3c8fd84f16b
e609774d25f91885098de13de152316855b9958a
sqllogictest runner for DF and DuckDB on Vortex
## Does this PR closes an open issue or discussion? <!-- This helps us keep track of fixed issues and changes. --> - Closes #. ## What changes are included in this PR? The main change in this PR is the introduction of the `vortex-sqllogictest` crate (not intended for publication), which introduces a new w...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9122acb1a0..b933e46b131 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -221,7 +221,7 @@ jobs: target: wasm32-unknown-unknown env: rustflags: "RUSTFLAGS='-A warnings --cfg getrandom_b...
6
5
1
[{"id": "G0", "claim": "The column-type assertions in the connection.rs test should be fixed to compare against LogicalType values (e.g. LogicalType::int) instead of calling as_type_id() on the result and comparing with the raw cpp DUCKDB_TYPE.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope":...
null
vortex-data__vortex__6452
vortex-data/vortex
6,452
defect
91dda3517912554c21be160e08a18cf7fc551ffc
cbff903e9b140511355c94fd22977d3684f6b5e8
VarBinBuilder: eagerly set IsSorted stat on offsets
## Does this PR closes an open issue or discussion? no ## What this PR does? VarBinBuilder guarantees monotonically increasing offsets, but finish() wasn't setting the IsSorted stat. This caused an O(n) recomputation every time a deserialized VarBinArray was validated. ## How is this change tested? u...
diff --git a/vortex-array/src/arrays/varbin/builder.rs b/vortex-array/src/arrays/varbin/builder.rs index 2c81676be78..0e53349a891 100644 --- a/vortex-array/src/arrays/varbin/builder.rs +++ b/vortex-array/src/arrays/varbin/builder.rs @@ -11,6 +11,8 @@ use vortex_error::vortex_panic; use crate::IntoArray; use crate::ar...
3
2
1
[{"id": "G0", "claim": "Add a debug_assert that the VarBinBuilder offsets are actually sorted (computing the stat only in debug) before eagerly setting IsSorted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Apply the same eager IsSorted stat treat...
null
vortex-data__vortex__6596
vortex-data/vortex
6,596
defect
1e625ead0ab01c5b1db969e78398f4102b819bd5
1dc73bc2c8bc462403bcbd9f9beea11fb25550e1
Expose table scan progress to DuckDB
Add table_scan_progress in duckdb's table function vtable. Return sum of read (exported) chunks' length divided by sum of all chunks' length. Unrelated changes: - panic in duckdb-bench if no output formats were provided - add a note how to set up duckdb-vortex's full testing with vortex-duckdb. Testing: - Gen...
diff --git a/vortex-duckdb/cpp/include/duckdb_vx/table_function.h b/vortex-duckdb/cpp/include/duckdb_vx/table_function.h index 6a1b906701d..5ef760d8c04 100644 --- a/vortex-duckdb/cpp/include/duckdb_vx/table_function.h +++ b/vortex-duckdb/cpp/include/duckdb_vx/table_function.h @@ -133,7 +133,11 @@ typedef struct { ...
4
3
0
[{"id": "G0", "claim": "Implement a progress() helper on VortexGlobalData dividing read by total chunk length, and add unit tests covering zero, complete and halfway progress.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new table_scan_progress.rs...
null
vortex-data__vortex__6658
vortex-data/vortex
6,658
defect
c018251879cc525508c3305b299ff18da7a3f4ca
97272d6dabf0beed11184459707280ac6acda823
Support building duckdb from a hash, including CI
This is preliminary work to enable testing pre-release and hash-bashed versions of DuckDB with Vortex locally and in CI. - Enable release builds in CI from a hash to run benchmarks - Build httpfs statically for hash-based builds, otherwise DuckDB will try to download it and fail. - Enable curl development head...
diff --git a/.github/workflows/bench-pr.yml b/.github/workflows/bench-pr.yml index 7e6cd69b4aa..5fcd7dc7ca0 100644 --- a/.github/workflows/bench-pr.yml +++ b/.github/workflows/bench-pr.yml @@ -54,6 +54,17 @@ jobs: - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }...
7
4
1
[{"id": "G0", "claim": "The duckdb dependency-setup CI snippet repeated across the workflow files should be extracted into a repo-local reusable GitHub action (.github/actions/setup-duckdb-deps/action.yml) rather than duplicating the CI snippet.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "...
null
vortex-data__vortex__7437
vortex-data/vortex
7,437
defect
c690c2ce8a84805e1d3e288fc9bff728e836af8e
61ae20199132581e3e60a0ead5e2d9245ead4ccd
Support serializion tensor scalar fns
## Summary Tracking issue: https://github.com/vortex-data/vortex/issues/7297 Adds serialization support to the tensor scalar fns. This is gated by the `VORTEX_TENSOR_SCALAR_FN_ARRAY_PLUGINS` environment variable. ## Testing Basic testing. ## Unresolved Questions - I should probably write this to a fil...
diff --git a/vortex-tensor/public-api.lock b/vortex-tensor/public-api.lock index 4f6c2dddbfb..01ff0a6f477 100644 --- a/vortex-tensor/public-api.lock +++ b/vortex-tensor/public-api.lock @@ -248,6 +248,12 @@ impl core::clone::Clone for vortex_tensor::scalar_fns::cosine_similarity::Cosine pub fn vortex_tensor::scalar_f...
3
1
0
[{"id": "G0", "claim": "The test SESSION static should live in a `mod tests { .. }` in lib.rs and be shared across all tests in the crate instead of being defined in each test module.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Merging this P...
null
vortex-data__vortex__7631
vortex-data/vortex
7,631
defect
f41884486fd05b2374fc065d6c1bc6c39fd1eb6f
c54684fce88a130a54048df5e67c2b3d598134a9
Late materialization support for duckdb
Add file_index, file_row_number virtual columns. Add file-based filtering (range, selection) to ScanRequest. Add partition index method. Add late materialization support and row id columns support in duckdb.
diff --git a/vortex-duckdb/cpp/include/duckdb_vx/table_function.h b/vortex-duckdb/cpp/include/duckdb_vx/table_function.h index ddf55b532a1..6c63fe51b3c 100644 --- a/vortex-duckdb/cpp/include/duckdb_vx/table_function.h +++ b/vortex-duckdb/cpp/include/duckdb_vx/table_function.h @@ -83,6 +83,11 @@ typedef struct { bo...
4
1
0
[{"id": "G0", "claim": "The commented-out COLUMN_IDENTIFIER_FILE_ROW_NUMBER constant left in table_function.cpp should be removed or enabled rather than kept as dead code.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new Value::new_u64 duplicates t...
null
vosen__ZLUDA__196
vosen/ZLUDA
196
defect
b695f44c188efc8df8e2e2c149904bb82d2dc58b
c27cfbcfa3daa0897120d0ff7880acf4800224d5
Implement mad.hi.cc
Ran into a mad.hi.cc.u32 while trying to get a certain HPC software working. This PR implements the opcode similarly to MadC handling as well as adding a simple test for mad.hi.cc The aforementioned software is still producing incorrect result despite this patch. I'm working on finding other underlying causes and will...
diff --git a/ptx/src/ast.rs b/ptx/src/ast.rs index 028196100..93793e653 100644 --- a/ptx/src/ast.rs +++ b/ptx/src/ast.rs @@ -380,6 +380,7 @@ pub enum Instruction<P: ArgParams> { }, MadCC { type_: ScalarType, + is_hi: bool, arg: Arg4<P>, }, Fma(ArithFloat, Arg4<P>), di...
3
2
0
[{"id": "G0", "claim": "The new mad_hi_cc.ptx test should be simplified to only check that mad.hi sets the carry flag correctly (one non-overflowing and one overflowing mad.hi.cc each followed by addc), dropping the scenarios already covered by madc_cc2 and subc_cc2.", "category": "testing", "verdict": "supported", "pr...
null
vosen__ZLUDA__344
vosen/ZLUDA
344
defect
d704e92c97bd879e68c2c6cfc0d259b83dfa3fdb
7b5384e33f514facc01b277deb64d85781dbd1c1
zoc (ZLUDA offline compiler)
Implements #284 _It should take PTX and emit_ - [x] _Pre-linked LLVM bitcode texts (.ll)_ - [x] _Post-linking LLVM bitcode text (.ll) (optional if difficult)_ - [x] _Final ELF binary (.elf)_ - [x] _Disassembly of the final ELF binary (.asm) (optional if difficult)_ Todos: - [x] Add option to specify output ...
diff --git a/Cargo.lock b/Cargo.lock index 5726bb3f4..c04906725 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -104,18 +104,18 @@ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "bpaf" -version = "0.9.15" +version = "0.9.19" source = "registry+https://github.com/rust-l...
9
9
4
[{"id": "G0", "claim": "`map_or` would be minimally simpler than `map_or_else` in `main()`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "compiler/Cargo.toml needs a `[package.metadata.zluda]` section with `debug_only = true` so the crate is pa...
null
vosen__ZLUDA__351
vosen/ZLUDA
351
defect
d704e92c97bd879e68c2c6cfc0d259b83dfa3fdb
65cf4863c70bf02b9fd29d522e17ccc3b057b34d
Implement mul24
See title. Also I took the liberty to sort the instructions in `ast.rs` alphabetically. Can revert if you don't like it. I'd like to implement more instructions after this but had difficulty seeing which instructions are and aren't implemented.
diff --git a/ptx/src/pass/emit_llvm.rs b/ptx/src/pass/emit_llvm.rs index 5a5dd8068..6f3f381af 100644 --- a/ptx/src/pass/emit_llvm.rs +++ b/ptx/src/pass/emit_llvm.rs @@ -36,6 +36,7 @@ use llvm_zluda::bit_writer::LLVMWriteBitcodeToMemoryBuffer; use llvm_zluda::{core::*, *}; use llvm_zluda::{prelude::*, LLVMZludaBuildA...
3
3
1
[{"id": "G0", "claim": "In the .hi variant, emit_intrinsic should be passed None rather than Some(arguments.dst), because Some means the returned LLVMValueRef is registered against a ZLUDA identifier and it currently works only by accident before the value is overridden.", "category": "correctness", "verdict": "support...
null
vosen__ZLUDA__395
vosen/ZLUDA
395
defect
80607c07db3d0c4dee6c4628b6fe705f571633f2
0e292a32e0e24c70b0ca4c62e10eb71f7638fffc
Read test files at runtime for development ergonomics
Adds the `ptx/ci_build` feature to enable test files to be bundled directly in the executable.
diff --git a/ptx/Cargo.toml b/ptx/Cargo.toml index 8e98a01e3..aeca817cf 100644 --- a/ptx/Cargo.toml +++ b/ptx/Cargo.toml @@ -31,3 +31,6 @@ tempfile = "3" paste = "1.0" pretty_assertions = "1.4.1" libloading = "0.8" + +[features] +ci_build = [] diff --git a/ptx/src/test/spirv_run/mod.rs b/ptx/src/test/spirv_run/mod.r...
3
2
0
[{"id": "G0", "claim": "The two `println!` statements in the `read_test_file` macro are debugging leftovers and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The push/pop sequence used to build the test-file path seems superf...
null
vosen__ZLUDA__427
vosen/ZLUDA
427
defect
27cfd50ddde5b5d74f8abaf417838d4f27c5b2b0
822f90e849a1853f508e9792878f756288cfcc1a
Add support for `cp.async`
Adds support for * `cp.async` * `cp.async.commit_group` * `cp.async.wait_group` * `cp.async.wait_all` Asynchronous copy operations are only supported by AMD Instinct GPUs, so for now we lower them as synchronous copy operations. Because of this, `cp.async.commit_group`, `cp.async.wait_group`, and `cp.async.wai...
diff --git a/ptx/src/pass/insert_post_saturation.rs b/ptx/src/pass/insert_post_saturation.rs index f2fead7ca..fb4c3c8fd 100644 --- a/ptx/src/pass/insert_post_saturation.rs +++ b/ptx/src/pass/insert_post_saturation.rs @@ -83,6 +83,10 @@ fn run_instruction<'input>( | ast::Instruction::Call { .. } | ast:...
3
3
1
[{"id": "G0", "claim": "Use `type: Type::Scalar(ScalarType::U32)` plus `space: StateSpace::Shared` (and `space: StateSpace::Global` for `src_from`) for the CpAsync arguments; `Type::Pointer` is vestigial and should be removed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i...
null
vosen__ZLUDA__472
vosen/ZLUDA
472
defect
ef98c1e0bab18ed38762e432f360d151357979d9
2ac63b936cbb165a5778f59818d893f80a289709
Add test for unrecognized statement error with vector braces
The old code using`take_till_inclusive` assumed that a right brace would be the end of a block and therefore never part of a statement. However, some PTX statements can include vector operands. This meant that any unrecognized statement with a vector operand would backtrace and eventually produce an unhelpful context e...
diff --git a/ptx/src/test/mod.rs b/ptx/src/test/mod.rs index d81fdf88a..40209b701 100644 --- a/ptx/src/test/mod.rs +++ b/ptx/src/test/mod.rs @@ -1,8 +1,30 @@ use crate::pass::{self, TranslateError}; use ptx_parser as ast; +mod parse_fail; mod spirv_run; +#[macro_export] +macro_rules! read_test_file { + ($file...
2
1
0
[{"id": "G0", "claim": "When there is no next token, using current_offset excludes the semicolon/colon from the parsed statement slice; it should be current_offset + 1 to include the terminating token.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
vosen__ZLUDA__477
vosen/ZLUDA
477
defect
e805cb72a5ac0001a452e30fc3ebe2d7a64790fd
f7f6f93964d42317f0b826aff2b9086772df0ea7
Add pass test mechanism for insert_implicit_conversions
Adds the ability to test specific passes, by comparing a text representation of our PTX IR. Because we don't have the ability to parse into any pass-specific IR, this starts from PTX and runs all the passes until the desired pass under test. The AST description is extended to include a `display` expression that hand...
diff --git a/ptx/src/pass/mod.rs b/ptx/src/pass/mod.rs index d31c0ecc5..1177c0669 100644 --- a/ptx/src/pass/mod.rs +++ b/ptx/src/pass/mod.rs @@ -29,6 +29,9 @@ mod replace_instructions_with_functions_fp_required; mod replace_known_functions; mod resolve_function_pointers; +#[cfg(test)] +mod test; + static ZLUDA_PTX...
4
4
1
[{"id": "G0", "claim": "The todo! message added in ptx_parser/src/ast.rs misspells 'interpret' as 'intepret'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The expected-output separator `// output:` in the pass test .ptx files reads like an ordin...
null
vosen__ZLUDA__576
vosen/ZLUDA
576
defect
e3cfc7b5389c673b3f94ffe83d3cc2206dc1df17
df0a58b401a53d0a2c2141e184571794ef74f393
Add `createpolicy.fractional` as nop
This implementation just sets the `policy` destination operand to 0, for now. Also adds support for parsing floating-point literals with decimal notation.
diff --git a/ptx/src/pass/insert_post_saturation.rs b/ptx/src/pass/insert_post_saturation.rs index 934022bff..042415f1c 100644 --- a/ptx/src/pass/insert_post_saturation.rs +++ b/ptx/src/pass/insert_post_saturation.rs @@ -89,6 +89,7 @@ fn run_instruction<'input>( | ast::Instruction::CpAsyncCommitGroup { .. } ...
3
1
1
[{"id": "G0", "claim": "The as_f32() call always returns None for decimal floating-point literals like 1.0 because the lexer matches them as F64 tokens and the immediate parser creates ImmediateValue::F64 values, so the fraction parameter silently uses the default 1.0 even when a different value is specified.", "catego...
null
vosen__ZLUDA__580
vosen/ZLUDA
580
defect
e1cfb1592005ce9d0005b72b0e61e76840af4c02
ed842836f1d6fba4131e3436c80b40dd6b7d9029
Allow implicit conversion from vec to bit scalar for ld
Fixes error from code like: ``` ld.b64 { output1, output2 }, [input]; ```
diff --git a/ptx/src/pass/insert_implicit_conversions2.rs b/ptx/src/pass/insert_implicit_conversions2.rs index b1e473b30..209f4cdee 100644 --- a/ptx/src/pass/insert_implicit_conversions2.rs +++ b/ptx/src/pass/insert_implicit_conversions2.rs @@ -118,20 +118,27 @@ fn insert_implicit_conversions_impl<'input>( Ok(()) ...
2
2
1
[{"id": "G0", "claim": "The `unreachable!()` for the `Release` case in the new `Display` impl for `LdStQualifier` could panic if `Display` is called on a store instruction's qualifier that uses `Release`, and should instead format it (e.g. `.release{scope}`).", "category": "correctness", "verdict": "supported", "priori...
null
vosen__ZLUDA__596
vosen/ZLUDA
596
defect
055f026001fa4afcaad2a2234060aa804ccaf9c1
956bc90745d6df7727c65cf68b20e7b94011e62f
Fix conflict for initial rounding and denormal mode for non-kernel functions
`instruction_mode_to_global_mode` tried to set the `Function2` `flush_to_zero_*` and `rounding_mode_*` attributes by assuming that these would always be resolved. However, this is only true for kernels. Other functions may be called multiple times, with different initial modes, and this caused a crash for some vLLM ker...
diff --git a/ptx/src/pass/deparamize_functions.rs b/ptx/src/pass/deparamize_functions.rs index 2145b8900..538e3437e 100644 --- a/ptx/src/pass/deparamize_functions.rs +++ b/ptx/src/pass/deparamize_functions.rs @@ -27,7 +27,7 @@ fn run_method<'input>( let is_declaration = method.body.is_none(); let mut body = V...
2
2
0
[{"id": "G0", "claim": "Variable statements rendered with visit_args = true make the expected test output emit duplicated variable names (e.g. `.reg .f32 %5 %5;`), so statement_to_string should set visit_args to false for Statement::Variable.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "...
null
vosen__ZLUDA__609
vosen/ZLUDA
609
defect
0faa099cbaf83c037d4443c4f01e7837b7676746
5125eb0490f9914a7bb1b55205c8ad23b5cd67ae
Finish extended precision arithmetic
Adds `sub.cc`, `subc`, `subc.cc`, `mad.cc`, `madc`, and `madc.cc` on top of the work done in #607.
diff --git a/ptx/src/pass/insert_post_saturation.rs b/ptx/src/pass/insert_post_saturation.rs index 67e4fe430..32fa104c9 100644 --- a/ptx/src/pass/insert_post_saturation.rs +++ b/ptx/src/pass/insert_post_saturation.rs @@ -72,6 +72,8 @@ fn run_instruction<'input>( .. } | ast::Instruction::A...
1
1
0
[{"id": "G0", "claim": "LLVM may be producing sub-optimal instructions for the extended-precision subtraction code, behaving differently from the addition path.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vouch__vouch-proxy__258
vouch/vouch-proxy
258
defect
1ef7494f1a9debb84e4ffadd35fbe5a4a1b457b9
f0d1e0dc2a3a83e0912203c28a098eb91393d357
Logout improvements
Implements the following funcionality: * Added `logout_url` to `oauth` conf section * Request to `/logout` will be redirected to `oauth.logout_url` conf if the latter is present * Token is included in redirect to `oauth.logout_url ` in the `id_token_hint ` URL param * If `oauth.logout_url` is present and the ...
diff --git a/config/config.yml_example b/config/config.yml_example index dec41a80..8c95de8c 100644 --- a/config/config.yml_example +++ b/config/config.yml_example @@ -175,6 +175,7 @@ oauth: auth_url: https://{yourOktaDomain}/oauth2/default/v1/authorize token_url: https://{yourOktaDomain}/oauth2/default/v1/token ...
3
2
0
[{"id": "G0", "claim": "FindJWT and ClaimsFromJWT need a better home than handlers/common/common.go — the reviewer suggests pkg/jwtmanager.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "handlers/logout.go should use url.Parse to build the provider logou...
null
vouch__vouch-proxy__32
vouch/vouch-proxy
32
defect
2583fe1e6be68b0912fddc74db3a8ac118512e6d
408bc8572e54acc9070891d2f4a39e52993a6872
feature/config fixes
fixes #17 #22 #25
diff --git a/.gitignore b/.gitignore index 02aec4ee..78910f1f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,7 @@ main config/google_config.json .vscode/* lasso +config/config.yml_google +config/config.yml_github +config/secret +config/config.yml_orig diff --git a/config/config.yml_example b/config/config.yml_e...
2
2
0
[{"id": "G0", "claim": "In getUserInfo, the indieauth check should compare against the cfg.Providers.IndieAuth constant instead of the raw string \"indieauth\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The minimal github example config sho...
null
vouch__vouch-proxy__331
vouch/vouch-proxy
331
defect
f222fcbab200116bdf6a7328982c3bd0836c9126
8f67bb3b2748c2fe6c5fc4c6ee16512043efc84b
Support for additional JWT signing methods
This is a follow-up to https://github.com/vouch/vouch-proxy/issues/327 and a work-in-progress - I've opened this to get early feedback. This introduces the ability to sign vouch's JWT using asymmetric encryption algorithms, so that the site proxied by nginx+vouch can verify the JWT using a public key, and verifying...
diff --git a/config/config.yml_example b/config/config.yml_example index 95d7e5fb..5617d5fe 100644 --- a/config/config.yml_example +++ b/config/config.yml_example @@ -56,8 +56,15 @@ vouch: # - myOrg/myTeam jwt: + # signing_method: the algorithm used to sign the JWT. + # Can be one of HS256, HS384, HS512, ...
2
2
1
[{"id": "G0", "claim": "In decryptionKey(), the error returned when opening the public key file reports cfg.Cfg.JWT.PrivateKeyFile instead of cfg.Cfg.JWT.PublicKeyFile.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The crypto config and key-parsing...
null
vouch__vouch-proxy__332
vouch/vouch-proxy
332
defect
f222fcbab200116bdf6a7328982c3bd0836c9126
4f5605bb6f14a062808e146bd4ac4c9fd86ff1c7
Add TLS support to http server
This PR provides native TLS support. Related issue: #297 In order to enable TLS you must configure: ``` vouch: tls: cert: /path/to/signed_cert_plus_intermediates key: /path/to/private_key # profile: Optional. Define TLS configuration: modern, intermediate, old, default profile: intermediat...
diff --git a/.defaults.yml b/.defaults.yml index 5355712d..468c1c07 100644 --- a/.defaults.yml +++ b/.defaults.yml @@ -15,6 +15,11 @@ vouch: # whiteList: # teamWhitelist: + tls: + # cert: + # key: + profile: intermediate + jwt: # secret: issuer: Vouch diff --git a/config/config.yml_exam...
2
2
1
[{"id": "G0", "claim": "Put the non-TLS srv.ListenAndServe() call in an else block for clarity instead of letting it fall through after the TLS branch.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Include the environment variable names for the...
null
vouch__vouch-proxy__398
vouch/vouch-proxy
398
defect
1a3c67a7f1cfdd5fe3739fbcb6d6f78b3bf64002
a4d64cc0a6e1c6ceeb6a768b31cd8aa36db357a7
embed the templates and static files into the vouch binary
uses `//go:embed` introduced with Go 1.16 https://golang.org/pkg/embed/ commits can be reviewed one by one.
diff --git a/Dockerfile b/Dockerfile index e09dddc1..02f7971b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,10 +20,7 @@ RUN ./do.sh install FROM scratch LABEL maintainer="vouch@bnf.net" COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt -COPY templates /templates COPY .defau...
3
2
2
[{"id": "G0", "claim": "handlers/handlers_test.go fails because of its use of responses.Configure after the signature change.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "`.defaults.yml` is also currently a runtime dependency, so it should be incl...
null
vouch__vouch-proxy__488
vouch/vouch-proxy
488
defect
2d3ea1243156e28e54a81da29eb3c326e9c9ce28
19283ad9d4306f9bd67e94be8693ebb4efed21d9
Add support for listening on unix domain sockets
Added unix domain socket support for the listen setting. Added `socket_mode` setting to change socket permissions. Example configuration: ``` listen: /run/vouch-proxy/socket socket_mode: 0600 ```
diff --git a/CHANGELOG.md b/CHANGELOG.md index 629c72fa..d9ecb053 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ Coming soon! Please document any work in progress here as part of your PR. It will be moved to the next tag when released. +- [add support for listening on unix domain sockets](https://git...
4
4
2
[{"id": "G0", "claim": "Instead of constructing a config object, the test should create and consume a config file under config/testing via a setup function like cfg_test.go's, and config examples should be added in config/config.yml_example and a standalone unix-socket example file.", "category": "maintainability", "ve...
null
vouch__vouch-proxy__59
vouch/vouch-proxy
59
defect
b866c5334800c8febf8df0b59b3a93e6f80be7c9
87908e0de238e12a6ca508711abd5dd3596215f2
first pass at travis-ci support
you can sorta see it working at https://travis-ci.org/halkeye/lasso if you install the cli, its pretty easy to setup: 1) cd <path/to/vouch-proxy> 2) travis enable 3) travis set DOCKER_USERNAME <foo> 4) travis set DOCKER_PASSWORD <bar> You can also do it from the GUI, which https://docs.travis-ci.com/user/environment...
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..f4dea9ec --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +language: go + +sudo: false + +services: + - docker + +go: + - "1.10" + +before_install: + - ./do.sh goget + +script: + - ./do.sh build + - ./do.sh test + - docker build -t $TRAVI...
1
1
0
[{"id": "G0", "claim": "The duplicated `cd \"$( dirname \"${BASH_SOURCE[0]}\" )\"` inside the test() VOUCH_CONFIG export is unnecessary because do.sh already computes the current directory at its top.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
voxel51__fiftyone__6290
voxel51/fiftyone
6,290
defect
1284f9205b236bca116ddba8d71c79f7db81361c
d20090ee701ec158973447e982ac9033b4a36930
FOEPD-1965 function to better estimate number of useable CPUs
`os.cpu_count()` gives the number of CPUs available to the whole node. In kubernetes e.g., this might be much different from the CPU limit that the container is actually operating under. ## What changes are proposed in this pull request? Try in order: 1. cgroup v2 CPU quota (``/sys/fs/cgroup/cpu.max``) ...
diff --git a/fiftyone/core/utils.py b/fiftyone/core/utils.py index 4ab3f66bd07..a03a0fdb996 100644 --- a/fiftyone/core/utils.py +++ b/fiftyone/core/utils.py @@ -2893,6 +2893,53 @@ def recommend_process_pool_workers(num_workers=None): return num_workers +def get_cpu_count(): + """Returns the number of CPUs a...
9
9
4
[{"id": "G0", "claim": "Comparing the whole /sys/fs/cgroup/cpu.max line to \"max\" is wrong (the file commonly contains \"max 100000\"), which triggers a ValueError on int(\"max\") and can silently skip real limits; parse both tokens and handle \"max\" properly.", "category": "correctness", "verdict": "supported", "pri...
null
voxel51__fiftyone__6520
voxel51/fiftyone
6,520
defect
41a3353c91fbe03316bd0fba85ea6e4c7711ef16
19805696708b5cc70679eb203cf1bff77ccb3f0b
Add negative_prompt_field support to SAM2 models
What changes are proposed in this pull request? This PR adds support for negative prompts to SAM2 image and video models, enabling fine-grained segmentation control by excluding unwanted regions from segmentation masks. Key changes: - Add negative_prompt_field parameter to both SegmentAnything2ImageModel and S...
diff --git a/fiftyone/utils/sam2.py b/fiftyone/utils/sam2.py index f4f18d379e1..243be9ffd4a 100644 --- a/fiftyone/utils/sam2.py +++ b/fiftyone/utils/sam2.py @@ -122,6 +122,25 @@ class SegmentAnything2ImageModel(fosam.SegmentAnythingModel): session = fo.launch_app(dataset) + Negative prompt example:: + +...
8
3
1
[{"id": "G0", "claim": "The zip(imgs, self._curr_prompts) call in the image model should pass strict=True so length mismatches raise instead of silently truncating.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test file should import mock ...
null
voxel51__fiftyone__6628
voxel51/fiftyone
6,628
defect
81e6e6f7f5402626b623d0133f7f000811166a66
4873d6f11c4d8820b9c5c01a8971a1adc44b3505
FOEPD-2040 support operator pipeline live execution
## What changes are proposed in this pull request? Supports immediate execution of operator pipelines. Previously not supported at all, and delegated pipeline execution was only possible in Enterprise. Now delegated execution can occur but it will just run all stages of the pipeline back to back in the same executio...
diff --git a/fiftyone/operators/delegated.py b/fiftyone/operators/delegated.py index 35bae794aca..ea245eb2ba8 100644 --- a/fiftyone/operators/delegated.py +++ b/fiftyone/operators/delegated.py @@ -20,6 +20,7 @@ from fiftyone.operators.executor import ( prepare_operator_executor, do_execute_operator, + do_...
9
7
3
[{"id": "G0", "claim": "In the delegated pipeline path `raise error` raises the traceback string rather than an exception, which would fail with a TypeError whenever a pipeline stage fails; the error should be surfaced as an ExecutionError/ExecutionResult instead.", "category": "correctness", "verdict": "supported", "p...
null
voxel51__fiftyone__6639
voxel51/fiftyone
6,639
defect
f39e0335460a11b4cc9fdaedc7f3e09494b6aaf3
2e841622e11ae9a1f1f9db7f936841bd8da6b634
Update `get_implied_field_kwargs()` to support `EmbeddedDocumentField` subclasses
## Summary - updates `foo.get_implied_field_kwargs()` to correctly handle values that contain `EmbeddedDocumentField` subclasses ## Tested by ```py import fiftyone as fo import fiftyone.core.odm as foo class _GetImpliedInner(foo.EmbeddedDocument): x = fo.FloatField() score = fo.FloatField() c...
diff --git a/fiftyone/core/odm/utils.py b/fiftyone/core/odm/utils.py index e7892d7a212..245f7bd3ef6 100644 --- a/fiftyone/core/odm/utils.py +++ b/fiftyone/core/odm/utils.py @@ -547,7 +547,13 @@ def _finalize_embedded_doc_fields(fields_dict): for field in fields_dict.values(): if field is not None: ...
6
5
2
[{"id": "G0", "claim": "Remove the unnecessary `pass` in the `_SubclassedEmbeddedDocField` class body since the docstring already gives it a non-empty body.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "test_preserves_list_field_merging_behavio...
null
voxel51__fiftyone__6716
voxel51/fiftyone
6,716
defect
7ba7fbaf1c4fde04be6ea40e5bc2890a5cff1be6
74c63e54830e968b7277cfc9fd839d72f15a30cd
Add archive flag for DOs in SDK
## What changes are proposed in this pull request? Allow users to archive DOs instead of just deleting them. This will automatically filter them out when calling list_operations. ## How is this patch tested? If it is not, please explain why. ``` (OSS) ➜ fiftyone git:(feat/do-archive) ✗ fiftyone delegated lis...
diff --git a/fiftyone/core/cli.py b/fiftyone/core/cli.py index 50a42ff8ab3..4520901b9ea 100644 --- a/fiftyone/core/cli.py +++ b/fiftyone/core/cli.py @@ -7,26 +7,29 @@ """ import argparse -from collections import defaultdict -from datetime import datetime import fnmatch import json import os import re import su...
16
8
3
[{"id": "G0", "claim": "The delete command prints \"Deleting operation\" even when --archive is given, so users get misleading feedback while the operation is archived instead.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cleanup helpers (_cle...
null
voxel51__fiftyone__6718
voxel51/fiftyone
6,718
defect
eb432095858c59b87c1f2fcf5ae6bc48dccc35f7
ae2242b3d4f648f178676418e0665daa2c06440e
Add Depth Anything V3 to model zoo
## Summary - Add Depth Anything V3 models to the model zoo - Create `fiftyone/utils/depth_anything.py` wrapper ## Models Added | Model | Size | Description | |-------|------|-------------| | `depth-anything-v3-small-torch` | 99 MB | Lightweight, fast inference | | `depth-anything-v3-base-torch` | 541 MB | Balanced p...
diff --git a/fiftyone/utils/depth_anything.py b/fiftyone/utils/depth_anything.py new file mode 100644 index 00000000000..e67798b2c70 --- /dev/null +++ b/fiftyone/utils/depth_anything.py @@ -0,0 +1,228 @@ +""" +`Depth Anything V3 <https://github.com/ByteDance-Seed/Depth-Anything-3>`_ +wrapper for the FiftyOne Model Zoo....
27
24
15
[{"id": "G0", "claim": "Installing depth-anything-3 from a GitHub URL without a version tag or commit hash makes builds non-reproducible; pin the dependency to a specific version or commit.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When _preprocess ...
null
voxel51__fiftyone__6778
voxel51/fiftyone
6,778
defect
9dffca3b7bc4ddd3de6265e15c44e9058c00f5c0
733b1e310d9473d6dc9cdffeb17a4a14e0d91145
Add Qwen3-VL models to model zoo
## Summary - Add Qwen3-VL models to the model zoo - Create `fiftyone/utils/qwen3_vl.py` wrapper for 2D object detection ## Models Added | Model | Size | Description | |-------|------|-------------| | `qwen3-vl-2b-instruct-torch` | 4.5 GB | Compact, ~6-8 GB VRAM | | `qwen3-vl-4b-instruct-torch` | 9 GB | Balanced perf...
diff --git a/fiftyone/utils/qwen3_vl.py b/fiftyone/utils/qwen3_vl.py new file mode 100644 index 00000000000..11dfd07d4a7 --- /dev/null +++ b/fiftyone/utils/qwen3_vl.py @@ -0,0 +1,291 @@ +""" +`Qwen3-VL <https://huggingface.co/collections/Qwen/qwen3-vl>`_ +wrapper for the FiftyOne Model Zoo. + +| Copyright 2017-2026, Vo...
13
10
3
[{"id": "G0", "claim": "Use json.loads instead of ast.literal_eval for JSON parsing, since ast.literal_eval mishandles JSON-specific literals like true/false/null that VLMs may occasionally output.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Repl...
null
voxel51__fiftyone__6779
voxel51/fiftyone
6,779
defect
7290a36b3bea71c9ec1624d06fbc84d066491e30
1bdb6d947e115ed291d45d7e6765a325c793d0ff
[HA] Make `attributes` a list for label schemas
## What changes are proposed in this pull request? Convert `attributes` setting to a list for label schemas to support ordering ## How is this patch tested? If it is not, please explain why. New label schema validation tests ### What areas of FiftyOne does this PR affect? - [ ] App: FiftyOne applicatio...
diff --git a/fiftyone/core/annotation/constants.py b/fiftyone/core/annotation/constants.py index 168d67444f4..99ef97bf70e 100644 --- a/fiftyone/core/annotation/constants.py +++ b/fiftyone/core/annotation/constants.py @@ -51,6 +51,7 @@ CLASSES = "classes" COMPONENT = "component" DEFAULT = "default" +NAME = "name" PR...
8
5
0
[{"id": "G0", "claim": "Fix the docstring grammar in collections.py: 'When a label is marked is ``read_only``' should read 'marked as'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a `break` after renaming an attribute in _change_nested_labe...
null
voxel51__fiftyone__6882
voxel51/fiftyone
6,882
defect
50b33dd7026ed7e4b00df41399d10e241fd67184
ed9218d51141cd4f4d4ee01e80df0bc24bb015f1
release: main-to-develop for 1.12.0
> [!CAUTION] > This PR contains conflict markers in some files. Please see below. ## What changes are proposed in this pull request? main (1.12.0) -> develop PR Conflicts: ```text app/packages/core/src/components/Modal/Sidebar/Annotate/Edit/AnnotationSchema.tsx app/packages/core/src/components/Modal/Sideba...
diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 0ec84759a02..be7c4f79f53 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -135,7 +135,7 @@ jobs: - name: Enable corepack run: corepack enable - name: Prepare yarn 4 - ...
7
4
4
[{"id": "G0", "claim": "Unresolved Git conflict markers in AnnotationSchema.tsx, ImportSchema.tsx, Sidebar.tsx and fiftyone/core/annotation/constants.py make the files invalid TypeScript/Python and must be resolved before merge.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced...
null
voxel51__fiftyone__6941
voxel51/fiftyone
6,941
defect
fc1e04eb4c765ec00f303875f2cd542ca1eee3e1
384d904f4274d71c4974f29dd8f362e5f5cf1dff
Fix point label support in _to_sam_points
## What changes are proposed in this pull request? Fix field name mismatch in `_to_sam_points` that prevents object-level point labels from working. Line 390 checks for `"sam_labels"` but line 389 reads `keypoint.sam2_labels`, so `sam2_labels` is silently ignored (all points default to positive) and `sam_labels` crash...
diff --git a/fiftyone/utils/sam.py b/fiftyone/utils/sam.py index 46ef6a7662b..8a41bb0663e 100644 --- a/fiftyone/utils/sam.py +++ b/fiftyone/utils/sam.py @@ -387,6 +387,8 @@ def _to_sam_points(points, w, h, keypoint): scaled_points = np.array(points[valid_rows]) * np.array([w, h]) labels = ( np.array(...
2
1
1
[{"id": "G0", "claim": "If sam2_labels or sam_labels is explicitly set to None, the membership check passes but np.array(None)[valid_rows] raises a TypeError, so None guards should be added to the label selection.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
voxel51__fiftyone__6954
voxel51/fiftyone
6,954
defect
fc1e04eb4c765ec00f303875f2cd542ca1eee3e1
4440385b4408ab7b51881bf6a0b7b19dbc5906ef
[FOEPD-2623] Add ability to override any request_params in pipeline
## What changes are proposed in this pull request? https://github.com/voxel51/fiftyone-teams/pull/2316 ## How is this patch tested? If it is not, please explain why. Unit tests / ephem ## Release Notes ### Is this a user-facing change that should be mentioned in the release notes? <!-- Please fill in...
diff --git a/fiftyone/operators/_types/pipeline.py b/fiftyone/operators/_types/pipeline.py index 9071100c7f6..55fbee75983 100644 --- a/fiftyone/operators/_types/pipeline.py +++ b/fiftyone/operators/_types/pipeline.py @@ -5,6 +5,7 @@ | `voxel51.com <https://voxel51.com/>`_ | """ + import dataclasses from typing imp...
2
2
0
[{"id": "G0", "claim": "The `request_params_overrides` docstring in pipeline.py should be updated to clarify that overrides are cumulative across pipeline stages, since the in-place `ctx.request_params.update()` makes stage 1 overrides carry forward to later stages.", "category": "documentation", "verdict": "supported"...
null
voxel51__fiftyone__6998
voxel51/fiftyone
6,998
defect
aea9960f08058726bd0445aafc1b1c7883348837
aadf1d3b704d7d57259532d8e97e46aaf83f17c5
Fix compute metadata for url without Content-Length
## What changes are proposed in this pull request? - Metadata and ImageMetadata get their size from "Content-Length" header but if it's not there, they will consume the full buffer to get the size as a backup. ## How is this patch tested? If it is not, please explain why. added unit tests for this plus other m...
diff --git a/fiftyone/core/metadata.py b/fiftyone/core/metadata.py index 58c86b4177c..ca32e5e985d 100644 --- a/fiftyone/core/metadata.py +++ b/fiftyone/core/metadata.py @@ -72,7 +72,9 @@ def _build_for_url(cls, url, mime_type=None): with requests.get(url, stream=True) as r: r.raise_for_status() ...
5
4
1
[{"id": "G0", "claim": "The chunk_size_holder list in _make_response is assigned but never read and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The consume_size docstring should say the method 'may invalidate' the stream fo...
null
voxel51__fiftyone__7181
voxel51/fiftyone
7,181
defect
f5b02a07ea359a600fe338acf318e989a00d7872
b6835afacc48b4d1e6caf66a065f46ba3aae9ab0
sam_refactor_3: Refactor SAM2 models to inherit from base SAM classes
## What changes are proposed in this pull request? This pull request refactors the SAM2 (Segment Anything 2) model implementation to inherit from the base SAM model classes. Key changes include: - Simplified `SegmentAnything2ImageModelConfig` to inherit from `SegmentAnythingModelConfig` instead of implementing it...
diff --git a/fiftyone/utils/sam.py b/fiftyone/utils/sam.py index ed63a693f0c..79175e8c3ed 100644 --- a/fiftyone/utils/sam.py +++ b/fiftyone/utils/sam.py @@ -7,7 +7,9 @@ | """ +import logging import numpy as np +from enum import Enum import eta.core.utils as etau @@ -21,6 +23,8 @@ sam = fou.lazy_import("seg...
9
3
1
[{"id": "G0", "claim": "Removing box-based negative prompt support is questioned: the reviewer asks whether it will be added back before merging to develop, since a workflow possible on a single sample via the UI should also be supported in batch workflows via apply_model().", "category": "design", "verdict": "opposed"...
null
voxel51__fiftyone__7196
voxel51/fiftyone
7,196
defect
4ff6d88edb7253bc480cf77dfc1fd3f00d746d1f
33dca7ad0b3f5e92649d54cc753eb01a5ddbafe1
Removes list mutation during iteration + new test case
## What changes are proposed in this pull request? In `fiftyone/core/dataset.py` the function `_merge_docs()` there is a conditional branch that mutates a list, by value deletion using indices, while iterating that list. This will raise an `IndexError` and skip values. The existing suite of tests did not cover this ...
diff --git a/fiftyone/core/dataset.py b/fiftyone/core/dataset.py index afebf80c5ff..b566086afe8 100644 --- a/fiftyone/core/dataset.py +++ b/fiftyone/core/dataset.py @@ -11112,17 +11112,23 @@ def _merge_docs( doc_fields.append(root) if merge_lists: - for i in range(len(list...
4
2
1
[{"id": "G0", "claim": "The dedupe guards check membership against the dict keys of doc_list_fields/doc_elem_fields instead of the per-root child-field lists, making the guard ineffective.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The regressio...
null
voxel51__fiftyone__7250
voxel51/fiftyone
7,250
defect
b62c2849d8a337eb7ba11f96b34afa0e2eba77f5
fe05efcb0c23e654bef57b5ccfd9360a129d5812
Add interactive prediction method to sam zoo models
## What changes are proposed in this pull request? This PR adds interactive prediction capabilities to the SAM (Segment Anything Model) implementation. The key changes include: - Added `predict_interactive()` method to enable interactive segmentation with cached image embeddings - Added `set_image()`, `reset_ima...
diff --git a/fiftyone/utils/sam.py b/fiftyone/utils/sam.py index ed63a693f0c..114888de071 100644 --- a/fiftyone/utils/sam.py +++ b/fiftyone/utils/sam.py @@ -7,7 +7,9 @@ | """ +import logging import numpy as np +from enum import Enum import eta.core.utils as etau @@ -21,6 +23,8 @@ sam = fou.lazy_import("seg...
5
4
3
[{"id": "G0", "claim": "Move the prompt tensors (boxes, points, point_labels) to the predictor device before calling predict_torch(), since the preprocessing path builds CPU tensors and SAM's predict_torch() forwards them without device conversion, causing immediate failures on CUDA-backed models.", "category": "correc...
null
voxel51__fiftyone__7252
voxel51/fiftyone
7,252
defect
1f45d4c38a88ab3fb7c52687caa3376c1c6415c3
6b21492d819ee21b6abdedbe1c6dfcb28f68f4eb
Fix CVAT text attributes coerced to int on annotation import
Fixes #7221 `_parse_value()` aggressively coerces string values to numeric types. When a CVAT text attribute contains all-digit strings like `"0001"`, it gets cast to `int(1)`, losing leading zeros and semantic meaning. Added an `attr_type` parameter to `_parse_value()` so callers can indicate the CVAT attribute type...
diff --git a/fiftyone/utils/cvat.py b/fiftyone/utils/cvat.py index cfa45e22a48..0b248cd052d 100644 --- a/fiftyone/utils/cvat.py +++ b/fiftyone/utils/cvat.py @@ -4719,8 +4719,8 @@ def download_annotations(self, results): frame_stop -= offset # Download task data - a...
8
4
4
[{"id": "G0", "claim": "For `attr_type == \"text\"` the code only skips numeric coercion, so text values still fall through to the boolean/None normalization below and values like \"false\", \"None\" and \"\" are rewritten on import; it should return early so the original CVAT string survives untouched.", "category": "...
null
voxel51__fiftyone__7274
voxel51/fiftyone
7,274
defect
1f45d4c38a88ab3fb7c52687caa3376c1c6415c3
838966a5ac52e572e536f237f51a6bbbfc6cf306
Ontology odm
## 📋 What changes are proposed in this pull request? This pull request adds a new top-level document to support the ontology proposal. Please see 3543 for full details on this proposal and the implementations it will contain. - new ODM - auto managed created at and last modified at - unit tests that also conta...
diff --git a/fiftyone/core/odm/__init__.py b/fiftyone/core/odm/__init__.py index d6b786fd455..1d2e0aa5076 100644 --- a/fiftyone/core/odm/__init__.py +++ b/fiftyone/core/odm/__init__.py @@ -82,6 +82,7 @@ NoDatasetFrameDocument, ) from .mixins import get_default_fields +from .ontology import OntologyDocument, Onto...
8
4
3
[{"id": "G0", "claim": "OntologyType should be changed to StrEnum now rather than left as a TODO, since it looks like a simple swap.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The save() hook should use the datetime.now(timezone.utc) pattern i...
null
voxel51__fiftyone__7289
voxel51/fiftyone
7,289
defect
7f137cb76b068154c1681f6ed95895aaf0cda1d8
624ad672b96fcee4d669205fe7ff7f5db5f2bfbc
Add plugin-bundled skills discovery and install CLI
## 📋 What changes are proposed in this pull request? This PR adds support for skills inside plugins in FiftyOne, aligned with the data agent work. The idea is pretty simple. Skills are just Markdown files for AI agents, and now you can define them directly in `fiftyone.yml`, the same way we already do with opera...
diff --git a/fiftyone/core/cli.py b/fiftyone/core/cli.py index 1822bb66f45..50350581d24 100644 --- a/fiftyone/core/cli.py +++ b/fiftyone/core/cli.py @@ -3861,6 +3861,7 @@ def setup(parser): _register_command(subparsers, "enable", PluginsEnableCommand) _register_command(subparsers, "disable", PluginsDi...
21
16
11
[{"id": "G0", "claim": "With nargs=\"*\", `fiftyone plugins skills install --claude --plugin-names` parses as an empty list that filters out every plugin and silently installs nothing; require at least one value.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
voxel51__fiftyone__7319
voxel51/fiftyone
7,319
defect
fcf311f5afb8a6eac51ecb549ac22889688e2456
4c899606765efc9c20810485cf6d6e4d15990378
[grid] Derive labels counts client-side
## 🔗 Related Issues <!-- Use keywords to link issues. Closes/Fixes will auto-close the issue when this PR merges. - Closes #issue-number - Fixes #issue-number Learn more about linking PRs to an issue on GitHub: https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request...
diff --git a/app/packages/core/src/components/Grid/GridTagBubbles.test.tsx b/app/packages/core/src/components/Grid/GridTagBubbles.test.tsx index 9cea4333ebf..c804775af5d 100644 --- a/app/packages/core/src/components/Grid/GridTagBubbles.test.tsx +++ b/app/packages/core/src/components/Grid/GridTagBubbles.test.tsx @@ -1,4...
3
1
1
[{"id": "G0", "claim": "Add context to the first-frame comment explaining why video samples count only the first frame (grid thumbnails display only the first frame's label overlays).", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Tag counts for tag...
null
voxel51__fiftyone__7372
voxel51/fiftyone
7,372
defect
b971bd48783c6cae6e49eafd5c4c9df290d6322c
2bf976be0691648bf39ff019dee2cca8372e3e0f
ontology SDK versioning
## 🔗 Related Issues https://github.com/voxel51/fiftyone/pull/7345 ## 📋 What changes are proposed in this pull request? Updates ontology SDKs to have append only versioning. Saves create a new version of the same document and leave the existing document in place. ## 🧪 How is this patch tested? If it is ...
diff --git a/fiftyone/core/odm/ontology.py b/fiftyone/core/odm/ontology.py index 906e45b5482..21f1d48d658 100644 --- a/fiftyone/core/odm/ontology.py +++ b/fiftyone/core/odm/ontology.py @@ -6,8 +6,11 @@ | """ +from __future__ import annotations + from enum import Enum from datetime import datetime, timezone +from ...
8
3
2
[{"id": "G0", "claim": "The new type annotations in fiftyone/core/odm/ontology.py (annotated `*args`/`**kwargs` on `save()` and `_save_as_new_version()`, plus the `__future__.annotations` and `typing.Any` imports) should be removed to keep the unannotated style of `fiftyone.core` ODM code.", "category": "style", "verdi...
null
voxel51__fiftyone__7390
voxel51/fiftyone
7,390
defect
145e72a553031232b49eee651d2e16931317310b
2f260fcc1260c24a5091cf541f002eb5cffc4094
ontology annotation validation
## 🔗 Related Issues https://github.com/voxel51/fiftyone/pull/7341 ## 📋 What changes are proposed in this pull request? Adds validation logic for verifying integrity of conditional attributes within a annotation ontology This is not wired in anywhere yet, and this may be expanded (or contracted) later. ##...
diff --git a/fiftyone/__public__.py b/fiftyone/__public__.py index 29001a9d402..2a3a7ee9533 100644 --- a/fiftyone/__public__.py +++ b/fiftyone/__public__.py @@ -55,6 +55,16 @@ ViewExpression, VALUE, ) +from .core.ontology import ( + AnnotationOntology, + clone_ontology, + create_ontology, + delet...
6
2
2
[{"id": "G0", "claim": "validate_annotation_ontology should optionally accept a label schema (so field-level rules can be validated beyond the ontology-level rules it runs).", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "_ALLOWED_THEN_KEYS duplicates the k...
null
voxel51__fiftyone__7418
voxel51/fiftyone
7,418
defect
c190bcf6dd7f9b6a7331d607480adcac4c1c8135
5849c6c9e75306c0c36d7dce79b398a9a118ad23
[FOEPD-3738] Read MCAP to SceneInventory
## 🔗 Related Issues - [FOEPD-3738 - Add ingest API for multimodal datasets + compute SceneInventory](https://voxel51.atlassian.net/browse/FOEPD-3738) ## 📋 What changes are proposed in this pull request? - Adds a utility function `fiftyone.multimodal.ingest._get_scene_inventories` which crawls a directory for...
diff --git a/fiftyone/core/dataset.py b/fiftyone/core/dataset.py index c09be0fa032..3bb13eccc3a 100644 --- a/fiftyone/core/dataset.py +++ b/fiftyone/core/dataset.py @@ -9032,6 +9032,7 @@ def _ensure_label_field(self, label_field, label_cls): def _expand_schema(self, sample, dynamic): expanded = False + ...
8
8
6
[{"id": "G0", "claim": "MCAP files without a summary section or without chunk indexes are not handled: the adapter can crash accessing chunk_indices[0]/[-1] and summary.statistics, and where the summary is guarded it implicitly returns None instead of a fallback SceneInventory when the summary is missing.", "category":...
null
voxel51__fiftyone__7456
voxel51/fiftyone
7,456
defect
2b2a767b7df905d52f94d81ded2d129b1899fa2d
c874e189cf4fe6b8509df14fe026534605a831c4
add ontologies endpoint for Schema Manager picker
## 📋 What changes are proposed in this pull request? This adds a `GET /ontologies` API endpoint to retrieve ontologies from the database for the front end to use to populate a drop down. ## 🧪 How is this patch tested? If it is not, please explain why. Unit tests and Tested locally with a contrived set of ...
diff --git a/fiftyone/server/routes/__init__.py b/fiftyone/server/routes/__init__.py index 0d965ed6921..082995ef66c 100644 --- a/fiftyone/server/routes/__init__.py +++ b/fiftyone/server/routes/__init__.py @@ -20,6 +20,7 @@ from .get_similar_labels_frames import GetSimilarLabelsFrameCollection from .groups import Grou...
8
2
2
[{"id": "G0", "claim": "Add a secondary sort key (for example name) to the final $sort so summaries with equal last_modified_at keep a deterministic ordering across requests.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Avoid mutating os.environ a...
null
voxel51__fiftyone__7461
voxel51/fiftyone
7,461
defect
e3efe02ebbd568eca5715e372aa9ab0ef54dea0d
f2ea1cf05365187e6773a0827494c80746e4d0dc
Add multimodal scene inventory + playback plans server route
## 📋 What changes are proposed in this pull request? Add `SceneInventoryEndpoint` and `PlaybackPlanEndpoint` that return mock data (for now) This PR also extends `decorators.route` with `parse_body=False` support for bodyless GET routes while preserving default JSON body parsing. ## 🧪 How is this patch teste...
diff --git a/.gitignore b/.gitignore index 490718de478..9452e98594e 100644 --- a/.gitignore +++ b/.gitignore @@ -32,4 +32,6 @@ coverage.xml .coverage.* pyvenv.cfg -.env \ No newline at end of file +.env + +.playwright-mcp \ No newline at end of file diff --git a/fiftyone/multimodal/query/__init__.py b/fiftyone/mult...
9
7
6
[{"id": "G0", "claim": "_get_required_body_field assumes the parsed JSON body is a mapping, so a valid JSON array or scalar body will raise AttributeError and bubble out as a 500 instead of a 400.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Makin...
null
voxel51__fiftyone__7464
voxel51/fiftyone
7,464
defect
6f8b7fc65a660a984f4afbdcffbe200cb2bdacc1
767c0833cb82d71127571e489029cdd69ccbd61d
cascade-aware delete_ontology
## 🔗 Related Issues https://github.com/voxel51/fiftyone/pull/7435 ## 📋 What changes are proposed in this pull request? This adds behavior that when an ontology is deleted, it: 1. checks if any label schemas/fields reference it 2. Copies all of the attributes from the ontology onto those schema field/field ...
diff --git a/fiftyone/core/annotation/__init__.py b/fiftyone/core/annotation/__init__.py index c6e1cdf380d..068c51b2fba 100644 --- a/fiftyone/core/annotation/__init__.py +++ b/fiftyone/core/annotation/__init__.py @@ -19,6 +19,7 @@ from .hydrate_label_schemas import ( dehydrate_applied_ontology, hydrate_appli...
4
1
0
[{"id": "G0", "claim": "Deleting with a slug-equivalent alias can miss live label-schema references because the scan matches applied_ontology by exact string while load_ontology resolves by slug, skipping the force=False guard and still deleting a referenced ontology; the reviewer asks to scan with ontology.name and ad...
null
voxel51__fiftyone__7466
voxel51/fiftyone
7,466
defect
4183b5e5595563067af0b03bd52add6bd41515f2
5a09d943dac2602a8a2c28611171d06a40ea0bec
[FOEPD-3767] Save scene inventories as sample metadata
Here's a quick draft of saving scene inventories as sample metadata. Feels a bit simplistic but the scene inventory data gets onto a sample in Mongo. ## 🔗 Related Issues - [FOEPD-3767 - Persist generated SceneInventory in operational store](https://voxel51.atlassian.net/browse/FOEPD-3767) ## 📋 What changes a...
diff --git a/fiftyone/multimodal/metadata.py b/fiftyone/multimodal/metadata.py new file mode 100644 index 00000000000..a2b73fbb08b --- /dev/null +++ b/fiftyone/multimodal/metadata.py @@ -0,0 +1,67 @@ +""" +| Copyright 2017-2026, Voxel51, Inc. +| `voxel51.com <https://voxel51.com/>`_ +| +""" + +import datetime + +from g...
14
12
6
[{"id": "G0", "claim": "Existing samples are currently keyed by scene ID/filepath, but eventually the key should probably be inventory_id, with a linked ticket referenced in a TODO.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether per-stream m...
null
voxel51__fiftyone__7471
voxel51/fiftyone
7,471
defect
30aed42f44d65b56ec40d223a7db1e8f69bc9bc2
38f31a2aeadc44a3b6b69fe306949f7bbbeeec98
[FOEPD-3498] Per-deployment model weights source configurability
## 🔗 Related Issues FOEPD-3498 ## 📋 What changes are proposed in this pull request? Adds a new /runtime-assets/models/{family}/{model_id} endpoint with a per-family env var override (`FIFTYONE_MODEL_WEIGHTS_BASE_SAM2`), which defaults to the public CDN (could later be extended to serve other assets if needed)....
diff --git a/app/packages/annotation/src/providers/BrowserAnnotationProvider.test.ts b/app/packages/annotation/src/providers/BrowserAnnotationProvider.test.ts index 28b1ea6e920..ba9fbeae418 100644 --- a/app/packages/annotation/src/providers/BrowserAnnotationProvider.test.ts +++ b/app/packages/annotation/src/providers/B...
4
3
2
[{"id": "G0", "claim": "The resolver should return a deployment/version-specific cache key (hash/etag/version token) instead of the fixed `family:file` keys, because after a FIFTYONE_MODEL_WEIGHTS_BASE_* change or an in-place model update with the same filenames the worker will keep serving stale cached weights and nev...
null
voxel51__fiftyone__7478
voxel51/fiftyone
7,478
defect
63207c97067ffefd00bdf4b857f215b8be1a5836
cbf9280c5406d95f27c9043ccf582509089a639c
add risk_level config to operator configs
## 🔗 Related Issues No related issue to link ## 📋 What changes are proposed in this pull request? Add a new `risk_level` config for OperatorConfig mainly used by agents to determine the riskiness of an operator. By default, python operators will be assigned `RiskLevel.DANGEROUS` if not provided and JavaScrip...
diff --git a/app/packages/operators/src/operators.ts b/app/packages/operators/src/operators.ts index 6fc87e27a96..06d9a074550 100644 --- a/app/packages/operators/src/operators.ts +++ b/app/packages/operators/src/operators.ts @@ -7,7 +7,11 @@ import { getFetchFunction, isNullish, ServerError } from "@fiftyone/utilities"...
11
5
1
[{"id": "G0", "claim": "OperatorConfig stores the raw risk_level input without validating or normalizing it at construction time, so passing a string or any non-RiskLevel value only fails later at serialization when .value is accessed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int...
null
voxpupuli__puppetboard__1291
voxpupuli/puppetboard
1,291
defect
6b6e8dfbbd9b35ce540598f6dde4811e544db446
c0620b22a9759297ce60743bd53f9ad93cd1370b
Support nested facts in inventory view
Change INVENTORY_FACTS to use supported facts using dot notation Fixes #874
diff --git a/puppetboard/default_settings.py b/puppetboard/default_settings.py index 39b290def..e8c38dc03 100644 --- a/puppetboard/default_settings.py +++ b/puppetboard/default_settings.py @@ -1,4 +1,3 @@ -import secrets PUPPETDB_HOST = 'localhost' PUPPETDB_PORT = 8080 @@ -42,9 +41,9 @@ 'puppetversi...
1
1
0
[{"id": "G0", "claim": "The debug print statement in dot_lookup is leftover debugging that should have been removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
voxpupuli__puppetboard__647
voxpupuli/puppetboard
647
defect
1976f7ac1ddd2eb6e8e7cf5ab8923488856ff95b
b8c1c9655c28ece391c151e2f4a35afd0c341009
Structured fact values as shown as pretty-printed, colored JSON + some bugs fixed
#643 + #644 Fixes #612 and #567 and (I think that) it implements #83. Here's a screenshot of how will the complex facts look: https://github.com/voxpupuli/puppetboard/pull/644#issuecomment-974807389
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9403c9f82..9df8e0c42 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,7 +33,7 @@ jobs: mypy --install-types --non-interactive puppetboard/ test/ - name: Test run: | - pytest ...
1
1
0
[{"id": "G0", "claim": "Add the missing newline at the end of puppetboard/static/js/pretty.js.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
voxpupuli__puppetboard__697
voxpupuli/puppetboard
697
defect
873a04012a4b6c49bcb5f391c9bfbe546cc7ba2d
c30bd992b26f98b8c44e54aba2b1512ae4435340
V4 with Python 3.6, PuppetDBs < 5.2 support drop and Flask (and more) upgrade
With a recent [first release of Requests that drops support for Python 3.6](https://github.com/psf/requests/releases/tag/v2.28.0) I realized that we should also drop it in the Puppetboard or else we will not be able to apply possible future security updates. Python 3.6 had its EOL in December 2021 so we already support...
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9c9c4dda3..c21f7fdf9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ jobs: strategy: max-parallel: 5 matrix: - python-version: [3.6, 3.7, 3.8, 3.9, '3.10'] + python-...
2
2
0
[{"id": "G0", "claim": "The README requirements should list PuppetDB 7.10 as the upper tested version.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "check_db_version calls parse(version) repeatedly; store the parsed version in a variable.", "cate...
null
vpulim__node-soap__1017
vpulim/node-soap
1,017
defect
6e3567057786144b0cc23daabb7d0627439648ff
d19a0ab25d69851895fab7d33f16f156b8185fd7
WSSecurityCert without Timestamp and only xml-exc-c14n#
For a client we are writing a Timestamp field is not allowed, and also http://www.w3.org/2000/09/xmldsig#enveloped-signature is not supported. Therefore I made some changes to make both configurable: { hasTimeStamp: false, signatureTransformations: [] } It should have no breaking changes, and should be fully backwar...
diff --git a/lib/security/WSSecurityCert.js b/lib/security/WSSecurityCert.js index 04b6c9d67..4a08fae37 100644 --- a/lib/security/WSSecurityCert.js +++ b/lib/security/WSSecurityCert.js @@ -34,7 +34,8 @@ function generateId() { return uuid4().replace(/-/gm, ''); } -function WSSecurityCert(privatePEM, publicP12PEM,...
1
1
1
[{"id": "G0", "claim": "The `options.hasTimeStamp || typeof options.hasTimeStamp === 'boolean'` expression is redundant and mishandles non-boolean falsy values such as 0, which should be respected as false instead of defaulting the timestamp to true.", "category": "correctness", "verdict": "supported", "priority": "P1"...
null
vpulim__node-soap__1089
vpulim/node-soap
1,089
defect
47dcede5420cf4d43ec71a457020e38375591620
4e62299d55e93f1b6ff5dae626745aee222db3a7
Allow a fixed file path for local includes
NetSuite wsdl uses relative paths but when downloaded NS flattens all files in a single directory and fails to load. This option loads all the files from the directory as provided by NetSuite zip file. Using with node-suitetalk https://github.com/felipechang/node-suitetalk
diff --git a/src/wsdl/index.ts b/src/wsdl/index.ts index 9f8f272ac..630bfa28c 100644 --- a/src/wsdl/index.ts +++ b/src/wsdl/index.ts @@ -1170,7 +1170,12 @@ export class WSDL { let includePath: string; if (!/^https?:/i.test(this.uri) && !/^https?:/i.test(include.location)) { - includePath = path.resolve...
1
1
1
[{"id": "G0", "claim": "The new fixedPath wsdl_options option should be added to the Readme with an explanation of how to use it.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vpulim__node-soap__1155
vpulim/node-soap
1,155
defect
94fada0b0b56059c774bc312f662349f8652e6d2
f72c42b8100e69942541d935148ee5c698e2cafd
SOAP faults are no longer being passed back in the error callback/promise rejection
Based on suggestion in https://github.com/vpulim/node-soap/pull/1146#issuecomment-897993271 to fix this issue with SOAP faults.
diff --git a/src/http.ts b/src/http.ts index 3a98aa665..c4fc04b8e 100644 --- a/src/http.ts +++ b/src/http.ts @@ -85,6 +85,7 @@ export class HttpClient implements IHttpClient { url: curl.href, method: method, headers: headers, + validateStatus: null, }; if (exoptions.forceMTOM || at...
5
4
0
[{"id": "G0", "claim": "err.response.data is not a string when requestStream is used from the http client (with streaming it is a ReadStream already consumed by error handling), so code and tests that treat it as a string crash and the test suite fails.", "category": "correctness", "verdict": "supported", "priority": "...
null
vpulim__node-soap__1238
vpulim/node-soap
1,238
defect
690ae8cc0dbaf8d70be761a2bb1b4348eb660b09
d9c13e94c1847721ce45e68d27327873ac376f99
Prevent mutating $type in the schema while processing requests
I'm relying on the wsdl for typechecking and requests mutate `$type`. I don't really understand much about the code, but with my change `$type` is no longer changed and all tests still pass. This behavior was introduced with an old [commit](https://github.com/vpulim/node-soap/commit/9b6ba1fa39a4c15abf71d108cc7d15...
diff --git a/src/wsdl/index.ts b/src/wsdl/index.ts index e4e15b7fc..f3d56d6ed 100644 --- a/src/wsdl/index.ts +++ b/src/wsdl/index.ts @@ -843,7 +843,7 @@ export class WSDL { let resolvedChildSchemaObject; if (childSchemaObject.$type) { const typeQName = splitQName(chi...
1
1
0
[{"id": "G0", "claim": "The new test's assertions compare JSON.stringify output with assert.equal instead of using assert.deepEqual, and the reviewer asks whether deepEqual works there instead.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vpulim__node-soap__1255
vpulim/node-soap
1,255
defect
c9b2815414e133f62ba911185d7372a2f5ed4023
3b7df1ddceffc2d9341b33fb5efb99782dbe806e
WSSecurityCert KeyInfo tag wrapped around SecurityTokenReference
`WSSecurityCert` `<wsse:SecurityTokenReference>` tag should be wrapped inside `<KeyInfo>` tag. reference: https://docs.oasis-open.org/wss/v1.1/wss-v1.1-spec-pr-x509TokenProfile-01.htm ```xml <wsse:Security> <ds:Signature> <ds:SignedInfo>...</ds:SignedInfo> <ds:SignatureValue>...</ds:SignatureVal...
diff --git a/src/security/WSSecurityCert.ts b/src/security/WSSecurityCert.ts index 98e02a2d5..162359814 100644 --- a/src/security/WSSecurityCert.ts +++ b/src/security/WSSecurityCert.ts @@ -58,6 +58,7 @@ export class WSSecurityCert implements ISecurity { private publicP12PEM: string; private signer: any; privat...
3
3
1
[{"id": "G0", "claim": "Use xml-crypto's `getKeyInfoContent` instead of the PR's hand-written `getKeyInfo` wrapper so the library itself emits the KeyInfo element.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `Id` attribute on `KeyInfo` should not ...
null
vpulim__node-soap__1288
vpulim/node-soap
1,288
defect
e3cd686781abc85c47d0a150a9c522c303cc008e
4508eedd98723b4942815c69f40474adfbb39554
Add option to exclude specific elements (e.g., Body, Timestamp) from SOAP message signing
Description: In some scenarios, it is necessary **not to sign certain elements** such as the <Body> or <Timestamp> in the SOAP request. To support this flexibility, this PR introduces a new property that allows users to **exclude specific references** from the signature process. - Added a configurable option to e...
diff --git a/src/security/WSSecurityCert.ts b/src/security/WSSecurityCert.ts index 2a188b6ff..e73129c66 100644 --- a/src/security/WSSecurityCert.ts +++ b/src/security/WSSecurityCert.ts @@ -46,6 +46,7 @@ export interface IWSSecurityCertOptions { digestAlgorithm?: string; additionalReferences?: string[]; signerO...
3
3
1
[{"id": "G0", "claim": "The option name `excludedReferences` is not very clear and should be renamed to something like `excludeReferencesFromSigning`, and the option should be added to the documentation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
vpulim__node-soap__1330
vpulim/node-soap
1,330
defect
79a03631c6a38fb7665dfd2281f3a5f0fbd82d58
fbc8291c4039fcd1064f65b0602f416659e5943f
Adding custom envelope key option for server and client header fix (take 2 for 1208 and 1170)
- Closes #1208 - Closes #1170 - Hopefully helps #1292 This PR supersedes #1208 (by @gamzeoguz) by making sure the tests pass, adding 2 new tests and covering Faults. The original PR's 2 tests were not passing because actually they were Faults in response as empty Body is not allowed at the server by default her...
diff --git a/src/client.ts b/src/client.ts index fb80a8a46..069aa0ab3 100644 --- a/src/client.ts +++ b/src/client.ts @@ -441,7 +441,7 @@ export class Client extends EventEmitter { encoding + this.wsdl.xmlnsInEnvelope + '>' + - (decodedHeaders || this.security + (decodedHeaders || (this.se...
2
1
0
[{"id": "G0", "claim": "Upstream PR #1342 removed variables from server.ts that it treated as unused but that this PR actually needs, which broke the PR in its tests, and the author says the variables must be re-added to get the PR back in working state.", "category": "correctness", "verdict": "supported", "priority": ...
null
vpulim__node-soap__1336
vpulim/node-soap
1,336
defect
7c38c03ac158bc4a97a31121dc214e3241e86cd2
7b7b18be121e77bb3d1b2cc1c193ba1e052d083f
honor httpAgent/httpsAgent when setting ntlm flag (take 2)
- Closes #1209 This PR supersedes PR #1209 (by @unilynx) by adding tests for 'ntlm' to be together with `httpAgent` and `httpsAgent`. I used two different approaches of creating the tests agents inspired from other tests where they were used and by making sure `ntlm` was set to `true`. I've also sync'd it with mast...
diff --git a/src/http.ts b/src/http.ts index 301d33729..bf859b9d6 100644 --- a/src/http.ts +++ b/src/http.ts @@ -197,7 +197,9 @@ export class HttpClient implements IHttpClient { password: exoptions.password, workstation: exoptions.workstation || '', domain: exoptions.domain || '', - }); ...
2
1
0
[{"id": "G0", "claim": "The pull request's tests do not verify that the ntlm path honors httpAgent/httpsAgent: the tests still pass with the change removed, and the resulting req object is not reachable from the tests to compare the agents, so nothing would fail if the change were dropped.", "category": "testing", "ver...
null
vpulim__node-soap__1338
vpulim/node-soap
1,338
defect
7c38c03ac158bc4a97a31121dc214e3241e86cd2
7b723a4fff044228928acdcf6c4393f2e44c8325
enabling async methods for postProcess (take 2)
- Closes #1174 This PR supersedes PR#1174 (by @karlop). I've sync's master onto it and checked its tests pass.
diff --git a/src/client.ts b/src/client.ts index 7424a6d04..2e676a46a 100644 --- a/src/client.ts +++ b/src/client.ts @@ -294,7 +294,7 @@ export class Client extends EventEmitter { } } - private _invoke(method: OperationElement, args, location: string, callback, options, extraHeaders) { + private async _invo...
2
2
1
[{"id": "G0", "claim": "The async postProcess test calls setTimeout(resolve(\"Jane\"), 3000), which invokes resolve immediately and so does not really simulate an async operation; it should be something like setTimeout(() => resolve(\"Jane\"), 50).", "category": "correctness", "verdict": "supported", "priority": "P1", ...
null
vpulim__node-soap__1444
vpulim/node-soap
1,444
defect
109d1d2b9d6ec7a2a367a4ef2461930b460cd327
40f20b29133af558dc4e8c04a3d469a694ae3b44
Remove lodash dependency
Pull required functions to utils Close #1443
diff --git a/package-lock.json b/package-lock.json index 72e657a56..949280915 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,6 @@ "follow-redirects": "^1.15.11", "formidable": "^3.5.4", "get-stream": "^9.0.1", - "lodash": "^4.17.21", "sax": "^1.4.1", ...
1
1
0
[{"id": "G0", "claim": "The getByPath helper added in test/client-test.js should be placed in utils alongside the other shared helpers.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vpulim__node-soap__755
vpulim/node-soap
755
defect
8cb398b7740646ce36e9d3699292c8f55aa5bd67
7b4195e5208ec07f3f3965ece62b9d79e8ecb77a
add SOAP v1.2 support for client
related with #721, #720, #719, #627 It's really hard to automatically determine SOAP version by WSDL ([stackoverflow thread](http://stackoverflow.com/questions/736845/can-a-wsdl-indicate-the-soap-version-1-1-or-1-2-of-the-web-service)) and when I tried it, almost all request-response-samples tests fails, so I'm just a...
diff --git a/Readme.md b/Readme.md index 37b88429c..9099dcae3 100644 --- a/Readme.md +++ b/Readme.md @@ -40,6 +40,7 @@ The `options` argument allows you to customize the client with the following pro - endpoint: to override the SOAP service's host specified in the `.wsdl` file. - request: to override the [request](ht...
3
2
0
[{"id": "G0", "claim": "Change the forceSoap12 initialization to the shorter boolean coercion `this.wsdl.options.forceSoap12 = !!options.forceSoap12;` instead of the ternary.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rename the new option f...
null
vpulim__node-soap__779
vpulim/node-soap
779
defect
8b540182472dc055832ab5e480574ddd465de47d
7c2d8debbe109d95564f0ac38c361774a2e61776
Overriding the namespace prefix with empty prefix
In some cases, we need to remove namespace prefix for generating valid soap request message. I encountered this problem with complex WSDL. - Remove namespace prefix of param ``` javascript client.MyService.MyPort.MyFunction({':name': 'value',}, function(err, result) { // request body sent with `<name`, regardl...
diff --git a/Readme.md b/Readme.md index 5e6602e56..f39bca552 100644 --- a/Readme.md +++ b/Readme.md @@ -297,11 +297,18 @@ as default request options to the constructor: `node-soap` is still working out some kinks regarding namespaces. If you find that an element is given the wrong namespace prefix in the request bod...
3
2
0
[{"id": "G0", "claim": "The Readme code examples in this PR carry a spurious trailing comma (`{'ns1:name': 'value',}` and `{':name': 'value',}`) that should not be there.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new `}else if(name[0] ===...
null
vpulim__node-soap__869
vpulim/node-soap
869
defect
afc222276a7984cac878a0dbda8f0ae867032de3
0797eafc2793f3fb0159e8d4e4341593f4eeb3fb
better error handling for missing SOAP elements
Better error handling to speed up debugging: 1. SOAP message missing envelope and body 2. request/response tests incorrect SOAP method name
diff --git a/lib/server.js b/lib/server.js index a76acd105..3edf62fb0 100644 --- a/lib/server.js +++ b/lib/server.js @@ -211,6 +211,12 @@ Server.prototype._process = function(input, req, callback) { self.log("info", "Attempting to bind to " + pathname); } + //Avoid Cannot convert undefined or null to object ...
2
1
0
[{"id": "G0", "claim": "Remove the stray empty lines between code blocks in the new test file test/request-no-envelope-body-test.js.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The tests are failing and the PR author should fix them.", "categ...
null
vpulim__node-soap__872
vpulim/node-soap
872
defect
59aa639fe9ccc2f20faab63de2fdff5ada433242
c4490ddeecad9549a2035890e3a86e0dff2d143c
express server support
supporting express server so, that it is easier to use node-soap in an existing express server without affecting other routes. It supports middleware for body parsing like body-parser as well. Please see the tests included in commit.
diff --git a/lib/server.js b/lib/server.js index 3edf62fb0..804a4f938 100644 --- a/lib/server.js +++ b/lib/server.js @@ -41,27 +41,39 @@ var Server = function(server, path, services, wsdl, options) { if (path[path.length - 1] !== '/') path += '/'; wsdl.onReady(function(err) { - var listeners = server.list...
6
5
0
[{"id": "G0", "claim": "Reviewer questions whether duck-typing `server.route`/`server.use` is a reliable way to detect an express app instance from express 4.x upwards, or whether another check would be better.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim...
null
vpulim__node-soap__901
vpulim/node-soap
901
defect
d6dd9c350b391bde7ecc9c0ba14660ccbf394ce6
ef36d68feccbb2be29c03bc8360baf17ee6f011e
Custom deserializer - allow to deserialize dates or any other type yourself.
Custom deserializer - allow to deserialize dates or any other type yourself with any external library you want. This is another way to do what is in #840 without the need to add an new dependency (moment.js) in the codebase. Instead of modifying node-soap to use moment.js to deserialize dates, it adds the possibi...
diff --git a/Readme.md b/Readme.md index add850353..2c48914e7 100644 --- a/Readme.md +++ b/Readme.md @@ -445,6 +445,8 @@ Soap body contents. Useful if you don't want to log /store Soap headers. the SOAP response body as well as the entire `IncomingMessage` response object. This is emitted for all responses (both succ...
4
4
0
[{"id": "G0", "claim": "Remove the excess blank lines around the schema elements in the sample soap.wsdl.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the extra blank line endings at the end of the sample wsdl_options.js.", "category": ...
null
vpulim__node-soap__914
vpulim/node-soap
914
defect
54d20e80c62762870d4480325c5f272c6894e4f0
f382547f2cc01712a48fae7e73b9aead2b579e3f
add fields sequence if it's required (need help)
I want sort args on call soap method if sequence required(check parent element sequence). It's my implement for this functional. But I have problem 3 test not passed. Please help me fix it. I really need this functionality in your library. Thank you.
diff --git a/lib/client.js b/lib/client.js index 58c456f21..46b4f2957 100644 --- a/lib/client.js +++ b/lib/client.js @@ -182,6 +182,46 @@ Client.prototype._defineMethod = function(method, location) { }; }; +Client.prototype._isSequenceRequired = function(method) { + try { + var tns = this.wsdl.definitions.xml...
8
8
3
[{"id": "G0", "claim": "The pull request adds the sequence-args behaviour without any test, so a test should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test added for the sequence feature does not actually verify that the args get sort...
null
vpulim__node-soap__918
vpulim/node-soap
918
defect
bc6992ac2cac8e822795172b0d7bd9df0e5bcd85
fde8013d6aea181f67b3a108e02b01c8ee9b089d
Add the ability to submit already-formed XML strings to the SOAP client API
Sometimes a user already has an XML string that they want to submit to a SOAP service. This pull request introduces that functionality. This pull request also includes some improvements to the Readme.md client documentation for the client.MyFunction "args", both for args being an XML string and a JSON representation o...
diff --git a/Readme.md b/Readme.md index 637f3b77c..05640235d 100644 --- a/Readme.md +++ b/Readme.md @@ -371,6 +371,31 @@ An instance of `Client` is passed to the `soap.createClient` callback. It is us // result is a javascript object }) ``` +#### args + +The `args` argument allows you to supply arguments t...
3
3
1
[{"id": "G0", "claim": "Remove lib/wsdl.js~ from the pull request because it looks like an Editor/IDE backup file, not source.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Readme.md `_xml` example uses unescaped double quotes around the xm...
null
vpulim__node-soap__951
vpulim/node-soap
951
defect
833eafe17cab6f707c587ac77e5b54fd3c360352
9794d3a8e0819d573a89e245ff0277f1f63934db
Option return a soap fault instead of stack/error on bad request
In production, when a bad soap request is made, it should return a soap fault and not a stack trace or text error message. This change adds a WSDL option to return the fault, or continue to return the stack trace or message. A test case has been added to cover this new functionality also cleans up some jshi...
diff --git a/Readme.md b/Readme.md index b8b9f7107..724473ca7 100644 --- a/Readme.md +++ b/Readme.md @@ -100,7 +100,9 @@ The `options` argument allows you to customize the client with the following pro - endpoint: to override the SOAP service's host specified in the `.wsdl` file. - envelopeKey: to set specific key ...
1
1
0
[{"id": "G0", "claim": "The one-line `if (self.options.returnFault) p.onerror(e);` statement in lib/wsdl.js should use curly braces.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
vpulim__node-soap__961
vpulim/node-soap
961
defect
fe9a55113aa81bd4b9838d3b0d0cb98a46b220a7
80603a2f099d0d813304a776902e10f869c5a752
Allowing Bluebird suffix override
I have a use case, where the third party has functions with suffix 'Async' and it conflicts with BlueBird. Need to be able to override it.
diff --git a/lib/client.js b/lib/client.js index 104654b3a..045d5b6fc 100644 --- a/lib/client.js +++ b/lib/client.js @@ -24,7 +24,8 @@ var Client = function(wsdl, endpoint, options) { this._initializeOptions(options); this._initializeServices(endpoint); this.httpClient = options.httpClient || new HttpClient(op...
2
2
0
[{"id": "G0", "claim": "For readability within the test assertion, the overridePromiseSuffix value in the test should be capitalized to `Test`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Requests that the author open a follow-up PR adding do...
null
vpulim__node-soap__974
vpulim/node-soap
974
defect
6a7a49aa7abf91eee4438222dcfea023faa8bfe9
c8492b1cae5bfc4e9d4f30b0b1a4164f9a198a95
Allow agent reuse for ClientSSLSecurity if forever option is set
It should be possible for SSL connections to reuse the tls session. Every request, the https agent is recreated. This PR changes this: If the `forever` flag is set in the options per request (3rd parameter) or by default when setting the security (4th parameter), it should reuse the same agent as the previous reque...
diff --git a/lib/security/ClientSSLSecurity.js b/lib/security/ClientSSLSecurity.js index d4f4c5d0d..80b21a5a0 100644 --- a/lib/security/ClientSSLSecurity.js +++ b/lib/security/ClientSSLSecurity.js @@ -55,11 +55,26 @@ ClientSSLSecurity.prototype.toXML = function(headers) { }; ClientSSLSecurity.prototype.addOptions =...
3
3
0
[{"id": "G0", "claim": "The forever feature added by this PR should also be documented in the README.md file.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The agent property (this.agent) should also be initialized within the constructor function...
null
vpulim__node-soap__978
vpulim/node-soap
978
defect
c94cc1cc63c152a70f7ad9fc4f4940ab163f6114
e327a60cd70930c5e0fa258d5c2f737aa9a3fdbd
replace non identifier chars to underscore
Hi vpulim, I have a wsdl with operation names like `prefix-methodname`. node-soap creates functions on the Client object with these names, but these can only be called like `client['prefix-methodname']()` instead of `client.prefix-methodname()`, because `-` is not allowed as identifier name in Javascript. While this wo...
diff --git a/lib/client.js b/lib/client.js index 8df159829..bbf03920c 100644 --- a/lib/client.js +++ b/lib/client.js @@ -151,6 +151,7 @@ Client.prototype._defineService = function(service, endpoint) { return def; }; +var nonIdentifierChars = /[^a-z$_0-9]/i; Client.prototype._definePort = function(port, endpoint)...
4
3
2
[{"id": "G0", "claim": "At least one test should be added for the change, per the contribution guidelines, before the PR is merged.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Move the var-declaration of nonIdentifierChars to the top of lib/client.js...
null
vpulim__node-soap__994
vpulim/node-soap
994
defect
0eec7137bddb9dc474b4c994472ebe76c9ff5a71
c05384535070488c0f7bb4f4a5803d15c1edbecc
add option to remove element-by-element namespacing of json arrays
By default the wsdl marshalling code converts JSON arrays of the form: ` { PeriodList: { PeriodType: [ {PeriodId: '1'}, {PeriodId: '2'} ] } } ` Into xml documents of the form ` <PeriodList> <PeriodType><PeriodId>1</PeriodId></PeriodType><PeriodType><PeriodId>2</PeriodId></PeriodType...
diff --git a/lib/wsdl.js b/lib/wsdl.js index def6b1d12..837126b89 100644 --- a/lib/wsdl.js +++ b/lib/wsdl.js @@ -1114,6 +1114,13 @@ WSDL.prototype._initializeOptions = function (options) { } this.options.handleNilAsNull = !!options.handleNilAsNull; + if (options.namespaceArrayElements !== undefined) { + thi...
3
3
0
[{"id": "G0", "claim": "The PR author should add a note in the README documenting the new namespaceArrayElements option.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `else` should be moved up onto the same line as the `if` closing brace, wri...
null
vrecan__death__23
vrecan/death
23
defect
ec530e104ad66e995404ffc10e1346f65cd7c6e0
dc5fe11f78019b0694f4f0e6ff9964313ccfe9cf
Add call to manually initiate death
Instead of sending an OS-specific signal to a process, would you be amenable to also allowing a process to manually initiate it's own death? I intentionally didn't use the obvious metaphor for such a process in naming the method, etc. because it seems too gloomy.
diff --git a/death.go b/death.go index e3e079c..e32d36f 100644 --- a/death.go +++ b/death.go @@ -14,10 +14,11 @@ import ( //Death manages the death of your application. type Death struct { - wg *sync.WaitGroup - sigChannel chan os.Signal - timeout time.Duration - log Logger + wg *sync.Wai...
1
1
0
[{"id": "G0", "claim": "The name of the new manual-trigger method `InitiateDeath` could be better.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
vsco__dcdr__42
vsco/dcdr
42
defect
e965f67dd3e63b457a4fdb0ea11f967d8e9e37b9
c917346261d96495e79f81710b8859963d7daaec
Adding scripts for testing docker builds & compose
This branch adds a `Dockerfile` and a `docker-compose.yml` as well as some support scripts for building images and testing a fully working Decider. This way users can run `script/compose` and `sudo docker-compose up` to see a `dcdr watch` and `dcdr server` run via Docker.
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..62d4cb9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM base/archlinux +ADD ./bin/dcdr /usr/bin/dcdr +ADD ./config/config.example.hcl /etc/dcdr/config.hcl +ENTRYPOINT ["/usr/bin/dcdr"] + diff --git a/Dockerfile.full b/Dockerfile.full new file...
2
1
0
[{"id": "G0", "claim": "The install script should bump the pinned Glide version to 0.10 (or alternatively install Glide via go get) instead of Glide 0.9.0.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The commented-out Etcd block in config/config.exa...
null
vscode-neovim__vscode-neovim__1180
vscode-neovim/vscode-neovim
1,180
defect
fd152cf8d539e3ae28a566d9aad6bca05208755f
8b87b19bed1c6bfb0a0e1e8397970c89255eb3c6
fix: VSCodeNotifyVisual and VSCodeCallVisual produce incorrect VSCode selections in visual and visual block modes if the cursor is placed at the beginning of the visual selection
Fixes VSCodeNotifyVisual and VSCodeCallVisual producing incorrect VSCode selections in visual and visual block modes when the cursor is placed at the beginning of the visual selection. `vim.keymap.set("x", "<D-d>, "<Cmd>call VSCodeNotifyVisual('editor.action.addSelectionToNextFindMatch', 1)<CR><Esc>i", opts)` mappin...
diff --git a/vim/vscode-neovim.vim b/vim/vscode-neovim.vim index d2e33efd6..7af7733fc 100644 --- a/vim/vscode-neovim.vim +++ b/vim/vscode-neovim.vim @@ -58,7 +58,13 @@ function! VSCodeCallVisual(cmd, leaveSelection, ...) abort elseif mode ==# 'v' || mode ==# "\<C-v>" let startPos = getpos('v') le...
2
2
1
[{"id": "G0", "claim": "The position-adjustment logic duplicated in VSCodeCallVisual and VSCodeNotifyVisual should be extracted into a function like fixVisualPos() to aid future readers and bug fixes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
vscode-neovim__vscode-neovim__1334
vscode-neovim/vscode-neovim
1,334
defect
0d334af2c6ac352ccfd6f3cf25ea3b0d3f688e73
5fc5621e7c5133fba431173541e23840d0c3817e
fact(highlight): ignore undesired highlights from vim side instead of vscode side
This attempts to simplify the highlight manager and improve the mechanism for ignoring syntax groups. Instead of providing vscode options to do this, it instead relies on neovim configuration to effectively erase the syntax groups. Ref: https://github.com/vscode-neovim/vscode-neovim/issues/1264
diff --git a/package-lock.json b/package-lock.json index 036e99ae1..15fabdbfc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,7 @@ "webpack-cli": "^5.1.4" }, "engines": { - "vscode": "^1.79.0" + "vscode": "^1.80.0" ...
2
1
0
[{"id": "G0", "claim": "The plugin-side settings such as disabling matchparen should live in a single file like `vscode/defaults.lua` so they are easy to document and discover.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR title is confu...
null
vscode-neovim__vscode-neovim__1443
vscode-neovim/vscode-neovim
1,443
defect
7c9dc9671ba2010e3607f86fa3c7b3d061a4e808
221b706ea30e990da4ec2f9a4b0e264f60c71378
Implement external buffer document provider
Closes #1432 This opens a document, with a proper buffer name and matches it to the appropriate neovim external buffer. The document is "readonly" as far as VSCode is concerned, but it can still be edited by setting `modifiable`, so we still need to sync buffer changes whenever it updates. This can break highlig...
diff --git a/src/buffer_manager.ts b/src/buffer_manager.ts index fda45fcf8b..2934dbadef 100644 --- a/src/buffer_manager.ts +++ b/src/buffer_manager.ts @@ -16,7 +16,10 @@ import { Uri, ViewColumn, window, + TextDocumentContentProvider, workspace, + EventEmitter, + TextEditorRevealType, } fr...
4
4
3
[{"id": "G0", "claim": "The class name 'ExternalBufferProvider' is over-verbose since there is no other kind of buffer provider yet, and should be renamed to 'BufferProvider' until other provider kinds actually exist.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"i...
null
vscode-neovim__vscode-neovim__1578
vscode-neovim/vscode-neovim
1,578
defect
21e9da53f073538d838dd97bcb421903f7824a94
a6cd7cac61d7514fdd9cc354f58d4866e11daa8a
fix: Cancel visual mode when switching editor
Fixes https://github.com/vscode-neovim/vscode-neovim/issues/1577
diff --git a/src/buffer_manager.ts b/src/buffer_manager.ts index 11021b96f..7dd043c4b 100644 --- a/src/buffer_manager.ts +++ b/src/buffer_manager.ts @@ -575,6 +575,13 @@ export class BufferManager implements Disposable { logger.debug(`Setting active editor - viewColumn: ${activeEditor.viewColumn}, winId: ${win...
3
1
0
[{"id": "G0", "claim": "When switching editors, cmdline mode should also be cancelled along with visual mode (suggested via `if (!this.main.modeManager.isInsertMode)`), since leaving cmdline editing in place is unintuitive even though it matches nvim_set_current_win.", "category": "design", "verdict": "supported", "pri...
null
vscode-neovim__vscode-neovim__1854
vscode-neovim/vscode-neovim
1,854
defect
7592f1909467907da934e1748b1b7d5904dba67d
1f76c5b49f23b6f852becae3178c813807b725ce
feat: `vscode.eval()`
This PR introduces `vscode.eval()` which can be used to evaluate javascript passed as a string from lua. This can then be used to interact with the vscode API from neovim. ~~This PR introduces `vscode.get()` which can be used to obtain javascript values from lua. This is a simpler implementation than I originally im...
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 54525a507..06514a8b8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -47,7 +47,8 @@ Note: some messages are not logged to the Output channel, to avoid infinite loop 1. Open the repo in VSCode. 2. Go to debug view and click `Extension Tests` (F5). -3. To run...
10
6
0
[{"id": "G0", "claim": "The new `vscode.get()` entry added to the README API list (flagged with a bare '11.') appears to be wrongly numbered or positioned in the list.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The 'Examples' section should no...
null
vscode-neovim__vscode-neovim__1915
vscode-neovim/vscode-neovim
1,915
defect
3c82cc01e69e0817eb92f7093844136a3038bcff
e3e78ae956482863399a82de8418c58f6915fe50
refactor: simplify highlight range building logic
Just a small refactor :) It also cleans up one of the tests that I felt was a bit weird, but AFAICT has no impact on functionality
diff --git a/src/highlights/highlight_grid.ts b/src/highlights/highlight_grid.ts index 3a0bf3f31..60b7734d2 100644 --- a/src/highlights/highlight_grid.ts +++ b/src/highlights/highlight_grid.ts @@ -210,56 +210,12 @@ export class HighlightGrid { } buildHighlightRanges(topLine: number): HighlightRange[] { - ...
5
5
2
[{"id": "G0", "claim": "The PR author should investigate the broken test run reported on this PR (xiyaowong said re-running is enough, so the fix sought is an investigation/re-run rather than a code change).", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "unclear"}, {"id": "G1", "claim": "T...
null
vscode-neovim__vscode-neovim__1917
vscode-neovim/vscode-neovim
1,917
defect
f2d1a1d3a7a8e1da610877b2cffbdbec988437d2
14095e3e369198c351e38d1c0be149c3217055b6
feat!: better composite key support
The main idea is to always register the `type` command, but when there is no need to take over user input (generally in insert mode), forward the received inputs to the `default:type` command. The implementation is to judge the input before forwarding. If it matches, call the configured command, otherwise continue t...
diff --git a/README.md b/README.md index 5a77429ca..e9b7c17f2 100644 --- a/README.md +++ b/README.md @@ -171,33 +171,38 @@ reporting it. ### Composite escape keys -Since VSCode is responsible for insert mode, custom insert-mode Vim mappings don't work. To map composite escape keys, -put into your keybindings.json:...
6
2
0
[{"id": "G0", "claim": "Test code should use the Config abstraction instead of calling vscode.workspace.getConfiguration directly.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a check that gives a useful error for composite keys of length 1 ...
null
vscode-neovim__vscode-neovim__1940
vscode-neovim/vscode-neovim
1,940
defect
7be764308a0b6a53396c1f10a603227dd89bc493
b14906f6276880bc8b320ca49942efadf59962e1
fix: redraw events are processed in order
**REVIEW NOTE:** This is almost certainly going to be easier to review if you ignore whitespace when viewing the diff. This is a bit of an untested prototype. I'm not 100% what it fixes or breaks, but it comes back to a comment I left [on another issue](https://github.com/vscode-neovim/vscode-neovim/issues/1888#issu...
diff --git a/src/buffer_manager.ts b/src/buffer_manager.ts index b8ec7633f..ef200e9e0 100644 --- a/src/buffer_manager.ts +++ b/src/buffer_manager.ts @@ -222,22 +222,20 @@ export class BufferManager implements Disposable { return this.externalTextDocuments.has(textDoc); } - private handleRedraw(data: ...
4
4
1
[{"id": "G4", "claim": "The now-always-false hasMouseOnAfterReturnPrompt declaration in status_line_manager's handleRedraw is dead code and should be deleted entirely.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G5", "claim": "The PR should either update CO...
null
vscode-neovim__vscode-neovim__1988
vscode-neovim/vscode-neovim
1,988
defect
479638fb0bac36d1d9f003e593f6ab43ca0d59b9
977426c06afda53d443e674ade61386715682e47
fix(highlight): fix eol highlight not displaying
Close #1987
diff --git a/src/test/unit/highlights/highlight_grid.test.ts b/src/test/unit/highlights/highlight_grid.test.ts index 30e1ed0f4e..9497ffe487 100644 --- a/src/test/unit/highlights/highlight_grid.test.ts +++ b/src/test/unit/highlights/highlight_grid.test.ts @@ -630,6 +630,26 @@ describe("processHighlightCellsEvent", () =>...
3
2
2
[{"id": "G0", "claim": "The new end-of-line calculation in calculateEditorColFromVimScreenCol must be based on the character index, not on the display width.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a test case covering the branch where th...
null
vscode-neovim__vscode-neovim__2027
vscode-neovim/vscode-neovim
2,027
defect
09571212c176225ea3eca4f351296ed464b804b5
d498bc4b5c2e4393270b798a899d919aedf0b1d9
refactor: remove Altercmd for "write"
~~This is definitely _not_ fully tested, but is something I was playing around with~~ I wanted to throw out this there to see if there was any something I hadn't considered here :) It's a pretty fundamental change, so I'd love eyes from those who know more than me :D Should also address #521. I was able to run `w !w...
diff --git a/runtime/vscode/overrides/vscode-file-commands.vim b/runtime/vscode/overrides/vscode-file-commands.vim index 90f5f578e2..805620f5fc 100644 --- a/runtime/vscode/overrides/vscode-file-commands.vim +++ b/runtime/vscode/overrides/vscode-file-commands.vim @@ -1,3 +1,12 @@ +function! s:write() + if v:cmdbang +...
7
5
1
[{"id": "G0", "claim": "Consider putting the BufWriteCmd autocmd where the altercmd for write was.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Simplify the test by checking TextDocument.isDirty instead of reading the file from disk.", "catego...
null
vscode-neovim__vscode-neovim__2116
vscode-neovim/vscode-neovim
2,116
defect
68371424b368f159f666763d64a5a80cce4de2f5
8446f3c026eaf42a448889149bf571b11458064e
feat: Integrate BufWriteCmd for "write" command
- [x] Works - [x] Remote ![remote](https://github.com/vscode-neovim/vscode-neovim/assets/47070852/411a038e-3fb8-4c4b-ba5f-6b4e79b614fe) - [x] Add tests - [x] Update readme close #2075
diff --git a/runtime/lua/vscode/internal.lua b/runtime/lua/vscode/internal.lua index dca59b0b0..ed8cd5126 100644 --- a/runtime/lua/vscode/internal.lua +++ b/runtime/lua/vscode/internal.lua @@ -1,5 +1,7 @@ +---@diagnostic disable: deprecated local api, fn = vim.api, vim.fn +local vscode = require("vscode.api") local...
3
3
0
[{"id": "G0", "claim": "The inline exists check (try `workspace.fs.stat` / `readFile` catch) should live in a reusable `utils/fs.ts:exists()` helper rather than inline in handleSaveBuf.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment on per-ed...
null
vscode-neovim__vscode-neovim__2127
vscode-neovim/vscode-neovim
2,127
defect
8606eb183a420223c0fc102639b8b3ad753cfecb
fb77c0d842df2d7cbfa4c617acd9bd3a609a3580
fix: Sync the dirty state
- fix #247
diff --git a/runtime/lua/vscode/internal.lua b/runtime/lua/vscode/internal.lua index 4d63e82e53..7ab5dca47c 100644 --- a/runtime/lua/vscode/internal.lua +++ b/runtime/lua/vscode/internal.lua @@ -284,13 +284,13 @@ end --#region Buffer management ---- Implements :write and related commands, via buftype=acwrite. #521...
4
2
1
[{"id": "G0", "claim": "The dirty-state syncing appears to only work the first time for theol0403, reproducible 100% of the time on his setup but only on the first tab opened when VSCode boots.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comm...
null
vscode-neovim__vscode-neovim__2140
vscode-neovim/vscode-neovim
2,140
defect
d0cec5649f592328c1924fbbe7783dd410394351
a939133c218faae9480bc64b648360c2457048b9
fix: rapid cmdline_show/cmdline_hides would not be handled logically
Replaces #2081 Fixes #2079 I came up with [this idea](https://github.com/vscode-neovim/vscode-neovim/pull/2081#issuecomment-2157087672) a little while ago, but haven't had the chance to sit down and implement it. Ultimately, most problems with our two-way cmdline sync originate from the fact that a cmdline_hide ...
diff --git a/src/cmdline/cmdline_queue.ts b/src/cmdline/cmdline_queue.ts new file mode 100644 index 000000000..f96e3a4ec --- /dev/null +++ b/src/cmdline/cmdline_queue.ts @@ -0,0 +1,71 @@ +import { type EventBusData } from "../eventBus"; + +/** + * A queue for "batching" cmdline events. + * + * In the most simple cases,...
2
2
0
[{"id": "G0", "claim": "There are several typos in the comments, which should be gone through and made less verbose where applicable.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new queue tracks level in a second place alongside the cmdline...
null
vscode-neovim__vscode-neovim__2177
vscode-neovim/vscode-neovim
2,177
defect
08e973d20e93835416c3c5a7bd3a81239c02d213
b8150ba8ecd9e1eb8a49675f3d6c2fb76fd6fe98
refactor: follow nvim ui-messages protocol
Closes #2134 `:help ui-messages` shows a lot more details about how these messages are meant to be handled. This change makes our handling match more closely to the expected behavior and now obeys *_clear types of messages as well. This changes the behavior of message handling pretty significantly, so it probabl...
diff --git a/src/eventBus.ts b/src/eventBus.ts index 00194bdbf..ba53be32d 100644 --- a/src/eventBus.ts +++ b/src/eventBus.ts @@ -103,6 +103,7 @@ type RedrawEventArgs = > // ["msg_history_show", entries] | IRedrawEventArg<"msg_history_show", [string, [number, string][]][][]> + | IRedrawEventArg<"msg_...
3
1
1
[{"id": "G0", "claim": "The promise-chaining used to serialize redraw/flush handling is unnecessary, since the JS event loop already ensures one callback completes before the other begins.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Acting on return_pro...
null
vscode-neovim__vscode-neovim__2300
vscode-neovim/vscode-neovim
2,300
defect
4f33fb108a76bcee724da4c58d9aabe3162597e3
525e754be588fa3e92d0c6210aa3d94d49631d16
fix: exit visual mode on mouse click or selection cancel
fix: Fix assertContent cursor position parameter fix #2299 @theol0403 Previously, the visual model only exited after a mouse click. Was there any special consideration for this?
diff --git a/src/cursor_manager.ts b/src/cursor_manager.ts index 6518837ef..f803aca31 100644 --- a/src/cursor_manager.ts +++ b/src/cursor_manager.ts @@ -369,9 +369,7 @@ export class CursorManager implements Disposable { ); if (selection.isEmpty) { - // exit visual mode when cl...
1
1
1
[{"id": "G0", "claim": "The PR's failing tests may be caused by removing the mouse-kind restriction that previously gated exiting visual mode.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
vscode-neovim__vscode-neovim__585
vscode-neovim/vscode-neovim
585
defect
a4735e901cb154a91bd36643970abf4d953622a3
8f3eef59f69a8be35b64e34057638cba9f552899
Implement Ctrl-O for insert mode
Fixes #181
diff --git a/README.md b/README.md index 46c3a9e25..a1909f48b 100644 --- a/README.md +++ b/README.md @@ -412,6 +412,7 @@ Enabled by `useCtrlKeysForInsertMode = true` (default true) | -------------------------- | ---------------------------------------------------------------- | --------------------------------- | | `...
4
3
1
[{"id": "G0", "claim": "The two Ctrl-O scenarios (cursor movement after Ctrl-O followed by h, and editing after Ctrl-O followed by x, with the exact expected cursor positions and content) should be added to the automated test suite.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
vscode-neovim__vscode-neovim__868
vscode-neovim/vscode-neovim
868
defect
1fa8cfce236b7a7477706d08fd8dc3e120c7e9c4
be92f37920a2fe104bd17dac4d0991337069f3bb
feat: support extmark_overlay
It allow highlight character different with current character on buffer it working with hop and lightspeed. lightspeed need #869 to have same result like neovim
diff --git a/package.json b/package.json index 341dcb70e0..8a79665d4f 100644 --- a/package.json +++ b/package.json @@ -1292,6 +1292,7 @@ "@types/mocha": "^8.2.1", "@types/msgpack-lite": "^0.1.7", "@types/node": "^14.14.35", + "@types/sinon": "^10.0.11", "@types/vscode": "^1.54...
16
7
5
[{"id": "G0", "claim": "Nvim cannot know or sync the real vscode viewport, so lightspeed scans and matches far beyond the visible area (all 200 nvim lines), hurting performance and failing past line 200; the reviewers want this PR to avoid the separate lightspeed patch by providing a way for nvim to know/sync the vscod...
null
vshn__signalilo__10
vshn/signalilo
10
defect
c6e4c894cbb88f6848c38ebdc3795868bd24158c
9e559a16229b18210e3598279efb72791d9476b1
Allow passing the bearer token via query parameter
Some applications don't support passing an authorization header. Using a URL query parameter should always be possible. Signed-off-by: Simon Rüegg <simon.ruegg@vshn.ch>
diff --git a/CHANGELOG.md b/CHANGELOG.md index 97c18de..b5b3605 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ Please document all notable changes to this project in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http:/...
4
4
0
[{"id": "G0", "claim": "The error message \"Request does not have bearer token\" associates \"bearer\" too much with the Authorization header and should be phrased as \"Request does not contain an Authorization token\", and more generally the wording around Bearer, Authorization and token should be made clearer and mor...
null
vshn__signalilo__24
vshn/signalilo
24
defect
20a5162992eb1a2b91f6a480b9d72daad6e6b836
a68fea23661ee5e9050df5ad65eb86f4e9c21c12
Change Signalilo to not process "resolved" alerts for heartbeats
Alertmanager sends a resolved alert for a missing "heartbeat" alert, e.g. when Prometheus is not running. If we process resolved heartbeats using the code for regular alerts, we set dummy_state to 0 which prevents the missing heartbeat from showing up as critical in Icinga.
diff --git a/webhook/icinga.go b/webhook/icinga.go index e4f9b9f..5d7148a 100644 --- a/webhook/icinga.go +++ b/webhook/icinga.go @@ -17,9 +17,9 @@ import ( "strings" "time" - "github.com/vshn/signalilo/config" - "github.com/vshn/go-icinga2-client/icinga2" "github.com/prometheus/alertmanager/template" + "github....
2
2
0
[{"id": "G0", "claim": "The early return for resolved heartbeats should happen earlier in updateOrCreateService so that serviceVars and serviceData are not generated needlessly before the return.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fu...
null
vtex__react-hook-form-jsonschema__10
vtex/react-hook-form-jsonschema
10
defect
f5a5c511dab10ff83aac72d2d99ed52831f81696
e67f435871a56cfd4018dff77e55c7b773a3dd8c
Feature/id and refs
#### What problem is this solving? This feature branch implements the json schema [$ref](https://tools.ietf.org/html/draft-wright-json-schema-01#section-8) and [$id](https://tools.ietf.org/html/draft-wright-json-schema-01#section-9.2) resolving, as well as changes the preffix for accessing the instantiated schema me...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 37d26e0f..ab1af2a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- `$ref` and `$id` resolving in accord to the [JSON Schema specification](ht...
6
5
0
[{"id": "G0", "claim": "The RegExps in refHandlers.ts should be top-level constants (written as regex literals with the /i flag, per the suggestion) instead of being constructed with new RegExp inside the functions on every call.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
vtex__react-hook-form-jsonschema__11
vtex/react-hook-form-jsonschema
11
defect
51f15eece171fc487bf4c339db0ab39f4f24476f
accca89cce14205a7405483994bd01bd55ada69e
Change onSubmit to pass form methods inside an object
#### What problem is this solving? This PR solves the access the internal state controllers of the form on `onSubmit` callback, such as being able to indicate that the form should revalidate. #### Checklist/Reminders - [x] Updated `README.md`. - [x] Updated `CHANGELOG.md`. - [ ] Linked this PR to a Clubhouse...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 67604ebf..e896f8f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING**: `onSubmit` now passes an object with `data`, `event` and `...
2
2
1
[{"id": "G0", "claim": "The 'return await' before props.onSubmit in the submit callback is redundant and should be removed (per the project's eslint best-practices rule), i.e. change it to 'return props.onSubmit({'.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id"...
null