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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ENTERPILOT__GoModel__202 | ENTERPILOT/GoModel | 202 | defect | d5728e2d20bc3716ab0cfffa34f23628e942996d | 83b9b9740a3f28c612b19170fb02385b3cb0d837 | fix(responsecache): split stream cache entries and validate SSE | ## Summary
- treat `stream=true` and `stream=false` as separate exact and semantic cache entries
- persist valid raw SSE for streaming cache hits and replay it verbatim
- validate SSE before caching so partial, malformed, or keepalive-only streams cannot poison cache
- keep cache-hit usage accounting working by extract... | diff --git a/internal/responsecache/handle_request_test.go b/internal/responsecache/handle_request_test.go
index b6303318c..3d550d844 100644
--- a/internal/responsecache/handle_request_test.go
+++ b/internal/responsecache/handle_request_test.go
@@ -331,7 +331,7 @@ func TestHandleRequest_CacheControlNoCacheBypassesAllLa... | 3 | 3 | 1 | [{"id": "G0", "claim": "Add an explicit test case for empty input to TestValidateCacheableSSE, since the implementation returns false for empty input but no test covers that edge case.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "After [DONE] is seen ... | null |
ENTERPILOT__GoModel__204 | ENTERPILOT/GoModel | 204 | defect | 29d4581b06890042f722867f5440dc9583b9415b | c682b57acbd6efdaacd341375bf43e5d64215e80 | fix(auditlog): preserve auth metadata for streamed entries | ## Summary
- preserve auth method and user path when cloning streamed audit log entries
- keep streamed auth metadata aligned with non-streamed audit entries
- add regression coverage for stream entry cloning
## Testing
- go test ./internal/auditlog
<!-- This is an auto-generated comment: release notes by coderabbit.... | diff --git a/internal/admin/dashboard/static/css/dashboard.css b/internal/admin/dashboard/static/css/dashboard.css
index 0636a5691..8a5c0eb9f 100644
--- a/internal/admin/dashboard/static/css/dashboard.css
+++ b/internal/admin/dashboard/static/css/dashboard.css
@@ -2535,6 +2535,7 @@ body.conversation-drawer-open {
═... | 3 | 2 | 1 | [{"id": "G0", "claim": "Filter out the 'draft-workflow-preview' sentinel from executionPlanChartWorkflowID, because the editor preview card would otherwise render a fake persisted workflow ID and the extra meta padding.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"... | null |
ENTERPILOT__GoModel__208 | ENTERPILOT/GoModel | 208 | defect | 2c79e5fda7ebd7e159ce623106a26e885022c3eb | 9cb357ddfd01d2165cadda067e06fbd218eefe3e | feat(fallback): enable fallback by default and align async chart states | ## Summary
- enable translated-route fallback by default in config
- default new workflow drafts to fallback enabled
- align workflow async usage and audit styling with shared .ep-node state classes
- highlight async nodes as success when rendering audit-log execution charts
## Testing
- go test ./config ./internal/ap... | diff --git a/config/config.example.yaml b/config/config.example.yaml
index 6a40b3a4b..530ced24f 100644
--- a/config/config.example.yaml
+++ b/config/config.example.yaml
@@ -139,7 +139,7 @@ guardrails:
# content: "Follow safety guidelines."
fallback:
- default_mode: "off" # "off", "manual", or "auto"
+ def... | 1 | 1 | 1 | [{"id": "G0", "claim": "While buildDefaultConfig now defaults fallback mode to \"auto\", loadFallbackConfig and internal/fallback/resolver.NewResolver still canonicalize a blank default_mode to \"off\" — so a supported config like `fallback.default_mode: ${FEATURE_FALLBACK_MODE:-}` silently disables fallback and the ne... | null |
ENTERPILOT__GoModel__216 | ENTERPILOT/GoModel | 216 | defect | c13e2786fed93413f1c7dc96e227408b2dbcc17a | 64bf83e24c3c0ac933100a1d757f62f4360b8369 | feat: configurable logging level with env variable |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added configurable logging verbosity via LOG_LEVEL (debug, info (default), warn, error).
* **Documentation**
* Updated env template and guides to document LOG_LEVEL, clarify LOG_FORMAT auto-d... | diff --git a/.env.template b/.env.template
index cc621a46b..9af3c3551 100644
--- a/.env.template
+++ b/.env.template
@@ -1,7 +1,9 @@
# Server Configuration
# PORT=8080
-# Log output format: "json" (default) or "text" (human-readable, colored in TTY)
-# LOG_FORMAT=json
+# Log output format: leave unset to auto-detect,... | 3 | 2 | 0 | [{"id": "G0", "claim": "The redundant per-iteration captures `tt := tt` at lines 31 and 68 of cmd/gomodel/logging_test.go should be removed, since Go 1.22+ range loop variables are already scoped per-iteration.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
ENTERPILOT__GoModel__219 | ENTERPILOT/GoModel | 219 | defect | b73e4c526ff2731007e0124d8ac0bffa5db75170 | 6a6c9f69eaaf17bba572a1fc4bb3006ef83c4b76 | fix(server): prevent empty replies on long chat responses | ## Summary
- disable Echo's default 30s inbound write timeout for gateway responses so long chat completions and SSE streams are not cut off mid-response
- log handled gateway failures at WARN/ERROR with request metadata so client-visible failures are also visible in server logs
- add regression coverage for the server... | diff --git a/internal/server/error_support.go b/internal/server/error_support.go
index df905c773..0613e9533 100644
--- a/internal/server/error_support.go
+++ b/internal/server/error_support.go
@@ -2,6 +2,7 @@ package server
import (
"errors"
+ "log/slog"
"net/http"
"github.com/labstack/echo/v5"
@@ -13,11 +14... | 1 | 1 | 1 | [{"id": "G0", "claim": "Start() disables write deadlines for the whole listener (writeTimeout=0 applied to all routes, including admin, metrics, file and health checks), so only the streaming/chat routes that legitimately need unbounded write time should omit the deadline and the other routes should retain slow-reader ... | null |
ENTERPILOT__GoModel__220 | ENTERPILOT/GoModel | 220 | defect | 07285176d4b0d2139b7e8f966ed1d5a37aca4ded | d63768e2eb36892ba444695fc51be4a075c81ab1 | fix(providers): keep unavailable providers registered at startup | ## Summary
- keep providers registered even when the startup availability probe fails
- allow async initialization and periodic refresh to discover models after the backend becomes reachable
- add regression coverage for startup and later refresh recovery, and update the startup behavior note in the docs
## Testing
- ... | diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md
index b891a5f9a..5ca8d2975 100644
--- a/GETTING_STARTED.md
+++ b/GETTING_STARTED.md
@@ -221,7 +221,7 @@ The env var override walk skips maps. `RETRY_MAX_RETRIES` changes the global def
Setting `CIRCUIT_BREAKER_TIMEOUT=60s` in the environment overrides whatever `time... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new initTestProvider stream stubs return io.NopCloser wrapping a nil reader, so any read attempt on the returned ReadCloser will panic.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "initializeProviders builds the availab... | null |
ENTERPILOT__GoModel__266 | ENTERPILOT/GoModel | 266 | defect | 92283fe6d0ff66e99fd1c290cd182946416d5ef3 | 2190619b5ec0319717fd08cf27b0cb83e27ec007 | fix(providers): fall back to configured models when upstream /models fails | Problem triggered by configuring `type: openai` with a custom base URL for an API (e.g. OpenCode Go) that does not expose an OpenAI-compatible `/models` endpoint.
GoModel received HTML instead of JSON on discovery, failed to parse it, marked the provider "unhealthy", and discarded the explicitly configured model lis... | diff --git a/internal/providers/azure/azure.go b/internal/providers/azure/azure.go
index 7b3eac282..95c3f97ac 100644
--- a/internal/providers/azure/azure.go
+++ b/internal/providers/azure/azure.go
@@ -2,6 +2,7 @@ package azure
import (
"context"
+ "log/slog"
"net/http"
"net/url"
"strconv"
@@ -30,6 +31,7 @@ t... | 6 | 5 | 1 | [{"id": "G0", "claim": "When configuredModels is non-empty and the upstream /models call succeeds, ListModels returns only the configured subset (enriched with upstream metadata), silently dropping every upstream model not in the configured list — an undocumented allow-list semantic change for openai/openrouter/vllm; t... | null |
ENTERPILOT__GoModel__272 | ENTERPILOT/GoModel | 272 | defect | 13a2d073cabd31aa4b2301ff2ce7ff9d9bf2bebf | 1f2f2e18cbf176259b1439d8c38bcf8c9517acb8 | test(e2e): harden gateway e2e tests | ## Summary
- Add shared e2e setup helpers for auth/admin servers and a SQLite usage fixture.
- Turn the admin usage e2e test into a persisted usage check instead of nil-reader zero-value assertions.
- Add default chat request fixtures plus stricter upstream payload, error body, and SSE parsing assertions.
- Harden rele... | diff --git a/tests/e2e/admin_test.go b/tests/e2e/admin_test.go
index 3048f3622..1a58d370d 100644
--- a/tests/e2e/admin_test.go
+++ b/tests/e2e/admin_test.go
@@ -3,68 +3,19 @@
package e2e
import (
- "context"
"encoding/json"
"io"
"net/http"
- "net/http/httptest"
"testing"
+ "time"
"github.com/stretchr/te... | 7 | 6 | 1 | [{"id": "G0", "claim": "The fixture's flush(t) and the t.Cleanup registered in setupSQLiteUsageFixture both call logger.Close(), so unless usage.Logger.Close() is idempotent the cleanup's require.NoError fails every time flush is used.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "int... | null |
ENTERPILOT__GoModel__275 | ENTERPILOT/GoModel | 275 | defect | 701d4e22ae93e270bce7bebc6d50fecc03ec198e | 66e91bf011cf0b315dcdcd878c7db1dcf42a1620 | fix(core): normalize provider error payloads | ## Summary
- tolerate provider error objects with numeric `error.code` values
- prefer OpenRouter `metadata.raw` when the upstream message is the generic `Provider returned error`
- add a regression test for OpenRouter rate-limit payloads
## Tests
- `go test ./internal/core`
- `go test ./internal/llmclient ./internal/... | diff --git a/internal/core/errors.go b/internal/core/errors.go
index 525665319..256fdea96 100644
--- a/internal/core/errors.go
+++ b/internal/core/errors.go
@@ -2,9 +2,11 @@
package core
import (
+ "bytes"
"encoding/json"
"fmt"
"net/http"
+ "strings"
)
// ErrorType represents the type of error that occurr... | 2 | 2 | 1 | [{"id": "G0", "claim": "Consider folding the new single-case OpenRouter test into a table-driven test that also pins the surrounding decision points: numeric code without metadata.raw, metadata.raw with a non-generic message (override must not fire), empty error.message with metadata.raw (override fires), and malformed... | null |
ENTERPILOT__GoModel__277 | ENTERPILOT/GoModel | 277 | defect | cc63c465eb56b882cbe73c636953ade1874eec22 | 93d1c3e7338fa397d092aa7d4ab73dd2eacb4918 | fix(base-path): consolidate prefix handling | ## Summary
- consolidate base path normalization and joining into shared config helpers
- make dashboard fetch/history prefixing cover Request, URL, pushState, and replaceState
- auto-prefix Helm probes and ServiceMonitor paths from server.basePath
- add direct dashboard path-prefix tests and fix usage module indentati... | diff --git a/config/config.go b/config/config.go
index a16268767..10b999cb5 100644
--- a/config/config.go
+++ b/config/config.go
@@ -871,6 +871,25 @@ func NormalizeBasePath(value string) string {
return normalized
}
+// JoinBasePath prefixes urlPath with the normalized public mount path.
+func JoinBasePath(basePat... | 8 | 4 | 1 | [{"id": "G0", "claim": "The regex that extracts the inline bootstrap script does not match upper case <SCRIPT> tags.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When .path is \"/\" or empty and server.basePath is non-root, gomodel.pathWithBasePath p... | null |
ENTERPILOT__GoModel__278 | ENTERPILOT/GoModel | 278 | defect | cc63c465eb56b882cbe73c636953ade1874eec22 | 99c7572d08551d563ebc877269b4d45ff40128ec | fix(admin): treat canceled admin requests as client closed | Summary:
- Map raw admin context cancellations to 499 request_canceled instead of 500 internal_error.
- Map raw admin deadline timeouts to 504 request_timeout instead of 500 internal_error.
- Log client-closed admin requests at debug level so normal stdout is not noisy.
- Add cache overview and logging coverage for can... | diff --git a/internal/admin/handler.go b/internal/admin/handler.go
index dfa2fe23a..459ceab18 100644
--- a/internal/admin/handler.go
+++ b/internal/admin/handler.go
@@ -59,6 +59,9 @@ const (
DashboardConfigSemanticCacheEnabled = "SEMANTIC_CACHE_ENABLED"
)
+// statusClientClosedRequest is the de facto status used b... | 4 | 2 | 1 | [{"id": "G0", "claim": "Mapping a client-abort 499 to error type invalid_request_error is a semantic mismatch (the payload was valid, the client simply disconnected), and API consumers parsing error.type may be surprised by the pairing.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introdu... | null |
ENTERPILOT__GoModel__288 | ENTERPILOT/GoModel | 288 | defect | 650129ea40e403c1b14a14abace1f510e7770092 | 35ee6928bf23e6435b6ebce0412eaeab8d6a7b4b | fix(usage): price dated OpenRouter model IDs | ## Summary
- resolve pricing for response model IDs with terminal release-date suffixes after exact/reverse/alias lookup fails
- add OpenRouter to OpenAI-compatible token-detail cost handling so cached input discounts are applied
- cover GLM 5.1 dated OpenRouter response IDs with regression tests
Related model-list up... | diff --git a/internal/modeldata/merger.go b/internal/modeldata/merger.go
index 54dbef525..9a1205778 100644
--- a/internal/modeldata/merger.go
+++ b/internal/modeldata/merger.go
@@ -1,9 +1,17 @@
package modeldata
import (
+ "regexp"
+
"gomodel/internal/core"
)
+var terminalReleaseDateSuffixPatterns = []*regexp.... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new suffix-fallback test covers only the YYYYMMDD format; the resolver's also-supported YYYY-MM-DD and YYYY suffix formats remain untested, and coverage should be added for them.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
ENTERPILOT__GoModel__295 | ENTERPILOT/GoModel | 295 | defect | b8210df700d5f51bfce789d2bb1930c1a1687687 | ef650b0dce97de5b10de447849b6cb5b8ced7a14 | refactor: making things smaller - function extractions | ## Summary
Three focused extractions identified during the tier 3 refactor pass. Each commit is independent, behaviour-preserving, and covered by existing tests.
- **`refactor(admin): extract provider-status helpers`** — `buildProviderStatusResponse` is now `collect inputs → build per-provider item → summarise`. The ... | diff --git a/internal/admin/handler_providers.go b/internal/admin/handler_providers.go
index 112f3e0a2..ae787f896 100644
--- a/internal/admin/handler_providers.go
+++ b/internal/admin/handler_providers.go
@@ -39,6 +39,45 @@ func (h *Handler) RefreshRuntime(c *echo.Context) error {
}
func (h *Handler) buildProviderS... | 3 | 3 | 1 | [{"id": "G0", "claim": "The dead nil-check on resp.Providers (never nil since it is initialised with make(...)) should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "buildRequest failures reach the transport-error branches and are ... | null |
ENTERPILOT__GoModel__297 | ENTERPILOT/GoModel | 297 | defect | 9f7eceff31715d923158cad52991b9cb0201a482 | c0c25849b5d3754f324a513c435523c468a57e3c | fix(usage): track xAI response costs | ## Summary
- use xAI usage.cost_in_usd_ticks as the exact USD total cost source
- preserve xAI cost ticks from streamed usage events
- show the green confirmed-cost icon for xAI response-derived costs
## Tests
- go test ./...
- node --test internal/admin/dashboard/static/js/modules/usage.test.cjs
<!-- This is an auto... | diff --git a/internal/admin/dashboard/static/js/modules/usage.js b/internal/admin/dashboard/static/js/modules/usage.js
index 2f5780f20..e05f2d897 100644
--- a/internal/admin/dashboard/static/js/modules/usage.js
+++ b/internal/admin/dashboard/static/js/modules/usage.js
@@ -7,6 +7,10 @@
return path;
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The xaiUSDTicksPerUSD constant has no doc comment explaining what a tick is or where the 10^10 value comes from; a short comment citing the xAI API spec would help future maintainers verify or update the value without re-deriving it from tests.", "category": "documentation", "verdict": "supporte... | null |
ENTERPILOT__GoModel__48 | ENTERPILOT/GoModel | 48 | defect | fb05e2d99231d8fad7dee7a68f8705b9083b111c | 0910c4d7d5063c7033c2272ff3ba8f5864a0d3c6 | fix: ensure MaxTokens >= budget when extended thinking is enabled | When extended thinking is enabled via the reasoning parameter, Anthropic requires max_tokens to be at least the thinking budget_tokens. This fix ensures MaxTokens is bumped to the budget value when it's lower, in both ChatRequest and ResponsesRequest conversion paths.
<!-- This is an auto-generated comment: release no... | diff --git a/internal/providers/anthropic/anthropic.go b/internal/providers/anthropic/anthropic.go
index 9991c4fc8..58fd10755 100644
--- a/internal/providers/anthropic/anthropic.go
+++ b/internal/providers/anthropic/anthropic.go
@@ -185,9 +185,14 @@ func convertToAnthropicRequest(req *core.ChatRequest) *anthropicReques... | 2 | 1 | 0 | [{"id": "G0", "claim": "Add a debug/info log when MaxTokens is increased to meet the reasoning budget requirement, including in convertResponsesRequestToAnthropic, so users can see why their MaxTokens value changed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"... | null |
ENTERPILOT__GoModel__55 | ENTERPILOT/GoModel | 55 | defect | f082bb62c61905015454f18b651c13b71476527e | 211b7c808609a99e6422ab6bea153ab169a0da73 | fix: increase HTTP client timeouts to prevent API timeout errors | Change default Timeout and ResponseHeaderTimeout from 30s/10s to 600s (10 minutes) to match OpenAI/Anthropic SDK defaults.
The previous 10s ResponseHeaderTimeout was causing "http2: timeout awaiting response headers" errors for long LLM responses.
Add environment variable overrides:
- HTTP_TIMEOUT: overall reque... | diff --git a/.env.template b/.env.template
index 25a58bd7a..e681bfedf 100644
--- a/.env.template
+++ b/.env.template
@@ -5,6 +5,13 @@ PORT=8080
# Accepts values like "10M", "1G", "500K" (default: 10M)
# BODY_SIZE_LIMIT=10M
+# HTTP Client Configuration (for upstream API requests)
+# Overall request timeout (default:... | 4 | 2 | 0 | [{"id": "G0", "claim": "TestDefaultConfig assumes HTTP_TIMEOUT and HTTP_RESPONSE_HEADER_TIMEOUT are unset in the process environment, so CI or local environments that set them (now that the PR supports these overrides) would make the test fail; use t.Setenv/Unsetenv before calling DefaultConfig() to make the test deter... | null |
ENTERPILOT__GoModel__76 | ENTERPILOT/GoModel | 76 | defect | b34029c1e6fc068d872c5ac1e2538356e802a31b | 29cf56c2616a990655ee659f577e8a0829bb40bb | Feature: fix audit log 405 status |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved audit logging to record correct HTTP error status codes for uncommitted error responses.
* **Tests**
* Added end-to-end test covering HTTP method validation errors and corresponding aud... | diff --git a/.claude/settings.local.json b/.claude/settings.local.json
deleted file mode 100644
index 9fdeaa6f0..000000000
--- a/.claude/settings.local.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "permissions": {
- "allow": [
- "Bash(make test-all)",
- "Bash(make lint)",
- "Bash(go test:*)",
- "Bas... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new .gitignore entry `.claude/settings.local.json` should have a leading `/` (like the other root-level entries such as `/.env` and `/opencode.json`) so it matches only the root-level `.claude/` directory.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "i... | null |
ENTERPILOT__GoModel__85 | ENTERPILOT/GoModel | 85 | defect | a9963f96a13599ddbcd315a0c5f6bcd7708f412d | 4085ee605fc68b5c60cf9d46661cbfab062c2957 | fix(gom-43): remove stream_options injection from Responses API handler | The Responses API does not accept stream_options.include_usage — it's a Chat Completions-only parameter. The Responses API already returns usage data unconditionally in the response.done SSE event.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* ... | diff --git a/internal/server/handlers.go b/internal/server/handlers.go
index ac1f8551c..b54f463e1 100644
--- a/internal/server/handlers.go
+++ b/internal/server/handlers.go
@@ -172,13 +172,6 @@ func (h *Handler) Responses(c echo.Context) error {
// Handle streaming: proxy the raw SSE stream
if req.Stream {
- // ... | 4 | 1 | 0 | [{"id": "G0", "claim": "TestStreamingResponses_DoesNotInjectStreamOptions could panic on a nil capturedResponsesReq: the status assertion uses non-fatal t.Errorf so execution reaches the StreamOptions dereference even when StreamResponses was never called; add a nil guard and promote the status check to t.Fatalf.", "ca... | null |
EOSIO__demux-js__114 | EOSIO/demux-js | 114 | defect | dc2424d79a8904235816801d8a9c463b42caea5c | a94afed81fd4288547e1be5ef484a021f9735851 | Fix for deferring effects | I ended up removing a lot of code I was writing to get this to work, which included changing the `getLastIrreversibleBlockNumber` method to `getLastIrreversibleBlockInfo`, returning an object that included both irreversible block number and hash, as I assumed it was needed for fixing this problem. The AbstractActionHan... | diff --git a/src/AbstractActionHandler.test.ts b/src/AbstractActionHandler.test.ts
index df1aeff..4ee1be3 100644
--- a/src/AbstractActionHandler.test.ts
+++ b/src/AbstractActionHandler.test.ts
@@ -24,8 +24,8 @@ describe('Action Handler', () => {
beforeEach(() => {
runUpdater = jest.fn()
- runEffect = jest.... | 3 | 1 | 0 | [{"id": "G0", "claim": "Consider adopting a fixtures library/tool (or simply importing the shared test helpers) to replace the verbose block-fixture setup in this test.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use a template string for this test t... | null |
EOSIO__demux-js__99 | EOSIO/demux-js | 99 | defect | 22957ffe77437d8e88dd54bd912be32ad51b38cf | b458734cfe5e70719bcf9272a504da1b4cd4f40f | Move Action Reader arguments into config object, various refactoring | - Put arguments to Action Reader's constructor into a config object
- Create BlockMeta interface to group flags sent from the Action Reader to the Action Handler
- Return value of handleBlock now returns just a number or null
- Refactor inline types to VersionedAction interface | diff --git a/src/AbstractActionHandler.test.ts b/src/AbstractActionHandler.test.ts
index 14e7d28..f44a009 100644
--- a/src/AbstractActionHandler.test.ts
+++ b/src/AbstractActionHandler.test.ts
@@ -112,23 +112,36 @@ describe("Action Handler", () => {
blockNumber: 3,
blockHash: "000f42401b5636c3c1d88f31fe0e... | 3 | 2 | 0 | [{"id": "G0", "claim": "Default the constructor parameter (config: ActionReaderConfig = {}) instead of taking it optional and guarding with config || {}, so the spread simplifies to ...config.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Make the confi... | null |
ESAPI__esapi-java-legacy__464 | ESAPI/esapi-java-legacy | 464 | defect | 074a6f2bf2a406f69c6d4fe5c708a94e955fb467 | 9ee1a7193f573b8e1c531717f05cd0d0318d65af | Misc release cleanup | Add release notes and other miscellaneous clean-up. Specifically:
close issue #246
close issue #364
close issue #417
close issue #462
close issue #463
| diff --git a/configuration/esapi/ESAPI.properties b/configuration/esapi/ESAPI.properties
index bb10c6a95..e17928c07 100644
--- a/configuration/esapi/ESAPI.properties
+++ b/configuration/esapi/ESAPI.properties
@@ -77,6 +77,9 @@ ESAPI.IntrusionDetector=org.owasp.esapi.reference.DefaultIntrusionDetector
# Log4JFactory Re... | 1 | 1 | 1 | [{"id": "G0", "claim": "All 2.1.0.2 version references in the release notes and comments should be search-and-replaced with the new release version (2.2.0), since stale references might leave people asking what happened to 2.1.0.2.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
ESAPI__esapi-java-legacy__670 | ESAPI/esapi-java-legacy | 670 | defect | 0f9ab8a0431032431e88fce454e735833f1ae698 | 39d8a8ab5241a28ff346ad74ec1041f8deb989b0 | Some of this appears to have been already covered in PR #663 | My github repo still shows that I'm ahead of ESAPI by 21 commits, which includes all of these. This makes no sense since @kwwall shows it was merged.
At any rate, only the two commits from today are any different from PR #663 | diff --git a/pom.xml b/pom.xml
index 8bca5ce50..9e2dba927 100644
--- a/pom.xml
+++ b/pom.xml
@@ -237,7 +237,7 @@
<dependency>
<groupId>org.owasp.antisamy</groupId>
<artifactId>antisamy</artifactId>
- <version>1.6.5</version>
+ <version>1.6.6</version>
... | 2 | 1 | 1 | [{"id": "G0", "claim": "The pull request's cookie-related changes make HTTPUtilitiesTest.testGetStateFromEncryptedCookie fail with a NullPointerException at line 426.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G2", "claim": "testStandardHeader should just use ... | null |
ESAPI__esapi-java-legacy__712 | ESAPI/esapi-java-legacy | 712 | defect | 284066b756648c14d9cc62307e9c316c0e9b2dca | 613bc49cf6f05c2a796eee3efff982c25f4772e7 | Add forward slash encoding to DefaultEncoder's encodeForLDAP and encodeForDN | According to [1] and [2], the forward slash ('/') character should be encoded for LDAP filters and distinguished names.
[1] https://docs.microsoft.com/en-us/windows/win32/adsi/search-filter-syntax
[2] https://social.technet.microsoft.com/wiki/contents/articles/5312.active-directory-characters-to-escape.aspx | diff --git a/src/main/java/org/owasp/esapi/reference/DefaultEncoder.java b/src/main/java/org/owasp/esapi/reference/DefaultEncoder.java
index fe504e722..d781459ff 100644
--- a/src/main/java/org/owasp/esapi/reference/DefaultEncoder.java
+++ b/src/main/java/org/owasp/esapi/reference/DefaultEncoder.java
@@ -305,13 +305,18 ... | 3 | 2 | 1 | [{"id": "G0", "claim": "The duplicated explanatory comment block in encodeForDN should be removed, since the comment on lines 308-310 in encodeForLDAP is sufficient.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Encoding '/' unconditionally by ... | null |
ESAPI__esapi-java-legacy__719 | ESAPI/esapi-java-legacy | 719 | defect | 92239e8f87db96155e9aadec9217fa4e17f428a5 | 82b2e837ca5b0d5c1f6f8b393c477af2dac647e3 | Changes to prepare for 2.5.0.0 release. | This is show you can preview the 2.5.0.0 release notes and anything else. I anticipate that @davewichers will release AntiSamy 1.7.0 sometime tomorrow, so I wrote up the release notes and other changes in advance. Will need to make further tweaks to our pom.xml and the release notes regardless.
@jeremiahjstacey and ... | diff --git a/README.md b/README.md
index 43bb29711..8e4933f1e 100644
--- a/README.md
+++ b/README.md
@@ -32,8 +32,11 @@ Development for the "next generation" of ESAPI (starting with ESAPI 3.0), will b
GitHub repository at [https://github.com/ESAPI/esapi-java](https://github.com/ESAPI/esapi-java).
**IMPORTANT NOTES:... | 7 | 5 | 1 | [{"id": "G0", "claim": "The whitespace-cleanup script from PR #720 should be run over the ESAPI sources before the release.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The release-notes file needs its typos fixed and its @@@@ placeholder ma... | null |
ESAPI__esapi-java-legacy__741 | ESAPI/esapi-java-legacy | 741 | defect | d605ecc016d2398c5801bfb6de2415fe56d6c318 | c3df3d9c8b09d4f304c8c875a6e9807a16f8a564 | issue-740 | Adds null-safe EventType->Marker translation.
Adds unit test for new behavior.
fixes: https://github.com/ESAPI/esapi-java-legacy/issues/740 | diff --git a/src/main/java/org/owasp/esapi/logging/slf4j/Slf4JLogBridgeImpl.java b/src/main/java/org/owasp/esapi/logging/slf4j/Slf4JLogBridgeImpl.java
index 2955f9459..9190832ad 100644
--- a/src/main/java/org/owasp/esapi/logging/slf4j/Slf4JLogBridgeImpl.java
+++ b/src/main/java/org/owasp/esapi/logging/slf4j/Slf4JLogBri... | 2 | 2 | 1 | [{"id": "G0", "claim": "The null-event-type handling should account for null and only null (`type == null ? Logger.EVENT_UNSPECIFIED : type`), without the additional evaluation of the esapiLevel value, since the delegate handler already accounts for the ERROR and FATAL types.", "category": "design", "verdict": "support... | null |
ESAPI__esapi-java-legacy__828 | ESAPI/esapi-java-legacy | 828 | defect | ddd2cda4e8b5cfd7441d8721a465b09dbaf3d4d6 | 580ccbcfb08d0ab38f502307b965d184f97b16b4 | PR to fix #824 and reference to #823 | Couple of bugs discovered with DefaultEncoder.getCanonicalizedURI(URI) where
1.) We weren't fully handling relative URLs
2.) A canonicalize call was occurring twice always, when logically the intent was to treat queries as their own special case of canonicalization. Logic now splits between checking if we're de... | diff --git a/src/main/java/org/owasp/esapi/codecs/LegacyHTMLEntityCodec.java b/src/main/java/org/owasp/esapi/codecs/LegacyHTMLEntityCodec.java
index ce66ba256..240cc2ca7 100644
--- a/src/main/java/org/owasp/esapi/codecs/LegacyHTMLEntityCodec.java
+++ b/src/main/java/org/owasp/esapi/codecs/LegacyHTMLEntityCodec.java
@@ ... | 9 | 1 | 0 | [{"id": "G0", "claim": "Move the @Test annotation in HTMLEntityCodecTest to after the TODO comment, since the comment refers to the next two tests rather than the one the annotation currently sits on.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The N... | null |
ESAPI__esapi-java-legacy__840 | ESAPI/esapi-java-legacy | 840 | defect | a3a59dc3a6e030115c2aaf911c0076e272aa5523 | d6f7c4531f434e66cc00d0623a2880ea7041184d | Issue #839 JavaLogFactory ConcMod | Removing support for esapi-java-logging.properties file from baseline.
ConfigurationException is thrown if file is found on the path at runtime. Exception message links to a wiki page with instructions on how to configure the application instance.
Closes #839
Also note the wiki page has been created.
https:/... | diff --git a/configuration/esapi/esapi-java-logging.properties b/configuration/esapi/esapi-java-logging.properties
deleted file mode 100644
index 71011acc5..000000000
--- a/configuration/esapi/esapi-java-logging.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-handlers= java.util.logging.ConsoleHandler
-.level= INFO
-java.uti... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new JavaLogFactory wiki page should also document the five previous default properties from the removed esapi-java-logging.properties file.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ConfigurationException messa... | null |
ETLCPP__etl__1016 | ETLCPP/etl | 1,016 | defect | 778351a49ed22ec08e9e9985a2347dd0511ce48d | f26e1d4328b4f6d9624464d3a3ac2b4ec90c5e18 | Allow compile time CRC calculation | Adds constexpr to CRC, allowing compile time computation of CRC values.
I also added constexpr specific tests, but I'm really not sure if every CRC type needs a constexpr test. I'm open to suggestions.
Tested in c++11, c++14, c++17, and c++20 with gcc
All the tests were added via Regex pattern matching, so t... | diff --git a/include/etl/frame_check_sequence.h b/include/etl/frame_check_sequence.h
index ec67e1bac9..d959472dc9 100644
--- a/include/etl/frame_check_sequence.h
+++ b/include/etl/frame_check_sequence.h
@@ -107,7 +107,7 @@ namespace etl
//*************************************************************************
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The tests fail the C++03 syntax check because the new constexpr constructors use brace-initialisation; `frame_check{}` must be changed to `frame_check()` for C++03 compatibility.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
ETLCPP__etl__1023 | ETLCPP/etl | 1,023 | defect | 99d75375060b61aae49bb2fc06349b45cb2c3380 | 8274104fdab2ab3af2f091d5b8b94f0df7f59b80 | Alignment typed storage | I have a recurring use case of globally allocated class instances that I need to explicitly construct in a more defined order than implicit construction of global C++ objects can offer.
Therefore, I have a convenience wrapper etl::typed_storage for aligned_storage_as for instantiating an object explicitly at a defin... | diff --git a/include/etl/alignment.h b/include/etl/alignment.h
index c6a4de0668..f07c477495 100644
--- a/include/etl/alignment.h
+++ b/include/etl/alignment.h
@@ -36,6 +36,7 @@ SOFTWARE.
#include "static_assert.h"
#include "error_handler.h"
#include "exception.h"
+#include "utility.h"
#include <stdint.h>
@@ -71... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new typed_storage_error should use ETL_ALIGNMENT_FILE_ID\"B\" as it is the second alignment_exception in the file.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "emplace() should use ::new to explicitly reference the glob... | null |
ETLCPP__etl__1024 | ETLCPP/etl | 1,024 | defect | 99d75375060b61aae49bb2fc06349b45cb2c3380 | df59e64cd41db91526fbf5c2646be8ac858752c9 | etl::span: Add advance(), copy(), reinterpret_as() | This commit adds to etl::span:
- advance()
- copy()
- reinterpret_as()
including tests. | diff --git a/include/etl/span.h b/include/etl/span.h
index f1077ea77c..0ccdba7468 100644
--- a/include/etl/span.h
+++ b/include/etl/span.h
@@ -238,7 +238,7 @@ namespace etl
//*************************************************************************
ETL_NODISCARD ETL_CONSTEXPR bool empty() const ETL_NOEXCEPT
... | 4 | 3 | 2 | [{"id": "G0", "claim": "reinterpret_as() should check for size multiple and alignment so that, say, seven int8_t at odd alignment cannot be reinterpreted as uint32_t and dereferenced misaligned.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The cop... | null |
ETLCPP__etl__1043 | ETLCPP/etl | 1,043 | defect | e1b263a10d383aa95ee8411b53af22bac06b1984 | c66fe321045f0d81c292780d429f5710034eece0 | Added iterator and const_iterator to etl::ipool | I have the use case of iterating over allocated chunks in pools. Therefore adding the respective iterators. | diff --git a/include/etl/ipool.h b/include/etl/ipool.h
index 942927748c..fb7982bd45 100644
--- a/include/etl/ipool.h
+++ b/include/etl/ipool.h
@@ -34,6 +34,7 @@ SOFTWARE.
#include "platform.h"
#include "error_handler.h"
#include "exception.h"
+#include "iterator.h"
#include "static_assert.h"
#include "utility.h"
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The ipool_iterator copy constructor should use the ETL style for constructor initializer lists (colon on the next line, leading commas) instead of the comma-suffix style.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
ETLCPP__etl__1044 | ETLCPP/etl | 1,044 | defect | 37539a27612bcac0cabae098b6d67d612a032cd9 | 5873bad1ef4080ffe8d40c0a9b06321e451eb525 | Add traits to type_list | This change adds several traits to type_list.h:
* type_list_contains
* type_list_index_of
* type_list_max_sizeof_type (long name to prevent confusion with type_list_size)
* type_list_max_alignment
Further: test_type_list.cpp including tests for already existing traits. | diff --git a/include/etl/type_list.h b/include/etl/type_list.h
index 533ae76183..2ca8f7fadf 100644
--- a/include/etl/type_list.h
+++ b/include/etl/type_list.h
@@ -30,6 +30,8 @@ SOFTWARE.
#define ETL_TYPE_LIST_INCLUDED
#include "platform.h"
+
+#include "algorithm.h"
#include "nth_type.h"
#include "static_assert.h"... | 4 | 3 | 1 | [{"id": "G0", "claim": "A corresponding 'type from index' trait class, etl::type_list_type_at<TypeList, Index>, should be implemented alongside the new type_list traits, named consistently with the other type_list_x classes rather than relying on the older etl::nth_type<>.", "category": "design", "verdict": "uncertain"... | null |
ETLCPP__etl__1175 | ETLCPP/etl | 1,175 | defect | e3dac1e33e019dd3e1f502f4e254dab34d56e3c7 | 6fa4fad6647d8de7bf1f8d2cb79812fff0c5f374 | Debug assert | I implemented a proof of concept for `ETL_DEBUG_ASSERT` discussed in #1173 and possibly also a solution to #997 .
For the proof of concept I modified expected.h that was already using debug asserts and changed to the new macro. Then I also inserted some new uses of the macro into array.h . I put `//TODO` on some f... | diff --git a/include/etl/array.h b/include/etl/array.h
index c0cf8f9896..e5abce0fb1 100644
--- a/include/etl/array.h
+++ b/include/etl/array.h
@@ -145,6 +145,8 @@ namespace etl
ETL_CONSTEXPR14
reference operator[](size_t i)
{
+ ETL_DEBUG_ASSERT(i < SIZE, ETL_ERROR(array_out_of_range));
+
retu... | 4 | 2 | 1 | [{"id": "G0", "claim": "The new debug-only CHECK_THROW out-of-range tests should be gated so they only compile when ETL_DEBUG_ASSERT raises exceptions, otherwise release or non-exception test builds fail.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
ETLCPP__etl__1178 | ETLCPP/etl | 1,178 | defect | e3dac1e33e019dd3e1f502f4e254dab34d56e3c7 | f22e3aa996ad11170be928ba27b73694988f6594 | Removed forced unsigned int cast in type_def bit-shift operators | Using negative numbers for the number of places that a bit-shift operator will shift the value is Undefined Behavior. This PR changes all bit-shift operators for the `type_def` class to allow explicitly using unsigned values to avoid UB. This will assist compilers and static analyzer tools to ensure that UB isn't bei... | diff --git a/include/etl/type_def.h b/include/etl/type_def.h
index 4815b670a6..a54255b312 100644
--- a/include/etl/type_def.h
+++ b/include/etl/type_def.h
@@ -290,14 +290,14 @@ namespace etl
}
//*********************************************************************
- ETL_CONSTEXPR14 type_def& operator <<=... | 4 | 1 | 0 | [{"id": "G0", "claim": "Add deleted signed overloads for the shift operators (the unsigned rhs alone still lets signed arguments bind by implicit conversion), so accidental negative shift counts fail at compile time.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G6", ... | null |
ETLCPP__etl__1196 | ETLCPP/etl | 1,196 | defect | f9cf20d79a7b6bc7d63f3c9626b584b1ff9ab46e | be82ac225a5bf5f5b73d4b5d40084a95d0bdb52f | Added back in support for populating non 8-bit strings with 8-bit data | There was an issue where using a non-16-bit pointer to assign data to a u16string would attempt to use the `copy_characters()` which uses the `memove()` call. This further specializes the template metaprogramming to use a for loop for any iterators that aren't `uint16_t*` or `uint16_t const*`.
This change was also ... | diff --git a/include/etl/basic_string.h b/include/etl/basic_string.h
index b73df17560..f533e784bc 100644
--- a/include/etl/basic_string.h
+++ b/include/etl/basic_string.h
@@ -2716,10 +2716,10 @@ namespace etl
/// Copy characters using pointers.
/// Returns a pointer to the character after the last copied.
... | 6 | 5 | 3 | [{"id": "G0", "claim": "For pointer sources whose element size equals value_type but that are neither iterator nor const_iterator (e.g. uint16_t* with char16_t), both copy_characters enable_if conditions evaluate true, making the overloads ambiguous; tighten the non-pointer overload to explicitly exclude the pointer wi... | null |
ETLCPP__etl__1199 | ETLCPP/etl | 1,199 | defect | f9cf20d79a7b6bc7d63f3c9626b584b1ff9ab46e | 62e7b883cf959ae918c2c7c5d01e2a23322262a8 | Added support for transitions on state enter for HFSM | This adds the capability for the HFSM to transition while entering any state (just like with the FSM). If a parent state signifies a transition before the child is entered, the transition will take place from the parent without entering the child state.
This also add the ability for a self-transition in the FSM to ... | diff --git a/include/etl/fsm.h b/include/etl/fsm.h
index 66747ec756..f7d54f69bb 100644
--- a/include/etl/fsm.h
+++ b/include/etl/fsm.h
@@ -160,18 +160,6 @@ namespace etl
}
};
- //***************************************************************************
- /// Exception for forbidden state changes.
- //***... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new test file test_hfsm_transition_on_enter.cpp uses std::array but is missing the #include <array> header, which breaks the unit test build.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Invoking receive() during on_ent... | null |
ETLCPP__etl__1202 | ETLCPP/etl | 1,202 | defect | f9cf20d79a7b6bc7d63f3c9626b584b1ff9ab46e | 180dd106560b8b9069ebad00ea51f467384cedf8 | Catch reentrant calls to FSM and HFSM start, receive, etc. | Adding the ability to catch when a reentrant call to a method which can change state has been made. Since transitioning states while another state transition is active could cause state corruption, infinite loops, or other issues, this new mechanism will fail an assert.
The most common example would be a state tran... | diff --git a/include/etl/fsm.h b/include/etl/fsm.h
index 66747ec756..49b4853c66 100644
--- a/include/etl/fsm.h
+++ b/include/etl/fsm.h
@@ -161,25 +161,26 @@ namespace etl
};
//***************************************************************************
- /// Exception for forbidden state changes.
+ /// Excepti... | 5 | 3 | 1 | [{"id": "G0", "claim": "The new test file uses std::unique_ptr without including <memory>, so the build fails with an incomplete type error.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The error text of fsm_reentrant_transition_forbidden contains... | null |
ETLCPP__etl__1222 | ETLCPP/etl | 1,222 | defect | b6e78b7c9cd8628da954eb5873990fd2468481a0 | 53946005cd828cc245bb057891173493f2f45f73 | Basic string checks | Add `ETL_ASSERT_CHECK_INDEX_OPERATOR` to index operations. Some tests needed to be updated to not trigger the assertion.
Add `ETL_ASSERT_CHECK_EXTRA` to various `front()`, `back()`, `insert()` and `erase()` overloads. Add tests for the various assertions. | diff --git a/include/etl/basic_string.h b/include/etl/basic_string.h
index 462faec17c..d5b96fc664 100644
--- a/include/etl/basic_string.h
+++ b/include/etl/basic_string.h
@@ -560,6 +560,7 @@ namespace etl
//*********************************************************************
reference operator [](size_type i... | 6 | 1 | 0 | [{"id": "G0", "claim": "In insert(position, first, last), distance(first, last) is cast directly to size_type, which wraps to a huge value when last < first; add an explicit non-negative check before the cast and fail with string_iterator when the range is reversed.", "category": "correctness", "verdict": "supported", ... | null |
ETLCPP__etl__1231 | ETLCPP/etl | 1,231 | defect | 81a643b9b53c20ee8626f27e06aa24a0ec434cae | e347a74622cc642eb205a211ad07b33a9549a1ba | Bugfix: Issue 1212 span constructor | Potential fix for #1212
The problem was caused by the fallback constructor similar to previous issue #1050 . I disabled the fallback constructor for both `std::array` and `etl::array`, and added constructors that require matching sizes.
In order to do this I added traits `is_std_array` and `is_etl_array`. Fo... | diff --git a/include/etl/span.h b/include/etl/span.h
index 1e8d5be262..3c05de9d09 100644
--- a/include/etl/span.h
+++ b/include/etl/span.h
@@ -55,6 +55,20 @@ SOFTWARE.
namespace etl
{
+ template <typename T> struct is_std_array : etl::false_type {};
+#if ETL_USING_STL && ETL_USING_CPP11
+ template <typename T, si... | 2 | 1 | 0 | [{"id": "G0", "claim": "On C++03 builds the pre-C++11 fixed-extent container constructors still do not exclude etl::array, so etl::span<T, Extent> can still be constructed from etl::array<T, Size> with Size != Extent via the generic container path; the reviewer asks to mirror the is_etl_array exclusion (and dedicated e... | null |
ETLCPP__etl__1232 | ETLCPP/etl | 1,232 | defect | 743ed78223c77ea7e3353d8476f386488f5e5743 | ba84d7cb1e26298fc701f4c4762e5ea46db0fe3a | Exception std based option | When a project already handles std::exceptions, it's much easier to adopt ETL if the exceptions thrown by the library are derived from std::exception. Etl::exception's interface is already very similar to std::exception's, so this change isn't too intrusive.
Clang-tidy also has a check that recommends throwing instanc... | diff --git a/include/etl/exception.h b/include/etl/exception.h
index 49e6adcaf6..a37462f031 100644
--- a/include/etl/exception.h
+++ b/include/etl/exception.h
@@ -33,6 +33,14 @@ SOFTWARE.
#include "platform.h"
+#if ETL_HAS_EXCEPTION_STD_BASE
+#include <exception>
+
+ #define ETL_EXCEPTION_CONSTEXPR
+#else
+ #def... | 2 | 2 | 0 | [{"id": "G0", "claim": "The macros should be renamed to match the common ETL macro style: test `defined(ETL_USE_STD_EXCEPTION)`, and define `ETL_USING_STD_EXCEPTION` as 1/0 instead of the ETL_EXCEPTION_STD_BASE/ETL_HAS_EXCEPTION_STD_BASE naming.", "category": "design", "verdict": "supported", "priority": "P2", "scope":... | null |
ETLCPP__etl__1235 | ETLCPP/etl | 1,235 | defect | 558c04b0a0d6714a319e99f50d89048e5686c9d2 | 8f67931440706025d8d866a45fac32295aa39d58 | Bugfixes for compile errors in optimized tests | When running the ETL tests with optimization enabled, the build breaks. E.g. cd test && ./run-tests.sh 23 3 10
This PR includes a collection of fixes in individual commits:
* Fix optimized tests by suppressing warning from STL
* Fix uninitialized buffer in hash for month_weekday
* Fix overlapping memcpy with me... | diff --git a/include/etl/basic_string.h b/include/etl/basic_string.h
index 9a39b078a3..cb5cffb9f2 100644
--- a/include/etl/basic_string.h
+++ b/include/etl/basic_string.h
@@ -2601,7 +2601,7 @@ namespace etl
etl::mem_copy(s, insert_length, &p_buffer[remove_index]);
// Move tail left.
- etl::me... | 4 | 3 | 2 | [{"id": "G0", "claim": "In the six base64 decoder tests the non-exception (#else) branch of test_decode_overflow is missing a closing parenthesis on the CHECK_FALSE call, which breaks compilation when ETL_USING_EXCEPTIONS is disabled.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "pre_... | null |
ETLCPP__etl__1238 | ETLCPP/etl | 1,238 | defect | 558c04b0a0d6714a319e99f50d89048e5686c9d2 | 85c202040287bf06293ea5f74934a75eb788861c | Various cleanup | This is separated-out from https://github.com/ETLCPP/etl/pull/1235 to keep cleanup / typo fixes separate from bugfixes in build and tests.
Individual commits:
* Fix typo for remainder in rounded_integral_division.h
* Use etl::make_unsigned instead of std::make_unsigned
* Fix divide_round_half_down and divide_roun... | diff --git a/include/etl/rounded_integral_division.h b/include/etl/rounded_integral_division.h
index 417b31432d..97603233a6 100644
--- a/include/etl/rounded_integral_division.h
+++ b/include/etl/rounded_integral_division.h
@@ -519,16 +519,16 @@ namespace etl
T>::type
divide_round_half_do... | 3 | 2 | 0 | [{"id": "G0", "claim": "Avoid UB: etl::absolute() can overflow for signed min (e.g. INT_MIN) in the divide_round_half_down path; prefer etl::absolute_unsigned() and compare in an unsigned type.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "In div... | null |
ETLCPP__etl__1256 | ETLCPP/etl | 1,256 | defect | 558c04b0a0d6714a319e99f50d89048e5686c9d2 | f3c21760868692b7cecac8cccd558277ecb1e1bb | ivector swap | Here is proposed implementation of ivector swap discussed in #1250
This does per element swap and resizing of two ivectors. The capacities are permitted to be different and there is a check at the beginning to check that both ivectors have enough capacity to perform the swap.
cppreference links:
https://en.cpp... | diff --git a/include/etl/private/ivectorpointer.h b/include/etl/private/ivectorpointer.h
index 52f938fe3f..f1211ff4bf 100644
--- a/include/etl/private/ivectorpointer.h
+++ b/include/etl/private/ivectorpointer.h
@@ -467,6 +467,43 @@ namespace etl
return iterator(base_t::erase(base_t::const_iterator(first), base_t... | 4 | 3 | 0 | [{"id": "G0", "claim": "The pointer-specific free swap overloads for ivector<T*> and ivector<const T*> in ivectorpointer.h appear redundant with the generic swap overload in vector.h and should be removed unless there is a reason to keep them.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "... | null |
ETLCPP__etl__1257 | ETLCPP/etl | 1,257 | defect | 558c04b0a0d6714a319e99f50d89048e5686c9d2 | 1bb80dc59e2bdd11a9b8dc9624cb813ab6b905ef | Fix year_month arithmetic and correct chrono API behavior | Additional tests are added to cover year_month arithmetic after defects were
identified. These tests reveal incorrect behavior in the existing chrono
implementation.
The public chrono API is corrected accordingly to better match the behavior of
the C++ standard chrono library as documented on cppreference.com.
... | diff --git a/include/etl/private/chrono/day.h b/include/etl/private/chrono/day.h
index fa5bb712ca..aadd17caef 100644
--- a/include/etl/private/chrono/day.h
+++ b/include/etl/private/chrono/day.h
@@ -48,8 +48,7 @@ namespace etl
//***********************************************************************
/// D... | 11 | 3 | 1 | [{"id": "G0", "claim": "The PR's rewritten chrono default constructors (day, month, year, weekday_indexed, year_month_weekday) leave their members uninitialized, so reading a member before assignment would be undefined behaviour; the members should be initialised (e.g. to 0) so that default-constructed values are well ... | null |
ETLCPP__etl__1264 | ETLCPP/etl | 1,264 | defect | e9c2577d8e98ca9dd3a9c211cd2bb9395890978e | 3cf1142b3599bb19f534ccd0c144ec0242f90f61 | Add template deduction guide for span from vector | Just a small quality of life feature. Add template deduction guide for span from vector.
Tests cover vector / vector_ext / vector_pointer | diff --git a/include/etl/span.h b/include/etl/span.h
index c6f187990f..8f57148faf 100644
--- a/include/etl/span.h
+++ b/include/etl/span.h
@@ -1258,6 +1258,18 @@ namespace etl
span(const etl::array<T, Size>&)
-> span<const T, Size>;
+ // Forward declaration of etl::ivector
+ template <typename T>
+ class i... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pointer-typed vector_ext instances in test_span_dynamic_extent.cpp (lines 843-846) should be constructed with an initialisation value (nullptr) via the 4-argument constructor, for consistency with the int-typed vectors, otherwise their elements are left uninitialised.", "category": "correctn... | null |
ETLCPP__etl__1265 | ETLCPP/etl | 1,265 | defect | b82bf3b79d06d1b211d7fb0775eda4f86466ed1a | 1092ecb837271f8ea90ba981f11448182f2c1fdd | Fix etl::tuple template signature error in pair assignment operator | This fix is intended to resolve issue https://github.com/ETLCPP/etl/issues/1263 but is lacking additional test cases as I could not figure out how to reproduce the compilation error using ETL's build system or test suite.
When using TI's CL430 compiler, I can trivially reproduce this bug using test cases from the ex... | diff --git a/README.md b/README.md
index a4c26bdc75..c199268ce0 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,4 @@
-Embedded Template Library (ETL)
--------------------------
+#  Embedded Template Library (ETL)
![GitHub release (late... | 5 | 1 | 0 | [{"id": "G0", "claim": "An assignment from a pair that should call operator=() is instead calling one of the constructors, as observed in the unit tests on the maintainer's machine.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The README title i... | null |
ETLCPP__etl__1285 | ETLCPP/etl | 1,285 | defect | 558c04b0a0d6714a319e99f50d89048e5686c9d2 | 737c8ef99a5711abb3e75c0f0067ebb384e27847 | #1258 Manchester coding | As discussed in #1258, here is the code that adds Manchester coding and decoding to the ETL.
@jwellbelove I think this PR needs some documentation. I'd be happy to write it, but I'm not sure where and how. I added basic Doxygen documentation to the source code, but a more detailed explanation of the algorithm would ... | diff --git a/include/etl/manchester.h b/include/etl/manchester.h
new file mode 100644
index 0000000000..5a1d421b28
--- /dev/null
+++ b/include/etl/manchester.h
@@ -0,0 +1,503 @@
+#ifndef ETL_MANCHESTER_INCLUDED
+#define ETL_MANCHESTER_INCLUDED
+
+///\file
+
+/************************************************************... | 10 | 10 | 4 | [{"id": "G0", "claim": "The non-uint_least8_t span overloads copy with memcpy (host endianness) while the byte-wise overloads pack little-endian, so results may diverge across chunk sizes on big-endian targets; please address this portability gap.", "category": "correctness", "verdict": "supported", "priority": "P1", "... | null |
ETLCPP__etl__1292 | ETLCPP/etl | 1,292 | defect | e9c2577d8e98ca9dd3a9c211cd2bb9395890978e | 8627715e6edc4ba2ceadf1aa75b6678f0828accf | Add ref-qualifiers to basic_format_spec | This is to take advantage of ref-qualifiers in C++11 and above.
- Added `ETL_NOEXCEPT` to the methods.
- Added `ETL_RVALUE_REF_QUALIFIER` | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 693910fe1a..6231d08495 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,13 +1,16 @@
# How to contribute
-If your are considering creating a pull request, please observe the following:
+Thanks for considering a contribution! Here’s what you need to know bef... | 1 | 1 | 1 | [{"id": "G0", "claim": "The rvalue-qualified binary(), octal(), decimal() and hex() overloads return the result of the lvalue-qualified base(n), which cannot bind to the declared basic_format_spec&& return type and fails to compile; each should set the member directly and return etl::move(*this).", "category": "correct... | null |
ETLCPP__etl__1295 | ETLCPP/etl | 1,295 | defect | e9c2577d8e98ca9dd3a9c211cd2bb9395890978e | 5e209a18a7f8a3f23a7ccb75a4cca24b977eecc0 | delegate: allow constructing from non-capturing lambdas | I have been using ETL 20.36 for a while now, but I decided to update. With 20.45.0 I'm not able to create an `etl::delegate` with an rvalue non-capturing lambda, which I had no trouble with before. When this patch is applied, I can keep using the new ETL version without code changes on my side.
I'm modifying a unit ... | diff --git a/include/etl/private/delegate_cpp11.h b/include/etl/private/delegate_cpp11.h
index 288c3a540c..2dc6abf883 100644
--- a/include/etl/private/delegate_cpp11.h
+++ b/include/etl/private/delegate_cpp11.h
@@ -155,8 +155,10 @@ namespace etl
//*****************************************************************... | 4 | 2 | 2 | [{"id": "G0", "claim": "Excluding non-capturing lambdas from the deleted rvalue constructor lets a temporary lambda bind to the const TLambda& constructor, which stores the address of the destroyed temporary and leaves the delegate with a dangling pointer (undefined behaviour on invocation); a constructor that converts... | null |
ETLCPP__etl__1304 | ETLCPP/etl | 1,304 | defect | c600605734360f851347e0caa61c81c078886ad9 | dbb10f448bfb48dabdc6dc3847407f5375a81828 | Fix etl::variant get() for ambiguous types | When a type occured multiple times in a variant, the comparison operator asserted before.
Consider the following use case:
```
#define ETL_THROW_EXCEPTIONS
#define ETL_VERBOSE_ERRORS
#define ETL_DEBUG_THROW_EXCEPTIONS
#include <etl/variant.h>
int main()
{
etl::variant<int, int> t1;
etl::varian... | diff --git a/include/etl/private/variant_variadic.h b/include/etl/private/variant_variadic.h
index 8ec3f195cb..409c3ab47e 100644
--- a/include/etl/private/variant_variadic.h
+++ b/include/etl/private/variant_variadic.h
@@ -1273,6 +1273,8 @@ namespace etl
static_assert(Index < sizeof...(TTypes), "Index out of range... | 7 | 5 | 2 | [{"id": "G0", "claim": "holds_alternative<T> and get_if<T> still use type_list_index_of_type (first-found index), so for a variant<int, int> with the second alternative active they return false/nullptr while the corrected get<T> succeeds; update them to use is_same_type_in for consistency or explicitly document the div... | null |
ETLCPP__etl__1307 | ETLCPP/etl | 1,307 | defect | 992348b4bb2d0de2bdc5fa3d35ee83625caff69a | 58b5bf51902df940587df976ded671e25f5d582e | Add more features to etl::type_list | Added various features to `etl::type_list`
Some features support implementation of issue #1289
List of changes:
- Replaced `static_assert` test using `etl::is_base_of` with `etl::is_type_list`
- `type_list_select_from_index_sequence`
Declares a new `type_list` by selecting types from a given `type_list`, ac... | diff --git a/include/etl/type_list.h b/include/etl/type_list.h
index 19eddc1538..376c79b707 100644
--- a/include/etl/type_list.h
+++ b/include/etl/type_list.h
@@ -48,11 +48,14 @@ namespace etl
static ETL_CONSTANT size_t type_list_npos = etl::integral_limits<size_t>::max;
//**************************************... | 13 | 12 | 4 | [{"id": "G0", "claim": "There are no tests for type_list_is_unique with non-empty lists, so the false result for lists containing duplicates is unverified; tests should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The struct is named type_li... | null |
ETLCPP__etl__1317 | ETLCPP/etl | 1,317 | defect | 70e4850a0b17e1d50f60a87cf1545e4d419c0036 | 398ef49124e8be82b7ac696908e374e0c147ff74 | Hotfix/etl multiset iterator invalidation during erase leads to incorrect sorted order in depth first traversal | Fixes issue #1298
Also fixed the same issue in multimap.
Added `std::is_sorted` checks to the set/multiset/map/multimap unit tests. | diff --git a/include/etl/multimap.h b/include/etl/multimap.h
index f585e45d22..b19989e08a 100644
--- a/include/etl/multimap.h
+++ b/include/etl/multimap.h
@@ -761,7 +761,7 @@ namespace etl
friend class imultimap;
friend class const_iterator;
- iterator()
+ iterator()
: p_multimap(ETL... | 4 | 4 | 3 | [{"id": "G0", "claim": "The sortedness assertion on otherData should use otherData.value_comp() instead of data.value_comp() to keep the check self-contained and robust.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the new issue-1298 regression tes... | null |
ETLCPP__etl__1327 | ETLCPP/etl | 1,327 | defect | 7bac1d02f7b4fe31592842ae824d6c1c6b0b16af | 44ae6180cf54889b3bcb994f38d123d6cc33c81f | Fix etl::rotate | Per the C++ standard, std::rotate returns first + (last - middle):
* When first == middle, return last
* When middle == last, return first | diff --git a/include/etl/algorithm.h b/include/etl/algorithm.h
index 74fbb8ed13..8ee795a8ab 100644
--- a/include/etl/algorithm.h
+++ b/include/etl/algorithm.h
@@ -1193,7 +1193,12 @@ namespace etl
typename etl::enable_if<etl::is_random_access_iterator<TIterator>::value, TIterator>::type
rotate_general(TItera... | 1 | 1 | 0 | [{"id": "G0", "claim": "Lines 1251-1252 of test/test_algorithm.cpp only assert return values for pointer/random-access iterators, so equivalent return-value assertions should be added for the non-random iterator paths this PR also changes, using the file's existing non-random iterator test adapters.", "category": "test... | null |
ETLCPP__etl__1329 | ETLCPP/etl | 1,329 | defect | 7bac1d02f7b4fe31592842ae824d6c1c6b0b16af | 677273624b50388ef6e537696bfff1cbfb3474b3 | Add ETL_FORMAT_NO_FLOATING_POINT control macro for etl::format | This pull request adds conditional compilation support to exclude floating-point formatting functionality from the `etl::format` module when the `ETL_FORMAT_NO_FLOATING_POINT` macro is defined. This allows the codebase to be built without floating-point dependencies, which is useful for embedded or resource-constrained... | diff --git a/include/etl/format.h b/include/etl/format.h
index 3268f43bbc..98e8e75b3a 100644
--- a/include/etl/format.h
+++ b/include/etl/format.h
@@ -48,7 +48,9 @@ SOFTWARE.
#include "variant.h"
#include "visitor.h"
+#if !defined(ETL_FORMAT_NO_FLOATING_POINT)
#include <cmath>
+#endif
#if ETL_USING_CPP11
@@ -... | 2 | 1 | 0 | [{"id": "G0", "claim": "Including <cmath> in format.h introduces a dependency on the C++ standard header that may reduce portability for non-STL / freestanding builds; the reviewer asks to remove it in favour of <math.h>/etl::math or at least make the include conditional on ETL_USING_STL.", "category": "portability", "... | null |
ETLCPP__etl__1337 | ETLCPP/etl | 1,337 | defect | 521df8ee19bf0b84b82086c2441c1c2f0c463380 | 96fd3ee75fd3607ccfc056768564f6db15ae4da5 | Enforce o(log n) dispatch for messages when using fsm for c++11 and up | Added message decode similar to #1312
Optimised `etl::fsm::receive()` and `etl::fsm::accepts()`
Optimised `etl::message_router::accepts()`, based on fsm code. | diff --git a/include/etl/fsm.h b/include/etl/fsm.h
index 36130a476f..2f74717264 100644
--- a/include/etl/fsm.h
+++ b/include/etl/fsm.h
@@ -62,6 +62,7 @@ SOFTWARE.
#include "largest.h"
#if ETL_USING_CPP11
#include "tuple.h"
+ #include "type_list.h"
#endif
#include <stdint.h>
@@ -83,14 +84,14 @@ namespace etl
... | 1 | 1 | 1 | [{"id": "G0", "claim": "In both include/etl/fsm.h and the generated include/etl/generators/fsm_generator.h, dispatch() is declared to return etl::message_id_t but forwards the result of a handler that returns etl::fsm_state_id_t, a type mismatch that can trigger narrowing/conversion warnings and is inconsistent with th... | null |
ETLCPP__etl__1338 | ETLCPP/etl | 1,338 | defect | 521df8ee19bf0b84b82086c2441c1c2f0c463380 | 779c9f297ece3a584dac84528d7b0742af85efc0 | span is constructible from temporary | These changes are to attempt to fix issue #1293
`etl::span` has been modified to more closely match the API of `std::span`
Added a C++03 compatible version of `etl::is_convertible` | diff --git a/include/etl/array.h b/include/etl/array.h
index 1f2f5044fe..da4fcd0449 100644
--- a/include/etl/array.h
+++ b/include/etl/array.h
@@ -1105,7 +1105,7 @@ namespace etl
#if ETL_USING_CPP17
template <typename... T>
array(T...) -> array<typename etl::common_type<T...>::type, sizeof...(T)>;
-#endif
+#en... | 8 | 6 | 4 | [{"id": "G0", "claim": "has_size_and_data detects size()/data() via ETL_OR_STD17 free functions while the span constructors call a.size()/a.data() members directly, so the enable_if can succeed for types that only have free size/data (e.g. std::initializer_list), producing hard compile errors in the constructor body in... | null |
ETLCPP__etl__1348 | ETLCPP/etl | 1,348 | defect | 7bac1d02f7b4fe31592842ae824d6c1c6b0b16af | 490eabb8448e531dad7299b9efbfac1ed59196c2 | Add permutation functions | This pull request adds support for permutation generation algorithms.
**Algorithm improvements and new features:**
* Improved the `etl::is_permutation` implementation to use `count_if` with binary predicates, ensuring correct behavior when custom predicates are provided, and added explicit checks for range length... | diff --git a/.github/workflows/clang-c++11.yml b/.github/workflows/clang-c++11.yml
index 1d6976eb79..d511f5b7e8 100644
--- a/.github/workflows/clang-c++11.yml
+++ b/.github/workflows/clang-c++11.yml
@@ -28,7 +28,7 @@ jobs:
make -j $(getconf _NPROCESSORS_ONLN)
- name: Run tests
- run: ./test/etl_tes... | 6 | 3 | 0 | [{"id": "G0", "claim": "The default-comparator next_permutation and prev_permutation overloads could be implemented by calling the predicate versions with etl::less<typename etl::iterator_traits<TIterator>::value_type> instead of duplicating the algorithm.", "category": "maintainability", "verdict": "supported", "prior... | null |
ETLCPP__etl__1349 | ETLCPP/etl | 1,349 | defect | 7bac1d02f7b4fe31592842ae824d6c1c6b0b16af | df0e2e1c05b56862f93fdf4383cd2c78c9b10df1 | Mark uninitialized use from std library | Similar to other cases, adds compiler pragmas against warnings caused by std library in optimized builds of tests
To reproduce the original issue:
$ cd test
$ ./run-tests.sh 20 2 16 | diff --git a/.github/workflows/clang-c++11.yml b/.github/workflows/clang-c++11.yml
index 1d6976eb79..d511f5b7e8 100644
--- a/.github/workflows/clang-c++11.yml
+++ b/.github/workflows/clang-c++11.yml
@@ -28,7 +28,7 @@ jobs:
make -j $(getconf _NPROCESSORS_ONLN)
- name: Run tests
- run: ./test/etl_tes... | 1 | 1 | 1 | [{"id": "G0", "claim": "Editing the auto-generated include/etl/message_packet.h directly (adding the diagnostic includes at lines 366 and 382) will make regeneration drop those includes and fail the CI generator check, so the change should be applied in the generator source and the header re-generated.", "category": "m... | null |
ETLCPP__etl__1353 | ETLCPP/etl | 1,353 | defect | 29ad4b327e8a3981dac9b6787fb7273651c841ff | 396a3def5c06f14a7963e3cb74c04ad2393c127a | Manchester big endian support | * Support Manchester for both little-endian and big-endian platforms
* Added c390x devcontainer to allow development in a GitHub Codespace on a big-endian platform (using QEMU)
* This pull request introduces a s390x Big-Endian development container environment with cross-compilation setup including Dockerfile, build ... | diff --git a/.devcontainer/s390x/Dockerfile b/.devcontainer/s390x/Dockerfile
new file mode 100644
index 0000000000..a4d643c5fc
--- /dev/null
+++ b/.devcontainer/s390x/Dockerfile
@@ -0,0 +1,40 @@
+# s390x Big-Endian Test Environment for ETL
+# Uses QEMU user-mode emulation to run s390x binaries on x64 host
+FROM debian:... | 7 | 4 | 1 | [{"id": "G0", "claim": "The hard-coded toolchain path /workspaces/etl/.devcontainer/s390x/toolchain-s390x.cmake in devcontainer.json causes CMake to fail finding the toolchain when the workspace folder name differs, and should use ${workspaceFolder} instead.", "category": "correctness", "verdict": "supported", "priorit... | null |
ETLCPP__etl__1359 | ETLCPP/etl | 1,359 | defect | 7bac1d02f7b4fe31592842ae824d6c1c6b0b16af | 6d9daf146988f15e2fc38ff27771ea5626fe1148 | Restrict etl::atomic for general types | std::atomic<T> restricts T for general types to several properties:
* std::is_trivially_copyable<T>::value
* std::is_copy_constructible<T>::value
* std::is_move_constructible<T>::value
* std::is_copy_assignable<T>::value
* std::is_move_assignable<T>::value
* std::is_same<T, typename std::remove_cv<T>::type>::va... | diff --git a/.github/workflows/clang-c++11.yml b/.github/workflows/clang-c++11.yml
index 1d6976eb79..d511f5b7e8 100644
--- a/.github/workflows/clang-c++11.yml
+++ b/.github/workflows/clang-c++11.yml
@@ -28,7 +28,7 @@ jobs:
make -j $(getconf _NPROCESSORS_ONLN)
- name: Run tests
- run: ./test/etl_tes... | 2 | 1 | 1 | [{"id": "G0", "claim": "The volatile-qualified member overloads of the mutex-backed atomic<T, false> access the non-volatile `mutable T value` in a volatile context, which could cause instantiation failures for a trivially copyable class type with a custom copy assignment operator, so a non-scalar trivially copyable st... | null |
ETLCPP__etl__1361 | ETLCPP/etl | 1,361 | defect | 7bac1d02f7b4fe31592842ae824d6c1c6b0b16af | edde8ca552ab4e4a5d051bc62f02714bbd365a3c | Fix ETL_HAS_CONSTEXPR_ENDIANESS in unaligned_type.h | This fixes https://github.com/ETLCPP/etl/issues/1355 | diff --git a/.github/workflows/clang-c++11.yml b/.github/workflows/clang-c++11.yml
index 1d6976eb79..d511f5b7e8 100644
--- a/.github/workflows/clang-c++11.yml
+++ b/.github/workflows/clang-c++11.yml
@@ -28,7 +28,7 @@ jobs:
make -j $(getconf _NPROCESSORS_ONLN)
- name: Run tests
- run: ./test/etl_tes... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `if ETL_IF_CONSTEXPR` statement at unaligned_type.h line 422 has extra leading whitespace compared to the surrounding code and the equivalent construct at line 349; it doesn't affect functionality but could be tidied for consistency.", "category": "maintainability", "verdict": "supported", "... | null |
ETLCPP__etl__1374 | ETLCPP/etl | 1,374 | defect | a1ad13364e9e48717beb766cb77f8c946b00c385 | a88002b880b3691d694647b6567a20594502d8b7 | Fix initializer_list use in algorithm.h and definition of data() in iterator.h | * algorithm.h: use of initializer_list needs to be conditional
* iterator.h: data() needs to be defined before use. | diff --git a/include/etl/algorithm.h b/include/etl/algorithm.h
index 0a4348a2ed..ab210f2ee3 100644
--- a/include/etl/algorithm.h
+++ b/include/etl/algorithm.h
@@ -43,6 +43,7 @@ SOFTWARE.
#include "exception.h"
#include "functional.h"
#include "gcd.h"
+#include "initializer_list.h"
#include "invoke.h"
#include "ite... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test cases for the initializer_list overloads of ranges::min, ranges::max and ranges::minmax in test/test_algorithm.cpp are not wrapped in ETL_HAS_INITIALIZER_LIST guards, causing configuration-specific compile failures when ETL_HAS_INITIALIZER_LIST == 0.", "category": "correctness", "verdic... | null |
ETLCPP__etl__1381 | ETLCPP/etl | 1,381 | defect | 1a6762d6c38dc12bf6c84884e0ccb650706e5c1f | df809faea0b8301d7c91af40b0b600cd15d136c2 | Add missing syntax checks | Now, instead of throwing #error on CPP03, conditionally compile all headers. This enables us to just include the headers and check them for syntax issues.
ETL_IN_UNIT_TEST is not defined in run-syntax-checks.sh anymore. This leads to a more realistic scenario, still checking all headers. This already uncovered bugs ... | diff --git a/include/etl/chrono.h b/include/etl/chrono.h
index facde8a4a0..b452ca4ea9 100644
--- a/include/etl/chrono.h
+++ b/include/etl/chrono.h
@@ -35,10 +35,6 @@ SOFTWARE.
#include "platform.h"
-#if ETL_NOT_USING_CPP11 && !defined(ETL_IN_UNIT_TEST)
- #error NOT SUPPORTED FOR C++03 OR BELOW
-#endif
-
#if ETL_... | 3 | 2 | 0 | [{"id": "G0", "claim": "The re-indentation left comment blocks and their preprocessor directives at mismatched indentation levels in include/etl/const_set.h, const_multiset.h, const_multimap.h, const_map.h and manchester.h; consider aligning them for consistency with the rest of the file.", "category": "maintainability... | null |
ETLCPP__etl__1383 | ETLCPP/etl | 1,383 | defect | 1a6762d6c38dc12bf6c84884e0ccb650706e5c1f | b4f21a9c69703ac330706dc8754ab664db75402b | Make etl::variant and etl::vector methods noexcept | Fixes https://github.com/ETLCPP/etl/issues/1133 and https://github.com/ETLCPP/etl/issues/1134 | diff --git a/include/etl/private/variant_variadic.h b/include/etl/private/variant_variadic.h
index 5598f896db..1748b64c87 100644
--- a/include/etl/private/variant_variadic.h
+++ b/include/etl/private/variant_variadic.h
@@ -486,7 +486,7 @@ namespace etl
/// alternative (index() is zero).
//********************... | 2 | 1 | 0 | [{"id": "G2", "claim": "etl::optional has the same deficiencies as the variant code under review, namely missing (including conditional) noexcept specifications on its constructors such as constructor #4 and on move assignment, per cppreference.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc... | null |
ETLCPP__etl__1393 | ETLCPP/etl | 1,393 | defect | 8dc0301a6747945c263c5c5cfa678eee9f4c5edc | f60ce2cbf514955e1b19e9c397adb47fd397112f | Add the ability to specify the callback type to etl closure | Implements #1273, but as a template parameter rather than a new template class.
Added a template parameter to `etl::closure` to allow the callback type to be specified.
The default callback type is `etl::delegate`.
Added unit tests for using `etl::inplace_function`.
The callback type must be copyable and have an ... | diff --git a/include/etl/closure.h b/include/etl/closure.h
index 54b0fb360b..1409d31fc5 100644
--- a/include/etl/closure.h
+++ b/include/etl/closure.h
@@ -39,47 +39,51 @@ SOFTWARE.
namespace etl
{
-#if ETL_USING_CPP11 && !defined(ETL_CLOSURE_FORCE_CPP03_IMPLEMENTATION)
//*****************************************... | 4 | 1 | 0 | [{"id": "G0", "claim": "The new C++11-only test sources (test_closure_with_inplace_function.cpp) are added to the build unconditionally, which would fail when ETL_CXX_STANDARD is 98/03; guard the file with ETL_USING_CPP11 or add it conditionally in CMake.", "category": "testing", "verdict": "opposed", "priority": "P1",... | null |
ETLCPP__etl__356 | ETLCPP/etl | 356 | defect | f6247239b903bd941032303a6e0607950f7761ad | 1bbb0ccf60c2223c42c2ff5658d60f824e6149f8 | Add moveable parameter support to delegate | Currently, it is not possible to forward parameters that can't be copied but only moved as parameter to a delegate call.
Therefore, I suggest to use std::forward to enable this feature. #357 | diff --git a/include/etl/delegate.h b/include/etl/delegate.h
index f9ee77143d..ca35a634eb 100644
--- a/include/etl/delegate.h
+++ b/include/etl/delegate.h
@@ -198,7 +198,7 @@ namespace etl
{
ETL_ASSERT(is_valid(), ETL_ERROR(delegate_uninitialised));
- return (*invocation.stub)(invocation.object, args... | 1 | 1 | 1 | [{"id": "G0", "claim": "Change `std::forward` to `etl::forward` in include/etl/delegate.h for compatibility with the No STL option.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ETLCPP__etl__648 | ETLCPP/etl | 648 | defect | d8cc108c5921d662df11e94011336f65ba1a48c9 | 682606febaf1a00984cf74899b24bc99a0ea8d7c | Feature/#646 improve type traits | add #646 requirements
I'll elaborate on the importance of this addition. this causes `variant` of classes/structs to have a move ctor that doesn't do anything and thus causes `result` to have a move ctor that does nothing but can change type from result to error.
These are two undefined behaviors I've found more... | diff --git a/include/etl/type_traits.h b/include/etl/type_traits.h
index 3ef8d97936..11f46fa4a6 100644
--- a/include/etl/type_traits.h
+++ b/include/etl/type_traits.h
@@ -702,7 +702,7 @@ namespace etl
//***************************************************************************
/// is_enum
///\ingroup type_tra... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new trait implementations that use C++11-only features must be surrounded with #if ETL_USING_CPP11 conditionals so that the older C++03 implementations remain available when C++11 is not supported.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"},... | null |
ETLCPP__etl__689 | ETLCPP/etl | 689 | defect | 402e04872f70947e4df7c6bd05915e490629bced | 91fbd7f63a949249905af0cc5d1efee44bde53d1 | feat(span): Add 'as_bytes' and 'as_writable_bytes' | These functions emulate the std C++20 functions std::as_bytes and std::as_writable_bytes.
I made an attempt to recreate 'as_bytes' and 'as_writable_bytes'. I have not any wider experience with metaprogrmaming, but I think this is correct. | diff --git a/include/etl/span.h b/include/etl/span.h
index 531e68dc7f..813dd962e3 100644
--- a/include/etl/span.h
+++ b/include/etl/span.h
@@ -41,6 +41,7 @@ SOFTWARE.
#include "integral_limits.h"
#include "memory.h"
#include "array.h"
+#include "byte.h"
#include "private/dynamic_extent.h"
@@ -938,6 +939,28 @@ n... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new as_bytes/as_writable_bytes functions should not be limited to C++11; make them C++03-compatible (e.g. replacing constexpr with ETL_CONSTANT and static_assert with ETL_STATIC_ASSERT).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
EVerest__EVerest__1595 | EVerest/EVerest | 1,595 | defect | e724856c635a66bdc63c849e6dcfc058044fe6e3 | d150875ab7729020c53ae67c6cc75f0e3e666c09 | feat: Over-voltage monitor implementation in EVSEManager | ## Describe your changes
Implementation of an internal over-voltage monitor on top of the external one. This is a safety mechanism that reads the measured values received from over-voltage monitor and raises the over voltage faults (in case the external one is not reacting correctly).
There 2 limits that can be set: ... | diff --git a/modules/EVSE/EvseManager/CMakeLists.txt b/modules/EVSE/EvseManager/CMakeLists.txt
index 2e3d7a9353e..d6985745485 100644
--- a/modules/EVSE/EvseManager/CMakeLists.txt
+++ b/modules/EVSE/EvseManager/CMakeLists.txt
@@ -51,6 +51,7 @@ target_compile_features(${MODULE_NAME} PUBLIC cxx_std_17)
target_sources($... | 6 | 5 | 1 | [{"id": "G0", "claim": "The limits_valid_ flag is not needed because limits are never verified for plausibility before being marked valid.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The member last_voltage_ is never used and should be removed.", "categ... | null |
EVerest__EVerest__1651 | EVerest/EVerest | 1,651 | defect | 7f4a269029fbfc900d5bcae1ddecbd49a79cef1e | 9ee2682179b66628746bf6792293517adac84ffa | Integrate libtimer v0.1.3 into lib/everest/timer | ## Describe your changes
Import libtimer v0.1.3
This contains the libtimer source code from its last v0.1.3 release.
This release can be found at https://github.com/EVerest/libtimer/releases/tag/v0.1.3
## Issue ticket number and link
## Checklist before requesting a review
- [x] I have performed a self-review... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9333cefe1df..628b5db44bd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -153,7 +153,6 @@ if(NOT DISABLE_EDM)
# ev-cli and everest-testing
add_subdirectory(applications/utils)
else()
- find_package(everest-timer REQUIRED)
find_package(everest-log... | 2 | 2 | 0 | [{"id": "G0", "claim": "Remove the .ci/build-kit/docker/Dockerfile file marked with TODO in the imported libtimer sources.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added set(LIBTIMER_BUILD_TESTING ON) line should not be required becaus... | null |
EVerest__EVerest__1668 | EVerest/EVerest | 1,668 | defect | b7ae0557b7176727e641d02c914f63f6a8aac7ff | 6ea023e14819941cbe466b27ba9eec79373facbd | libiso15118: Add -2 authorization messages | ## Describe your changes
Added -2 authorization messages C++ classes. For tests I've used messages from our charger's log.
## Issue ticket number and link
## Checklist before requesting a review
- [x] I have performed a self-review of my code
- [ ] I have made corresponding changes to the documentation
- [x... | diff --git a/lib/everest/iso15118/include/iso15118/message/d2/authorization.hpp b/lib/everest/iso15118/include/iso15118/message/d2/authorization.hpp
new file mode 100644
index 0000000000..5103a7f842
--- /dev/null
+++ b/lib/everest/iso15118/include/iso15118/message/d2/authorization.hpp
@@ -0,0 +1,26 @@
+// SPDX-License-... | 6 | 6 | 1 | [{"id": "G0", "claim": "Remove the empty `namespace data_types {}` stub from d2/authorization.hpp because it is not needed there.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rename `GEN_CHALLENGE` to `GenChallenge` and change its element type... | null |
EVerest__EVerest__1687 | EVerest/EVerest | 1,687 | defect | 024f94634dca003a61471916958ab6adf5f31f87 | dbf12c24ef80aba4674669490ea7b1829b4ad22f | refactor(OCPP): Introduce DeviceModelInterface abstraction layer |
## Describe your changes
Extract DeviceModel into an abstract interface to enable dependency inversion and improve testability. Components now depend on DeviceModelInterface rather than the concrete implementation.
Changes:
- Create DeviceModelInterface with pure virtual methods
- Move template helpers and comm... | diff --git a/lib/everest/ocpp/doc/message_dispatching.md b/lib/everest/ocpp/doc/message_dispatching.md
index 3012df97736..b75a27dd0e6 100644
--- a/lib/everest/ocpp/doc/message_dispatching.md
+++ b/lib/everest/ocpp/doc/message_dispatching.md
@@ -17,7 +17,7 @@ class v16_MessageDispatcher {
class v2_MessageDispatcher {... | 4 | 2 | 0 | [{"id": "G0", "claim": "The DeviceModelError(const char*) constructor needlessly constructs an extra std::string; reason(msg) should work fine.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "to_specific_type handles invalid input as a mixture:... | null |
EVerest__EVerest__1713 | EVerest/EVerest | 1,713 | defect | b2edf32d3ebb28497b2d5d080430eff2784d4aa0 | 44afe3c77e97261de6668994479841942033a022 | fix(OCPP): improve message queue retry/timeout handling and connection resilience | ## Describe your changes
**Configurable websocket send timeout:**
The websocket layer had a hardcoded 1-second send timeout. When a transmission exceeded this, the message queue would pause and never resume until a new websocket connection was established. The timeout is now derived from the messageTimeout in the n... | diff --git a/lib/everest/ocpp/include/ocpp/common/message_queue.hpp b/lib/everest/ocpp/include/ocpp/common/message_queue.hpp
index 046ca2a8c3e..6eb5da3f5cc 100644
--- a/lib/everest/ocpp/include/ocpp/common/message_queue.hpp
+++ b/lib/everest/ocpp/include/ocpp/common/message_queue.hpp
@@ -3,6 +3,7 @@
#ifndef OCPP_COMMO... | 6 | 4 | 1 | [{"id": "G0", "claim": "Some libocpp unit tests failed on this pull request, and the reviewer asks whether they were passing locally.", "category": "testing", "verdict": "uncertain", "priority": "P0", "scope": "unclear"}, {"id": "G1", "claim": "The PR should address the pre-existing TODO(kai): implement message timeout... | null |
EVerest__EVerest__1716 | EVerest/EVerest | 1,716 | defect | 97cffb5daf37f286ec78052fb0f418a3a4f6bf07 | 1918d82ba18be8164d38863ec9f905795d8d2bd2 | [OCPP] Fix incorrect composite schedule when duration is zero | ## Describe your changes
Updates to composite schedule to address issues identified in libocpp issue 1169
An incorrect composite schedule was generated when the duration was 0. The fallback vales were used rather than values from the active schedule.
Additional check added to ensure start time is not greater tha... | diff --git a/lib/everest/ocpp/lib/ocpp/v16/profile.cpp b/lib/everest/ocpp/lib/ocpp/v16/profile.cpp
index d26e4d5137..c0c814cfb2 100644
--- a/lib/everest/ocpp/lib/ocpp/v16/profile.cpp
+++ b/lib/everest/ocpp/lib/ocpp/v16/profile.cpp
@@ -425,7 +425,8 @@ IntermediateProfile generate_profile_from_periods(std::vector<period_... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment added above the do-while loop in generate_profile_from_periods misstates the condition, saying the calculation runs at least once especially where current < end when it should say current >= end, and should be corrected (suggested wording: \"run calculation at least once, especially ... | null |
EVerest__EVerest__1739 | EVerest/EVerest | 1,739 | defect | e21ac4aa498239c66c5767b7c9049a7086d5151b | 5e05667fdc1ab196d45abd653f288d94d7cde301 | libiso15118: d2: Service discovery flow messages | ## Describe your changes
This PR introduces following -2 messages:
- ServiceDiscovery (#1720)
- ServiceDetail (#1721)
- PaymentServiceSelection (#1722)
## Issue ticket number and link
#1720, #1721, #1722
## Checklist before requesting a review
- [x] I have performed a self-review of my code
- [ ] I hav... | diff --git a/lib/everest/iso15118/include/iso15118/message/d2/msg_data_types.hpp b/lib/everest/iso15118/include/iso15118/message/d2/msg_data_types.hpp
index 2b16395772..0cbabb2301 100644
--- a/lib/everest/iso15118/include/iso15118/message/d2/msg_data_types.hpp
+++ b/lib/everest/iso15118/include/iso15118/message/d2/msg_... | 7 | 7 | 1 | [{"id": "G0", "claim": "The new d2 service_detail convert() function carries TODO comments - whether an exception should be raised when input exceeds the EXI array bounds, and whether the parameter field handling is too naive - that the author asks the reviewer to look at, connected to #1678.", "category": "design", "v... | null |
EVerest__EVerest__1747 | EVerest/EVerest | 1,747 | defect | 21012bdaed374caee4534a375e15b7fd3f2d3e42 | 5c7ddede96680922c17870279f666811ccb75fda | libiso15118: d2: ChargeParameterDiscovery | ## Describe your changes
Added ChargeParameterDiscovery req/res with tests.
There are still a couple of TODOs in the convert functions regarding the array bounds checking. These will be resolved after we decide on how to handle this in #1678.
Because these messages can get quite complex and are quite different... | diff --git a/lib/everest/iso15118/include/iso15118/message/d2/charge_parameter_discovery.hpp b/lib/everest/iso15118/include/iso15118/message/d2/charge_parameter_discovery.hpp
new file mode 100644
index 00000000000..1cebc4a54c6
--- /dev/null
+++ b/lib/everest/iso15118/include/iso15118/message/d2/charge_parameter_discove... | 3 | 3 | 2 | [{"id": "G0", "claim": "The generated helper file lib/everest/iso15118/src/msg_gen.cpp (with the CMake target that came with it) should not be committed as part of this pull request.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of the ... | null |
EVerest__EVerest__1750 | EVerest/EVerest | 1,750 | defect | 6145f21433b38af8d5b3ba83d52624bf94d65d62 | 976ec5cb44554de17364ddb36ba83b0ea0d40dd0 | libiso15118: d2: PowerDelivery | ## Describe your changes
Added PowerDelivery req/res along with unit tests.
## Issue ticket number and link
#1728
## Checklist before requesting a review
- [x] I have performed a self-review of my code
- [ ] I have made corresponding changes to the documentation
- [x] I read the [contribution documentation... | diff --git a/lib/everest/iso15118/include/iso15118/message/d2/power_delivery.hpp b/lib/everest/iso15118/include/iso15118/message/d2/power_delivery.hpp
new file mode 100644
index 0000000000..0419ac0587
--- /dev/null
+++ b/lib/everest/iso15118/include/iso15118/message/d2/power_delivery.hpp
@@ -0,0 +1,49 @@
+// SPDX-Licen... | 4 | 4 | 2 | [{"id": "G0", "claim": "Use `uint32_t` instead of `unsigned int` for the `start` field of `ProfileEntry`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use `auto& charging_profile = out.charging_profile.emplace();` and the local alias instead o... | null |
EVerest__EVerest__1757 | EVerest/EVerest | 1,757 | defect | 809d89b66eaff5fe0da53ea05d99f0d5b920c40d | 3faa1219965ca37b564f1ca10ee8f8c6d8f55ddb | libiso15118: d2: Add ChargingStatus (#1731) | ## Describe your changes
Added ChargingStatus req/res along with unit tests.
## Issue ticket number and link
#1731
## Checklist before requesting a review
- [x] I have performed a self-review of my code
- [ ] I have made corresponding changes to the documentation
- [x] I read the [contribution documentatio... | diff --git a/lib/everest/iso15118/include/iso15118/message/d2/ac_charging_status.hpp b/lib/everest/iso15118/include/iso15118/message/d2/ac_charging_status.hpp
new file mode 100644
index 0000000000..b6376e8c60
--- /dev/null
+++ b/lib/everest/iso15118/include/iso15118/message/d2/ac_charging_status.hpp
@@ -0,0 +1,25 @@
+/... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use `[[maybe_unused]]` instead of `(void)` casts on the unused parameters of the `convert` template in d2/ac_charging_status.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
EVerest__EVerest__1760 | EVerest/EVerest | 1,760 | defect | f3497abeb62c2042e135becfbb8d22cfd75e1012 | 13d182f90d70d4acbbf915ca7df455c8ec80e8f5 | libiso15118: d2: MeteringReceipt | ## Describe your changes
Added MeteringReceipt req/res along with unit tests.
Also fixed `SigMeterReading` not being `std::string`
## Issue ticket number and link
#1730
## Checklist before requesting a review
- [x] I have performed a self-review of my code
- [ ] I have made corresponding changes to the do... | diff --git a/lib/everest/iso15118/include/iso15118/message/d2/metering_receipt.hpp b/lib/everest/iso15118/include/iso15118/message/d2/metering_receipt.hpp
new file mode 100644
index 0000000000..1d6157288a
--- /dev/null
+++ b/lib/everest/iso15118/include/iso15118/message/d2/metering_receipt.hpp
@@ -0,0 +1,27 @@
+// SPDX... | 3 | 1 | 0 | [{"id": "G0", "claim": "The SigMeterReading conversion should be simplified to the two-argument constructor `data_types::SigMeterReading(in.SigMeterReading.bytes, in.SigMeterReading.bytesLen)` instead of constructing from a begin/end iterator pair.", "category": "maintainability", "verdict": "opposed", "priority": "P3"... | null |
EVerest__EVerest__1782 | EVerest/EVerest | 1,782 | defect | d8b8a69b00de804fcbdbf068b5a51d7c93e6b429 | 251395c692501a5a0cabf1152429ad59ff269494 | [OCPP 1.6] setting JSON configuration to include schema validation | ## Describe your changes
fix: OCPP 1.6 set could accept invalid values that would fail schema validation
Once an invalid value is allowed then EVerest won't start due to invalid configuration. This fix checks that the new value will pass schema validation before allowing the set to be actioned.
## Issue ticket... | diff --git a/lib/everest/ocpp/include/ocpp/v16/charge_point_configuration.hpp b/lib/everest/ocpp/include/ocpp/v16/charge_point_configuration.hpp
index 3596da67bb..0abdb6d006 100644
--- a/lib/everest/ocpp/include/ocpp/v16/charge_point_configuration.hpp
+++ b/lib/everest/ocpp/include/ocpp/v16/charge_point_configuration.h... | 1 | 1 | 1 | [{"id": "G0", "claim": "The schema file loading (schema_path construction, ifstream open and json::parse) should be moved inside the try block so that a missing schema file does not throw an unhandled exception.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
EVerest__EVerest__1899 | EVerest/EVerest | 1,899 | defect | cd96d4d14d90f7dab3a8faec6f69cee512f673d4 | 77d081088c4e215b311d309ee497809979df83db | fix(OCPP16): remove brackets [] from MeterPublicKey format |
## Describe your changes
Change MeterPublicKey[n] to MeterPublicKeyn to match the format used by the OCA Eichrecht Whitepaper
While the format wasn't specifically clear from the requirements of the whitepaper, the example indicates that a format without [n] shall be used.
<img width="1411" height="956" alt="im... | diff --git a/lib/everest/ocpp/lib/ocpp/v16/charge_point_configuration.cpp b/lib/everest/ocpp/lib/ocpp/v16/charge_point_configuration.cpp
index 59f3d62f05..0a4133334f 100644
--- a/lib/everest/ocpp/lib/ocpp/v16/charge_point_configuration.cpp
+++ b/lib/everest/ocpp/lib/ocpp/v16/charge_point_configuration.cpp
@@ -2899,7 +2... | 3 | 3 | 2 | [{"id": "G0", "claim": "In extractConnectorId the new regex should be the simpler ^MeterPublicKey(\\d+)$ instead of ^.*[^\\d](\\d+)$, and the line has an extra semicolon.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The method should be renamed (e... | null |
EVerest__EVerest__1901 | EVerest/EVerest | 1,901 | defect | 3a3462783b60eb4283257770344358bf6b9026f9 | d616489d47406bb7330fc9478078098a23c7c6f9 | Refactor/framework message handler | ## Describe your changes
This refactors the message handler in the EVerest framework to rely on the async utilities form lib/everest/util
It removes the explicit use of mutex and condition_var completely. thread_safe_queue and monitor are used instead.
## Issue ticket number and link
## Checklist before req... | diff --git a/lib/everest/framework/BUILD.bazel b/lib/everest/framework/BUILD.bazel
index 27b6db3c0b8..e36c07c76ea 100644
--- a/lib/everest/framework/BUILD.bazel
+++ b/lib/everest/framework/BUILD.bazel
@@ -50,6 +50,7 @@ cc_library(
"@rapidyaml//:rapidyaml",
"//lib/everest/log:liblog",
"//lib/e... | 6 | 6 | 4 | [{"id": "G0", "claim": "Remove the stray blank line between the copyright header and the first include at the top of lib/everest/framework/lib/message_handler.cpp.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The now stale includes mutex, queue ... | null |
EVerest__EVerest__1931 | EVerest/EVerest | 1,931 | defect | 4155da9724b9ca864c791ff09f78f093af92076a | 5b7c2ab4580992d5962093300cf9fbfae70dc89e | feat: add configuration option for the IT field of LemDCBM400600 | ## Describe your changes
feat(LemDCBM400600): add OCMF Identification Type (IT) configuration
Add a configuration option to set the OCMF Identification Type field
on the LEM DCBM 400/600 device at driver startup via PUT /v1/settings
with the ocmfId/IT payload.
The IT field is an integer (0-17) mapping to ident... | diff --git a/modules/HardwareDrivers/PowerMeters/LemDCBM400600/LemDCBM400600.hpp b/modules/HardwareDrivers/PowerMeters/LemDCBM400600/LemDCBM400600.hpp
index 3dbe65d9e2..4369fd3ce7 100644
--- a/modules/HardwareDrivers/PowerMeters/LemDCBM400600/LemDCBM400600.hpp
+++ b/modules/HardwareDrivers/PowerMeters/LemDCBM400600/Lem... | 4 | 4 | 2 | [{"id": "G0", "claim": "An explanation of why it helps to control the IT config value (because it controls the value of ID) should be added to the manifest description.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "set_identification_type can thr... | null |
EVerest__EVerest__1936 | EVerest/EVerest | 1,936 | defect | f03bac365ab7c39862a120522936ae509f19be85 | d3d5f5fc46fbc4a9fbcaccd5a0bf4c799e7e8250 | feat: Add temperature monitoring with warning/error thresholds to LEM DCBM 400/600 | Summary:
Implements configurable temperature monitoring for the LEM DCBM 400/600 powermeter module, monitoring temperatureH and temperatureL sensors against configurable warning and error thresholds with hysteresis and minimum exceedance duration.
Features:
- Temperature monitoring with independent warning and err... | diff --git a/errors/powermeter.yaml b/errors/powermeter.yaml
deleted file mode 100644
index d387d1fcf06..00000000000
--- a/errors/powermeter.yaml
+++ /dev/null
@@ -1,6 +0,0 @@
-description: >-
- Errors for Powermeter
-errors:
- - name: CommunicationFault
- description: >-
- The communication to the hardware o... | 3 | 1 | 0 | [{"id": "G0", "claim": "The temperature threshold config is documented in degree Celsius while the default of 5000 looks like centi-degrees, so the config should stay in degree Celsius with any conversion to what the meter expects done in software.", "category": "documentation", "verdict": "opposed", "priority": "P2", ... | null |
EVerest__EVerest__1942 | EVerest/EVerest | 1,942 | defect | 42654e86d44d79f2362a8408d10e397390c71f37 | c54e4bbd86ea834b38f26ea0528dcb3024b90f03 | feat(EnergyNode): Enhancement to set per phase A limit when only W is set | We can now configure the energy node to convert the total W power to a current per phase limit. This is only useful for top level energy nodes.
## Describe your changes
## Issue ticket number and link
## Checklist before requesting a review
- [ ] I have performed a self-review of my code
- [ ] I have made co... | diff --git a/modules/EnergyManagement/EnergyNode/CMakeLists.txt b/modules/EnergyManagement/EnergyNode/CMakeLists.txt
index de6d9ab9836..c355746cd50 100644
--- a/modules/EnergyManagement/EnergyNode/CMakeLists.txt
+++ b/modules/EnergyManagement/EnergyNode/CMakeLists.txt
@@ -23,4 +23,9 @@ target_sources(${MODULE_NAME}
... | 5 | 5 | 1 | [{"id": "G0", "claim": "Introduce a configurable nominal voltage parameter defaulting to 230V instead of hardcoding 230V, since the hardcoded value could lead to issues in different regions.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Define the ... | null |
EVerest__EVerest__1972 | EVerest/EVerest | 1,972 | defect | 5e4974891670e1e9eb5149007b69f6c31ff4ccde | 00f440a93bcf5a54a659705f81aabff8eabc1c90 | feat/improve CGEM580 | ## Describe your changes
- Read total energies from 301281+ INT64 registers (Wh) per EM580 Modbus spec
- Build SignedMeterValue from signed-map block and split signedData/signature correctly
- Use device serial number as powermeter meter_id
- Reduce the number of words in the bulk read; minor refactors
- Optimizat... | diff --git a/modules/BringUp/BUPowermeter/BUPowermeter.cpp b/modules/BringUp/BUPowermeter/BUPowermeter.cpp
index 4c4bf1d988..a5adc65251 100644
--- a/modules/BringUp/BUPowermeter/BUPowermeter.cpp
+++ b/modules/BringUp/BUPowermeter/BUPowermeter.cpp
@@ -163,7 +163,7 @@ void BUPowermeter::ready() {
ButtonOption::A... | 3 | 3 | 0 | [{"id": "G0", "claim": "The repeated string concatenation building tariff_text is expensive and could be done more efficiently via std::stringstream (or equivalent reserve-and-append).", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inline OCMF-s... | null |
EVerest__EVerest__1998 | EVerest/EVerest | 1,998 | defect | 32233050543ec90aed95a4a2adf64a2b5ce5a388 | f0bcaa936917bca939bfa62bdedca8ee078780d7 | Add comparison operations to lib util | ## Describe your changes
Adds utils for comparison of floating point and optional floating point values to everest::lib::util
## Issue ticket number and link
## Checklist before requesting a review
- [x] I have performed a self-review of my code
- [x] I have made corresponding changes to the documentation
- [x]... | diff --git a/lib/everest/util/include/everest/util/math/comparison.hpp b/lib/everest/util/include/everest/util/math/comparison.hpp
new file mode 100644
index 0000000000..4ce49d06ea
--- /dev/null
+++ b/lib/everest/util/include/everest/util/math/comparison.hpp
@@ -0,0 +1,177 @@
+// SPDX-License-Identifier: Apache-2.0
+//... | 5 | 5 | 2 | [{"id": "G0", "claim": "Add an include guard (#pragma once) to the new comparison.hpp header.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The doxygen @file tag should name comparison.hpp, not util.hpp.", "category": "documentation", "verdict": "s... | null |
EVerest__EVerest__2019 | EVerest/EVerest | 2,019 | defect | 649fe8023e6cfaa2839610de33a1e24238f77744 | b1d11d2a0aaa1e375398729222000a202d985dfa | refactor(fsmv2): Refactor out fsm v2 from libs in everest util | ## Describe your changes
## Issue ticket number and link
## Checklist before requesting a review
- [ ] I have performed a self-review of my code
- [ ] I have made corresponding changes to the documentation
- [ ] I read the [contribution documentation](https://everest.github.io/nightly/project/contributing.html... | diff --git a/lib/everest/ieee2030_1_1/include/ieee2030/charger/session/session.hpp b/lib/everest/ieee2030_1_1/include/ieee2030/charger/session/session.hpp
index 780f1995ab..5bda34fbf7 100644
--- a/lib/everest/ieee2030_1_1/include/ieee2030/charger/session/session.hpp
+++ b/lib/everest/ieee2030_1_1/include/ieee2030/charg... | 3 | 2 | 1 | [{"id": "G0", "claim": "For ieee2030_1_1 we still need a mechanism to build a local standalone version like libiso has.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Maybe we need another FeedResult() constructor for the scenario where the event is hand... | null |
EVerest__EVerest__2073 | EVerest/EVerest | 2,073 | defect | b1314e156da0462620499078083e650926428883 | 6fa3e685eb12688a83f58610e0b20305f866a7c0 | Fix/ocpp/charging profiles non finite floats | ## Describe your changes
SetChargingProfile messages containing float values that overflow to +infinity (e.g. a max-double) are silently persisted as null by nlohmann::json. On the next startup, deserializing null into a numeric field throws an error, resulting in an EVerest crash.
Adds std::isfinite validation a... | diff --git a/lib/everest/ocpp/include/ocpp/v2/functional_blocks/smart_charging.hpp b/lib/everest/ocpp/include/ocpp/v2/functional_blocks/smart_charging.hpp
index 484138f7a4..1182c7233e 100644
--- a/lib/everest/ocpp/include/ocpp/v2/functional_blocks/smart_charging.hpp
+++ b/lib/everest/ocpp/include/ocpp/v2/functional_blo... | 6 | 6 | 0 | [{"id": "G0", "claim": "In the v16 validate_schedule the new minChargingRate guard could be simplified to `if (!std::isfinite(schedule.minChargingRate.value_or(0.0)))`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The lambda inside has_non_fin... | null |
EVerest__EVerest__2098 | EVerest/EVerest | 2,098 | defect | 1a2ad4184e0a7a05e4549b0c23ffbe4a47853127 | a2851387ccef6c053621f48f9d29b26737fdc7df | fix(framework): add thread pool exception policy and use Rethrow in message handling |
## Describe your changes
Add ExceptionPolicy to thread_pool_scaling with Suppress and Rethrow modes. Initialize the MessageHandler operation thread pool with Rethrow to preserve pre-extension behavior. Keep exception handling decisions in everest.cpp handler wrappers, where forwarding policy is already defined. Th... | diff --git a/lib/everest/framework/lib/message_handler.cpp b/lib/everest/framework/lib/message_handler.cpp
index c7155d6fa9..4f706a011e 100644
--- a/lib/everest/framework/lib/message_handler.cpp
+++ b/lib/everest/framework/lib/message_handler.cpp
@@ -98,18 +98,6 @@ MessageHandler::SharedTypedHandler copy_shared_handler... | 2 | 1 | 1 | [{"id": "G0", "claim": "The exception policy should be a compile-time template parameter (ideally a class-based policy with a `handle_exception` member) instead of a runtime enum constructor parameter, so no runtime checks are needed and users could plug in custom handling such as special logging.", "category": "design... | null |
EasyPost__easypost-node__213 | EasyPost/easypost-node | 213 | defect | a8c70ce58cf28bfc638a00a0e1ac34eb91559ed4 | ff3598665355f423cc42e33c0bbbdba1e6a65909 | Retrieve me | Node library is currently missing the **`retrieve_me`** function. This is the same as retrieving a user without specifying an ID, but some libs have a specific function for this. Unifying this to make our libraries more consistent. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6421e4c88..36a82aac8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@
* Added support for create list of trackers
* Added support for update brand for user
* Removed `retrieveRates()` method because the shipment object already has rates. If you need to get n... | 1 | 1 | 0 | [{"id": "G0", "claim": "The CHANGELOG entry should reference the function correctly for the language, i.e. as `retrieveMe()` rather than `RetrieveMe()`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
EasyPost__easypost-node__286 | EasyPost/easypost-node | 286 | defect | 0c78bac1aa967ca9d16e174af395f09b733eeeaf | 00e8f55b5c3a54d5d371f0d5bbdbae2ff5099352 | chore: looser params for verify and verify_strict | # Description
Allows for looser values to the `verify` and `verify_strict` params when creating an address (can accept strings or bools outside of an array)
<!-- Please provide a general summary of your PR changes and link any related issues or other pull requests. -->
# Testing
- Updates old unit tests to use a boo... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 44aaa86e9..914773889 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
## NEXT RELEASE
- Adds `validateWebhook` function that returns your webhook or raises an error if there is a `webhookSecret` mismatch
+- Allows for looser values to the `verify` and `veri... | 1 | 1 | 0 | [{"id": "G0", "claim": "The reviewer questions whether the proptype change should instead guide users to only using booleans for the verify and verify_strict params, rather than allowing arrays (the old way).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
EasyPost__easypost-node__370 | EasyPost/easypost-node | 370 | defect | d118f4567e3f6f8e98cb5481e75c1a0294753caa | a581eb097cd88059d1f44818f73e26fbc160aeb2 | add retrieve carrier metadata helper function | # Description
Adds a helper function to retrieve carrier metadata
# Testing
add unit tests
# Pull Request Type
Please select the option(s) that are relevant to this PR.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Break... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9bb0cb5a6..59163b6f2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
- Improves Error Deserialization to dynamically handle edge cases that have a bad format
- Adds missing `api_keys` property to `User`
+- Adds a helper function to retrieve carrier metadat... | 1 | 1 | 1 | [{"id": "G0", "claim": "retrieveCarrierMetadata should fall back to an empty list when response.body.carriers is absent, instead of passing undefined to _convertToEasyPostObject.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
EasyPost__easypost-node__422 | EasyPost/easypost-node | 422 | defect | 4f75889a39cb4eb2ab69a96f908dd8924d93d86d | 97446cb0d76feb845dedb29ba4d42b9c66dad104 | Forward params on pagination | # Description
There was an issue where sometimes when fetching the next page, we wouldn't have the original params sent along. So this stores the data used when fetching the next page in a new key on the EasyPostObject, `_params`, that is then added when fetching the next page.
# Testing
I ran the test suite a... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 170c414d6..c12b7886b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# CHANGELOG
+## NEXT
+
+- Fixes a pagination issue by passing along additional params used when fetching first page
+
## v6.8.2 (2023-10-20)
- Bump all dependencies to address security... | 2 | 1 | 0 | [{"id": "G0", "claim": "The nested ternary chain in withoutParams is very hard to read and should be split into multiple conditional branches.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "As a nit, the reviewer dislikes that the Node deseriali... | null |
EasyPost__easypost-node__440 | EasyPost/easypost-node | 440 | defect | 91f3e5a48d4364d5c1e4942eaf15cf3d2d005755 | fb4fd25d73a1d348f3b5fe54712b37cff3ab8115 | Add refund function to insurance service | # Description
Add refund function to insurance service
# Testing
Add a new unit test
# Pull Request Type
Please select the option(s) that are relevant to this PR.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking ch... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index b9ea3593c..7c6076a59 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# CHANGELOG
+## Next release
+
+- Adds `refund` function in Insurance service for requesting a refund of standalone insurance.
+
## v7.2.0 (2024-01-22)
- Adds missing exports to Typesc... | 1 | 1 | 1 | [{"id": "G0", "claim": "The refund method hits the beta endpoint `beta/insurances/${id}/refund` and is not separated into a beta namespace or at least noted as beta in the docstring, though the GA endpoint exists.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
EasyTier__EasyTier__1186 | EasyTier/EasyTier | 1,186 | defect | 8cdb27d43df1ad3d11f31cf4cd03ea71f77556ce | fcbcea8e2c0f0c7521e74e76abf0b6b944e3726d | feat(encrypt): Add XOR and ChaCha20 encryption with low-end device optimization and openssl support. | **Key changes:**
1. Added XOR cipher implementation - extremely lightweight encryption suitable for resource-constrained devices
- Implementation: [`XorCipher`](src/peers/encrypt/xor_cipher.rs:1)
- Advantages: Minimal CPU overhead (single XOR operation per byte), zero additional memory requirements, ideal for ... | diff --git a/easytier/Cargo.toml b/easytier/Cargo.toml
index 9a70c7b6d..5555224ca 100644
--- a/easytier/Cargo.toml
+++ b/easytier/Cargo.toml
@@ -150,6 +150,8 @@ boringtun = { package = "boringtun-easytier", version = "0.6.1", optional = true
ring = { version = "0.17", optional = true }
bitflags = "2.5"
aes-gcm = { v... | 5 | 4 | 4 | [{"id": "G0", "claim": "OpenSSL should be removed first — there is no need to introduce such a large dependency.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The unit test peers::encrypt::openssl_cipher::openssl_impl::tests::test_openssl_chacha20 fails."... | null |
EasyTier__EasyTier__1210 | EasyTier/EasyTier | 1,210 | defect | 37b24164b60774513a0f9e86e65fe5ce4b75288f | 212d0d7dcd2fff257b1d1fa8546bb7716fcc5608 | optimize the condition of enabling kcp | 1. port forward with kcp enabled should also check if dst enable kcp input.
2. add `disable_relay_kcp` and `enable_relay_foreign_network_kcp` flag to control whether node can relay kcp packets. | diff --git a/EasyTier.code-workspace b/EasyTier.code-workspace
index 9e4f1acc8..ebe44138b 100644
--- a/EasyTier.code-workspace
+++ b/EasyTier.code-workspace
@@ -44,5 +44,7 @@
"prettier.enable": false,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
+ "editor.formatOnPaste": false,
+ ... | 3 | 2 | 1 | [{"id": "G0", "claim": "The debug print statement in socks5.rs should be removed or replaced with proper logging using the tracing framework already imported in the file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default_missing_value o... | null |
EasyTier__EasyTier__1265 | EasyTier/EasyTier | 1,265 | defect | c37af8c1becdb70022d1337c244ee1ed687d830e | 2481e12685cf4f9030583cfb031d84c8564fb5e9 | feat(acl): add group-based ACL rules and related structures | ### **基于身份组的零信任 ACL 机制设计与实现**
#### 1. 背景与需求
easytier 当前的 ACL 机制主要依赖于源 IP 地址进行访问控制,在去中心化网络环境中存在以下安全风险:
- **IP 地址欺骗**:恶意节点可能伪造或抢占 IP 地址,绕过现有 ACL 策略
- **身份验证缺失**:无法基于可验证的加密身份进行精确的节点间访问控制
- **零信任要求**:现代网络安全需要"永不信任,始终验证"的零信任架构
为解决这些问题,我们设计并实现了基于加密身份组的 ACL 机制,该机制具备以下特性:
- **强身份认证**:基于 HMAC-SHA256 的加密身份验证
- **... | diff --git a/Cargo.lock b/Cargo.lock
index 8744f08bd6..8da1d34eb6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2017,6 +2017,7 @@ dependencies = [
"hickory-proto",
"hickory-resolver",
"hickory-server",
+ "hmac",
"http",
"http_req",
"humansize",
@@ -2059,6 +2060,7 @@ dependencies = [
"serde_json",
"serial... | 4 | 2 | 1 | [{"id": "G0", "claim": "The KCP and QUIC proxy handlers hardcode empty src/dst group lists, so group-based ACL rules are not applied to proxied traffic and the groups should be fetched (from the conn_id peer ids / by IP).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i... | null |
EasyTier__EasyTier__1445 | EasyTier/EasyTier | 1,445 | defect | a452c34390e5fc7ddd2719b17b85e7de9e5f3e3b | 98d89ac171910d56889aae93f65a2c7c61d3958b | fix(acl): acl group cache add self group info | 问题: 当 ACL 入站规则的目标组或出站规则的来源组被设置时,该规则无法被正确匹配,导致ACL策略失效。
原因: ACL 组的缓存信息中,未包含该组自身的数据,使得在规则匹配时无法识别自己。
修复: 已修复此问题,但节点信息更新时,同时将自身组信息更新进缓存中,确保 ACL 组的缓存信息总是包含其自身,保障规则匹配的准确性。
close #1443 | diff --git a/easytier/src/peers/peer_ospf_route.rs b/easytier/src/peers/peer_ospf_route.rs
index c0bf51c62..7b466dd91 100644
--- a/easytier/src/peers/peer_ospf_route.rs
+++ b/easytier/src/peers/peer_ospf_route.rs
@@ -707,6 +707,18 @@ impl SyncedRouteInfo {
}
}
}
+
+ fn update_my_group_trus... | 1 | 1 | 1 | [{"id": "G0", "claim": "The update_my_group_trusts call should be moved into fn update_my_peer_info and invoked only when the local peer info actually changes, because at its current site it runs on every route sync.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
EasyTier__EasyTier__1492 | EasyTier/EasyTier | 1,492 | defect | 6f278ab167e0474b8e5414396d931e636873f40c | 199c45ef053116e0fb6e531a81bc08c96974cc72 | fix subnet proxy deadloop | // Subnet A is proxied as 10.0.0.0/24, and Subnet B is also proxied as 10.0.0.0/24.
//
// Subnet A has received a route advertised by Subnet B. As a result, A can reach
// the physical subnet 10.0.0.0/24 directly and has also added a virtual route for
// the same subnet 10.0.0.0/24. However, the physical route has ... | diff --git a/Cargo.lock b/Cargo.lock
index 25c00ae538..06603d7321 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1273,9 +1273,9 @@ dependencies = [
[[package]]
name = "cidr"
-version = "0.2.3"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6bdf600c45bd958cf2945c44526... | 3 | 1 | 0 | [{"id": "G0", "claim": "The trailing tracing::debug! cannot use `cidr` because the match expression moved it, so the code will not compile; the log should be moved into the match arms or the original string logged instead.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.