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
OpenDataPlane__odp__2310
OpenDataPlane/odp
2,310
defect
2cf3b197658594ec367116c80b1f68080de3e62a
30d38d274e37f103906e38875b3ef0d08bb9ae25
[PATCH v7] api: timer: timer busy
Draft for new "resources busy" error code for oneshot timer start/restart. Still open if periodic start should also have the new error code. v2: - Added timer busy also to periodic timer start v4: - Rebased - Added validation tests and modified relevant performance tests accordingly - Ready for review v5: ...
diff --git a/include/odp/api/spec/timer.h b/include/odp/api/spec/timer.h index 81f2370caac..27d65c44173 100644 --- a/include/odp/api/spec/timer.h +++ b/include/odp/api/spec/timer.h @@ -291,7 +291,10 @@ int odp_timer_free(odp_timer_t timer); * parameter to select between the tick types. Current time of the timer pool ...
2
1
0
[{"id": "G0", "claim": "The prose documentation of timer start failures should reference the new #ODP_TIMER_BUSY error code for temporarily busy resources, and the same change should be made for the other start/restart functions.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
OpenDataPlane__odp__2320
OpenDataPlane/odp
2,320
defect
b6f2d41821cc572fff780f5e5dff1b1eb012d76b
1b2976dee0edcfa063a0cb30e0d2e9513c828225
[PATCH v9] api: timer: refactor periodic timer expiration event configuration
Instead of configuring a single event to be sent for periodic timer expirations, application now configures a timeout pool to be created as part of timer pool creation. This enables more flexibility for implementations to control how they setup the periodic timer expiration signaling. Additionally, periodic timers a...
diff --git a/include/odp/api/spec/timer.h b/include/odp/api/spec/timer.h index 81f2370caac..56f32ad1813 100644 --- a/include/odp/api/spec/timer.h +++ b/include/odp/api/spec/timer.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2013-2018 Linaro Limited - * Copyright (c) 2019-2023 Nokia + * ...
18
17
1
[{"id": "G0", "claim": "Some of the periodic timeout documentation placed in the timer pool parameter section would sit more logically in the odp_timer_periodic_start() spec.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For documentation clarity...
null
OpenDataPlane__odp__2323
OpenDataPlane/odp
2,323
defect
2273f7980cf9b65ba3a49526a92b8c8c32ff4cf7
4dd48d2edd5bfcb611e05412a9dd32f3126aa241
[PATCH v10] api: timer: support period setting directly with frequency
On top of #2320 v5: - Petri's comments - Fixed implementation and tests - Ready for review v6: - Rebased - Shijith's comment v7: - Rebased - Added a patch for printing new capabilities as part of sysinfo example v8: - Rebased - Matias' and Petri's comments v10: - Added review tags
diff --git a/include/odp/api/spec/timer.h b/include/odp/api/spec/timer.h index 81f2370caac..9425caec1c2 100644 --- a/include/odp/api/spec/timer.h +++ b/include/odp/api/spec/timer.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2013-2018 Linaro Limited - * Copyright (c) 2019-2023 Nokia + * ...
17
15
0
[{"id": "G0", "claim": "The timer pool freq_hz parameter doc should say 'All requested timer frequencies' instead of 'All timer frequencies'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The freq_multiplier doc has an awkward line wrap ('where k...
null
OpenDataPlane__odp__2324
OpenDataPlane/odp
2,324
defect
b6f2d41821cc572fff780f5e5dff1b1eb012d76b
cde901bce3111260993c6b769baef5ed710c0429
[PATCH v5] api: queue: add odp_queue_len() function
odp_queue_len() returns the number of events currently in the queue, or in case of an aggregator queue handle, the number of events currently waiting for vector generation. Depending on the implementation there may be some delay in updating the queue length value. If reading queue length is not supported (see que...
diff --git a/include/Makefile.am b/include/Makefile.am index 43c1049ef76..4f8db36ab17 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -52,6 +52,7 @@ odpapiinclude_HEADERS = \ odp/api/proto_stats_types.h \ odp/api/queue.h \ odp/api/queue_types.h \ + odp/api/queue_stats_types.h \ odp/api/random.h \ ...
1
1
1
[{"id": "G0", "claim": "The added spec text ('there may be some delay in updating the queue length value') is too weak: it should be clarified that the returned value may differ from the instantaneous true queue length due to implementation-specific update latency or granularity, since otherwise batched updates or tran...
null
OpenDataPlane__odp__820
OpenDataPlane/odp
820
defect
3e3f2536bd4246010a765dde30bc1b88f824dcab
a7ece9eab608717c938f34237fd19143e248d6fc
[PATCH v3] api: shm: add ODP_SHM_HP flag
When set, this flag guarantees that the memory reserved by odp_shm_reserve() is allocated from huge pages. The call will fail if enough huge page memory is not available. V2: - ODP_SHM_HP comment wording and comment clean-up (Petri) - Removed internal _odp_shm_reserve() function
diff --git a/include/odp/api/spec/shared_memory.h b/include/odp/api/spec/shared_memory.h index 05c8de401c3..bbde2f9b60d 100644 --- a/include/odp/api/spec/shared_memory.h +++ b/include/odp/api/spec/shared_memory.h @@ -1,4 +1,5 @@ -/* Copyright (c) 2013-2018, Linaro Limited +/* Copyright (c) 2019, Nokia + * Copyright (c)...
1
1
0
[{"id": "G0", "claim": "The ODP_SHM_HP documentation should prefer the wording \"The odp_shm_reserve() call will return failure if ...\" over \"The call will fail\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenDataPlane__odp__834
OpenDataPlane/odp
834
defect
b3cacf62c188e2d2696bb6993a9328127274b9b0
eadbb5d66f544affc06fa9f8fff989d809601261
[PATCH v2] Improve global init API specification
Improve API specification text to be more precise e.g. about which functions may be used before init_global call. API functionality is not changed. Also fix/improve init validation test suite. Fixed also a bug found in buffer validation test status output.
diff --git a/include/odp/api/spec/init.h b/include/odp/api/spec/init.h index 70249d13800..09329e58c99 100644 --- a/include/odp/api/spec/init.h +++ b/include/odp/api/spec/init.h @@ -1,4 +1,5 @@ /* Copyright (c) 2013-2018, Linaro Limited + * Copyright (c) 2019, Nokia * All rights reserved. * * SPDX-License-Identif...
3
3
0
[{"id": "G0", "claim": "Fix the grammar in the odp_init_global() documentation: \"with a odp_init_global() call\" should read \"with an odp_init_global() call\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The sentence \"A thread may be simulta...
null
OpenDataPlane__odp__835
OpenDataPlane/odp
835
defect
b3cacf62c188e2d2696bb6993a9328127274b9b0
5b5934244b0fa142461f73ee509d5f62d6b24504
[PATCH v2] api: queue context is null by default
Improve documentation and testing of queue context being NULL by default. It was already defined under odp_queue_param_t documentation. This PR should be merged after #834 to maintain API version number increments in order.
diff --git a/include/odp/api/spec/queue.h b/include/odp/api/spec/queue.h index 605831c50a6..06a91b4bd79 100644 --- a/include/odp/api/spec/queue.h +++ b/include/odp/api/spec/queue.h @@ -116,6 +116,10 @@ int odp_queue_context_set(odp_queue_t queue, void *context, uint32_t len); /** * Get queue context * + * Returns ...
1
1
0
[{"id": "G0", "claim": "The added sentence in the odp_queue_context() doc comment reads awkwardly because the phrase 'from the application' is out of place there.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenDataPlane__odp__889
OpenDataPlane/odp
889
defect
810bc2ee9b5285e1692a6b0c7457ca503f381e1e
f1bb52a840c623df7c9a5e5ac36c9c1ee52ddde5
[PATCH v2] Timer control thread poll configure option
Added configure file option for inline timer (inline_thread_type) to select if control threads poll shared timer pools or not. When control threads still poll their private pools. With this user can configure control and worker threads to use separate timer pools.
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf index 4e24ef82d61..9fa8ba7e9f0 100644 --- a/config/odp-linux-generic.conf +++ b/config/odp-linux-generic.conf @@ -16,7 +16,7 @@ # Mandatory fields odp_implementation = "linux-generic" -config_file_version = "0.1.9" +config_file_version = "0....
1
1
0
[{"id": "G0", "claim": "The new inline_thread_type config option should also support a value (e.g. 2) meaning only control threads process non-private timer pools.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenDataPlane__odp__899
OpenDataPlane/odp
899
defect
b8d4e0f27c0979cd4fb628318b10b57538d67fdf
263c62ba00a690be2710c527750dea6a16bbf2e5
[PATCH v3] api: compression feature disable
Add compression feature flag into API. Update feature disable implementation. Disabling crypto, ipsec, compression and traffic manager when not used saves over 20MB of shared memory.
diff --git a/platform/linux-generic/include/odp_global_data.h b/platform/linux-generic/include/odp_global_data.h index fdb057b3e25..08fd24f4ad9 100644 --- a/platform/linux-generic/include/odp_global_data.h +++ b/platform/linux-generic/include/odp_global_data.h @@ -39,7 +39,7 @@ typedef struct { /* Read-only global d...
1
1
0
[{"id": "G0", "claim": "The global variables odp_global_ro and odp_global_rw should be prefixed with underscore.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
OpenDataPlane__odp__926
OpenDataPlane/odp
926
defect
64b4c275b39373678eaad8294816e9937805de47
64f9f9ce1daf32c215d21ce7b6c97c93bb0fbb66
[PATCH v4] New packet gen performance test application
Simple UDP/IP packet generator application which can test also loop interfaces.
diff --git a/test/performance/.gitignore b/test/performance/.gitignore index 41e18faccca..a4e78b9affd 100644 --- a/test/performance/.gitignore +++ b/test/performance/.gitignore @@ -6,6 +6,7 @@ odp_cpu_bench odp_crypto odp_ipsec odp_l2fwd +odp_packet_gen odp_pktio_ordered odp_pktio_perf odp_pool_perf diff --git a/...
9
8
5
[{"id": "G0", "claim": "parse_options() should call print_usage() on the missing-interface error path (num_pktio == 0) so the user sees how to invoke the tool.", "category": "usability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The usage text should separate mandatory and...
null
OpenDataPlane__odp__949
OpenDataPlane/odp
949
defect
402f79368a41d95e3344b7bb25b8081f4a1e9426
5c6f3ff178b2c9f840987887b68b218223c2e08e
[PATCH v4] API updates and new features for v1.23.5
This patch set combines multiple fixes and clarifications on API specification text. Also couple of new features are added such as pool parameter to control thread local caching and ODP_SHM_HW_ACCESS flag for SHM reserve calls.
diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h index 748404daefd..5fd54648442 100644 --- a/include/odp/api/spec/classification.h +++ b/include/odp/api/spec/classification.h @@ -308,6 +308,8 @@ int odp_cls_capability(odp_cls_capability_t *capability); * Create a class-of-ser...
4
3
0
[{"id": "G0", "claim": "The commit message should refer to OpenDataPlane/odp issue #826 so the issue is properly tracked.", "category": "process", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The added buf.cache_size documentation should read \"not available for allocation fr...
null
OpenDungeons__OpenDungeons__297
OpenDungeons/OpenDungeons
297
defect
b4d6d6b6ee4345bb42e55253f6b33158187bfa10
4de3e297ce989ce940c5aa853c8e56d3a0675fdf
Unit test stuff
Added some components used to set up unit testing. BoostTestTargets is from here: https://github.com/rpavlik/cmake-modules It made setting it up a little easier, but we'll see if we keep using it or not. The test case for the random function was just to see if it worked, used it because it didn't have any other depende...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 648700e6d..61c87764e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,13 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}) # Compilation options option(OD_ENABLE_WARNINGS "Compile the game with all standard warnings enabled" ON) +# enable/disable un...
3
1
0
[{"id": "G0", "claim": "Add a dedicated CMake target such as `unit_tests` so the unit tests can be built specifically with `make unit_tests` instead of being built every time the project is compiled.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The defau...
null
OpenEMS__openems__3084
OpenEMS/openems
3,084
defect
6a6cf1801271210b9a6227d938d6e317fe02c557
3ff2a36dd421712e1d44e25b56795a0bba2bc951
Adds ManagedEvcsCluster with Limit and Evcs count, makes ESS optional and minimum guaranteed charge power
Adds ManagedEvcsCluster with an active power limit and evcs count channel to allow limiting maximum power that is distributed among the EVCS. This is required when reducing power because of §14a EnWG or may be useful for other things. I am writing on a controller to maintain this limit. Hope I did not miss some other w...
diff --git a/io.openems.edge.evcs.api/src/io/openems/edge/evcs/api/ManagedEvcsCluster.java b/io.openems.edge.evcs.api/src/io/openems/edge/evcs/api/ManagedEvcsCluster.java new file mode 100644 index 00000000000..e53729f04aa --- /dev/null +++ b/io.openems.edge.evcs.api/src/io/openems/edge/evcs/api/ManagedEvcsCluster.java...
2
1
0
[{"id": "G0", "claim": "Questions why the newly added value handling runs on TOPIC_CYCLE_EXECUTE_WRITE instead of TOPIC_CYCLE_AFTER_PROCESS_IMAGE, suggesting the latter would be the right cycle phase.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Questi...
null
OpenEMS__openems__3314
OpenEMS/openems
3,314
defect
97c453cdcf4559febc19e75db0060ec24345f2c0
53955db33866afaa22c3d1cd222c7c175e5cb234
feat(simulated ess): allow configuration of dis/charge limit
Currently the dis/charge limit was based on the capacity. With this change it's configurable. Testing: Executed `java -jar build/openems-edge.jar` and configured simulated ess with custom dis/charge limits and verified them via using the fixed state of charge controller
diff --git a/io.openems.edge.simulator/src/io/openems/edge/simulator/ess/symmetric/reacting/Config.java b/io.openems.edge.simulator/src/io/openems/edge/simulator/ess/symmetric/reacting/Config.java index 6a227bdad79..dca9553a4d9 100644 --- a/io.openems.edge.simulator/src/io/openems/edge/simulator/ess/symmetric/reacting/...
1
1
1
[{"id": "G0", "claim": "In the test MyConfig, maxChargePower() and maxDischargePower() should be explicitly set as well (settable to their own values) instead of returning capacity().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenEMS__openems__3321
OpenEMS/openems
3,321
defect
97c453cdcf4559febc19e75db0060ec24345f2c0
fb99cb135891efb750ce2aae63fdbcece55cf755
Updated the MQTT component to optionally filter its messages by topic paths
> The current implementation of MQTT can turn in to a bit of a fire hose of data for situations where you only want some of the fields possible. This patch adds a filter function which inhibits certain topics from actually sending to the broker, instead they silently complete, doing nothing. > > A single new configu...
diff --git a/io.openems.edge.controller.api.mqtt/src/io/openems/edge/controller/api/mqtt/Config.java b/io.openems.edge.controller.api.mqtt/src/io/openems/edge/controller/api/mqtt/Config.java index 8e3655d6555..256f4c0ea2d 100644 --- a/io.openems.edge.controller.api.mqtt/src/io/openems/edge/controller/api/mqtt/Config.ja...
8
7
4
[{"id": "G0", "claim": "Remove the double semicolon after this.scheduleReconnect() in activate().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Appending \"/\" to TOPIC_EDGE_CONFIG at the publish call contradicts the trailing-slash removal from...
null
OpenEMS__openems__3336
OpenEMS/openems
3,336
defect
dfee15971a1f321bd0996cf8ddc7d8cb19d5b916
75d2caf87e5dc60c66b4accfd6ae794f248e67c6
New energy meter of type Hager ECR380D
For personal use, I created a new bundle for a Hager ECR380D energy meter. I'd like to provide my additions to the OpenEMS community. I tried to follow the implementation examples, but I'd appreciate any review, since this is my first contribution to the OpenEMS community. The new bundle is up and running for several ...
diff --git a/io.openems.edge.application/EdgeApp.bndrun b/io.openems.edge.application/EdgeApp.bndrun index 26bb687f19a..30957061722 100644 --- a/io.openems.edge.application/EdgeApp.bndrun +++ b/io.openems.edge.application/EdgeApp.bndrun @@ -164,6 +164,7 @@ bnd.identity;id='io.openems.edge.meter.carlo.gavazzi',\ bnd...
1
1
0
[{"id": "G0", "claim": "The Modbus task/channel definition code should use the same coding style as described in the OpenEMS docs and used in other Modbus implementations, for readability and maintainability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenEMS__openems__3401
OpenEMS/openems
3,401
defect
1a0e3943888744cd0616b69357483da68ddf3c76
41fb5aee23fdbffd5da436b3fb0ceb282b4ad296
Update ApparentPowerConstraintUtil
The `getConstraintThroughPoints` method performed division by `(p2.x - p1.x)` without checking if the denominator equals zero. This could occur when two consecutive points on the apparent power circle have the same x-coordinate (active power). **Impact:** - Division by zero causing `Infinity` or `NaN` values - In...
diff --git a/io.openems.edge.ess.core/src/io/openems/edge/ess/core/power/data/ApparentPowerConstraintUtil.java b/io.openems.edge.ess.core/src/io/openems/edge/ess/core/power/data/ApparentPowerConstraintUtil.java index 9285e59340c..28d6147c273 100644 --- a/io.openems.edge.ess.core/src/io/openems/edge/ess/core/power/data/...
1
1
0
[{"id": "G0", "claim": "The division-by-zero check could be extracted as a function in DoubleUtils, with 1e-10 as a private constant within DoubleUtils.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenEMS__openems__3449
OpenEMS/openems
3,449
defect
bd3f81c133ea1b64cbf9097bdb00b2b0e6024e1b
5612a052356bfb592c3a688b046e61e7f69de17b
Add support for Janitza UMG806 (via UMG604 Master)
## Overview This pull request adds support for the **Janitza UMG806** energy meter. In our setup, the UMG806 is connected as a Modbus RTU device behind a **Janitza UMG604** acting as the master. OpenEMS communicates with the UMG604 via **Modbus TCP**, and the UMG806 registers are accessed through this chain. Whe...
diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 03e13a041fe..becb646ea65 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,7 +4,7 @@ updates: directory: "/cnf" schedule: interval: weekly - open-pull-requests-limit: 10 + open-pull-requests-limit: 0 targ...
4
3
1
[{"id": "G0", "claim": "The pull request should not silence dependabot by setting open-pull-requests-limit to 0 instead of leaving it at 10.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The package should document somewhere (e.g. in the Config...
null
OpenEMS__openems__3473
OpenEMS/openems
3,473
defect
d37666f05f2a2d4e41a7add90117e747068ed836
8b067ff62780ccaef3534629462714e17286f2ea
[Edge] Update GermanDSO: zeitvariable Netzentgelte §14a Modul 3 for 2026
* Bayernwerk - Webseite: https://www.bayernwerk-netz.de/de/bayernwerk-netz-gmbh/netzinformation/netzentgelte/netzentgelte-strom.html - Preisblatt 2026: https://www.bayernwerk-netz.de/content/dam/revu-global/bayernwerk-netz/files/netz/netzzugang/netzentgeltestrom/bayernwerk-preisblatt-netzentgelte-2026.pdf - ...
diff --git a/io.openems.edge.timeofusetariff.ancillarycosts/test/io/openems/edge/timeofusetariff/ancillarycosts/TouAncillaryCostsTest.java b/io.openems.edge.timeofusetariff.ancillarycosts/test/io/openems/edge/timeofusetariff/ancillarycosts/TouAncillaryCostsTest.java index 16ac08d97a6..efec4370cdd 100644 --- a/io.openem...
4
4
0
[{"id": "G0", "claim": "Use the existing YEAR constant instead of the hardcoded 2026 in the dates of testStandardTariffOnJuly15At2PM, testLowTariffOnOctober20At3AM and testHighTariffOnOctober20At5PM.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
OpenEMS__openems__3479
OpenEMS/openems
3,479
defect
f0ca9708bb66150bd1ce3acf5f447ddb390d2fca
df8f64150deb05cf98494716a429e4888c942d0d
Edge2Edge: filter undefined integer modbus values
This change fixes an issue with the internal OpenEMS Edge-2-Edge communication. It has been discussed in [this forum post](https://community.openems.io/t/edge-2-edge-ess-ungultige-channel-werte/10654/7). Short Summary: when an OpenEMS edge has an `undefined` integer channel value, it sets the value to the max. int v...
diff --git a/io.openems.edge.edge2edge/src/io/openems/edge/edge2edge/common/AbstractEdge2Edge.java b/io.openems.edge.edge2edge/src/io/openems/edge/edge2edge/common/AbstractEdge2Edge.java index 18251f52e70..b73622583e2 100644 --- a/io.openems.edge.edge2edge/src/io/openems/edge/edge2edge/common/AbstractEdge2Edge.java +++...
6
6
2
[{"id": "G0", "claim": "getConverterForType should be made static (and placed after generateModbusElement()), which also means dropping the `this.` qualifier at the call site.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Javadoc of getConv...
null
OpenEMS__openems__3547
OpenEMS/openems
3,547
defect
eafccb2459af5554166a46db002bfce152ccec8c
1cef50f83eccf04fe876210bf8241c13bf92142d
Fix Modbus task scheduling and simplify task handling
As discussed and suggested in https://community.openems.io/t/asking-for-feedback-new-modbusworker-implementation/1747/18 The Modbus task handling did not behave as expected because the INITIAL_WAIT task waited for the full planned delay instead of reacting to the EXECUTE_WRITE event. Since it used WaitDelayTask inst...
diff --git a/io.openems.edge.bridge.modbus/doc/statemachine.md b/io.openems.edge.bridge.modbus/doc/statemachine.md index bf810e9fb02..aa9b458bd82 100644 --- a/io.openems.edge.bridge.modbus/doc/statemachine.md +++ b/io.openems.edge.bridge.modbus/doc/statemachine.md @@ -6,15 +6,11 @@ ON_BEFORE_PROCESS_IMAGE>ON_BEFORE_PRO...
1
1
0
[{"id": "G0", "claim": "The System.out statements in the unit tests should be removed, since unit tests should be expressive through JUnit asserts rather than logging.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenEMS__openems__3562
OpenEMS/openems
3,562
defect
0df407ed80a086bb5a4d8a876d45ebc517580af9
29646494c9c8f2d3ad5af59f1b39b92033b34a39
Implement OpenDTU meter
This component implements an OpenDTU single phase meter. It sends http requests to an OpenDTU and evaluates power, voltage and current from the response.
diff --git a/io.openems.edge.meter.opendtu/.classpath b/io.openems.edge.meter.opendtu/.classpath new file mode 100644 index 00000000000..b4cffd0fe60 --- /dev/null +++ b/io.openems.edge.meter.opendtu/.classpath @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="aQute...
8
7
3
[{"id": "G0", "claim": "The IP-Address attribute description should say OpenDTU instead of OpenWB.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Meter-Type option should be fixed to production in this case, as OpenDTU only's use-case is pro...
null
OpenEMS__openems__3650
OpenEMS/openems
3,650
defect
74082adc8293ba21a29c2bc56f16652fed7fc8c8
57dd240f5b44e024517884c97d48fc88d583bc67
[Edge] Refactor Bosch BPT-S 5 Hybrid integration to HttpBridge
This commit refactors the Bosch BPT-S 5 Hybrid integration to use HttpBridge
diff --git a/io.openems.edge.bosch.bpts5hybrid/bnd.bnd b/io.openems.edge.bosch.bpts5hybrid/bnd.bnd index 8d72ed30dfa..f62f4da20b0 100644 --- a/io.openems.edge.bosch.bpts5hybrid/bnd.bnd +++ b/io.openems.edge.bosch.bpts5hybrid/bnd.bnd @@ -6,6 +6,8 @@ Bundle-Version: 1.0.0.${tstamp} -buildpath: \ ${buildpath},\ io.op...
2
2
2
[{"id": "G0", "claim": "The build is not passing and must be fixed before merge.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Patch coverage (55.43%) is below the 75% target with 37 changed lines untested, so the refactored behaviour needs tests b...
null
OpenEMS__openems__3692
OpenEMS/openems
3,692
defect
26fa540c214b60f9bfdd0a487e0a4427aae9eef7
c8ca03566b4084e4fbb2cd2c20cd68fe3a6d2cde
Adding edge meter package for chint ddsu666
2026-04-22T20:12:18,124 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Warning Grid:0 W Consumption:0 W] ctrlBackend0[State:WARNING: UnableToSend] meter0[P:0 W Q:UNDEFINED V1:122700 mV I1:0 mA f:0 mHz]
diff --git a/io.openems.edge.application/EdgeApp.bndrun b/io.openems.edge.application/EdgeApp.bndrun index ff911ccf266..ecf9d90fc95 100644 --- a/io.openems.edge.application/EdgeApp.bndrun +++ b/io.openems.edge.application/EdgeApp.bndrun @@ -171,6 +171,7 @@ bnd.identity;id='io.openems.edge.meter.bgetech',\ bnd.ident...
13
12
2
[{"id": "G0", "claim": "The implementation reads the DDSU666 import-energy register into custom ACTIVE_IMPORT_ENERGY/ACTIVE_EXPORT_ENERGY channels instead of using the standard ElectricityMeter energy channels, losing full OpenEMS compatibility (e.g. UI visualization), and it should map the register onto the standard e...
null
OpenEMS__openems__3728
OpenEMS/openems
3,728
defect
938524631af3150ee471f7e627adba76f09b8a2c
5e7f23a0fbfcb02df81ffd1f70e0efbdcc6433c3
Add DTSU666 support to Chint meter bundle
## Summary Add support for the Chint DTSU666 three-phase, four-wire meter in the existing `io.openems.edge.meter.chint` bundle. This implementation follows the bundle structure and maintainer feedback from the merged DDSU666 work: - uses `FC4` / input registers - supports `phaseRotation` - maps the physical to...
diff --git a/io.openems.edge.meter.chint/bnd.bnd b/io.openems.edge.meter.chint/bnd.bnd index 5ba582ab17..ac38fe95c8 100644 --- a/io.openems.edge.meter.chint/bnd.bnd +++ b/io.openems.edge.meter.chint/bnd.bnd @@ -1,4 +1,4 @@ -Bundle-Name: OpenEMS Edge Meter Chint DDSU666 +Bundle-Name: OpenEMS Edge Meter Chint Bundle-Ven...
2
2
0
[{"id": "G0", "claim": "The DTSU666 meter has a configurable CT/PT ratio that this PR does not expose; the reviewer asks that it be settable too, or even mandatory when CTs or PTs are used.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer is n...
null
OpenEnroth__OpenEnroth__1285
OpenEnroth/OpenEnroth
1,285
defect
22f1e3f45f389f95e8b23cb65c7ecef6bd6cdddb
2682fdf69754404ae9000181db06df945384e99e
Fix #1282
Ref #1282 Changes: * `Vis::PickMouse` / `Vis::PickKeyboard` returns the resulting item instead of caching it inside the `Vis` object. * Since nothing is cached, `PickMouse` / `PickKeyboard` is called whenever a pick result is needed. * Dropped `Engine::OutlineSelection` and related code. * Moved most of `Vis` c...
diff --git a/src/Application/Game.cpp b/src/Application/Game.cpp index c24cc1d5afac..976fe8b2e775 100644 --- a/src/Application/Game.cpp +++ b/src/Application/Game.cpp @@ -1007,7 +1007,7 @@ void Game::processQueuedMessages() { current_screen_type = SCREEN_GAME; continue; ca...
1
1
0
[{"id": "G0", "claim": "The TODO added in PickMouseInfoPopup saying that having a different depth there makes no sense is questionable — it makes sense to be able to identify targets at a longer range than you could shoot them from.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr...
null
OpenEnroth__OpenEnroth__1292
OpenEnroth/OpenEnroth
1,292
defect
a5d79e272a7f3aa26477cd88c76543b41eed666c
094fad958a48a8603660cd48084a1351c45d9652
Issues
Fix #1255 with test
diff --git a/src/GUI/UI/Houses/MagicGuild.cpp b/src/GUI/UI/Houses/MagicGuild.cpp index 48c8cefe3dfa..1542ebde332e 100644 --- a/src/GUI/UI/Houses/MagicGuild.cpp +++ b/src/GUI/UI/Houses/MagicGuild.cpp @@ -183,6 +183,7 @@ void GUIWindow_MagicGuild::mainDialogue() { } void GUIWindow_MagicGuild::buyBooksDialogue() { + ...
2
2
2
[{"id": "G0", "claim": "A better fix would be to introduce Utility/Types.h with a declared ssize_t and use ssize_t for width/height in Library/Image and GraphicsImage instead of following the STL's size_t approach with int casts at call sites.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "...
null
OpenEnroth__OpenEnroth__1339
OpenEnroth/OpenEnroth
1,339
defect
4518f6d49f0ff96e67f62067ee209bdfaa5c631d
06175446fcf58bb086d555903a3f2a12f8fd261a
Fixes for gold issues
* Fixes & tests for a bunch of issues. * Moved gold generation code to `ItemGen`. * Minor stuff here and there.
diff --git a/src/Engine/Graphics/Indoor.cpp b/src/Engine/Graphics/Indoor.cpp index a8945d456fed..716f0124a9b8 100644 --- a/src/Engine/Graphics/Indoor.cpp +++ b/src/Engine/Graphics/Indoor.cpp @@ -2024,29 +2024,9 @@ void SpawnRandomTreasure(MapInfo *mapInfo, SpawnPoint *a2) { return; } - if...
2
1
0
[{"id": "G0", "claim": "The variable holding the amount of gold stolen from an actor should be renamed from enchBonusSum to something like goldAmount.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of asserting on localizable status mess...
null
OpenEnroth__OpenEnroth__1346
OpenEnroth/OpenEnroth
1,346
defect
e486d7d7f6e51047ffd73182513e7e165b7e29f5
a28bfff9b1f14dfbc6333a2c39552e9d72548c4a
Better collisions
Better but not perfect collisions. Sorts out most of the major issues we were having. Still lots of scope for improvement. Lots of test were retraced because of party and creature movement changes. fixes #289 fixes #292 fixes #681 fixes #1004 fixes #1269 - assert is dropped fixes #1371
diff --git a/src/Engine/Graphics/Collisions.cpp b/src/Engine/Graphics/Collisions.cpp index a97d807e5fcf..15214666f238 100644 --- a/src/Engine/Graphics/Collisions.cpp +++ b/src/Engine/Graphics/Collisions.cpp @@ -2,6 +2,7 @@ #include <algorithm> #include <limits> +#include <utility> #include "Engine/Events/Process...
4
4
0
[{"id": "G0", "claim": "The three component-wise newPosLow assignments should be rewritten using vector operations.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G4", "claim": "After the earlier std::abs pains, the code should spell out std::sqrt explicitly i...
null
OpenEnroth__OpenEnroth__1446
OpenEnroth/OpenEnroth
1,446
defect
6116f06f8fe97d1bdc954171fc6eefa62d48e8cc
159ff2bc5223263db13f3c28ef698de35d108e5c
More Time & Duration work
Among other things fixes water animation. Before: https://github.com/OpenEnroth/OpenEnroth/assets/73941350/36ff075a-ce7b-4de0-a5fd-33b1f4bae6b6 After: https://github.com/OpenEnroth/OpenEnroth/assets/73941350/709b093a-1e4c-4e56-afeb-0ea15e6edd8a
diff --git a/src/Engine/Engine.cpp b/src/Engine/Engine.cpp index 425d0e5e833d..825e0e0d845e 100644 --- a/src/Engine/Engine.cpp +++ b/src/Engine/Engine.cpp @@ -155,14 +155,13 @@ void Engine::drawWorld() { // if ( !render->pRenderD3D ) // pMouse->DrawCursorToTarget(); if (!PauseGameDrawing()) {...
2
1
0
[{"id": "G0", "claim": "The party-rotation formula in BLV_ProcessPartyActions should be extracted into an inline function instead of being written inline.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "massDistortionTime's type is questionable —...
null
OpenEnroth__OpenEnroth__1460
OpenEnroth/OpenEnroth
1,460
defect
83bbbe29f6e0e33e56d17daa4e520f39f3a6f373
51ffb745935c33e89e6d9e2dd37203d48928e73d
Fix and test #1457
Fixes #1457 Screen space depths were overflowing
diff --git a/src/Engine/Graphics/RenderEntities.h b/src/Engine/Graphics/RenderEntities.h index 52ab9a7027af..f26611f0f116 100644 --- a/src/Engine/Graphics/RenderEntities.h +++ b/src/Engine/Graphics/RenderEntities.h @@ -27,7 +27,7 @@ struct RenderBillboard { int16_t world_z; int16_t screen_space_x; int16_...
1
1
0
[{"id": "G0", "claim": "Add a comment or TODO explaining why the test sets uCurrentlyLoadedLevelType to LEVEL_NULL.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenEnroth__OpenEnroth__1469
OpenEnroth/OpenEnroth
1,469
defect
952e7a4297d75ab46dd2fac3dc8e110550e1a013
5da3e298911c3ae0e36ff10fc62888791504e5e5
Fix #1447
Fixes #1447
diff --git a/src/Engine/Objects/SpriteObject.cpp b/src/Engine/Objects/SpriteObject.cpp index 1cfbc03ae1e8..67a4807e10d9 100644 --- a/src/Engine/Objects/SpriteObject.cpp +++ b/src/Engine/Objects/SpriteObject.cpp @@ -72,7 +72,7 @@ int SpriteObject::Create(int yaw, int pitch, int speed, int which_char) { initialPosit...
1
1
0
[{"id": "G0", "claim": "The particle-counting lambda in the new Issue1447 game tests should use std::ranges::count_if over engine->particle_engine->pParticles with a const-ref Particle parameter instead of std::count_if with cbegin/cend iterators and a by-value Particle copy.", "category": "maintainability", "verdict":...
null
OpenEnroth__OpenEnroth__1527
OpenEnroth/OpenEnroth
1,527
defect
59455987462d1b8e0bf36c2b3a5c1f8811acd23f
1fb4a44372abbf7a17f38a5933989a3c3144fdb8
Issues
Added const for a magic number. Better changes to sound playback. Actors can play unique sounds (rather than per pid) to stop the cacophony when mobbed. Party hit sounds are done as non reset-able ui sound rather than character (previously was blocking the 'ouch' voices). Reverted previous change.
diff --git a/src/Engine/Objects/Actor.cpp b/src/Engine/Objects/Actor.cpp index d140955a102e..c7eb3b9baa73 100644 --- a/src/Engine/Objects/Actor.cpp +++ b/src/Engine/Objects/Actor.cpp @@ -224,7 +224,7 @@ void Actor::AI_SpellAttack(unsigned int uActorID, AIDirection *pDir, static const int ONE_THIRD_PI = TrigLUT.u...
1
1
0
[{"id": "G0", "claim": "Add a comment explaining why only one unique sound is played at a time in playSound.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenEnroth__OpenEnroth__1545
OpenEnroth/OpenEnroth
1,545
defect
a2e17641c7cf79c9a0ed8c9b4b720f144d578553
d69e04380cf9bf0589b77df9dd9ee711bf7e6f85
Tests
Closes #1515 Closes #1524 Modifies when sound play is recorded for testing trace
diff --git a/src/Media/Audio/AudioPlayer.cpp b/src/Media/Audio/AudioPlayer.cpp index ad8bbef70852..41dad84324fa 100644 --- a/src/Media/Audio/AudioPlayer.cpp +++ b/src/Media/Audio/AudioPlayer.cpp @@ -188,15 +188,13 @@ void AudioPlayer::resumeSounds() { } void AudioPlayer::playSound(SoundId eSoundID, SoundPlaybackMod...
1
1
0
[{"id": "G0", "claim": "The test added for issue 1524 should be named GAME_TEST(Issues, Issue1524) rather than GAME_TEST(Issues, Issue1515_1524).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenEnroth__OpenEnroth__1598
OpenEnroth/OpenEnroth
1,598
defect
fef541d57bb5b8ef1b8e51b32f6d4ae1a99f6f8f
eff380d8f7c58ab6cd60497816e1b9f7aed0fde5
Fix #1597/#1569 plus cleanup generateItem
Subj. Fixes #1569 - add chain mail item types to armor shops. Fixes #1597 - add missing case for amulets when applying enchantment in generateItem function. Do an overall cleanup of said function: - Change method of picking random item and enchantment. Instead of manually walking through items array and counting we...
diff --git a/src/Engine/Tables/ItemTable.cpp b/src/Engine/Tables/ItemTable.cpp index 4138617eb4a3..fd2fb7d6b115 100644 --- a/src/Engine/Tables/ItemTable.cpp +++ b/src/Engine/Tables/ItemTable.cpp @@ -365,161 +365,152 @@ void ItemTable::LoadPotionNotes(const Blob &potionNotes) { } } -void ItemTable::generateItem(...
4
3
1
[{"id": "G0", "claim": "The reviewer asks whether the armor-shop item variation tables were messed up when converting them to enums, i.e. whether the changed table values are correct.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The declaration of a...
null
OpenEnroth__OpenEnroth__1647
OpenEnroth/OpenEnroth
1,647
defect
20cb9bde6bd7b0ad9f1828aca0472378efc6648b
d21d5dd4fed11dd55c84a4bd63c7124477c8993e
Map id/name cleanup
Minimize usage of string map name - use MapId instead. - Refactor `getTravelDestination` function and get rid of string map name there. - Use MapId in interface of function `loadMapEventsAndStrings`. - Change propagation of string map name to MapId in ODM/BLV map loading functions. - Set current map name before ca...
diff --git a/src/Application/Game.cpp b/src/Application/Game.cpp index 775215c65390..dde82423028b 100644 --- a/src/Application/Game.cpp +++ b/src/Application/Game.cpp @@ -280,7 +280,8 @@ void Game_StartDialogue(int actor_id) { void Game_StartHirelingDialogue(int hireling_id) { assert(hireling_id == 0 || hireling_...
3
2
0
[{"id": "G0", "claim": "The tests added by this pull request should use MapId enums instead of strings.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Drop the commented-out bNoNPCHiring block from loadAndPrepareBLV now.", "category": "maintaina...
null
OpenEnroth__OpenEnroth__1672
OpenEnroth/OpenEnroth
1,672
defect
b13acd2a01a9f334ec17dd048e0a7ae026f96424
6a10d8f50734dcd3cc0cfc8fce3fcf942757bc97
Fix and test #1671
Fix #1671
diff --git a/src/Application/GameConfig.h b/src/Application/GameConfig.h index 6f6b365d602c..4e9f11eea8ac 100644 --- a/src/Application/GameConfig.h +++ b/src/Application/GameConfig.h @@ -88,7 +88,7 @@ class GameConfig : public Config { // TODO(captainurist): move all Trace* options into a separate section. ...
2
2
2
[{"id": "G0", "claim": "The new Issue1671 test should, if doable, also assert the character expression for falling and that the party ends up on a model and not on the ground.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The CI run fails on Issues.Iss...
null
OpenEnroth__OpenEnroth__1676
OpenEnroth/OpenEnroth
1,676
defect
bdabae637d7b5ca39f29c38113f19ac50dd6609a
10b6b32af81757c8b939948b80bde9fe9100587e
Fix #1666
Moves where the splash is triggered in collisions. Dont bother creating the sprite - the party can never see it. Make the splash sound exclusive. Testing may be annoying - will need to trace and playback at high fps to capture all the sound calls. Thoughts?
diff --git a/src/Engine/Graphics/Outdoor.cpp b/src/Engine/Graphics/Outdoor.cpp index f28421a549ed..39e0c336b101 100644 --- a/src/Engine/Graphics/Outdoor.cpp +++ b/src/Engine/Graphics/Outdoor.cpp @@ -1953,8 +1953,6 @@ void ODM_ProcessPartyActions() { pParty->uFallStartZ = partyNewPos.z; } else if (partyNew...
3
2
0
[{"id": "G0", "claim": "The fixed -400 splash threshold may never be reached at high fps because the check is not dt dependent.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The -400 threshold is a magic number that needs a comment explaining its ori...
null
OpenEnroth__OpenEnroth__1712
OpenEnroth/OpenEnroth
1,712
defect
f8293f72087e13477b3873962f28ed9995dd0471
cb893c97ffcdebbb4f4850f680d351ca2148beaa
Fix #1710
Fixes #1710 Config option for behavior
diff --git a/src/Application/GameConfig.h b/src/Application/GameConfig.h index 4e9f11eea8ac..e662df01c0e1 100644 --- a/src/Application/GameConfig.h +++ b/src/Application/GameConfig.h @@ -125,7 +125,7 @@ class GameConfig : public Config { "Use 1 to try to place items that didn't fit ev...
1
1
1
[{"id": "G0", "claim": "The NoIndoorFallDamage setting should be set in the trace file rather than via setValue in the test callback (otherwise retracing will fail), and the test should verify it with tapes.config.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
OpenEnroth__OpenEnroth__1836
OpenEnroth/OpenEnroth
1,836
defect
78756c58c0e9eb0184060f7d3b968de376fc3feb
c0a44471d05dea6f18ca7a13e9243e6abe40e0ac
Work on stairs
Fixes #1851 Adding a kludge to allow all the invisible stair "assist" geometry to be climbable. This helps the party traverse without issue for most cases. However this may cause unintended consequences. A preferred future solution will be to mark all those faces with a special attribute.
diff --git a/src/Engine/Graphics/Collisions.cpp b/src/Engine/Graphics/Collisions.cpp index af64018c875c..5e6a334eb05b 100644 --- a/src/Engine/Graphics/Collisions.cpp +++ b/src/Engine/Graphics/Collisions.cpp @@ -945,6 +945,18 @@ void ProcessPartyCollisionsBLV(int sectorId, int min_party_move_delta_sqr, int * ...
2
2
0
[{"id": "G0", "claim": "A comment should be added at the new BLV floor-face velocity.z check in ProcessPartyCollisionsBLV because the reviewer cannot parse what that code is doing.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The same unclear ...
null
OpenEnroth__OpenEnroth__1975
OpenEnroth/OpenEnroth
1,975
defect
1b430beaccb09c9042923ddd8a4a37414b7de73e
c264fe68332422a4ba8ebbb83e3bc1de7e33d760
Fix crash due to Armageddon decoration rocks and prettify them
Here's my take on fixing #1966 in case you want to see it in this form. Detailed commit history intentional. Be aware that I don't understand much about the inter-meshing between the sprite and spell systems, so @pskelton 's approach to teach the sprites themselves that they're dummies may or may not be still necess...
diff --git a/src/Engine/Objects/Actor.cpp b/src/Engine/Objects/Actor.cpp index 5e48953780bb..95e89eb302fe 100644 --- a/src/Engine/Objects/Actor.cpp +++ b/src/Engine/Objects/Actor.cpp @@ -4536,6 +4536,10 @@ void evaluateAoeDamage() { pSpriteObj = &pSpriteObjects[attackerId]; attackerType = pSpr...
5
5
1
[{"id": "G0", "claim": "Using grng for the Armageddon rock decorations changed the recorded random sequence and desynchronized the issue_1471 trace playback test (expected 683638, got 424204); these non-gameplay effects should use vrng instead and the trace be retraced.", "category": "correctness", "verdict": "supporte...
null
OpenEnroth__OpenEnroth__1978
OpenEnroth/OpenEnroth
1,978
defect
1b430beaccb09c9042923ddd8a4a37414b7de73e
b4d5fecf51b9e9d128990aeeb1f6fd834b82a739
Fix potion mixing
Fixes #1977 Reformatted into separate commits for the two things this does: * Fixes most potion mixing from fire resistance up by changing `uint8_t` to `ItemId`. * ~Fixes the Water Resistance recipe using a hardcoded check, as OE doesn't pick up this kind of GrayFace patches.~ <details><summary>Fun i had poking a...
diff --git a/src/Engine/Tables/ItemTable.cpp b/src/Engine/Tables/ItemTable.cpp index 1a0dbae79c75..1f7ba6dbc2cc 100644 --- a/src/Engine/Tables/ItemTable.cpp +++ b/src/Engine/Tables/ItemTable.cpp @@ -267,7 +267,7 @@ void ItemTable::Initialize(GameResourceManager *resourceManager) { void ItemTable::LoadPotions(const Blo...
4
4
0
[{"id": "G0", "claim": "The hardcoded special-case mapping Shield + Harden Item to a Water Resistance potion shouldn't be needed; changing potion_value's type to ItemId should fix all such cases.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use modern ...
null
OpenEnroth__OpenEnroth__1987
OpenEnroth/OpenEnroth
1,987
defect
2a41f3ee5c5abcb5eb37aff432fb652f8e84bed4
4a37285c700bacc2201f50b1fc923802718d2ac5
Game test for enemy casting meteor showers
Follow-up to #1980 Closes #1972 Requires https://github.com/OpenEnroth/OpenEnroth_TestData/pull/65
diff --git a/test/Bin/CMakeLists.txt b/test/Bin/CMakeLists.txt index 59f62c57ad2d..90d75bbff1e7 100644 --- a/test/Bin/CMakeLists.txt +++ b/test/Bin/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.24 FATAL_ERROR) ExternalProject_Add(OpenEnroth_TestData PREFIX ${CMAKE_CURRENT_BINARY_DIR}/test_da...
1
1
0
[{"id": "G0", "claim": "The new Issue1972 test should also check for the presence of meteor shower sprites.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenEnroth__OpenEnroth__1991
OpenEnroth/OpenEnroth
1,991
defect
2a41f3ee5c5abcb5eb37aff432fb652f8e84bed4
c4f7c43e95d84b034682df74330e7ebf75ef7f5c
Fix potions spawning in chests
Fixes #1990 Waits for test data https://github.com/OpenEnroth/OpenEnroth_TestData/pull/69 Say, isn't there a way to properly catch an assert from a game test - such that the long time for the trace dump to console and the core dump is saved? This is selective, but feels a little wrong when it runs in milliseconds w...
diff --git a/src/Engine/Objects/Item.cpp b/src/Engine/Objects/Item.cpp index cb17fea5d4eb..16c20fbc6c25 100644 --- a/src/Engine/Objects/Item.cpp +++ b/src/Engine/Objects/Item.cpp @@ -822,7 +822,7 @@ void Item::postGenerate(ItemSource source) { } if (type() == ITEM_TYPE_POTION && itemId != ITEM_POTION_BOTTLE...
1
1
1
[{"id": "G0", "claim": "The Issue1990 test should also check that the trace enters a chest and that a potion is produced, not just run without throwing.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenEnroth__OpenEnroth__2076
OpenEnroth/OpenEnroth
2,076
defect
a5e484502dbb604aa928cbd99c576fc0ba4b70d7
abf115b9f5774337614c19352067b783a8aff363
Fix paralyze working on dead enemies
Fixes #2075 added minor change to assert ref #2068
diff --git a/src/Engine/Party.cpp b/src/Engine/Party.cpp index d86cb0b25530..8e01322862ac 100644 --- a/src/Engine/Party.cpp +++ b/src/Engine/Party.cpp @@ -190,7 +190,7 @@ int Party::canActCount() const { } void Party::setHoldingItem(const Item &item, Pointi offset) { - assert(offset.x <= 0 && offset.y <= 0); + ...
1
1
0
[{"id": "G0", "claim": "The comment should explain why the maximum grid offset is 9.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenEnroth__OpenEnroth__2203
OpenEnroth/OpenEnroth
2,203
defect
ae0cee88a02678aa2f59e90c639507bb7922d549
8fe106c918aa3f0396c4d2a4f4a5b6269429b063
Fix bug that causes spell points to deplete completely when casting Haste on weak party
Fix for #2201 The spell never leaves spell queue when any party member is weak, so manually setting uSpellId to SPELL_NONE fixes the issues. Calling spellFailed would be better feedback but is not vanilla behavior.
diff --git a/src/Engine/Spells/CastSpellInfo.cpp b/src/Engine/Spells/CastSpellInfo.cpp index 10d99eb4ba34..e48ee789ed74 100644 --- a/src/Engine/Spells/CastSpellInfo.cpp +++ b/src/Engine/Spells/CastSpellInfo.cpp @@ -830,11 +830,13 @@ void CastSpellInfoHelpers::castSpell() { } ...
1
1
0
[{"id": "G0", "claim": "Call spellFailed instead of setting uSpellID = SPELL_NONE when Haste is cast while a party member is weak, since there is no need to replicate vanilla behaviour that makes little sense.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenEnroth__OpenEnroth__2258
OpenEnroth/OpenEnroth
2,258
defect
bc51f8ef8e332183b4744dea65e123a8ab5ff105
afa063f1d1edea7a6a30e8fc12b5cac7b802360b
Cleanup in TextureFrameTable
Will then move the classes to Engine/Data and Engine/Tables
diff --git a/src/Engine/Graphics/BSPModel.cpp b/src/Engine/Graphics/BSPModel.cpp index 6e58259e877f..9f25a03ca50d 100644 --- a/src/Engine/Graphics/BSPModel.cpp +++ b/src/Engine/Graphics/BSPModel.cpp @@ -9,26 +9,25 @@ // ODMFace GraphicsImage *ODMFace::GetTexture() { - if (this->IsTextureFrameTable()) { + if (...
1
1
1
[{"id": "G0", "claim": "In BLVFace::SetTexture, when the animated texture is not found, the face's animationId should be left as -1 (the not-found sentinel, as done in ODM) instead of being reset to 0.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenEnroth__OpenEnroth__2374
OpenEnroth/OpenEnroth
2,374
defect
4cea6892fa757322eaebee37972f8e25a29c0fe5
9c2c746118c7104066e193461366269f5d3f9730
Buffered input streams, dropped SequentialBlobReader
* IO streams now have a non-virtual fast path for all functions. * Added `InputStream::readUntil` that's actually efficient for all input streams. * All the serialize / deserialize pathways should be a bit faster now. * Dropped `SequentialBlobReader` – input stream & binary serialization now offers the same API & pe...
diff --git a/src/Engine/Evt/EvtInstruction.cpp b/src/Engine/Evt/EvtInstruction.cpp index 436a31a3c059..35d4114ddf41 100644 --- a/src/Engine/Evt/EvtInstruction.cpp +++ b/src/Engine/Evt/EvtInstruction.cpp @@ -9,11 +9,12 @@ #include "Engine/Tables/NPCTable.h" #include "Engine/Engine.h" +#include "Library/Binary/Binary...
8
8
1
[{"id": "G0", "claim": "The _underflow/_overflow APIs are asymmetric and readSlow()/skipSlow() should be unified into an underflow() wrapper, with the same kind of wrapper added for _overflow().", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "buffer() sho...
null
OpenEnroth__OpenEnroth__2384
OpenEnroth/OpenEnroth
2,384
defect
d661c6c8e824b193fa154a2308334548764aa017
b3b69d20a61e74b30126c8a9a9522ee319a3f78a
finish better lights
doing final touches to @yarolig #1662 so we can merge it closes #1661
diff --git a/src/Application/GameConfig.h b/src/Application/GameConfig.h index 979fcc1c1b62..f1cbf7eccae8 100644 --- a/src/Application/GameConfig.h +++ b/src/Application/GameConfig.h @@ -11,6 +11,8 @@ #include "Io/InputEnumFunctions.h" #include "Library/Config/Config.h" +#include "Library/Color/Color.h" + #include...
1
1
0
[{"id": "G0", "claim": "The new Color serialization test should live in the Color test file next to the other Color tests rather than in Serialization_ut.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenEnroth__OpenEnroth__2439
OpenEnroth/OpenEnroth
2,439
defect
b460b94830dbd8e0c5277fc9a3cb32935c75c08a
100d4f8dd8cdfacdce39e14b1c09ffbd55c53aec
Add tests for spell damage formulas (#2055)
Closes #2055. ## Summary - Adds 4 game tests for `CalcSpellDamage` covering Spirit Lash, Death Blossom (GM), Meteor Shower, and Psychic Shock - Uses `SequentialRandomEngine` as a deterministic RNG to make expected values predictable ## Test plan - [ ] `Run_GameTest_Headless_Parallel` passes 🤖 Generated with [Claud...
diff --git a/src/Engine/Spells/CMakeLists.txt b/src/Engine/Spells/CMakeLists.txt index 72a13d80c759..c6c7e9f6ede9 100644 --- a/src/Engine/Spells/CMakeLists.txt +++ b/src/Engine/Spells/CMakeLists.txt @@ -14,3 +14,11 @@ set(ENGINE_SPELLS_HEADERS add_library(engine_spells STATIC ${ENGINE_SPELLS_SOURCES} ${ENGINE_SPELLS_H...
1
1
0
[{"id": "G0", "claim": "The new randomized damage-formula tests would be better written to use a Mersenne Twister engine, call CalcSpellDamage 100 times, and check each result is in range, instead of a SequentialRandomEngine with a single exact expected value.", "category": "testing", "verdict": "supported", "priority"...
null
OpenEnroth__OpenEnroth__313
OpenEnroth/OpenEnroth
313
defect
c78f15c9ae12b24627c72df3a2707d0d596c8696
9ee07b34a62de616ca692b0158b425fb834f0127
cmake and ci improvements
- add ENABLE_TESTS option to enable tests compilation, it is Off by default. - add cmake test target for running tests. - move IndexedArray_ut to test directory and rename to just IndexedArray. - group tests. - add tests to github ci workflows. - don't use alias in macos ci workflow as it doesn't work in macos she...
diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index 882ce9fe29c9..0826aa0a4c72 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: ac...
3
2
0
[{"id": "G0", "claim": "The unit tests should live close to the source code instead of in a separate mirrored test/ source tree that has to be kept in sync with the main directory tree.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "test/test.cpp should ...
null
OpenEnroth__OpenEnroth__428
OpenEnroth/OpenEnroth
428
defect
2bc316048fe059d38eb9fc912699f829c0bd0060
bd3643eabd0d8a517076ac426d41551ebc4b7042
Fix #427
Fix buff spells that affect entire party starting from certain mastery levels.
diff --git a/src/Engine/Spells/CastSpellInfo.cpp b/src/Engine/Spells/CastSpellInfo.cpp index a13374e2438c..cbfe32353da2 100644 --- a/src/Engine/Spells/CastSpellInfo.cpp +++ b/src/Engine/Spells/CastSpellInfo.cpp @@ -3360,28 +3360,28 @@ void _42777D_CastSpell_UseWand_ShootArrow(SPELL_TYPE spell, case SPELL_S...
3
2
1
[{"id": "G0", "claim": "The flag ON_CAST_WholeParty_BigImprovementAnim should be renamed (e.g. to ON_CAST_SinglePlayer_BigImprovementAnim) now that the condition setting it has been inverted, leaving a TODO for renaming the other ON_CAST_ flags later.", "category": "maintainability", "verdict": "supported", "priority":...
null
OpenEnroth__OpenEnroth__484
OpenEnroth/OpenEnroth
484
defect
1a98855e5741a8305e4ea0e508e54aebd9a48bfa
b5db5e43daf6fec77514fd09c65972dfac6c52cd
Fix experience gain when learning skill is not present
Fix #395. When character have no learning skill exp bonus must be 0.
diff --git a/src/Engine/Objects/Player.cpp b/src/Engine/Objects/Player.cpp index 809df22c80e8..6da9addbcd71 100644 --- a/src/Engine/Objects/Player.cpp +++ b/src/Engine/Objects/Player.cpp @@ -994,13 +994,15 @@ int Player::GetDisarmTrap() { return multiplier * skill; } -//----- (00491317) ------------------------...
3
3
1
[{"id": "G0", "claim": "The Issue395 test should also check the players' experience at save load, via a callback passed to playTraceFromTestData.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In Player::GetLearningPercent the multiplier computation can...
null
OpenEnroth__OpenEnroth__510
OpenEnroth/OpenEnroth
510
defect
de894d5a47f42b77b6327cc5364c42e8b2dd7662
05e2eeaf628400c26acfc80df9343aa82e120f44
Refactor Lloyd Beacon, Town Portal and fix cast spells from scrolls
Cleaning up processing of Town Portal and Lloyd Beacon GUI events. Add pausing of event timer when opening town portal book (fixes #503). Remove debug break on scroll spell use (fixes #506).
diff --git a/src/Application/Game.cpp b/src/Application/Game.cpp index c441ce958632..b69f0e5134dc 100644 --- a/src/Application/Game.cpp +++ b/src/Application/Game.cpp @@ -462,15 +462,14 @@ void Game::EventLoop() { int v55; // ecx@432 int v56; // edx@432 int v57; ...
5
5
2
[{"id": "G0", "claim": "Issue #503 is easy to test — without the fix the party takes damage while picking the Town Portal destination, with the fix it does not — so the PR should add a test covering that behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
OpenEnroth__OpenEnroth__524
OpenEnroth/OpenEnroth
524
defect
abe202140a20480f52a05e03fbf793e0ed20bb6d
c969adc606b3e9c66690ae19922bbd08f791f0cc
Refactor targeted spell UI
- Move targeted spell UI creation in separate file - Rename spell flags and and GUI messages that controls targeted spells - Refactor processing these messages - Fix #442 by blocking mouse clicks for all windows other that targeted spell window while it is active - Add test for #442
diff --git a/src/Application/Game.cpp b/src/Application/Game.cpp index 7e78336a49d0..4cfbc9eb5f98 100644 --- a/src/Application/Game.cpp +++ b/src/Application/Game.cpp @@ -448,13 +448,10 @@ void Game::EventLoop() { GUIWindow *pWindow2; // ecx@248 int v37; // eax@341 int v38; ...
6
5
0
[{"id": "G0", "claim": "The double-bang on `!!(flags & OBJECT_DESC_UNPICKABLE)` should be a single `!`.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Either pid or playerTarget should be set when calling spellTargetPicked, so add an assert to check...
null
OpenEnroth__OpenEnroth__530
OpenEnroth/OpenEnroth
530
defect
9fb1fa3cf4dd00098c1dc9524dd565e088e98d9b
7c687376b4d67e9c481de098f7fd6948ac3625d8
Fix Disease spell and mana drain for some buff spells
Fix #527 - add processing for Cure Disease. Fix #528 - do not rewrite skill argument of function that is passed further for different purpose.
diff --git a/src/Engine/Spells/CastSpellInfo.cpp b/src/Engine/Spells/CastSpellInfo.cpp index 4faae261379a..a6a428376a74 100644 --- a/src/Engine/Spells/CastSpellInfo.cpp +++ b/src/Engine/Spells/CastSpellInfo.cpp @@ -2294,12 +2294,50 @@ void CastSpellInfoHelpers::castSpell() { break; ...
2
2
0
[{"id": "G0", "claim": "The chained conditions.Has(...) || conditions.Has(...) || conditions.Has(...) checks for disease conditions can use the HasAny method instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test should use EXPECT_...
null
OpenEnroth__OpenEnroth__535
OpenEnroth/OpenEnroth
535
defect
631d4b515ecdbf1bf3fee73dcc963af0cd011c3f
be4d1ff50ad7a79843785c4e0cf59a5edc29b651
Refactor spell impact processing function
Refactor function `_46BFFA_update_spell_fx` which processes spell projectiles on impact - function was renamed to `processSpellImpact`. Also refactor and fix function `SpriteObject::_46BEF1_apply_spells_aoe` which processes AOE effect of spell Shrink Ray. This fix allowed to remove unconditional assert and fix #489. ...
diff --git a/src/Engine/Objects/Player.cpp b/src/Engine/Objects/Player.cpp index 9d1e4341a978..b9da539a2b79 100644 --- a/src/Engine/Objects/Player.cpp +++ b/src/Engine/Objects/Player.cpp @@ -7043,11 +7043,16 @@ void DamagePlayerFromMonster(unsigned int uObjID, ABILITY_INDEX dmgSource, Vec3i playerP...
7
6
0
[{"id": "G0", "claim": "The Euclidean distance computed for the shrink-ray AOE should work without the ToFloat cast, and the squared length should be compared against the squared check distance instead of taking a square root.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
OpenEnroth__OpenEnroth__541
OpenEnroth/OpenEnroth
541
defect
c336368dddcda769396ba5b83dcaf2648aa03334
2e80e6a8d54f3b8ecab0272f2c1ffa1dfea4a36a
Fix targeting issues for some spells
Fix #493 - additional Z coord offset was missing when creating spell sprites. Fix #540 - for debuff spells actually check that spell target right and target is an actor. Additionally change behavior related to vanilla for debuff spells: If spell is only affects actors then in case of wrong target (using quick cas...
diff --git a/src/Engine/Spells/CastSpellInfo.cpp b/src/Engine/Spells/CastSpellInfo.cpp index aa19830dc03b..6fad351249dc 100644 --- a/src/Engine/Spells/CastSpellInfo.cpp +++ b/src/Engine/Spells/CastSpellInfo.cpp @@ -111,28 +111,29 @@ void CastSpellInfoHelpers::castSpell() { Player *pPlayer = &pParty->pPlayers...
3
3
1
[{"id": "G0", "claim": "Failed spells should still require recovery time, or at least force a switch to the next player.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The meteor-shower spread check Vec3s(j, k, originHeight - 2500).Length() <= 1.0 is nev...
null
OpenEnroth__OpenEnroth__654
OpenEnroth/OpenEnroth
654
defect
adc8e45f4698c69595c5b6349364a428d24065b7
e91c94b08e812ea8f61eb68d0e833c5f23550aa5
Issue fixes
fixes #626 - included test fixes #625 - included test fixes #623 - sounds not testable fixes #645 - included test fixes #622 - sounds not testable Re-enables sounds in tests but at lowest volume
diff --git a/src/Application/GameConfig.cpp b/src/Application/GameConfig.cpp index 0d9765e5e80d..f9b015dea417 100644 --- a/src/Application/GameConfig.cpp +++ b/src/Application/GameConfig.cpp @@ -50,7 +50,9 @@ void GameConfig::SaveConfiguration() { void GameConfig::resetForTest() { reset(); - debug.NoSound.se...
1
1
0
[{"id": "G0", "claim": "The Issue625 test should drop the `test->loadGameFromTestData(\"issue_315.mm7\");` and `game->goToMainMenu();` lines and just start with `game->pressGuiButton(\"MainMenu_NewGame\");`, since all tests already start at the main menu.", "category": "testing", "verdict": "supported", "priority": "P2...
null
OpenEnroth__OpenEnroth__962
OpenEnroth/OpenEnroth
962
defect
acb5178c5d968fe7408085b459a7faff15eb45f5
81fa3ccb4af1b957e389a985dfdf0f316db6e4b9
Cleanup and todos
Minor todos and fixes Major change is pActiveSkills being changed to CombinedSkillValue type
diff --git a/src/Application/GameConfig.h b/src/Application/GameConfig.h index e3794efee0ca..cf7362f225cc 100644 --- a/src/Application/GameConfig.h +++ b/src/Application/GameConfig.h @@ -354,7 +354,7 @@ class GameConfig : public Config { Int TorchlightDistance = {this, "torchlight_distance", 800, &ValidateTorc...
6
6
1
[{"id": "G0", "claim": "The learn() method should be replaced by a named factory method (e.g. rookie()) used with assignment, since learn() is meant only for skills currently at zero but does not check for that, which hurts readability.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
OpenFeign__feign__1182
OpenFeign/feign
1,182
defect
b6db37ee3ad7990809425da225c413defa4ce786
54f8b1a500be932d59f38064ac3077a88ac5bf45
Configurable to disable streaming mode for Default client
* Add a property `allowStramingMode` in `Request.Option`. * Optional to disable the streaming mode for `HttpURLConnection`. * The property is default to `true` for compatibility. Fix #260
diff --git a/core/src/main/java/feign/Client.java b/core/src/main/java/feign/Client.java index fd6b35b41a..3adf13200b 100644 --- a/core/src/main/java/feign/Client.java +++ b/core/src/main/java/feign/Client.java @@ -19,8 +19,10 @@ import static feign.Util.ENCODING_GZIP; import static feign.Util.checkArgument; import ...
6
3
2
[{"id": "G0", "claim": "Maybe make the hard-coded chunked-streaming configuration (the 8196-byte chunk size passed to setChunkedStreamingMode) configurable rather than fixed in code.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the new option al...
null
OpenFeign__feign__1220
OpenFeign/feign
1,220
defect
4ee8cd8f1ec6fd48e5ed604f96dfeb91ea7d4d65
41b6f8c95e4a3ed03b267aea94ea662d0e232294
fixed query map with array parameter bug
close #1170
diff --git a/core/src/main/java/feign/ReflectiveFeign.java b/core/src/main/java/feign/ReflectiveFeign.java index 10b006bfab..c067c49094 100644 --- a/core/src/main/java/feign/ReflectiveFeign.java +++ b/core/src/main/java/feign/ReflectiveFeign.java @@ -312,6 +312,11 @@ private RequestTemplate addQueryMapQueryParameters(M...
1
1
0
[{"id": "G0", "claim": "Rename the test interface method `queryArrParams` to a fuller, more readable name such as `queryMapWithArrayValues`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
OpenFeign__feign__1309
OpenFeign/feign
1,309
defect
336f2cebeef3825652e8d89cb3de436999b6f1fb
4c2a14be12e23c47ad0d2b3e6dc1da78c3147ef9
Allows @Param value in default contract to be taken from param names.
JEP 118 introduced javac option `-parameters` that adds to bytecode method parameter names, so if code is compiled with that option and @Param value is empty we can get that template parameter name from method parameter name. Fixes #1297.
diff --git a/core/src/main/java/feign/Contract.java b/core/src/main/java/feign/Contract.java index aff6a3b282..e0b0dbcff2 100644 --- a/core/src/main/java/feign/Contract.java +++ b/core/src/main/java/feign/Contract.java @@ -271,7 +271,14 @@ public Default() { data.template().headers(toMap(headersOnMethod)); ...
1
1
0
[{"id": "G0", "claim": "Please update the README to document this change's new @Param behavior (a missing annotation value falls back to the bytecode method parameter name).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenFeign__feign__1493
OpenFeign/feign
1,493
defect
8d5d65c2521984a9f752a52167e152a40fde8072
dd2fa715baedade044537063cbcd0b353ae48e45
Aggregate Micrometer "uri" label values under uri template
# Overview Use path expression rather than explicit value for Micrometer `uri` labels This new default means that the value of the `uri` metric label becomes `/get/{id}` rather than `/get/123` * Changes the default value of the `uri` label * Adds a bunch of new unit tests around that feature # Motivation Th...
diff --git a/micrometer/src/main/java/feign/micrometer/MeteredClient.java b/micrometer/src/main/java/feign/micrometer/MeteredClient.java index 6d6e1737d0..cd5c58f96f 100644 --- a/micrometer/src/main/java/feign/micrometer/MeteredClient.java +++ b/micrometer/src/main/java/feign/micrometer/MeteredClient.java @@ -83,9 +83,...
2
1
0
[{"id": "G0", "claim": "The newly added `template.methodMetadata().template().path()` call chain could return null or throw NullPointerException in some scenarios (e.g. a manually created RequestTemplate), and the author offered to add null checks if so.", "category": "correctness", "verdict": "uncertain", "priority": ...
null
OpenFeign__feign__1543
OpenFeign/feign
1,543
defect
79ba51019920d49a6a295dcc56785c59360fba4a
0d879e01ec53547e5117f26778065de7b16388e9
HTTP protocol version on the logging
Fixes #1533 Changes: - `logRequest` does not write protocol version as we do not know what a client will use - `logAndRebufferResponse` tries to write a protocol version if a response has it or writes _HTTP/unknown_ otherwise A Feign client can add a protocol version when it creates a response. Next Feign...
diff --git a/core/src/main/java/feign/Client.java b/core/src/main/java/feign/Client.java index d35f2c17b8..dec44a1c2d 100644 --- a/core/src/main/java/feign/Client.java +++ b/core/src/main/java/feign/Client.java @@ -59,6 +59,8 @@ public interface Client { class Default implements Client { + private static fina...
6
5
3
[{"id": "G0", "claim": "Set the protocol version default on Response (used when a client does not set one) and remove the hardcoded HTTP_PROTOCOL_VERSION defaults from the clients, so existing clients see no impact and HTTP2 clients can override it.", "category": "design", "verdict": "supported", "priority": "P1", "sco...
null
OpenFeign__feign__1548
OpenFeign/feign
1,548
defect
470631be507caf2f27a4c693537f9e2f93852dc3
0d3212fcb0c4cff4da6e1199105bb7b0fa9295b8
The counter indicator increases by 2 each time (on happy path)
Fixes #1480 We call `sample.stop(timer)` in the `finally` block and therefore the call in the `try-catch` block is unnecessary.
diff --git a/micrometer/pom.xml b/micrometer/pom.xml index 486e2b75c2..92c780ac13 100644 --- a/micrometer/pom.xml +++ b/micrometer/pom.xml @@ -44,6 +44,12 @@ <artifactId>micrometer-core</artifactId> <version>1.3.5</version> </dependency> + <dependency> + <groupId>org.mockito</groupId> + ...
1
1
0
[{"id": "G0", "claim": "The new tests in MeteredClientTest should be moved into the shared AbstractMetricsTestBase so that any problems also surface on the dropwizard metric implementations.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenFeign__feign__1579
OpenFeign/feign
1,579
defect
8bbc2600dcad8cc7537031a33a0f59457452b623
5398c603e46da79131ad0e71d77fa4547eb355a0
1497 : spring contract annotation alias handled
Fixes #1497
diff --git a/spring4/src/main/java/feign/spring/SpringContract.java b/spring4/src/main/java/feign/spring/SpringContract.java index f05dbbfe98..00de85f887 100755 --- a/spring4/src/main/java/feign/spring/SpringContract.java +++ b/spring4/src/main/java/feign/spring/SpringContract.java @@ -13,6 +13,8 @@ */ package feign...
1
1
0
[{"id": "G0", "claim": "The repeated path-or-value if/else blocks in each Spring mapping annotation handler should be replaced by a shared fallback-style helper, e.g. appendMappings(data, fallback(mapping.path(), mapping.value())).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int...
null
OpenFeign__feign__1841
OpenFeign/feign
1,841
defect
87961fda1d194dd386cd2acd944b294b825e3c54
2e218a1af3fd2e0ab7ed01277a36642089783a22
Allow using SOAPEncoder constructor taking builder
Change the SOAPEncoder constructor which takes a builder from private to protected Fixes #1839
diff --git a/soap/src/main/java/feign/soap/SOAPEncoder.java b/soap/src/main/java/feign/soap/SOAPEncoder.java index d4b0873c48..e1e71b7355 100644 --- a/soap/src/main/java/feign/soap/SOAPEncoder.java +++ b/soap/src/main/java/feign/soap/SOAPEncoder.java @@ -93,7 +93,7 @@ public class SOAPEncoder implements Encoder { pr...
1
1
0
[{"id": "G0", "claim": "Make the SOAPEncoder(Builder) constructor public instead of protected.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
OpenFeign__feign__1881
OpenFeign/feign
1,881
defect
757de664372c1568f130caa83ae95aa2016ff201
067e247be703c2ecca80a91f0c76957140227bb8
support method option and add UT
Background: - I want to add request timeout for each feign api, but none of them has param Options. Change: - Support method option and add UT - Format code style Usage: 1. You can see `socketTimeoutWithMethodOptionsTest` in OptionsTest.java 2. In spring Cloud ``` interface MyClient { @RequestMapping...
diff --git a/core/src/main/java/feign/Request.java b/core/src/main/java/feign/Request.java index b236caa134..88cb1b81c3 100644 --- a/core/src/main/java/feign/Request.java +++ b/core/src/main/java/feign/Request.java @@ -14,6 +14,7 @@ package feign; import static feign.Util.checkNotNull; +import static feign.Util.get...
4
1
1
[{"id": "G0", "claim": "The thread-identifier-keyed method-options design looks fragile and leaks memory, since entries added to threadToMethodOptions per thread are never removed.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "getMethodOptions should re...
null
OpenFeign__feign__1883
OpenFeign/feign
1,883
defect
2d378284d21cd554df825f818eed510a2c54e00b
d92d77b60d39f8e382a4b6b5dcc6e3d08046a7e9
set root cause as the exception_name in micrometer tags
resolves #1882
diff --git a/core/src/main/java/feign/utils/ExceptionUtils.java b/core/src/main/java/feign/utils/ExceptionUtils.java new file mode 100644 index 0000000000..54f03c4bd0 --- /dev/null +++ b/core/src/main/java/feign/utils/ExceptionUtils.java @@ -0,0 +1,44 @@ +/* + * Copyright 2012-2022 The Feign Authors + * + * Licensed un...
1
1
1
[{"id": "G0", "claim": "Replacing the value of the existing `exception_name` tag with the root cause breaks the existing metric contract, so leave `exception_name` as it was and add a separate `root_cause_name` tag for the root cause.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
OpenFeign__feign__1930
OpenFeign/feign
1,930
defect
db1d5c0914b37efe95d50d5e4cfc39bbc2c02ba4
f6a8da0a9592f6ce4a7a30f87d431fe8ee72ae67
updates reactor-core dependency for the feign-reactive-wrappers
removed deprecated usage of <code>Schedulers.elastic()</code> and using <code>Schedulers.boundedElastic()</code> instead Fixes #1711
diff --git a/reactive/pom.xml b/reactive/pom.xml index 0e94f68602..782b292a21 100644 --- a/reactive/pom.xml +++ b/reactive/pom.xml @@ -28,7 +28,7 @@ <properties> <main.basedir>${project.basedir}/..</main.basedir> - <reactor.version>3.4.24</reactor.version> + <reactor.version>3.5.2</reactor.version> ...
2
2
1
[{"id": "G0", "claim": "Changing the default scheduler from Schedulers.elastic() to Schedulers.boundedElastic() breaks binary compatibility for existing users.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The scheduler should become a constructor/...
null
OpenFeign__feign__1935
OpenFeign/feign
1,935
defect
fd4befa3c6b7bb7b65332e0b20cd751bdf5f8588
cd44762f79d70b20e6bf47d76aed1529e165dc9a
Add Optional BeanParam support for JAXRS2Contract
Implements a change to the JAXRS2Contract to optionally support `@BeanParam` parameter aggregators. It only adds support for aggregated parameters already supported by the existing JAXRS2Contract (ie not `@Context` or `@Suspended`). fixes #1264
diff --git a/jaxrs/src/main/java/feign/jaxrs/JAXRSContract.java b/jaxrs/src/main/java/feign/jaxrs/JAXRSContract.java index c660627e14..b36740162b 100644 --- a/jaxrs/src/main/java/feign/jaxrs/JAXRSContract.java +++ b/jaxrs/src/main/java/feign/jaxrs/JAXRSContract.java @@ -117,41 +117,39 @@ private void handleConsumesAnno...
3
2
1
[{"id": "G0", "claim": "Revert the reformatting that removed the extra `{}` block in JAXRSContract.registerParamAnnotations(), to avoid unnecessary churn and keep the diff easy to review.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Now that B...
null
OpenFeign__feign__2117
OpenFeign/feign
2,117
defect
26dadc26c315dbb20fda825c4beda7655fefce0d
a9d8998747f864269fcda9e31f80ec99a0b4c342
The builder clones itself before enrichment
I have tried to resolve #1961: now when the builder makes a new *Feign it wraps own fields, on second call it wraps already wrapped fields. I replace the link to itself builder `thisB` and own fields by a clone and its fields. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ### Summary by Cod...
diff --git a/core/src/main/java/feign/AsyncFeign.java b/core/src/main/java/feign/AsyncFeign.java index 8907d0ee5c..11f9c9aaa6 100644 --- a/core/src/main/java/feign/AsyncFeign.java +++ b/core/src/main/java/feign/AsyncFeign.java @@ -186,30 +186,32 @@ public AsyncBuilder<C> invocationHandlerFactory(InvocationHandlerFactor...
2
1
0
[{"id": "G0", "claim": "velo asks to move the builder body out into an internalBuild() method invoked on the enriched builder instance, so future code cannot accidentally access fields of the unenriched builder by forgetting the enrichedBuilder prefix.", "category": "maintainability", "verdict": "supported", "priority"...
null
OpenFeign__feign__2170
OpenFeign/feign
2,170
defect
b04bf9aeacbecd20f0202550fd67ffd551f8443e
5289775c2a70eba068f5c96460d498be612f53ab
Retryer: replace an instance of Date with an epoch millisecond
Resolves #2154 We do not use Date as date, every time we calculate epoch milliseconds. The Date class has issues with timezone. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ### Summary by CodeRabbit - Refactor: Replaced usage of `Date` with `Clock` in various classes and methods...
diff --git a/core/src/main/java/feign/FeignException.java b/core/src/main/java/feign/FeignException.java index d167c9e1be..c3caf481f0 100644 --- a/core/src/main/java/feign/FeignException.java +++ b/core/src/main/java/feign/FeignException.java @@ -276,7 +276,7 @@ static FeignException errorExecuting(Request request, IOE...
4
2
1
[{"id": "G0", "claim": "The explicit `(Long) null` casts for the retryAfter argument are unnecessary and confusing; pass plain `null` instead.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test should assert on the properties of the created...
null
OpenFeign__feign__2184
OpenFeign/feign
2,184
defect
b5e6809ff6b22f11cc1204df86cc76d8f450d2b2
4eafa31acb0beaef1cec176a649420980dbf60cb
Unzip/Deflate content on error status for Default Client
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ### Summary by CodeRabbit - Refactor: Simplified the handling of gzip and deflate encoded responses in the core application. This change enhances the software's reliability by ensuring consistent handling of encoded responses. - Test: Added ...
diff --git a/core/src/main/java/feign/Client.java b/core/src/main/java/feign/Client.java index ee0f130395..c674c17675 100644 --- a/core/src/main/java/feign/Client.java +++ b/core/src/main/java/feign/Client.java @@ -132,13 +132,12 @@ Response convertResponse(HttpURLConnection connection, Request request) throws I ...
5
2
0
[{"id": "G0", "claim": "In JAXRSClientTest, canExceptCaseInsensitiveHeader() checks for gzip compression support, which does not match its name, and this should be corrected.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "In OkHttpClientTest, th...
null
OpenFeign__feign__2199
OpenFeign/feign
2,199
defect
34a72724e9824ae72c813fe0e6dc4cd82f095c24
ac5af830a67ae88f8a4b23dea7c8bad05c80ce66
Flux type response should be corresponding to List
Fixes: https://github.com/OpenFeign/feign/issues/1869 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ### Summary by CodeRabbit - New Feature: Introduced `ReactiveDecoder`, `ReactorDecoder`, and `RxJavaDecoder` classes to support reactive decoding capabilities for Feign clients, enhancin...
diff --git a/core/src/main/java/feign/Types.java b/core/src/main/java/feign/Types.java index e9d30bc9c7..bdad6f8140 100644 --- a/core/src/main/java/feign/Types.java +++ b/core/src/main/java/feign/Types.java @@ -23,6 +23,8 @@ import java.util.Arrays; import java.util.NoSuchElementException; +import static feign.Util...
6
3
3
[{"id": "G0", "claim": "The `contributorsFlux` and `contributorsMono` methods carry the same `@RequestLine` annotation, which could lead to confusion and potential errors; consider renaming them to better reflect their return types or the data they fetch.", "category": "design", "verdict": "uncertain", "priority": "P2"...
null
OpenFeign__feign__2206
OpenFeign/feign
2,206
defect
25c419d61975fff98b395deb8b28a4f7214454f5
80e0f0bbfb2b164ffa57d9e090d67718887a32ba
Add typed response
Issue: https://github.com/OpenFeign/feign/issues/1627 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ### Summary by CodeRabbit - New Feature: Introduced `TypedResponse` class to handle different types of HTTP responses, enhancing the flexibility of the Feign library. - Improvement: Updated...
diff --git a/core/src/main/java/feign/InvocationContext.java b/core/src/main/java/feign/InvocationContext.java index b6ec9de496..0780b850a8 100755 --- a/core/src/main/java/feign/InvocationContext.java +++ b/core/src/main/java/feign/InvocationContext.java @@ -77,15 +77,15 @@ public Object proceed() throws Exception { ...
4
2
1
[{"id": "G0", "claim": "The typedResponse() test should also assert the protocolVersion, headers and request fields of the TypedResponse so they are verified as correctly populated.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Builder setter metho...
null
OpenFeign__feign__2218
OpenFeign/feign
2,218
defect
bc8b4b1fc53f0fc0911f486a5150fedab6813798
df58fc4afde1b9a7ead4d81ad093062ebc5813fd
Allow to ignore methods on provided interface
Issue: https://github.com/OpenFeign/feign/issues/686 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ### Summary by CodeRabbit - New Feature: Introduced the `@FeignIgnore` annotation. This allows developers to mark certain methods to be ignored during processing, enhancing control over the...
diff --git a/core/src/main/java/feign/Contract.java b/core/src/main/java/feign/Contract.java index 2256646877..2461587da5 100644 --- a/core/src/main/java/feign/Contract.java +++ b/core/src/main/java/feign/Contract.java @@ -59,7 +59,7 @@ public List<MethodMetadata> parseAndValidateMetadata(Class<?> targetType) { ...
1
1
1
[{"id": "G0", "claim": "Invoking a method marked with the new @FeignIgnore annotation should throw a clear exception instead of failing unclearly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenFeign__feign__2392
OpenFeign/feign
2,392
defect
c754bc5ae8be3dc973bcc00f9498aecfc792b7fa
06035ec680b0e2f6563675cb0e04f33a314aa60a
Module move and rename: spring4 -> spring
Resolve #2386 and some Spring issues.
diff --git a/pom.xml b/pom.xml index 69f6c4f8ae..f68595363e 100644 --- a/pom.xml +++ b/pom.xml @@ -47,6 +47,7 @@ <module>ribbon</module> <module>sax</module> <module>slf4j</module> + <module>spring</module> <module>spring4</module> <module>soap</module> <module>soap-jakarta</module> dif...
2
2
1
[{"id": "G0", "claim": "The module rename should also ship relocation information — at least for the next release, leaving behind a stripped-down feign-spring4 POM with a distributionManagement/relocation entry pointing at feign-spring — so existing consumers are redirected to the new artifact.", "category": "correctne...
null
OpenFeign__feign__2471
OpenFeign/feign
2,471
defect
4b01b6bb1213268c842b73d014148ac9f2a20228
e0ef2928964bcaffbf2301e25f0ebbc19d9797e6
Allows adding literal header values to RequestTemplate
This change adds a new method RequestTemplate#headerLiteral which allows adding headers which are not interpreted as Template expressions. This allows adding empty JSON objects to headers in RequestInterceptor implementations. Fixes #2252, #1987
diff --git a/core/src/main/java/feign/RequestTemplate.java b/core/src/main/java/feign/RequestTemplate.java index 7309cdfa15..8157e38872 100644 --- a/core/src/main/java/feign/RequestTemplate.java +++ b/core/src/main/java/feign/RequestTemplate.java @@ -728,6 +728,36 @@ public RequestTemplate header(String name, Iterable<...
1
1
0
[{"id": "G0", "claim": "The null-values branch of the new headerLiteral(String...) overload should call the headerLiteral(String, Iterable) overload instead of appendHeader directly, keeping it aligned with the header(...) implementation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intro...
null
OpenFeign__feign__2510
OpenFeign/feign
2,510
defect
75a286da136cbd253713509c5e3cc0caddc67912
28d9f6aad6c590c9f604e552a9a2874c5fceeb51
Client.Default - Null pointer exception when receiving an 'empty' response with compression
Fix: https://github.com/OpenFeign/feign/issues/2509
diff --git a/core/src/main/java/feign/Client.java b/core/src/main/java/feign/Client.java index 0172b3d6ef..93a17dd905 100644 --- a/core/src/main/java/feign/Client.java +++ b/core/src/main/java/feign/Client.java @@ -134,9 +134,9 @@ Response convertResponse(HttpURLConnection connection, Request request) throws I }...
1
1
0
[{"id": "G0", "claim": "The continuation lines of the two newly added tests are mis-indented and should be reformatted to match the project's google-java-format style.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
OpenFeign__feign__2530
OpenFeign/feign
2,530
defect
9b9d74ff18f8a41a9fa9061cf56f62f62549bc94
5f4a81b01983b1bc507ad5ab59d6a0f50e4200a5
Closes Response.body() in Logger after rebuffering to avoid resources leak
Fixes #2529
diff --git a/core/src/main/java/feign/Logger.java b/core/src/main/java/feign/Logger.java index 13e3bf3943..6e190530af 100644 --- a/core/src/main/java/feign/Logger.java +++ b/core/src/main/java/feign/Logger.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 The Feign Authors + * Copyright 2012-2024 The Feign Authors * ...
1
1
1
[{"id": "G0", "claim": "Add a unit test covering the new closing of the response body in Logger.logAndRebufferResponse for future generations.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenFeign__feign__2531
OpenFeign/feign
2,531
defect
9b9d74ff18f8a41a9fa9061cf56f62f62549bc94
106ca34c762a19cf39142ce4d97c825c91fc31a5
Polish static nested test classes
IDEA suggested to make some changes: - Removed `@Nested` annotaion from inner static tests. `@Nested` annotation is designed for nestsed **non-static** classes. From javadoc: > @Nested is used to signal that the annotated class is a nested, non-static test class (i.e., an inner class) that can share setup and stat...
diff --git a/core/src/test/java/feign/EnumForNameTest.java b/core/src/test/java/feign/EnumForNameTest.java index 8d4258526b..ada53660bb 100644 --- a/core/src/test/java/feign/EnumForNameTest.java +++ b/core/src/test/java/feign/EnumForNameTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 The Feign Authors + * Copyrig...
2
1
0
[{"id": "G0", "claim": "The reviewer questions whether the newly added surefire <excludes><exclude/></excludes> configuration in pom.xml is needed at all and asks why it is necessary.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The self-closing <exclude...
null
OpenFeign__feign__930
OpenFeign/feign
930
defect
10a4eadf4f3312573354672c9f5f9e322a30e5c5
3aa335071ee1885592d753c069adee1e17c35bc3
Replaced comma with Constant Delimiter in Template
Fixes #924 Commas were used to identify iterable content, which conflicted when a comma delimited literal was provided during expansion. This change switches commas for semi-colons, which are considered reserved secondary delimiters in RFC 6750 and should not be used without being pct-encoded. Should be a saf...
diff --git a/core/src/main/java/feign/template/Expressions.java b/core/src/main/java/feign/template/Expressions.java index 558766a6d0..7a62239b9f 100644 --- a/core/src/main/java/feign/template/Expressions.java +++ b/core/src/main/java/feign/template/Expressions.java @@ -105,7 +105,7 @@ String expand(Object variable, bo...
3
2
1
[{"id": "G0", "claim": "The pull request unintentionally adds an unused import of javax.management.Query to QueryTemplateTest, which should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider whether the new COLLECTION_DELIMITER ...
null
OpenFeign__feign__931
OpenFeign/feign
931
defect
10a4eadf4f3312573354672c9f5f9e322a30e5c5
94949ccbdee209dadf0961cc53070c4cc14f61e6
Removed decoding from Body Template Expansion
Fixes #916 In certain cases, a Body Template will contain a JSON payload. To support this we are asking users to pct-encode the beginning and the end of the JSON object when providing it to the RequestLine so we don't reject it as an expression. Doing this requires that the we decode those markers before submi...
diff --git a/core/src/main/java/feign/template/BodyTemplate.java b/core/src/main/java/feign/template/BodyTemplate.java index 6371afd22c..fddfaac6b7 100644 --- a/core/src/main/java/feign/template/BodyTemplate.java +++ b/core/src/main/java/feign/template/BodyTemplate.java @@ -23,6 +23,12 @@ */ public final class BodyT...
1
1
0
[{"id": "G0", "claim": "The JSON token rebuilding in expand() should use a StringBuilder instead of String concatenation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenFeign__querydsl__1122
OpenFeign/querydsl
1,122
defect
fec21327ce1e371f05c92b3d0eb02b2c68d87344
7ab2152f688d11b5ed9799aadc39745f25b75621
ISSUE #1060 - step 1 - change org.mongodb.morphia to
ISSUE #1060 - step 1 - change org.mongodb.morphia to dev.morphia.morphia - will be update to lastest version, now I only want to build it with CICD
diff --git a/pom.xml b/pom.xml index eb987d6b6a..ed53513410 100644 --- a/pom.xml +++ b/pom.xml @@ -120,7 +120,7 @@ <sqlite.version>3.49.1.0</sqlite.version> <teradata.version>13.10.00.35</teradata.version> <firebird.version>5.0.7.java11</firebird.version> - <mongodb.version>3.12.14</mongodb.version> +...
3
2
2
[{"id": "G0", "claim": "Do not comment out the japicmp-maven-plugin in the parent poms (root pom.xml and querydsl-libraries/pom.xml) - bring the plugin back.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add <japicmp.skip>true</japicmp.skip> to the quer...
null
OpenFeign__querydsl__1304
OpenFeign/querydsl
1,304
defect
8abb5f08a7cfbf24ceab6616b184fc28322da7db
df8d780064105c63ca206d827aa8e2357e1d6716
Add support for subquery modifiers (LIMIT/OFFSET) in Hibernate
## Description This PR addresses a long-standing limitation in QueryDSL where LIMIT and OFFSET modifiers were ignored when used within subqueries. This change enables full subquery modifier support specifically for Hibernate users while maintaining backward compatibility and JPQL standard compliance for other JPA pr...
diff --git a/querydsl-libraries/querydsl-jpa/src/main/java/com/querydsl/jpa/HQLTemplates.java b/querydsl-libraries/querydsl-jpa/src/main/java/com/querydsl/jpa/HQLTemplates.java index 81857ac070..a6409d8dba 100644 --- a/querydsl-libraries/querydsl-jpa/src/main/java/com/querydsl/jpa/HQLTemplates.java +++ b/querydsl-libra...
1
1
1
[{"id": "G0", "claim": "A test should be added to `HibernateBase` so the subquery modifier (LIMIT/OFFSET) support is tested against real Hibernate execution.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenFeign__querydsl__369
OpenFeign/querydsl
369
defect
5d4073217f57b05845fb9258fcf621d3f6830be1
f78bd54f1eaea4574618768e8006af214154ec99
Fixing performance issue related with querydsl spatial on hibernate.
As the representation of the operations were doing an equal true (boolean check), the DB engine is not able to use the spatial index, and instead of performing the intersects with the entities using the spatial index and comparing only the ones indicated by this one, was applying the intersects operation to all the ent...
diff --git a/querydsl-libraries/querydsl-spatial/src/main/java/com/querydsl/spatial/hibernate/HibernateSpatialSupport.java b/querydsl-libraries/querydsl-spatial/src/main/java/com/querydsl/spatial/hibernate/HibernateSpatialSupport.java index a1fe12ce32..2b6c4a2559 100644 --- a/querydsl-libraries/querydsl-spatial/src/mai...
1
1
1
[{"id": "G0", "claim": "Unit tests should be added for the serializer so that a regression is guaranteed not to happen in the future.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OpenFeign__querydsl__966
OpenFeign/querydsl
966
defect
f1eb5fd26babb4a321673241d4fc214e53e65add
ce7123437501759cf5b523ccc3e0c86f0deb827d
Fix Enum Serialization in CaseBuilder for Hibernate Compatibility
## Description This PR addresses an issue where enums used in CaseBuilder within QueryDSL are serialized as bind parameters (?) or full class paths (e.g., com.example.JobFunction.MANAGER), causing Hibernate to fail with a ConversionException: Could not determine ValueMapping for SqmParameter. This behavior disrupts co...
diff --git a/querydsl-libraries/querydsl-jpa/src/main/java/com/querydsl/jpa/JPQLSerializer.java b/querydsl-libraries/querydsl-jpa/src/main/java/com/querydsl/jpa/JPQLSerializer.java index d780470bdd..9c28781462 100644 --- a/querydsl-libraries/querydsl-jpa/src/main/java/com/querydsl/jpa/JPQLSerializer.java +++ b/querydsl...
1
1
0
[{"id": "G0", "claim": "Adding Ops.CASE_WHEN into CASE_OPS would simplify visitOperation by removing the extra `|| operator.equals(Ops.CASE_WHEN)` condition from the inCaseOperation check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenFreeEnergy__openfe__1170
OpenFreeEnergy/openfe
1,170
defect
9533f95d462b52fc9ea1f86782d0451a756cc307
69ee3da0484a354f6025f4136251e459944e7915
test larger cpu runner
<!-- Thank you for pull request. Below are a few things we ask you kindly to self-check before getting a review. Remove checks that are not relevant. --> <!-- Please note any issues this fixes using [closing keywords]( https://help.github.com/articles/closing-issues-using-keywords/ ): --> <!-- see https://r...
diff --git a/.github/workflows/cpu-runner.yaml b/.github/workflows/cpu-runner.yaml index 83971cf12..6d4fc71f9 100644 --- a/.github/workflows/cpu-runner.yaml +++ b/.github/workflows/cpu-runner.yaml @@ -21,8 +21,9 @@ jobs: uses: omsf/start-aws-gha-runner@v1.0.0 with: aws_image_id: ami-0b7f661...
5
4
1
[{"id": "G0", "claim": "The AWS CPU runner is far too slow (~3h for the slow tests, nearly 3x slower than the existing package-install CI), so it is not worth it / not the fast way to run slow tests it was meant to be.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
OpenFreeEnergy__openfe__1246
OpenFreeEnergy/openfe
1,246
defect
d811614e8ccae7c75e9bdbd656a927a256a25731
48074ff795e93906a248a77c06dc3161d52ecf92
pretty print tables with rich
<!-- Thank you for pull request. Below are a few things we ask you kindly to self-check before getting a review. Remove checks that are not relevant. --> downstream of https://github.com/OpenFreeEnergy/openfe/pull/1244 I'm open to making this a `--pretty` flag if we want to preserve backwards compatibility. This...
diff --git a/environment.yml b/environment.yml index a012eecee2..906977ac97 100644 --- a/environment.yml +++ b/environment.yml @@ -21,6 +21,7 @@ dependencies: - openmmforcefields - openmmtools >=0.24.1 - packaging + - pandas - perses>=0.10.3 - plugcli - pint<0.22 diff --git a/openfecli/commands/gathe...
3
3
2
[{"id": "G0", "claim": "The gather command should pretty-print tables by default and gain a --tsv flag for raw TSV output to stdout (e.g. for scripting), while keeping TSV behaviour when writing to a file.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
OpenFreeEnergy__openfe__1307
OpenFreeEnergy/openfe
1,307
defect
9533f95d462b52fc9ea1f86782d0451a756cc307
e8f575583e337a18dfb8b2dc69e77d5f23aad6b6
make network planning tests more thorough
<!-- Thank you for pull request. Below are a few things we ask you kindly to self-check before getting a review. Remove checks that are not relevant. --> ahead of the konnektor integration PR (#927), I'm going through our existing network generation tests to make sure that 1) I understand the intended behavior wel...
diff --git a/openfe/setup/alchemical_network_planner/relative_alchemical_network_planner.py b/openfe/setup/alchemical_network_planner/relative_alchemical_network_planner.py index 748e46f70..577e0c5a2 100644 --- a/openfe/setup/alchemical_network_planner/relative_alchemical_network_planner.py +++ b/openfe/setup/alchemica...
2
1
0
[{"id": "G0", "claim": "The reviewer asks whether the limitation noted in the added TODO comment — that generate_minimal_spanning_network's scorer argument is currently required even though it is not actually necessary — is worth raising as a separate issue.", "category": "design", "verdict": "uncertain", "priority": "...
null
OpenFreeEnergy__openfe__1437
OpenFreeEnergy/openfe
1,437
defect
e60fc93beac5ecd7095ce20163dd43527eadc5d6
9b0d4a895685eec3dda472623c43e578c682aac2
Fix protein chain selection (Issue #1421)
Fixes #1421 Specifically: - Selection no longer fails if no suitable chains were found - Adds tests for subselected chains and too small chains - Allows manually defining the minimum chain length for a protein chain. ## Developers certificate of origin - [x] I certify that this contribution is covered ...
diff --git a/openfe/protocols/restraint_utils/geometry/utils.py b/openfe/protocols/restraint_utils/geometry/utils.py index c98fb84d1..114fca107 100644 --- a/openfe/protocols/restraint_utils/geometry/utils.py +++ b/openfe/protocols/restraint_utils/geometry/utils.py @@ -721,6 +721,7 @@ def stable_secondary_structure_sele...
3
3
0
[{"id": "G0", "claim": "The docstring's description of the ``min_chain_length`` parameter should be reworded to 'The minimum number of residues to be considered a protein chain. Default 30.'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Retu...
null
OpenFreeEnergy__openfe__1438
OpenFreeEnergy/openfe
1,438
defect
e60fc93beac5ecd7095ce20163dd43527eadc5d6
9095d8a2bfe0ef692113a96475ac36fcc2061ccb
DSSP selection fixes (issue #1420)
Fixes #1420 Changes: - Fixes a case where bond checking would return False on residues with only one atom. - Undo uneccessary universe copies. - Adds missing stable selection tests. ## Developers certificate of origin - [x] I certify that this contribution is covered by the MIT License [here](https://g...
diff --git a/openfe/protocols/restraint_utils/geometry/utils.py b/openfe/protocols/restraint_utils/geometry/utils.py index c98fb84d1..9200b0ac0 100644 --- a/openfe/protocols/restraint_utils/geometry/utils.py +++ b/openfe/protocols/restraint_utils/geometry/utils.py @@ -569,7 +569,12 @@ def _atomgroup_has_bonds(atomgroup...
1
1
0
[{"id": "G0", "claim": "The 6CZJ.pdb fetched with pooch should be verified against a known sha256 file hash instead of using known_hash=None.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OpenFreeEnergy__openfe__1442
OpenFreeEnergy/openfe
1,442
defect
c8a6a3faf900e2845a435f829c56f19067382457
a5dfa4fb3899652099799c8494e4b729ecf86fa1
Fix minimum distance in host finding [Issue #1422]
## Developers certificate of origin - [x] I certify that this contribution is covered by the MIT License [here](https://github.com/OpenFreeEnergy/openfe/blob/main/LICENSE) and the **Developer Certificate of Origin** at <https://developercertificate.org/>.
diff --git a/openfe/protocols/restraint_utils/geometry/boresch/geometry.py b/openfe/protocols/restraint_utils/geometry/boresch/geometry.py index 7613e4b06..0f0b0490e 100644 --- a/openfe/protocols/restraint_utils/geometry/boresch/geometry.py +++ b/openfe/protocols/restraint_utils/geometry/boresch/geometry.py @@ -262,7 +...
3
3
0
[{"id": "G0", "claim": "The new distance assertions in TestFindAnchor should explicitly pass an `abs` tolerance to pytest.approx so the tolerance the tests care about is visible.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment in test_host_gu...
null
OpenFreeEnergy__openfe__1450
OpenFreeEnergy/openfe
1,450
defect
48a9500000378fc18db490617a7d4f989747bd32
a529ddc539ebfab418a34e1c169a83269e7541c2
add espaloma tests
<!-- Thank you for pull request. Below are a few things we ask you kindly to self-check before getting a review. Remove checks that are not relevant. --> <!-- Please note any issues this fixes using [closing keywords]( https://help.github.com/articles/closing-issues-using-keywords/ ): --> <!-- see https://r...
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3761ebb96..b023b57a4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -61,6 +61,24 @@ jobs: run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}" - name: "Setup Micromamba" + if: ${{ matrix.pyth...
3
2
0
[{"id": "G0", "claim": "The added `!= '3.13'` install condition will keep excluding espaloma on Python 3.14 once that matrix entry is added, so the condition should probably be a less-than comparison such as `<'3.13'`.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
OpenFreeEnergy__openfe__1462
OpenFreeEnergy/openfe
1,462
defect
048a56c7a036432779fe24eebb7aed573306c07c
f2ee990337becd104d000a4a84d448adf1316152
Always use atoms in both helices and beta sheets in the DSSP filter
Checklist * [ ] Added a ``news`` entry ## Developers certificate of origin - [x] I certify that this contribution is covered by the MIT License [here](https://github.com/OpenFreeEnergy/openfe/blob/main/LICENSE) and the **Developer Certificate of Origin** at <https://developercertificate.org/>.
diff --git a/openfe/protocols/restraint_utils/geometry/utils.py b/openfe/protocols/restraint_utils/geometry/utils.py index af4a54177..d2eeefed7 100644 --- a/openfe/protocols/restraint_utils/geometry/utils.py +++ b/openfe/protocols/restraint_utils/geometry/utils.py @@ -705,11 +705,8 @@ def stable_secondary_structure_sel...
1
1
1
[{"id": "G0", "claim": "The tests in this PR are failing and the failure is expected to change once #1438 merges, so the PR should be soft-blocked until that PR is merged and the relevant test fixes are made here.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
OpenFreeEnergy__openfe__1477
OpenFreeEnergy/openfe
1,477
defect
41f08e6dc5f54bb6ad35caca31c358581c9061fe
a04cded301d9e6122df4cdf77ebde12138237c67
Change bonded host strategy to use lowest variance restraint
Fixes #1471 ## Developers certificate of origin - [x] I certify that this contribution is covered by the MIT License [here](https://github.com/OpenFreeEnergy/openfe/blob/main/LICENSE) and the **Developer Certificate of Origin** at <https://developercertificate.org/>.
diff --git a/openfe/protocols/restraint_utils/geometry/boresch/host.py b/openfe/protocols/restraint_utils/geometry/boresch/host.py index 5a4e13e87..da6c4b189 100644 --- a/openfe/protocols/restraint_utils/geometry/boresch/host.py +++ b/openfe/protocols/restraint_utils/geometry/boresch/host.py @@ -27,6 +27,7 @@ stab...
4
2
2
[{"id": "G0", "claim": "The restraint is picked using a plain linear combination of variances, which may not be the best combination; the author is open to changing it if a better combination can be tried.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
OpenFreeEnergy__openfe__1479
OpenFreeEnergy/openfe
1,479
defect
95a956184b5c801865230b84c515096bd63e2d74
37de1ae4be5bd30eef50f31871c43c47566970c2
Move ligand utils to gufe
<!-- Thank you for pull request. Below are a few things we ask you kindly to self-check before getting a review. Remove checks that are not relevant. --> partially addresses #560, along with https://github.com/OpenFreeEnergy/gufe/pull/602 <!-- Please note any issues this fixes using [closing keywords]( https://h...
diff --git a/environment.yml b/environment.yml index acd85e538..8e9c35732 100644 --- a/environment.yml +++ b/environment.yml @@ -51,4 +51,4 @@ dependencies: # Control blas/openmp threads - threadpoolctl - pip: - - git+https://github.com/OpenFreeEnergy/gufe@main + - git+https://github.com/OpenFreeEnergy/g...
2
1
1
[{"id": "G0", "claim": "Consider keeping the deprecation warning in openfe for a release before requiring users to update to the gufe version that ships LigandAtomMapping.get_alchemical_charge_difference().", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Po...
null
OpenFreeEnergy__openfe__1523
OpenFreeEnergy/openfe
1,523
defect
1cb3ac79f1db3e2532467491d50bf835e164b1a7
77c7b5b3ccd47cf25c93eec92f4bc1a263560024
Fast/ adaptive settings
<!-- Thank you for pull request. Below are a few things we ask you kindly to self-check before getting a review. Remove checks that are not relevant. --> <!-- Please note any issues this fixes using [closing keywords]( https://help.github.com/articles/closing-issues-using-keywords/ ): --> <!-- see https://r...
diff --git a/openfe/protocols/openmm_rfe/equil_rfe_methods.py b/openfe/protocols/openmm_rfe/equil_rfe_methods.py index ea4ab2b8d..d56beb05d 100644 --- a/openfe/protocols/openmm_rfe/equil_rfe_methods.py +++ b/openfe/protocols/openmm_rfe/equil_rfe_methods.py @@ -509,6 +509,64 @@ def _default_settings(cls): o...
10
6
1
[{"id": "G0", "claim": "The `unfrozen_copy()` call on `default_settings()`'s return looks unnecessary, since the return from default_settings shouldn't be frozen.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The protein-component checks should...
null