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
vutran1710__PyrateLimiter__231
vutran1710/PyrateLimiter
231
defect
fcfa6e0fd5bac2e44143fafef66b8074401c16cf
a8f7f71a8f0163a690e9629d585098b8e95927fd
3: Make time monotonic
Non-monotonic time is a pretty large footgun for rate limiting: time can move backwards, which would create odd edge cases in the leaky bucket list. I can't think of a reason why non-monotonic time would ever make sense in pyrate_limiter. This is a breaking change because it removes TimeClock
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 121ff6ac..5cb07d56 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -39,7 +39,7 @@ jobs: strategy: fail-fast: true matrix: - python-version: ["3.9", "3.13"] #, "3.14", ...
2
2
0
[{"id": "G0", "claim": "The README example imports MonotonicClock twice; the duplicate should be replaced by a different clock or removed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README comment claims MonotonicClock uses python's time.tim...
null
vutran1710__PyrateLimiter__250
vutran1710/PyrateLimiter
250
defect
e6c52c8f47e18183008d28ec59d579a4b8f28cc1
0de206f67be4df3d2eff384c1bdad8a01a562d1c
Fix Postgres Distributed rates (#248)
Fixes #248 Postgres buckets with short rates could exceed their rates because the check (how full is bucket) and subsequent put (new items) were non-atomic. This change uses a simple table lock around the put() operation: put is fast, and this is the least disruptive change. An alternative approach would ha...
diff --git a/pyrate_limiter/buckets/postgres.py b/pyrate_limiter/buckets/postgres.py index 59dc860c..2f90c89a 100644 --- a/pyrate_limiter/buckets/postgres.py +++ b/pyrate_limiter/buckets/postgres.py @@ -26,6 +26,9 @@ class Queries: CREATE_INDEX_ON_TIMESTAMP = """ CREATE INDEX IF NOT EXISTS {index} ON {table} ...
8
6
2
[{"id": "G0", "claim": "The comment 'Lock table exclusively - if busy, fail fast' should be expanded to explain why the lock is needed, what lock failure implies, the lock mode and its throughput trade-offs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
vutran1710__PyrateLimiter__270
vutran1710/PyrateLimiter
270
defect
818f2c5006f497ae9a9f89bece2f323d41977185
08da7bbcd09fa36d5b5130033b93adb94d852352
Fix/sync timeout and docs v2
This PR has fixes for two minor issues, #263 and #267.
diff --git a/docs/index.md b/docs/index.md index a8a4dda3..dc066090 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,7 +4,7 @@ :end-before: '> **Upgrading' ``` -> **Upgrading from v3.x?** See the [Migration Guide](migrating.md) for breaking changes. +> **Upgrading from v3.x?** See the [Migration Guide](https://...
10
8
4
[{"id": "G0", "claim": "The public API documents `timeout` as an `int` while tests and `combined_lock` use fractional seconds, so the annotations and docstrings for `timeout` should be updated to accept `int | float` (including `_try_acquire()`/`try_acquire_async()` if applicable).", "category": "documentation", "verdi...
null
vv9k__podman-api-rs__155
vv9k/podman-api-rs
155
defect
21491473cbef6932849c36954a37e461288b1342
428ac095c22c29f261b3e1f24b6728efd60f543a
Exec detach
## What did you implement: A fix for Exec::start() that expected the connection to be upgraded to TCP stream unconditionally. ## How did you verify your change: I use it in my project and it passes existing tests and an additional test specifically made to check my change (container_exec_detach).
diff --git a/src/api/exec.rs b/src/api/exec.rs index 5018daf..052d353 100644 --- a/src/api/exec.rs +++ b/src/api/exec.rs @@ -1,6 +1,8 @@ +use bytes::Bytes; + use crate::{ conn::{tty, Headers, Payload}, - opts, Result, Value, + opts, Error, Result, Value, }; use containers_api::url; @@ -98,7 +100,7 @@ im...
4
4
1
[{"id": "G0", "claim": "The container name in container_exec_detach should be unique per test case, e.g. test-exec-detach-container, so simultaneous test runs don't collide.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Detach parameter lookup ...
null
vwxyzjn__cleanrl__130
vwxyzjn/cleanrl
130
defect
bb8dd13f3c7fd48a3da09cfff12059b6416dcb2c
5a66f4779b8655ed45e99f878b372554e5c7bffc
Tweaks for PR 'add-sps-qvalues'
## Overview of the tweaks on top of #126 ### apex_dqn_atari..py - Added SPS logging to match other files in #126 - Added `apex_dqn_atari.py` to `test_atari.py` ### SAC Continuous - Removed the comment pertaining to (1) using F.mse_loss() and (2) using qf1() instead of qf1.forward() ### rnd_ppo: - removed...
diff --git a/cleanrl/apex_dqn_atari.py b/cleanrl/apex_dqn_atari.py index 82386984a..80aab4e91 100755 --- a/cleanrl/apex_dqn_atari.py +++ b/cleanrl/apex_dqn_atari.py @@ -1100,13 +1100,12 @@ def learn( m = stats_queue.get() if m[0] == "charts/episodic_return": r, l = m[1], m[2] ...
1
1
1
[{"id": "G0", "claim": "The changes to cleanrl/rnd_ppo.py should be reverted because RND needs a complete refactor (see #127) that drops the forward() usage in favour of a get_action_and_value function.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vwxyzjn__cleanrl__151
vwxyzjn/cleanrl
151
defect
1878a4f5e29e848135c6e08f89afdaa744403b48
f19a07af4ab3c0ba66a898101ac9a0875522afff
Add rnd_ppo.py documentation and refactor
## Description <!--- Provide a general summary of your changes in here--> Closes #127 ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix - [ ] New feature - [x] New algorithm - [x] Documentation ## Checklist: <!--- Go over a...
diff --git a/benchmark/rnd.sh b/benchmark/rnd.sh new file mode 100644 index 000000000..48cfb791e --- /dev/null +++ b/benchmark/rnd.sh @@ -0,0 +1,8 @@ +# export WANDB_ENTITY=openrlbenchmark + +poetry install -E envpool +xvfb-run -a python -m cleanrl_utils.benchmark \ + --env-ids MontezumaRevenge-v5 \ + --command "...
9
9
3
[{"id": "G0", "claim": "The reviewer asks the author to revert the formatting-only change so the diff is easier to review, with such formatting changes to be done in a larger PR together with #167.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
vwxyzjn__cleanrl__270
vwxyzjn/cleanrl
270
defect
e466f6efb251462de2b80f064133f32cb5d83e22
18b643be4d58419372a2796da82faa5153c77296
SAC-discrete implementation
## Description Adds the SAC-discrete algorithm as discussed in https://github.com/vwxyzjn/cleanrl/issues/266. ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix - [ ] New feature - [x] New algorithm - [x] Documentation ## Chec...
diff --git a/cleanrl/sac_atari.py b/cleanrl/sac_atari.py new file mode 100644 index 000000000..e089dd688 --- /dev/null +++ b/cleanrl/sac_atari.py @@ -0,0 +1,374 @@ +# TODO: Must add header here +import argparse +import os +import random +import time +from distutils.util import strtobool + +import gym +import numpy as n...
17
16
4
[{"id": "G0", "claim": "The hand-rolled log-probability computation torch.log(action_probs + z) should be replaced with F.log_softmax, which is more explicit and numerically safer since log of softmax can be unstable even with a log(0) correction.", "category": "correctness", "verdict": "supported", "priority": "P1", "...
null
vwxyzjn__cleanrl__70
vwxyzjn/cleanrl
70
defect
ea3d1eda628215c44c5f978a33c7b60d7f965c10
1cc117c72d4feb25aae3e19950a9cbba19880194
Add e2e tests
This PR adds end-to-end tests to make sure the CleanRL scripts run without errors. The test case is basically running ``` subprocess.run("python cleanrl/ppo.py --total-timesteps 1000", shell=True, check=True) ``` [ ] only trigger the run when changes to the source code happen.
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 000000000..f9c5a5af2 --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,47 @@ +name: tests +on: + push: +jobs: + ci: + strategy: + fail-fast: false + matrix: + python-version: [3.8] + ...
6
3
0
[{"id": "G0", "claim": "Remove the leftover debug print(f\"hello\") in ddpg_continuous_action.py.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the leftover debug print(f\"hello\") in sac_continuous_action.py.", "category": "maintainabil...
null
vwxyzjn__lm-human-preference-details__17
vwxyzjn/lm-human-preference-details
17
defect
f0d195325448a1ad80dc0f0135369df98b83b56c
11c72ca9f3c1bd8673da07dcfc624e367d14bab5
use pmap to normalize reward model
Hey! As discussed in our [previous PR](https://github.com/vwxyzjn/lm-human-preference-details/pull/13), we can use `pmap` to accelerate the reward model normalization step. This PR does that. Fig below shows that the run time comparison between the pmapped version (cyan) and the previous version (grey). Both ver...
diff --git a/lm_human_preference_details/train_reward_jax.py b/lm_human_preference_details/train_reward_jax.py index 426b0f5..e0ef78c 100644 --- a/lm_human_preference_details/train_reward_jax.py +++ b/lm_human_preference_details/train_reward_jax.py @@ -107,7 +107,7 @@ class Args: """Whether, after training, to nor...
3
3
3
[{"id": "G0", "claim": "The PR should keep `normalize_samples` and calculate it as `int(args.local_normalize_samples * len(local_devices) * args.world_size)` instead of dropping the derived global value.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
vwxyzjn__lm-human-preference-details__18
vwxyzjn/lm-human-preference-details
18
defect
f0d195325448a1ad80dc0f0135369df98b83b56c
c765f532ad784869eba1733e9add9282c93600d3
Jax policy learning
Hi Costa, This PR contains the jax implementation of policy learning. You can find the comparison between jax and pytorch runs [here](https://wandb.ai/tliu/cleanrl?workspace=user-tliu). Some metrics are in the screenshots below. ![Screenshot from 2023-09-05 11-34-55](https://github.com/vwxyzjn/lm-human-preferenc...
diff --git a/lm_human_preference_details/train_both_jax.py b/lm_human_preference_details/train_both_jax.py new file mode 100644 index 0000000..173bd6d --- /dev/null +++ b/lm_human_preference_details/train_both_jax.py @@ -0,0 +1,32 @@ +import os +import time +from dataclasses import dataclass, field + +import tyro +from...
6
6
4
[{"id": "G0", "claim": "Jax computations in the per-update loop (rollout and response values, reward/filter/kl computation, metric aggregation, sample printing) run outside jitted/pmapped functions and should be moved into them, leaving only numpy computation or .item() calls outside.", "category": "performance", "verd...
null
vxgmichel__aioconsole__49
vxgmichel/aioconsole
49
defect
22d16b6716c164925a74cbc860a0971a1031701f
ea7eab4bb17f436c1ab7e4bf3b1d879158a8aa21
Add console binding to Unix sockets
On Unix, this allows an asynchronous console to be bound to a socket file: ```python await aioconsole.start_interactive_server(path="/tmp/console.sock") ``` The socket can then be connected to e.g. via `socat`: ``` $ socat - UNIX-CONNECT:/tmp/console.sock ``` The benefit here is that access to the conso...
diff --git a/aioconsole/server.py b/aioconsole/server.py index d10625d..61856e1 100644 --- a/aioconsole/server.py +++ b/aioconsole/server.py @@ -1,6 +1,7 @@ """Serve the python console using socket communication.""" import asyncio +import socket from . import code @@ -16,16 +17,19 @@ def handle_connect(reader,...
1
1
1
[{"id": "G0", "claim": "The host/port parameters should default to None like path, with a ValueError raised when both host/port and path are provided or both are missing, instead of keeping localhost:8000 defaults that silently prefer the socket file.", "category": "design", "verdict": "supported", "priority": "P1", "s...
null
vxgmichel__aioconsole__57
vxgmichel/aioconsole
57
defect
c5d2d23a5373deab561d738548e16c10ccc3b979
a3d14895b15b4155d725b9610d1a4b1e92604b85
Add support for PYTHONSTARTUP
Closes #56
diff --git a/aioconsole/events.py b/aioconsole/events.py index fb1342e..68faf9a 100644 --- a/aioconsole/events.py +++ b/aioconsole/events.py @@ -1,7 +1,9 @@ """Provide an interactive event loop class.""" +import os import asyncio import functools +import traceback from . import code from . import compat @@ -78...
5
4
3
[{"id": "G0", "claim": "The exception handler should use traceback.print_exc() instead of formatting the traceback and printing it manually.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "print('Could not open PYTHONSTARTUP - No such file: %s', ...
null
vxgmichel__aioconsole__79
vxgmichel/aioconsole
79
defect
af71e65e32e4c1290127da010dfd48d67edd9de4
ef7043ac50351085a79f1830681b4e2788e5b5bb
Prevent NonFileStreamWriter.write from blocking
This is done by creating a task that runs the blocking write call in the default thread pool executor. It also fixes a few warnings.
diff --git a/aioconsole/server.py b/aioconsole/server.py index 9bc4154..8d929a0 100644 --- a/aioconsole/server.py +++ b/aioconsole/server.py @@ -36,7 +36,7 @@ async def start_interactive_server( start_server = partial(asyncio.start_unix_server, path=path) client_connected = partial(handle_connect, facto...
1
1
0
[{"id": "G0", "claim": "Overriding `__del__()` to clean up the write task is fragile (problems with reference cycles and implementation-dependent GC behavior), so `weakref.finalize` — creating the finalizer right after creating the task — would probably be a more robust approach.", "category": "design", "verdict": "sup...
null
vxgmichel__aioconsole__93
vxgmichel/aioconsole
93
defect
ec4bba3e9e3a70371186c85d8b93a0e65e078444
3f474840e50f9a7d862e01503aec76bad8841cfa
fixed multiline strings
Another one small improvement 🙂 Original behaviour: ```py >>> await aexec('''"""\n"""''') '\n ' ``` After the fix: ```py >>> await aexec('''"""\n"""''') '\n' ``` Hope I'm not overcomplicating it.
diff --git a/aioconsole/execute.py b/aioconsole/execute.py index 5bd3808..7c9311e 100644 --- a/aioconsole/execute.py +++ b/aioconsole/execute.py @@ -2,6 +2,8 @@ import ast import codeop +from io import StringIO +from tokenize import generate_tokens, STRING, TokenError CORO_NAME = "__corofn" CORO_DEF = f"async d...
4
4
2
[{"id": "G0", "claim": "Use tokenize to detect which lines should not be indented (yielding the string-token line span) instead of counting triple quotes with a regex and stripping comments.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "For clarity, get...
null
vxgmichel__aioconsole__94
vxgmichel/aioconsole
94
defect
ec4bba3e9e3a70371186c85d8b93a0e65e078444
e56407d2c088aa3d1a34fd9398b940c280b5d99f
added check for returns and yields
Improved version with `yield` handling. Original discussion [here](https://github.com/vxgmichel/aioconsole/commit/c2dac60d3c2922bbb927021004c0dca251bda1ba).
diff --git a/aioconsole/execute.py b/aioconsole/execute.py index 5bd3808..20ea227 100644 --- a/aioconsole/execute.py +++ b/aioconsole/execute.py @@ -28,8 +28,38 @@ def exec_result(obj, local, stream): print(repr(obj), file=stream) +class ReturnChecker(ast.NodeVisitor): + def __init__(self, filename): + ...
4
3
1
[{"id": "G0", "claim": "The author should write a couple of tests for the return/yield-outside-function cases the pull request handles.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The return/yield handling tests can be rewritten to use pytest.raises ...
null
vxgmichel__aiostream__119
vxgmichel/aiostream
119
defect
5e0547afcebfcb556e011df3c185f69794a187cb
d218eabcd7debd7d99074857712d24066beaa7e3
Add strict parameter to stream.zip
Fixes #118
diff --git a/aiostream/aiter_utils.py b/aiostream/aiter_utils.py index 9f5e455..960ea7e 100644 --- a/aiostream/aiter_utils.py +++ b/aiostream/aiter_utils.py @@ -19,6 +19,7 @@ AsyncIterator, Any, cast, + overload, ) if TYPE_CHECKING: @@ -46,16 +47,38 @@ # Magic method shorcuts +UNSET = object(...
10
9
4
[{"id": "G0", "claim": "Creating an ad-hoc default-returning wrapper around anext for the strict branch probably worsens performance a tiny bit, since anext is used a lot in the library's internal logic.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
vy__log4j2-redis-appender__134
vy/log4j2-redis-appender
134
defect
27b036b62781d418ad61c326d5bd576c98b7c7ca
9493d794276bfa7412003e08ca6ab065bd687005
Add username / password connection capabilities
Add username parameter to redis appender so connections for a user different of the default one can be used. Include tests to check the new username - password authentication.
diff --git a/README.md b/README.md index 2c42292..93e53e3 100644 --- a/README.md +++ b/README.md @@ -93,22 +93,23 @@ Note that `sentinelNodes` and `sentinelMaster` have priority over `host` and `RedisAppender` is configured with the following parameters: -| Parameter Name | Type | Default | Description | -|-------...
3
2
1
[{"id": "G0", "claim": "The explicit commons-pool2 exclusion/override in appender/pom.xml should be dropped once the pom.xml changes are reverted, since Jedis 5.1.2 already brings the needed commons-pool version transitively.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
vy__log4j2-redis-appender__138
vy/log4j2-redis-appender
138
defect
9dc74de706b9a656ea35851e79ebc572f24f5ed8
6c8e96ea80041f094fcfe4471ef13320499a7efc
Add `publish` command support
Add support for publishing messages using pub / sub paradigm instead of storing them into database with rpush. It is created through configuration and tests are added to validate message reception and contents. Revert username to it's previous `default` value.
diff --git a/README.md b/README.md index 54c55d5..c8d9bc4 100644 --- a/README.md +++ b/README.md @@ -102,8 +102,9 @@ Note that `sentinelNodes` and `sentinelMaster` have priority over `host` and | `port` | int | 6379 | Redis port | | `sentinelNodes` | String | `null` | Redis sentinel nodes as comma-separated list, e.g...
7
6
0
[{"id": "G0", "claim": "Replace the `usePubSubParadigm` boolean with a `command` string parameter (default `rpush`, accepting `rpush` and `publish`) in README, and adapt `RedisAppender#sendEvent` and validate `command` in `RedisAppender.Builder#check()` accordingly, since this is more sustainable for adding/extending c...
null
vyos__vyos-1x__2708
vyos/vyos-1x
2,708
defect
b873112dd7253b64d323e183758dbabaa0f28b6e
8310b7916ced0016960939a1930b10a63e366778
T5871: ipsec remote access VPN: specify "cacerts" for client auth
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change Summary <!--- Provide a general summary of your changes in the Title above --> For authentication methods that depend on validatin...
diff --git a/data/templates/ipsec/swanctl/remote_access.j2 b/data/templates/ipsec/swanctl/remote_access.j2 index 60d2d180709..881cbabc29a 100644 --- a/data/templates/ipsec/swanctl/remote_access.j2 +++ b/data/templates/ipsec/swanctl/remote_access.j2 @@ -32,6 +32,9 @@ auth = {{ rw_conf.authentication.client_...
4
4
3
[{"id": "G0", "claim": "The guard compares the client mode against 'eap_tls' (underscore) instead of 'eap-tls', so the cacerts code path is not hit for eap-tls client auth; it should test 'eap-tls' and 'x509' with the vyos_defined test.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in...
null
vyos__vyos-1x__3296
vyos/vyos-1x
3,296
defect
5d890037b177ce6971ac00f52e4cce2cac898f46
d6effedadf6e4de6004d4a652a796659604017a2
pppoe-server: T6141: T5364: PPPoE-server add pado-delay without sessions fails
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change Summary <!--- Provide a general summary of your changes in the Title above --> Fixed: ``` set service pppoe-server pado-delay 10...
diff --git a/data/templates/accel-ppp/pppoe.config.j2 b/data/templates/accel-ppp/pppoe.config.j2 index 6b01958e50d..ddf0da51812 100644 --- a/data/templates/accel-ppp/pppoe.config.j2 +++ b/data/templates/accel-ppp/pppoe.config.j2 @@ -64,12 +64,13 @@ vlan-mon={{ iface }},{{ iface_config.vlan | join(',') }} service-name=...
1
1
1
[{"id": "G0", "claim": "While fixing pado-delay, the smoketest `smoketest/scripts/cli/test_service_pppoe-server.py` should also be extended to verify the pado-delay.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vyos__vyos-1x__3827
vyos/vyos-1x
3,827
defect
918be5713ad088a304be9b9d71c701887b769fc6
e315823a88814152a06681ff03e0af5d38a44bdc
T6525: Add default dir for ext-scripts without absolute path
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change Summary <!--- Provide a general summary of your changes in the Title above --> ## Types of changes <!--- What types of changes...
diff --git a/smoketest/scripts/cli/test_service_snmp.py b/smoketest/scripts/cli/test_service_snmp.py index b3daa90d0f2..7d5eaa4406f 100755 --- a/smoketest/scripts/cli/test_service_snmp.py +++ b/smoketest/scripts/cli/test_service_snmp.py @@ -246,5 +246,19 @@ def test_snmpv3_view_exclude(self): for excluded in s...
1
1
1
[{"id": "G0", "claim": "Setting an extension without an absolute script path (e.g. `set service snmp script-extensions extension-name bar`) crashes get_config with TypeError: expected str, bytes or os.PathLike object, not NoneType, because the code calls .get('extension_name').items() and passes val.get('script') to os...
null
vyos__vyos-1x__3938
vyos/vyos-1x
3,938
defect
c78c5bd7e65b19e0e50ef6944dc74fb33660ff71
305870790f22ea9343dc345df41d7e28e8715da7
pbr: T6430: Local IP rules targeting VRFs by name as well as route table IDs
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change Summary <!--- Provide a general summary of your changes in the Title above --> My [previous PR](https://github.com/vyos/vyos-1x/pu...
diff --git a/interface-definitions/policy_local-route.xml.in b/interface-definitions/policy_local-route.xml.in index 7a019154acf..5235a668af1 100644 --- a/interface-definitions/policy_local-route.xml.in +++ b/interface-definitions/policy_local-route.xml.in @@ -39,6 +39,24 @@ </completionHelp> ...
2
1
0
[{"id": "G0", "claim": "Local-route rules matching v4/v6 default routes (e.g. `set vrf 'default'` with source 0.0.0.0/0) generate an ip rule that cuts off access to the router, and a warning for such rules and loopbacks is proposed.", "category": "correctness", "verdict": "uncertain", "priority": "P0", "scope": "introd...
null
vyos__vyos-1x__4021
vyos/vyos-1x
4,021
defect
2277371fe18577502ce318c23789f86d1ec97be7
dc79a8c0862ff41f52c4b9dd246cff6b9305ed90
openfabric: T6652: Add support for OpenFabric protocol
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change Summary <!--- Provide a general summary of your changes in the Title above --> OpenFabric is a routing protocol providing link-sta...
diff --git a/data/templates/frr/daemons.frr.tmpl b/data/templates/frr/daemons.frr.tmpl index 339b4e52fb9..3506528d2e2 100644 --- a/data/templates/frr/daemons.frr.tmpl +++ b/data/templates/frr/daemons.frr.tmpl @@ -36,7 +36,7 @@ babeld=yes sharpd=no pbrd=no bfdd=yes -fabricd=no +fabricd=yes vrrpd=no pathd=no diff ...
15
14
5
[{"id": "G0", "claim": "Add the missing interface-name constraint (include/constraint/interface-name.xml.i) to the openfabric interface tagNode.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Make the csnp-interval help string clearer by expanding t...
null
vyos__vyos-1x__4041
vyos/vyos-1x
4,041
defect
d739a10ce278c5a2cbc2c7790ed36d0e54c2624e
d63022b60424515a109585b72b233929fc7604ce
pppoe-server: T6685: Add options to accept any and blank service names
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change Summary <!--- Provide a general summary of your changes in the Title above --> Added options: ``` accept-any-service accept-bla...
diff --git a/data/templates/accel-ppp/pppoe.config.j2 b/data/templates/accel-ppp/pppoe.config.j2 index beab46936e6..cf952c6874e 100644 --- a/data/templates/accel-ppp/pppoe.config.j2 +++ b/data/templates/accel-ppp/pppoe.config.j2 @@ -70,6 +70,12 @@ vlan-mon={{ iface }},{{ iface_config.vlan | join(',') }} {% if service_...
1
1
0
[{"id": "G0", "claim": "The help string for accept-blank-service should clarify that it is about PADR, as the accept-any-service help string does.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vyos__vyos-1x__4048
vyos/vyos-1x
4,048
defect
de8d388c9cf32eb9ef9f38abb2d6ba292f56069f
aba505a31ca5d6928f8cedb152b9da7765243183
T973: add basic node_exporter implementation
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change Summary <!--- Provide a general summary of your changes in the Title above --> Implement basic [node_exporter](https://github.com/...
diff --git a/data/templates/node_exporter/node_exporter.service.j2 b/data/templates/node_exporter/node_exporter.service.j2 new file mode 100644 index 00000000000..c8c42977e80 --- /dev/null +++ b/data/templates/node_exporter/node_exporter.service.j2 @@ -0,0 +1,11 @@ +[Unit] +Description=Node Exporter +Documentation=http...
9
8
0
[{"id": "G0", "claim": "The help text of the node-exporter node should read 'Prometheus exporter for hardware and operating system metrics'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The smoketest should test that the node_exporter process is...
null
vyos__vyos-1x__4179
vyos/vyos-1x
4,179
defect
ceb64f3dca08a14ea4ea407844103e81f8e4648a
af8eb89649cb0833258b0f216fcc2f460c467dc8
T3501: Allow using more than one tuned profile
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change Summary <!--- Provide a general summary of your changes in the Title above --> ## Types of changes <!--- What types of changes...
diff --git a/interface-definitions/include/version/system-version.xml.i b/interface-definitions/include/version/system-version.xml.i index fcb24abe2c9..3ecf124c79f 100644 --- a/interface-definitions/include/version/system-version.xml.i +++ b/interface-definitions/include/version/system-version.xml.i @@ -1,3 +1,3 @@ <!...
1
1
0
[{"id": "G0", "claim": "The smoketest should keep the cli_set calls on single lines and consolidate the repeated ['system', 'sysctl', 'parameter'] path into a variable instead of exploding each path across many lines.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vyos__vyos-1x__4223
vyos/vyos-1x
4,223
defect
3ed6f02a66fd9d02a4cc3c45b2605cb3d8ad0d2e
1aa982ad28f1ce31305760dada8906d8e22df758
T6874: [QoS] Add class filter by ether
Implement a command to configure QoS policy filters by ether properties. The supported match types include: - Destination: Specify the Ethernet destination address. - Protocol: Define the Ethernet protocol. - Source: Set the Ethernet source address. `set qos policy <type> <name> class <id> match <match-id> ether ...
diff --git a/interface-definitions/include/qos/class-match.xml.i b/interface-definitions/include/qos/class-match.xml.i index 77d1933a3f2..c2da27cc318 100644 --- a/interface-definitions/include/qos/class-match.xml.i +++ b/interface-definitions/include/qos/class-match.xml.i @@ -34,7 +34,7 @@ <list>all 802....
1
1
1
[{"id": "G0", "claim": "Removing the <constraint> (with the ip-protocol validator) from the ether 'protocol' node is not a wise idea; the node should keep a constraint, e.g. combining a numeric-range validator and the protocol validator, since constraints operate in logical OR mode.", "category": "correctness", "verdic...
null
vyos__vyos-1x__4235
vyos/vyos-1x
4,235
defect
4221687fc7a0482b13a79358f9b0d085ec0835f6
f0fbec71dd6e25c06c3d48a1b83fd23f3ed25a1c
T6944: adds option to enable switchdev mode on ethernet interface
## Change Summary Adds ethernet interface config option to enable switchdev mode. ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [X] New feature (non-breaking change which adds functionality) - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes)...
diff --git a/interface-definitions/interfaces_ethernet.xml.in b/interface-definitions/interfaces_ethernet.xml.in index 89f990d411d..b3559a6261c 100644 --- a/interface-definitions/interfaces_ethernet.xml.in +++ b/interface-definitions/interfaces_ethernet.xml.in @@ -56,6 +56,12 @@ </properties> ...
6
4
1
[{"id": "G0", "claim": "It would be better to extend the Ethtool class (e.g. a get_bus_info method) instead of parsing ethtool output with a shell pipe to obtain the bus information.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PCI address in the d...
null
vyos__vyos-1x__4236
vyos/vyos-1x
4,236
defect
4221687fc7a0482b13a79358f9b0d085ec0835f6
c94dabede31447f3d1eaded08b448f944087539d
T6918: Accept invalid PPPoE Session in stateful bridge firewall.
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change Summary <!--- Provide a general summary of your changes in the Title above --> This patch is related to T6647, PPPoE sessions (eth...
diff --git a/data/templates/firewall/nftables.j2 b/data/templates/firewall/nftables.j2 index 034328400f7..a3514387094 100755 --- a/data/templates/firewall/nftables.j2 +++ b/data/templates/firewall/nftables.j2 @@ -382,6 +382,7 @@ table bridge vyos_filter { {% if 'invalid_connections' in global_options.a...
2
2
0
[{"id": "G0", "claim": "The help text needs a comma between the protocols in the list: it should read \"Accept ARP, DHCP and PPPoE despite they are marked as invalid connection\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The invalid-connecti...
null
vyos__vyos-1x__4383
vyos/vyos-1x
4,383
defect
b70e3686981e08e69938d6879575ca3f0f9adfbe
7c22571377334d89f0465e9d308526424bff291d
T7219: Add a check to ensure that remote and group options in VXLAN are mutually exclusive
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> Add a check to verify function for `vxlan` command ...
diff --git a/smoketest/scripts/cli/test_interfaces_vxlan.py b/smoketest/scripts/cli/test_interfaces_vxlan.py index b2076b43bf1..c70ecb36716 100755 --- a/smoketest/scripts/cli/test_interfaces_vxlan.py +++ b/smoketest/scripts/cli/test_interfaces_vxlan.py @@ -25,6 +25,7 @@ from vyos.utils.network import get_vxlan_vlan_tu...
1
1
0
[{"id": "G0", "claim": "Remove the redundant `ttl = 20` assignment in test_vxlan_parameters, since the loop above already left ttl at its final value and the new block does not use it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vyos__vyos-1x__4404
vyos/vyos-1x
4,404
defect
95af91597c94856a38722daa5ea388646f9b735f
5ccd5fbf7e8cdd535510cfbdb898c81379adecbd
bgp: T7157: Allow using route-maps for VRF route leaking in BGP
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> Added the possibility of using route-map in rou...
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2 index 3b462b4a97a..b89f15be1e8 100644 --- a/data/templates/frr/bgpd.frr.j2 +++ b/data/templates/frr/bgpd.frr.j2 @@ -357,6 +357,9 @@ router bgp {{ system_as }} {{ 'vrf ' ~ vrf if vrf is vyos_defined }} import vrf {{ vrf }} {% en...
1
1
0
[{"id": "G0", "claim": "The constraint error message should be reworded to \"Route map names can only contain alphanumeric characters, hyphens, and underscores\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vyos__vyos-1x__4416
vyos/vyos-1x
4,416
defect
4871e5bb5b8c3f1cab12fdc36a02ac99902a9eb1
e573e71ec1f15a4a1dc173218318a2da3ba530aa
T7286: Add CLI option to disable LDP establish packets
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> If a router has not formed an LDP neighbor adjacenc...
diff --git a/data/templates/frr/ldpd.frr.j2 b/data/templates/frr/ldpd.frr.j2 index 9a893cc5541..b8fb0cfc7d2 100644 --- a/data/templates/frr/ldpd.frr.j2 +++ b/data/templates/frr/ldpd.frr.j2 @@ -82,8 +82,11 @@ mpls ldp {% endfor %} {% endif %} {% if ldp.interface is vyos_defined %} -{% ...
2
2
1
[{"id": "G0", "claim": "The help string of the new disable-establish-hello leafNode should be reworded; the reviewer suggests \"Do not respond to hello packets with hello packets\" instead of \"Disable response to hello packet with an additional hello LDP packet\".", "category": "documentation", "verdict": "supported",...
null
vyos__vyos-1x__4430
vyos/vyos-1x
4,430
defect
bc86b5750033c14aab751e9d3d175f7d45903ef6
ae61a3466d5a8b4eb05c1996833f30c0d55e891d
kea: T7310: add support for RFC-5417 (option 138)
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary Add the possibility to declare option 138 in the dhcp-server. This is needed to support devices using CAPWAP-AC as a way o...
diff --git a/data/templates/dhcp-server/kea-dhcp4.conf.j2 b/data/templates/dhcp-server/kea-dhcp4.conf.j2 index 2e10d58e00e..b3676a752c3 100644 --- a/data/templates/dhcp-server/kea-dhcp4.conf.j2 +++ b/data/templates/dhcp-server/kea-dhcp4.conf.j2 @@ -48,6 +48,11 @@ "code": 1, "type": "ip...
7
6
4
[{"id": "G0", "claim": "The hand-written 'capwap-access-controller' option definition in kea-dhcp4.conf.j2 should be removed because option 138 is already a built-in Kea option.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The option appended in k...
null
vyos__vyos-1x__4446
vyos/vyos-1x
4,446
defect
d1e8dbd33ad84999ea4feea075d723068628ab1d
90f71925cb31a483f3f59c03dd577d6c0cdcd892
T7343: IPsec add traffic-selector handling for VTI interfaces
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary Allow to set traffic-selector for VTI interfaces We can set several local and remote IPv4 and IPv6 prefixes ``` ...
diff --git a/data/templates/ipsec/swanctl/peer.j2 b/data/templates/ipsec/swanctl/peer.j2 index 3a9af2c9470..a9a2353d31a 100644 --- a/data/templates/ipsec/swanctl/peer.j2 +++ b/data/templates/ipsec/swanctl/peer.j2 @@ -54,6 +54,12 @@ children { {% if peer_conf.vti.bind is vyos_defined and peer_conf.tunnel is no...
4
2
1
[{"id": "G0", "claim": "The traffic-selectors constraint regex should spell out the alternatives explicitly as (ipv4|ipv6|both) instead of (ipv[46]|both), matching the style used elsewhere.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cons...
null
vyos__vyos-1x__4496
vyos/vyos-1x
4,496
defect
5d139bb01b1a5a5f19007699545e499524b8cd5f
7e035196049ff0525b01020ac12689612bdda2cb
Bridge: T7430: Add BPDU Guard and Root Guard support
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> This will add support for BPDU Guard and Root Guard...
diff --git a/interface-definitions/interfaces_bridge.xml.in b/interface-definitions/interfaces_bridge.xml.in index 667ae3b1915..b360f34f1a5 100644 --- a/interface-definitions/interfaces_bridge.xml.in +++ b/interface-definitions/interfaces_bridge.xml.in @@ -201,6 +201,18 @@ <valueless/> ...
1
1
1
[{"id": "G0", "claim": "The error message must use the CLI node names bpdu-guard and root-guard rather than the Python dict keys bpdu_guard and root_guard.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vyos__vyos-1x__4506
vyos/vyos-1x
4,506
defect
572400156976a5fc36e1dbe2fcdaf12d61510e13
6c93642757617413411cad8778149644d8555703
firewall: T7452: update rule generation for Zone-based firewall
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary When utilizing the ZBF with VRF, issues occur with outgoing traffic - specifically with ping packets destined for interfa...
diff --git a/data/templates/firewall/nftables-zone.j2 b/data/templates/firewall/nftables-zone.j2 index 645a3870672..8e0f4e328d2 100644 --- a/data/templates/firewall/nftables-zone.j2 +++ b/data/templates/firewall/nftables-zone.j2 @@ -12,9 +12,7 @@ oifname { {{ zone_conf.member.interface | join(',') }} } counter...
2
2
2
[{"id": "G0", "claim": "Zone rules generated for 'member vrf' match the VRF device name instead of the member physical interfaces, so VRF members added to a zone are ineffective and the inter-VRF firewalling introduced in #4180 is broken (outbound packets to a VRF previously used the physical interface name); the chang...
null
vyos__vyos-1x__4584
vyos/vyos-1x
4,584
defect
22c6a817faee11ef97bb33a5431d7467b683c2e6
aff3a137dee36f8f65674d84deb52c2ee2ef2c00
T7589: Add no-split-gso and ack-filter for CAKE
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> Add no-split-gso and ack-filter for CAKE ## Type...
diff --git a/interface-definitions/qos.xml.in b/interface-definitions/qos.xml.in index c6ecb742e3a..e63ea9f062b 100644 --- a/interface-definitions/qos.xml.in +++ b/interface-definitions/qos.xml.in @@ -135,6 +135,31 @@ <valueless/> </properties> </leafNode> + ...
2
2
1
[{"id": "G0", "claim": "The help text of the no-split-gso leafNode should read 'Do not split GSO super-packets into on-the-wire components' instead of 'No Split GSO'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ack-filter boolean-flag leafN...
null
vyos__vyos-1x__4608
vyos/vyos-1x
4,608
defect
a1b5b365b9116fcf8a9a70714ccc449a1a5a6cc8
bff230885f2bf37de4553dcf12a55da4bc87a1a9
ipsec: T7593: Add dynamic prefix for local and remote traffic selectors
## Change summary In case when there is no local/remote prefix configured in a tunnel settings, a protocol configured for such tunnel is ignored. The correct way to generate the configuration is to set the prefix to `dynamic` if it was not set. The correct config for the described case is: ``` local_ts = dynami...
diff --git a/data/templates/ipsec/swanctl/peer.j2 b/data/templates/ipsec/swanctl/peer.j2 index cf0865c8882..5a5d643e0b3 100644 --- a/data/templates/ipsec/swanctl/peer.j2 +++ b/data/templates/ipsec/swanctl/peer.j2 @@ -133,10 +133,14 @@ {% if tunnel_conf.local.prefix is vyos_defined %} {% se...
1
1
0
[{"id": "G0", "claim": "It may be better to define the default traffic selector via the XML `defaultValue` mechanism, as other options do, instead of hardcoding `local_ts = dynamic`/`remote_ts = dynamic` in the swanctl template.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vyos__vyos-1x__4622
vyos/vyos-1x
4,622
defect
115fe85c726f85b8171e17f128ba204bdde34a57
302bb7c9c31c3b754227a5f56f071d22d323673c
T3680: protocols: add dhclient hooks for dhcp-interface static routes
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> This PR adds `dhclient` hooks to the image that re-...
diff --git a/smoketest/scripts/cli/test_protocols_static.py b/smoketest/scripts/cli/test_protocols_static.py index 7b482b78cfd..d7df398d5f5 100755 --- a/smoketest/scripts/cli/test_protocols_static.py +++ b/smoketest/scripts/cli/test_protocols_static.py @@ -651,5 +651,112 @@ def test_06_dhcp_default_route_for_vrf(self):...
14
5
4
[{"id": "G0", "claim": "Writing /tmp/static_dhcp_interfaces with open(..., 'w') without explicitly setting file permissions could create a security risk; consider os.open() with a mode parameter or os.chmod() after creation, e.g. 0o644.", "category": "security", "verdict": "uncertain", "priority": "P2", "scope": "intro...
null
vyos__vyos-1x__4624
vyos/vyos-1x
4,624
defect
6c6bcb59b85efdb60129639afaade482a2419cfe
042f6572160a8c87de4ff8a5e5fdcc2258e618a5
ipsec: T7581: Fix unsupported 'all' protocol in site-to-site tunnels after upgrade to 1.4.x
## Change summary Upgrading from VyOS 1.3.8 (strongSwan **5.7.2**) to 1.4.x (strongSwan **5.9.11**) caused the IPsec service to fail if the configuration contained: ``` set vpn ipsec site-to-site peer <peer> tunnel <id> protocol 'all' ``` In 1.3.8, `all` was supported in the CLI for protocol and converted ...
diff --git a/data/templates/ipsec/swanctl/peer.j2 b/data/templates/ipsec/swanctl/peer.j2 index cf0865c8882..b6b5d2dacc9 100644 --- a/data/templates/ipsec/swanctl/peer.j2 +++ b/data/templates/ipsec/swanctl/peer.j2 @@ -111,6 +111,12 @@ {% set tunnel_esp_name = tunnel_conf.esp_group if tunnel_conf.esp_group is vy...
1
1
0
[{"id": "G0", "claim": "The CLI setup calls in the new test fit on single lines without breaking, so the added line breaks are unnecessary and hurt readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
vyos__vyos-1x__4647
vyos/vyos-1x
4,647
defect
35f333b26326940e5e0cf3f97eb99dbb55a77e08
dcb2288dfcbd63b5de7961f013a04107a258bfde
T7678: Move "vpp settings host-resources" to "system option resource-limits"
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> ## Types of changes <!--- What types of changes...
diff --git a/interface-definitions/system_option.xml.in b/interface-definitions/system_option.xml.in index 5d385e3d0ed..e372548bf2e 100644 --- a/interface-definitions/system_option.xml.in +++ b/interface-definitions/system_option.xml.in @@ -32,6 +32,49 @@ <constraintErrorMessage>Must be ignore, reboot, o...
6
5
2
[{"id": "G0", "claim": "Reading hugepage configuration from 'kernel.memory.hugepage_size' could cause issues if host_resources is configured independently, so a guard defaulting total_pages to 0 when hp_sizes is missing should be added.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "in...
null
vyos__vyos-1x__4659
vyos/vyos-1x
4,659
defect
471441d9d6541401c5236399da0b7a56a7dd0ead
87285fb3d69cb601beb9ab84fb693f7384f97f54
haproxy: T7715: Add rule matching on subdomains
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> Add frontend/backend rule option for matching on s...
diff --git a/data/templates/load-balancing/haproxy.cfg.j2 b/data/templates/load-balancing/haproxy.cfg.j2 index b4c3505c9f4..c73f7172257 100644 --- a/data/templates/load-balancing/haproxy.cfg.j2 +++ b/data/templates/load-balancing/haproxy.cfg.j2 @@ -121,12 +121,16 @@ frontend {{ front }} # rule {{ rule }} {% ...
1
1
0
[{"id": "G0", "claim": "The XML command definition is defined two times (rule-backend.xml.i and rule-frontend.xml.i), which makes it a perfect candidate for an #include statement.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vyos__vyos-1x__4665
vyos/vyos-1x
4,665
defect
133cb0c65d5aa2ca5a96feba6ab7adc3a8f1de58
9c35d29deaae2ac05292a9a88bdb28ec23ba3b96
dhcp-server: T3936: Added support for DHCP Option 82
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> NB: This is a replacement pull request for one whic...
diff --git a/data/templates/dhcp-server/kea-dhcp4.conf.j2 b/data/templates/dhcp-server/kea-dhcp4.conf.j2 index 60c9cf9b29d..69ec4c63ee8 100644 --- a/data/templates/dhcp-server/kea-dhcp4.conf.j2 +++ b/data/templates/dhcp-server/kea-dhcp4.conf.j2 @@ -28,6 +28,9 @@ "persist": true, "name": "{{ le...
13
12
1
[{"id": "G0", "claim": "The client-class constraint error message was copied from the shared-network definition and says 'Shared network name' where it needs to describe the client class name.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cir...
null
vyos__vyos-1x__4678
vyos/vyos-1x
4,678
defect
968409218f914d180b2f9781edf3423ddb8ac738
f45e502ba03fb8f4e9e3e1480a2d2f0a78430cdf
image: T5455: Add migration of SSH `known_hosts` files during upgrade
## Change summary During upgrade, the script now checks if any `known_hosts` files exist. If so, it prompts the user to save these SSH fingerprints, and upon confirmation, copies the files to the new image persistence directory. ``` Would you like to copy SSH host keys? [Y/n] Copying SSH host keys Would you like...
diff --git a/src/op_mode/image_installer.py b/src/op_mode/image_installer.py index e42d5b85667..0d4c42f66d9 100755 --- a/src/op_mode/image_installer.py +++ b/src/op_mode/image_installer.py @@ -19,6 +19,7 @@ from argparse import ArgumentParser, Namespace from pathlib import Path +from pwd import getpwall from shuti...
6
4
1
[{"id": "G0", "claim": "Using getpwall() to enumerate users can be inefficient on systems with many users; consider using os.listdir('/home') and filtering for valid user directories instead.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "String conca...
null
vyos__vyos-1x__4686
vyos/vyos-1x
4,686
defect
133cb0c65d5aa2ca5a96feba6ab7adc3a8f1de58
86b3b035b8559ee5dd8da8d4a57a11c041b32882
container: T7186: Add macvlan network type for containers
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> This change adds the ability to configure macvlan a...
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index f20fd76902a..d4efc08be81 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -566,6 +566,24 @@ <children> #include <include/generic-description.xml.i> ...
4
3
0
[{"id": "G0", "claim": "The MAC address generation logic runs on every network loop iteration but only uses the last network's addresses, overwriting mac_address each pass and generating incorrect MAC addresses for containers with multiple networks.", "category": "correctness", "verdict": "supported", "priority": "P2",...
null
vyos__vyos-1x__4700
vyos/vyos-1x
4,700
defect
a4b72d3839f2ee05456b0677a8f2cc27c04a9423
f1a5e79583ae56e4e87c6047afb6104b1985ba1a
Python: T7740: Update dict_search to return optional default value
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> I've often found myself needing to return a default...
diff --git a/python/vyos/utils/dict.py b/python/vyos/utils/dict.py index a43430eed76..5d41900b6d4 100644 --- a/python/vyos/utils/dict.py +++ b/python/vyos/utils/dict.py @@ -145,24 +145,33 @@ def get_sub_dict(source, lpath, get_first_key=False): return ret -def dict_search(path, dict_object): +def dict_search(p...
1
1
1
[{"id": "G0", "claim": "The new default-value behaviour of dict_search is untested, so the author should extend the build-time test suite (src/tests/test_dict_search.py, run by make test / make all) to cover those cases.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vyos__vyos-1x__4781
vyos/vyos-1x
4,781
defect
fc178aaf00f7a9dc4589567ae3e17cb9718d9ad3
82ce0e28a1117e8b189a2a4e060205561a26ab92
T7897: VPP: fix rx-mode interrupt for XDP driver with workers
Remove no-syscall-lock from CLI and enable this option if workers are configured. Also forbid interrupt mode for ixgbevf driver <!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change...
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in index c45d89b949c..911c6f6682f 100644 --- a/interface-definitions/vpp.xml.in +++ b/interface-definitions/vpp.xml.in @@ -561,12 +561,6 @@ <help>XDP settings</help> </properties> <children...
1
1
1
[{"id": "G0", "claim": "The PR removes the `no-syscall-lock` option from the CLI, and the reviewer does not understand where the `no_syscall_lock` flag would then come from and states that per prior agreement a config syntax change now requires a migration script.", "category": "correctness", "verdict": "supported", "p...
null
vyos__vyos-1x__4852
vyos/vyos-1x
4,852
defect
2a9b37acaf2fb90afa5c3df30dcef6a71355929f
eef18e32cdfaeaf76a0810c01e00f1c460ca03fe
ssh: T7483: Add fido2 PubkeyAuthOptions
## Change summary Add `PubkeyAuthOptions` to allow requiring touch and user verification. ## Types of changes <!--- What types of changes does your code introduce? Put an 'x' in all the boxes that apply. NOTE: Markdown requires no leading or trailing whitespace inside the [ ] for checking the box, please use [x...
diff --git a/data/templates/ssh/sshd_config.j2 b/data/templates/ssh/sshd_config.j2 index 1315bf2cbea..9f785654ac3 100644 --- a/data/templates/ssh/sshd_config.j2 +++ b/data/templates/ssh/sshd_config.j2 @@ -72,6 +72,18 @@ HostKeyAlgorithms {{ hostkey_algorithm | join(',') }} PubkeyAcceptedAlgorithms {{ pubkey_accepted_a...
5
4
3
[{"id": "G0", "claim": "The CLI syntax for the new options should be improved rather than top-level `verify-required`/`touch-required` - dmbaturin would prefer `require <verification|touch>` and c-po proposes `set service ssh fido pin-required` / `set service ssh fido touch-required`.", "category": "design", "verdict":...
null
vyos__vyos-1x__4859
vyos/vyos-1x
4,859
defect
dac6ca177f3229ed42b4028420a4522b2bb600c6
678ecd2d9d230d1f51753d0ec0eaa8e1373cb3a1
T8027: vpn: adding config for swanctl "send-cert always"
This setting seems to be required for various Apple clients to connect to the IKEv2 IPSec VPN. <!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary Setting this configuratio...
diff --git a/data/templates/ipsec/swanctl/remote_access.j2 b/data/templates/ipsec/swanctl/remote_access.j2 index c79f292b41f..b398be7fc26 100644 --- a/data/templates/ipsec/swanctl/remote_access.j2 +++ b/data/templates/ipsec/swanctl/remote_access.j2 @@ -8,6 +8,9 @@ proposals = {{ ike_group[rw_conf.ike_group] | ...
2
2
1
[{"id": "G0", "claim": "The new leafNode send-cert-always should be renamed to always-send-cert.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please also provide smoketests for this feature.", "category": "testing", "verdict": "supported", "pr...
null
vyos__vyos-1x__4880
vyos/vyos-1x
4,880
defect
81eb7510621b3aa478359117733204bc7f140931
e218381e24a13f5f80ad5d80bafac94d29a44fb6
vpp: T7972: Make `nat44 no-forwarding` feature automatically configurable
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> Automatically enable `nat44 forwarding` if static r...
diff --git a/interface-definitions/include/version/vpp-version.xml.i b/interface-definitions/include/version/vpp-version.xml.i index b92e9a21aa9..416125dc79a 100644 --- a/interface-definitions/include/version/vpp-version.xml.i +++ b/interface-definitions/include/version/vpp-version.xml.i @@ -1,3 +1,3 @@ <!-- include s...
4
4
2
[{"id": "G0", "claim": "The `+` in the new processing-mode values (static+dynamic / static+bypass) is inconsistent with the current CLI style; some other format such as static-dynamic / static-bypass should be used.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
vyos__vyos-1x__4892
vyos/vyos-1x
4,892
defect
b4b3ca488213abfed2175d38fdd09628e8a33766
240b300c1d42944a58ed3b95ebf661451b490212
login: T8086: replace getpwall() based user enumeration to avoid NSS/TACACS timeouts
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> The previous implementation of `system login` rel...
diff --git a/python/vyos/utils/auth.py b/python/vyos/utils/auth.py index 46233233271..a9043182314 100644 --- a/python/vyos/utils/auth.py +++ b/python/vyos/utils/auth.py @@ -18,10 +18,12 @@ import re import string -from enum import StrEnum +from dataclasses import dataclass from decimal import Decimal -from pwd imp...
5
4
2
[{"id": "G0", "claim": "The int() conversion for pw_uid and pw_gid in get_local_passwd_entries lacks error handling, so a malformed /etc/passwd entry with non-numeric UID or GID raises a ValueError and can crash the application; malformed entries should be skipped or a warning logged.", "category": "correctness", "verd...
null
vyos__vyos-1x__4896
vyos/vyos-1x
4,896
defect
7d8767de8d9f61f0a9d06e91e952e20beac78120
0b199db46ca4bdd5618f743a3f5737a98136965a
ssh: T8090: T8098: add support for config test mode (sshd -t)
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> Add a safety-net for development to check if the ...
diff --git a/src/conf_mode/service_ssh.py b/src/conf_mode/service_ssh.py index dca021d02fa..d67c1fa3f9a 100755 --- a/src/conf_mode/service_ssh.py +++ b/src/conf_mode/service_ssh.py @@ -29,6 +29,7 @@ from vyos.defaults import config_files from vyos.defaults import SSH_DSA_DEPRECATION_WARNING from vyos.utils.process i...
1
1
1
[{"id": "G0", "claim": "The added sshd -t verification makes the config-load/commit fail because the generated sshd_config contains 'rijndael-cbc@lysator.liu.se', a cipher unsupported by the installed OpenSSH (\"Bad SSH2 cipher spec\" at /run/sshd/sshd_config line 55).", "category": "correctness", "verdict": "supported...
null
vyos__vyos-1x__4919
vyos/vyos-1x
4,919
defect
51036f9d188bd7e0061a6c8c4798fb2b0ce63297
d31b90b96ee97b1a6316c127dc1510fb3e8dc92c
interfaces: T7730: Add interrupt coalescing settings for Ethernet interfaces
## Change summary This change introduces CLI support for configuring network interface interrupt coalescing parameters (`ethtool --coalesce`). > **Note:** Not all NIC drivers support interrupt coalescing. > ``` > vyos@vyos:~$ ethtool --coalesce eth0 adaptive-rx on > netlink error: cannot modify an unsupported ...
diff --git a/interface-definitions/interfaces_ethernet.xml.in b/interface-definitions/interfaces_ethernet.xml.in index 819ceb2cbd3..3143e17c38c 100644 --- a/interface-definitions/interfaces_ethernet.xml.in +++ b/interface-definitions/interfaces_ethernet.xml.in @@ -221,6 +221,49 @@ </leafNode> ...
13
11
5
[{"id": "G0", "claim": "The comment '81 - does not possible to set value' has a grammar error and should read 'not possible to set value' or similar.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Calling Warning(...) only creates a discarded obje...
null
vyos__vyos-1x__4930
vyos/vyos-1x
4,930
defect
76830afc8703a3f9f6be7500cb92aa9b6e255425
0f1948354d5f702712ba089f717ca428f5f618b2
ipsec: T8136: IPSEC PPK support
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> Adds support for IKEv2 post-quantum preshared keys ...
diff --git a/data/templates/ipsec/swanctl.conf.j2 b/data/templates/ipsec/swanctl.conf.j2 index e4e0b373d8f..6e143d5be3a 100644 --- a/data/templates/ipsec/swanctl.conf.j2 +++ b/data/templates/ipsec/swanctl.conf.j2 @@ -91,6 +91,8 @@ secrets { {% endif %} {% if psk_config.secret_type is vyos_defined('bas...
11
10
5
[{"id": "G0", "claim": "The childless leafNode needs a constraint limiting accepted values, like the one used for secret-type at line 88.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The duplicated childless and ppk XML blocks should be factored i...
null
vyos__vyos-1x__4942
vyos/vyos-1x
4,942
defect
7fea6b6dbbd786bf6a32c496fc70ca9e9b5f8b1f
7218fd0fe97203ae06377446c82d144da9d0e4a3
vpp: T8125: Enable ip4-dhcp-client-detect feature if interface address is configured as DHCP
DHCP address cannot be assigned on VPP interfaces without enabling the 'ip4-dhcp-client-detect' feature NOTE: When switching from DPDK to XDP (for vmxnet3), the 'ip4-dhcp-client-detect' feature does not work and the DHCP address is not assigned on the interface. Configuring XDP initially works correctly. <!-- All...
diff --git a/data/templates/vpp/startup.conf.j2 b/data/templates/vpp/startup.conf.j2 index b67251acc99..b5b4853ce6b 100644 --- a/data/templates/vpp/startup.conf.j2 +++ b/data/templates/vpp/startup.conf.j2 @@ -114,6 +114,8 @@ plugins { # plugin wireguard_plugin.so { enable } # ACL plugin acl_plugin.so { e...
4
1
1
[{"id": "G0", "claim": "Enabling dhcp_plugin.so in the VPP startup configuration will allow VPP's internal DHCP client, so all DHCP Linux options will be ignored, which is why the plugin was not used before.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
vyos__vyos-1x__4953
vyos/vyos-1x
4,953
defect
0a619674e6ce46add5d1573399179c0d8e29456c
63cd7c51cd0fb97431bed87cad2cfb1e6c879f13
http-api: T7090: Implement background configure operations for REST API
## Change summary Large config commits (`service config-sync`) can block the REST API request path and sometimes must be deferred (e.g., when changing `service https`). This commit introduces an in-memory background operation manager that queues (FIFO) full configure operations (commands + commit/commit-confirm) as...
diff --git a/smoketest/scripts/cli/test_service_https.py b/smoketest/scripts/cli/test_service_https.py index 7fee7158d70..4585bb0bdb2 100755 --- a/smoketest/scripts/cli/test_service_https.py +++ b/smoketest/scripts/cli/test_service_https.py @@ -17,6 +17,7 @@ import unittest import json import psutil +import time ...
2
2
1
[{"id": "G0", "claim": "When in_background=True, a BackgroundOpError raised by BackgroundOpManager.enqueue() (e.g. a full background queue) is not caught by _configure_op(), so it bubbles up as an unhandled exception and bypasses the normal success/error wrapper; the handler should catch BackgroundOpError and return a ...
null
vyos__vyos-1x__4954
vyos/vyos-1x
4,954
defect
0a619674e6ce46add5d1573399179c0d8e29456c
4ea816a79b296a6e157897c4ef310da3b4bda47f
T7756: Fix rsyslog configuration generation
1.) Fix both syslog and logrotate writing /etc/logrotate.d/vyos-rsyslog - system_syslog.py generates /etc/logrotate.d/vyos-rsyslog-user for user file logrotate - system_logs.py generates /etc/logrotate.d/vyos-rsyslog using configured rotation parameters 2.) Fix /run/rsyslog/rsyslog.conf ignoring configured size fo...
diff --git a/data/templates/logs/logrotate/vyos-rsyslog.j2 b/data/templates/logs/logrotate/vyos-rsyslog.j2 index f2e4d2ab2ba..23e5810cdd4 100644 --- a/data/templates/logs/logrotate/vyos-rsyslog.j2 +++ b/data/templates/logs/logrotate/vyos-rsyslog.j2 @@ -1,3 +1,4 @@ +### Autogenerated by system_logs.py ### /var/log/mess...
5
3
1
[{"id": "G0", "claim": "Because get_config_dict(['system', 'logs'], with_recursive_defaults=True) always blends the XML defaults into the resulting dict, the `if max_size_mb is None:` fallback (and with it the `if max_size_mb is not None:` guard and the `from vyos.xml_ref import default_value` import) in src/conf_mode/...
null
vyos__vyos-1x__4955
vyos/vyos-1x
4,955
defect
707b3e92a5c8c3ffaa3c5bec831d7796452efd72
1aba59c642dfea92b44574402b66f23df13ea2b8
vpp: T8202: Remove XDP driver and options from CLI and config
- Driver node is removed from the CLI (dpdk now is the only one driver and it is set automatically) - Migration script removes 'driver' and 'xdp-options' nodes. - XDP logic is commented out in config verification and CLI tests, preserving code for future use. - The rest of XDP-related code remains untouched <!-- ...
diff --git a/data/templates/vpp/startup.conf.j2 b/data/templates/vpp/startup.conf.j2 index b5b4853ce6b..714758d78cb 100644 --- a/data/templates/vpp/startup.conf.j2 +++ b/data/templates/vpp/startup.conf.j2 @@ -84,7 +84,7 @@ physmem { plugins { plugin default { disable } - plugin af_xdp_plugin.so { enable } + ...
3
3
1
[{"id": "G0", "claim": "The af_xdp_plugin.so line in the VPP startup template should be removed entirely rather than left commented out, though the reviewer frames this as an aesthetic choice.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The '...
null
vyos__vyos-1x__4962
vyos/vyos-1x
4,962
defect
8944d5e4aea06e0c501880204c49a32494df8966
471fe3cefc1e1cbc7ac444efcde87309e7692116
isis: T6978: add IS-IS SRv6 node-msd configuration
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary Add SRv6 node-msd configuration options to IS-IS to support uSID implementations. ## Types of changes <!--- What types...
diff --git a/data/templates/frr/isisd.frr.j2 b/data/templates/frr/isisd.frr.j2 index 8df8e90d1ba..8128c671105 100644 --- a/data/templates/frr/isisd.frr.j2 +++ b/data/templates/frr/isisd.frr.j2 @@ -152,9 +152,30 @@ advertise-passive-only {% if segment_routing.maximum_label_depth is vyos_defined %} segment-routing...
20
17
3
[{"id": "G0", "claim": "Creating and deleting the sr0 interface should not be done in the verify section but in the apply section.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The srv6 interface leaf node should validate the CLI interface name with the...
null
vyos__vyos-1x__4997
vyos/vyos-1x
4,997
defect
9785f396ba1e82b6b359e42af7da03828b4ff6ed
b3e597e5912fab2e8acbe8a173b67721134fe63a
vpp: T8261: Refactor resource settings into 'resource-allocation' section
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> ## Types of changes <!--- What types of chang...
diff --git a/data/templates/vpp/startup.conf.j2 b/data/templates/vpp/startup.conf.j2 index b93b53bbd00..cf629f59c95 100644 --- a/data/templates/vpp/startup.conf.j2 +++ b/data/templates/vpp/startup.conf.j2 @@ -27,36 +27,34 @@ cpu { } {% endif %} -{% if buffers is vyos_defined %} +{% if resource_allocation.buffers is...
2
2
0
[{"id": "G0", "claim": "In interface-definitions/vpp.xml.in the data-size valueHelp should use plain `u32`, which automatically expands to <0-4294967295>, instead of the explicit `<format>u32:0-4294967295</format>`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
vyos__vyos-1x__5001
vyos/vyos-1x
5,001
defect
61ba7ee632fd2ee8fe58b636087e539da89c6e65
4b4a3df51af92c14ff866faabca011365d0c302c
vpp: T8283: Move bonding interface from vpp section to 'interfaces vpp bonding'
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> ## Types of changes <!--- What types of chang...
diff --git a/interface-definitions/include/version/vpp-version.xml.i b/interface-definitions/include/version/vpp-version.xml.i index 59d13f8cf07..b354faa087b 100644 --- a/interface-definitions/include/version/vpp-version.xml.i +++ b/interface-definitions/include/version/vpp-version.xml.i @@ -1,3 +1,3 @@ <!-- include s...
17
13
7
[{"id": "G0", "claim": "The `config.delete()` calls under the final two `if` statements of the migration script are over-indented, which the reviewer says will cause an `IndentationError` and prevent the migration script from running; align the indentation with the `if` blocks.", "category": "maintainability", "verdict...
null
vyos__vyos-1x__5014
vyos/vyos-1x
5,014
defect
bfb8537c4e79e18e960cf15064658d3ee50fd05a
7d836526e0a7a40d8d72f0029bfb5abafe0b54c7
vpp: T8296: Move vxlan interface from vpp section to 'interfaces vpp vxlan'
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> ## Types of changes <!--- What types of changes...
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in index 9f245aaf308..cf947a29d41 100644 --- a/interface-definitions/vpp.xml.in +++ b/interface-definitions/vpp.xml.in @@ -186,28 +186,6 @@ #include <include/kernel-interface-tun.xml.i> </children> </tag...
2
2
0
[{"id": "G0", "claim": "Priorities for 'interfaces vpp' should be set in only one place, since the new vpp_interface_vxlan.xml.in duplicates the <priority>300</priority> already present in the bonding XML, and the reviewer questions whether this priority is needed at all.", "category": "design", "verdict": "supported",...
null
vyos__vyos-1x__5015
vyos/vyos-1x
5,015
defect
3e448bd51685688bdae6ec698a3923cfdeb83689
d3092c8834b4ef53de0782db21460f5ab0cf7024
vpp: T8314: Migrate ipip interface to 'interfaces vpp ipip'
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> ## Types of changes <!--- What types of changes...
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in index cf947a29d41..ca9838af0fd 100644 --- a/interface-definitions/vpp.xml.in +++ b/interface-definitions/vpp.xml.in @@ -146,27 +146,6 @@ #include <include/kernel-interface-tun.xml.i> </children> </tag...
1
1
1
[{"id": "G0", "claim": "The second `_migrate_members_bridge(config, ifname)` call added inside `_migrate_vpp_vxlan_interface` is unexpected — it duplicates the call two lines above, so bridge members of each vpp vxlan interface would be migrated twice.", "category": "correctness", "verdict": "supported", "priority": "P...
null
vyos__vyos-1x__5022
vyos/vyos-1x
5,022
defect
d47be4a8e2119e2be0be5fe9d7c29d7d8eaf24d9
e78420d153a2fbb019faef2cd06110b23aa5e065
vpp: T8327: Migrate bridge interface to 'interfaces vpp bridge'
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> Should be rebased and checked after the next PRs are merged: https://github.com/vyos/vyos-1x/pull/5014 https://github.com/vyos/vyos-1x/pull/50...
diff --git a/data/config-mode-dependencies/vyos-vpp.json b/data/config-mode-dependencies/vyos-vpp.json index 490cec71799..12dd1efad94 100644 --- a/data/config-mode-dependencies/vyos-vpp.json +++ b/data/config-mode-dependencies/vyos-vpp.json @@ -20,6 +20,7 @@ }, "vpp_interfaces_bonding": { "vpp_interf...
5
4
0
[{"id": "G0", "claim": "In src/conf_mode/vpp_interfaces_bonding.py the new verify import should be written as two single-name 'from vyos.vpp.config_verify import ...' statements instead of one parenthesised multi-name import.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduce...
null
vyos__vyos-1x__5036
vyos/vyos-1x
5,036
defect
7c520f8ec786f6cff411188498822eab00e69afd
76127236712d74ba2f2f8baddf664809c2f40049
vyos.ifconfig: T8358: clear qdiscs when deleting mirror CLI node
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> When removing the mirror CLI node to stop mirrori...
diff --git a/python/vyos/configdict.py b/python/vyos/configdict.py index e1d05c38445..b16c3cf1dfc 100644 --- a/python/vyos/configdict.py +++ b/python/vyos/configdict.py @@ -472,7 +472,7 @@ def get_interface_dict(config, base, ifname='', recursive_defaults=True, with_pk # Check if QoS policy applied on this inter...
1
1
1
[{"id": "G0", "claim": "Move the `cls._mirror_interfaces = ['eth0']` assignment in DummyInterfaceTest.setUpClass to before the `super().setUpClass()` call, because super() reads `cls._mirror_interfaces` while it still holds the base default (so the wrong mirror interface is created) and tearDownClass would then delete ...
null
vyos__vyos-1x__5058
vyos/vyos-1x
5,058
defect
a460235665034eb645a41b786d14aa14f8405aca
3112d1cb99582db99ed460bcb835fc12feede7dd
T8389: fix domain-password md5 for isisd/fabricd
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> When `domain_password.md5` is defined, both templat...
diff --git a/data/templates/frr/fabricd.frr.j2 b/data/templates/frr/fabricd.frr.j2 index 3a0646eb8b1..27110f6ae86 100644 --- a/data/templates/frr/fabricd.frr.j2 +++ b/data/templates/frr/fabricd.frr.j2 @@ -39,7 +39,7 @@ exit router openfabric {{ name }} net {{ net }} {% if router_config.domain_password.md5 is vy...
1
1
0
[{"id": "G0", "claim": "The smoketests currently only check clear passwords and need to be extended to also check MD5 passwords.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
vyos__vyos-1x__5080
vyos/vyos-1x
5,080
defect
fc06cc45148a42171baf9f4ae01da33c3f0df1aa
9fce64a74df76a00949b584a0e17ca8a7b4a124a
vpp: T8416: Prevent interfaces from being assigned to xconnect and bridge/bonding at the same time
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> ## Types of changes <!--- What types of changes...
diff --git a/python/vyos/vpp/config_verify.py b/python/vyos/vpp/config_verify.py index c93a647f975..b32544a4026 100644 --- a/python/vyos/vpp/config_verify.py +++ b/python/vyos/vpp/config_verify.py @@ -62,6 +62,35 @@ def verify_vpp_tunnel_source_address(config: dict): ) +def verify_member_conflicts(iface, confi...
2
2
1
[{"id": "G0", "claim": "The PR should be extended with a smoketest that triggers the xconnect/bridge/bonding membership conflict and checks that a proper ConfigError assertion is raised.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The check should, i...
null
vyos__vyos-1x__5089
vyos/vyos-1x
5,089
defect
fa866ce702e9235b0803f926364eef3c9d3b3dc4
2d1249b23f7ebf32711023d37f36a328578883f6
bgp: T7338: Add support for "parameters as-notation <asdot|asdot+>"
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary This PR adds support in BGP for `parameters as-notation <asdot|asdot+|plain>` With this option the user can control h...
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2 index 44022f738fd..485035881be 100644 --- a/data/templates/frr/bgpd.frr.j2 +++ b/data/templates/frr/bgpd.frr.j2 @@ -259,7 +259,7 @@ {# j2lint: disable=jinja-statements-delimeter #} {%- endmacro -%} ! -router bgp {{ system_as }} {{ 'vrf ' ~ ...
4
3
2
[{"id": "G0", "claim": "The as-notation option's value names and its valueHelp descriptions, completion list, constraint regex and smoketest values should use the RFC 5396 terms asdot/asdot+ instead of dot/dot+.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
vyos__vyos-1x__5108
vyos/vyos-1x
5,108
defect
b476308dc3f64cb1b250b101568f49ab870b6bd1
199ec330742ac1570dfa7fdc44c6b0444beee864
T8448: add an option to enable SNMP traps in VRRP
<!-- All PR should follow this template to allow a clean and transparent review --> <!-- Text placed between these delimiters is considered a comment and is not rendered --> ## Change summary <!--- Provide a general summary of your changes in the Title above --> Allow to configure Keepalived VRRP traps - set ...
diff --git a/data/templates/high-availability/keepalived.conf.j2 b/data/templates/high-availability/keepalived.conf.j2 index c0d66ae54c6..f0ed7909c46 100644 --- a/data/templates/high-availability/keepalived.conf.j2 +++ b/data/templates/high-availability/keepalived.conf.j2 @@ -5,6 +5,9 @@ # Global definitions configura...
1
1
1
[{"id": "G0", "claim": "Add a smoketest that validates the generated keepalived.conf, covering the new VRRP SNMP trap option.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
w3c__epubcheck__944
w3c/epubcheck
944
defect
92aa4c47a3b599cb645dc9d98d0f37b98cb1144d
849b4b4a7c270a6e4eefbfd4d0f14ce6e60b8253
fix: `switch` item property doesn't apply to `svg:switch`
The `switch` property of Package Documents `item` elements indicates that the described Publication Resource contains one or more instances of the `epub:switch` element. It should not be declared when the EPUB contains SVG using the `svg:switch` element. Fixes #857
diff --git a/src/main/java/com/adobe/epubcheck/ops/OPSHandler30.java b/src/main/java/com/adobe/epubcheck/ops/OPSHandler30.java index 6590269e3..523b27cba 100644 --- a/src/main/java/com/adobe/epubcheck/ops/OPSHandler30.java +++ b/src/main/java/com/adobe/epubcheck/ops/OPSHandler30.java @@ -245,7 +245,7 @@ else if (name.e...
1
1
1
[{"id": "G0", "claim": "The switch check should test the element's namespace against EpubTypeNamespaceUri (the epub namespace for svg:switch), not HtmlNamespaceUri as written.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
w3c__epubcheck__970
w3c/epubcheck
970
defect
356fac0f860cb09601feec8f940f6414c14cea9c
f8e79c89caa9c91b8cfe75f071663c63a84d3ffa
Allow foreign ns elements and attributes in svg content docs
(Resubmitting branched off next/v4.2.0 this time.) I believe this NVDL accomplishes what is needed for #491. It attaches XHTML elements as well as epub:, xlink: and xml: attributes, as well as attributes in no namespace. Elements and attributes from any other namespace are blanket allowed. The empty pattern in t...
diff --git a/src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-30.nvdl b/src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-30.nvdl index 6e1ef8185..2f1c571fd 100644 --- a/src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-30.nvdl +++ b/src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-30....
2
2
1
[{"id": "G0", "claim": "The NVDL mode should not be named \"attach\", since that mode does not attach foreign elements or attributes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "unclear"}, {"id": "G1", "claim": "Before merging, the PR must be augmented with Java code to preprocess (remov...
null
w3c__epubcheck__971
w3c/epubcheck
971
defect
356fac0f860cb09601feec8f940f6414c14cea9c
85f04838707f2840e5ead5c8c10820d250dcbfda
Change css position warnings to usage messages
This PR addresses #899 in the following ways: - lowers CSS-006 and CSS-017 from WARNING to USAGE - deletes CSS-027 as it becomes redundant with -017 Making these changes resulted in no warnings in the command line tests, though, so to add one back I deleted the title from one of the XHTML content documents. We d...
diff --git a/src/main/java/com/adobe/epubcheck/ctc/css/EpubCSSCheckCSSHandler.java b/src/main/java/com/adobe/epubcheck/ctc/css/EpubCSSCheckCSSHandler.java index c1f0d204c..0e311ae8d 100644 --- a/src/main/java/com/adobe/epubcheck/ctc/css/EpubCSSCheckCSSHandler.java +++ b/src/main/java/com/adobe/epubcheck/ctc/css/EpubCSS...
2
1
1
[{"id": "G0", "claim": "The PR author wonders whether the other CSS message codes should be shifted up to close the gap left by deleting CSS_027 (s/CSS_028/CSS_027), and suggests leaving it as is and revisiting when refactoring after v4.2.0.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scop...
null
w3c__epubcheck__973
w3c/epubcheck
973
defect
1c95c892ff914d97b08d2b09f7683f28f7fe26cf
a7d911786e4ef97a488332c9a21aed9b48a5d3fb
Issue/902
Updated code to check for Widht/Height on fixed layout SVG elements. If no width/height/viewBox are present, reworded version of HTM_048 presented. If width/height present buy no viewBox, a warning is displayed. Additional warning added for widht/height with % values as spec recommends using pixel values for these...
diff --git a/src/main/java/com/adobe/epubcheck/ctc/EpubSVGCheck.java b/src/main/java/com/adobe/epubcheck/ctc/EpubSVGCheck.java index 733fb97bd..cd00f8bc2 100644 --- a/src/main/java/com/adobe/epubcheck/ctc/EpubSVGCheck.java +++ b/src/main/java/com/adobe/epubcheck/ctc/EpubSVGCheck.java @@ -123,9 +123,22 @@ void checkView...
9
8
1
[{"id": "G0", "claim": "The commented-out line '//if (viewport == null || viewport.length() == 0)' left in checkViewBox should be safely removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new width/height test is too permissive because ...
null
wacker-dev__waki__30
wacker-dev/waki
30
defect
07d17c7fcd9c97162776bd91ee2c160809b5e299
300535b1c92020a62885a3aa4d18f13f440c8d55
Adding authority to Requests for both client and server.
Adding authority() to the request struct. Added tests for server and client. It is needed for situations when you for example host multiple domains on your server and implements router in your wasm-component.
diff --git a/test-programs/src/bin/client_get_authority.rs b/test-programs/src/bin/client_get_authority.rs new file mode 100644 index 0000000..d0bb8b5 --- /dev/null +++ b/test-programs/src/bin/client_get_authority.rs @@ -0,0 +1,14 @@ +use waki::Client; + +fn main() { + let req = Client::new() + .get("https://...
1
1
0
[{"id": "G0", "claim": "The client-side authority test case is unnecessary because the server-side authority test case already covers it, so it should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wagslane__go-rabbitmq__195
wagslane/go-rabbitmq
195
defect
cd74be0d6ebf1573fa39e0892c86ab41ccca700b
3983b966b2793296378f2de1643305a9ab96e71c
Fix: Redact password from URL
According to #190, password gets logged when connection fails. Hopefully this solves the issue :)
diff --git a/internal/connectionmanager/connection_manager.go b/internal/connectionmanager/connection_manager.go index 8e659ea..c8eaed7 100644 --- a/internal/connectionmanager/connection_manager.go +++ b/internal/connectionmanager/connection_manager.go @@ -3,6 +3,7 @@ package connectionmanager import ( "errors" "f...
2
1
0
[{"id": "G0", "claim": "The PR should stop logging the connection URL entirely rather than redact the password from it.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the '// Log masked url' comment above the log call in dial().", "category": "maint...
null
wagtail__wagtail__10852
wagtail/wagtail
10,852
defect
06a7bc6124bf62675c09fbe0a4ed9bbac183e025
541682f7ae7580e77551f32a498b353350ec5722
Support external link in search promotions
Fixes #10725 Added docstrings to all functions in forms.py, models.py, and tests.py. Strongly suggest all tests in the future be careful not to assume the sort_order on newly created records if the sort_order was not explicitly set. Different databases can give different results (e.g., python3.10/django4.1/postg...
diff --git a/docs/reference/contrib/searchpromotions.md b/docs/reference/contrib/searchpromotions.md index cb6d18f1668d..e1b81cded6c8 100644 --- a/docs/reference/contrib/searchpromotions.md +++ b/docs/reference/contrib/searchpromotions.md @@ -41,12 +41,25 @@ To retrieve a list of promoted search results for a particula...
11
11
1
[{"id": "G0", "claim": "Remove the boilerplate docstrings and comments this PR adds to existing code and leave the existing docstrings unchanged, since the unrelated docstring churn should not be part of this PR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "...
null
wagtail__wagtail__11766
wagtail/wagtail
11,766
defect
f32c321cdd19f047d30449e493b22eff6adfe9b3
04ade6d217b0c8ab3746383e92e14c32e224a7f9
Use `default_manager` instead of `objects` in `ModelIndexView`
Fixes #11765 by using the model's [`_default_manager`](https://docs.djangoproject.com/en/5.0/topics/db/managers/#django.db.models.Model._default_manager) to get the count instead of the hardcoded `objects`
diff --git a/wagtail/snippets/views/snippets.py b/wagtail/snippets/views/snippets.py index 4d47fbbed732..295f029626f5 100644 --- a/wagtail/snippets/views/snippets.py +++ b/wagtail/snippets/views/snippets.py @@ -90,7 +90,7 @@ def _get_snippet_types(self): return [ { "name": capfirs...
1
1
1
[{"id": "G0", "claim": "The pull request's change ships untested: no test reproduces the model-index crash for a snippet model without an `objects` manager, and the author should be able to adapt an existing snippet test model definition (e.g. `AdvertWithCustomPrimaryKey`) to trigger the issue.", "category": "testing",...
null
wagtail__wagtail__12141
wagtail/wagtail
12,141
defect
555e2e4e800d01200d95d59ebe5dd96b0f43ffa2
f8b8b09a902cd507fb91d8f8310540452f2922ee
Retain fields parameter when redirecting from find_view of API
Fixes #6577 I know there must be prettier ways to accomplish this but I'm not entirely familiar with what tools there are in Wagtail to construct URLs so here's a starting point.
diff --git a/wagtail/api/v2/tests/test_pages.py b/wagtail/api/v2/tests/test_pages.py index 06a4e1bcdeb6..5a803a72bcd3 100644 --- a/wagtail/api/v2/tests/test_pages.py +++ b/wagtail/api/v2/tests/test_pages.py @@ -1781,6 +1781,19 @@ def test_find_by_html_path_with_start_and_end_slashes_removed(self): fetch_re...
2
2
1
[{"id": "G0", "claim": "The pull request should add a unit test covering the find_view behaviour of retaining the fields parameter in the redirect.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "find_view should retain all query parameters except the on...
null
wagtail__wagtail__12278
wagtail/wagtail
12,278
defect
5aa0673452ca5e3306622e89bb425f5acdcf326e
3ed4e571eebdbd3d7599c10603ce4aef3186426e
Add method to set default privacy option
fixes #3708 Usage The default option can be different based on the user or request if desired. ```python class newPage(Page): ... def get_default_privacy_setting(self,request): # privacy setting options ['public',"logged_in", "shared_password", "user_groups"] # set default t...
diff --git a/docs/reference/pages/model_reference.md b/docs/reference/pages/model_reference.md index 7951215f22e4..ac026fb90436 100644 --- a/docs/reference/pages/model_reference.md +++ b/docs/reference/pages/model_reference.md @@ -190,6 +190,37 @@ See also [django-treebeard](https://django-treebeard.readthedocs.io/en/l...
13
10
2
[{"id": "G0", "claim": "The new get_default_privacy_setting should have logic to account for private_page_options, avoiding defaulting to public when it is not in the list of allowed options.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The API shape (...
null
wagtail__wagtail__12322
wagtail/wagtail
12,322
defect
84ab70d3a1fe5dbd77fb4e16a9896b0fd19ba79e
68a07897eff7ba6f51cba97edd93f200fc338843
Fix StreamValue._prefetch_blocks() to skip manually inserted items
Fixes #12320 The existing tests only work with an in-memory instance. I've duplicated the `test_can_append()`-test and added a query for the test-object, which turned the test into a failing test. Then I've fixed the issue in `StreamValue` as described in https://github.com/wagtail/wagtail/issues/12320#issuecomment-...
diff --git a/wagtail/blocks/stream_block.py b/wagtail/blocks/stream_block.py index 860712b5839b..475e51cab4af 100644 --- a/wagtail/blocks/stream_block.py +++ b/wagtail/blocks/stream_block.py @@ -710,7 +710,9 @@ def _prefetch_blocks(self, type_name): raw_values = OrderedDict( (i, raw_item["value"])...
3
3
0
[{"id": "G0", "claim": "The new test should include a note explaining its purpose (why it differs from test_can_append, the crash it guards against), otherwise the reasoning behind it may be unclear to a new reader.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
wagtail__wagtail__12622
wagtail/wagtail
12,622
defect
93384a062e9e234431de639c84dd3cd9fb47b9e8
5ac2a932857a91467f7566a0c34532a85437edf4
Fix for privacy status for new child page by adding parent page's privacy info
**Fixes #12277** This is an optimal fix when compared to #12621 Thanks to @lb- @Stormheg Before: ![Screenshot From 2024-11-23 12-32-16](https://github.com/user-attachments/assets/60062cde-c94f-4d36-a830-57b1d686d940) Using '**About**' page from bakery demo, changing it to private page. ![Screenshot Fro...
diff --git a/wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/privacy.html b/wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/privacy.html index 88ec71393e44..edcf5277898f 100644 --- a/wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/privacy.html +++ ...
3
3
1
[{"id": "G0", "claim": "The pull request should add unit tests so the desired privacy-status behaviour continues to work.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The template line should not have extra spaces between the template tags, matching t...
null
wagtail__wagtail__12639
wagtail/wagtail
12,639
defect
b7a4271930771b27fae41fd2998ac47070da7647
9c1461cd8447de184ab75f953005be723c2a0db4
Add Wagtail prefix to non-taggit settings
Fixes #12588. This PR will add `Wagtail` prefix will be added to non-taggit settings. A previous PR has done the same in the past, it will be used as a reference. #11525. cc @lb-
diff --git a/wagtail/admin/views/tags.py b/wagtail/admin/views/tags.py index f4963718f09e..b7cf2b88f729 100644 --- a/wagtail/admin/views/tags.py +++ b/wagtail/admin/views/tags.py @@ -1,7 +1,9 @@ +from django.conf import settings from django.contrib.contenttypes.models import ContentType from django.http import Http40...
2
2
1
[{"id": "G0", "claim": "The autocomplete limit should be kept away from being a setting: pull it out as a plain module-level constant without reading from settings.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G3", "claim": "The constant should be renamed to TAGS_AUT...
null
wagtail__wagtail__12641
wagtail/wagtail
12,641
defect
839193ff3c9381e35e39cc12f199c414d2684526
b61bc8c1e5abcba8754d8135b14bd779b0262ead
Added switch method in ZoneController & Fix 12611
_Please describe the problem you're fixing here. Include the issue number, if applicable._ ### Changes in code This PR resolved #12609 & #12611 and contains changes on top of the [commit ](https://github.com/lb-/wagtail/commit/99c8b6a54c2a66003f48a3f275e9dd1ad59f9823) by @lb- ### Screenshots > Intial ...
diff --git a/client/scss/components/_status-tag.scss b/client/scss/components/_status-tag.scss index 6b0e606afb3a..4153d38cbfc6 100644 --- a/client/scss/components/_status-tag.scss +++ b/client/scss/components/_status-tag.scss @@ -56,8 +56,10 @@ button.w-status:hover { color: theme('colors.text-button-outline-hover'...
12
10
3
[{"id": "G0", "claim": "lb- asked why the public/private side-panel divs were nested in an extra wrapper div and asked the author to dig into the real cause of the layout shift so that nesting further could be avoided.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
wagtail__wagtail__12741
wagtail/wagtail
12,741
defect
784f4bbbb920c21895292e50d66659038f1acf46
7e86e94c028a8e7b6a49911edd7fb64d664f7009
Add created_at as a FilterField to enable sorting in Document search
Fixes #12627 There was a bug when sorting the documents by their creation date in the search results. Before: https://github.com/user-attachments/assets/30c9fe7d-f207-4226-8582-2bb1b9996d94 After: https://github.com/user-attachments/assets/55b16bac-1832-4d9f-b882-705759a079c3
diff --git a/wagtail/documents/models.py b/wagtail/documents/models.py index e4ed73ae4b2c..8495650374d7 100644 --- a/wagtail/documents/models.py +++ b/wagtail/documents/models.py @@ -57,6 +57,7 @@ class AbstractDocument(CollectionMember, index.Indexed, models.Model): ], ), index.FilterFie...
1
1
1
[{"id": "G0", "claim": "The pull request should add a test for the new created_at FilterField behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
wagtail__wagtail__12750
wagtail/wagtail
12,750
defect
7cfae8c3b5b826bc5ba09f9d772e19077b21770b
eb04dd989e19ca9855cfcb204462c6383da09e4c
Allow page models to extend base Page panel definitions without importing wagtail.admin
Fixes #12747 Rather than leaving Page's `content_panels`, `promote_panels` and `settings_panels` initially empty to be populated by `set_default_page_edit_handlers` in wagtail.admin, define them within `wagtail.models` as placeholders that get expanded by `expand_panel_list` at the same time as expanding strings to ...
diff --git a/docs/releases/6.4.md b/docs/releases/6.4.md index 421a339c08b8..a07c832e60e6 100644 --- a/docs/releases/6.4.md +++ b/docs/releases/6.4.md @@ -169,6 +169,11 @@ The old style will now produce a deprecation warning. ## Upgrade considerations - changes to undocumented internals +### Changes to `content_pa...
1
1
0
[{"id": "G0", "claim": "In expand_panel_list, the PanelPlaceholder branch should use a walrus operator (if real_panel := panel.construct()) instead of assigning real_panel first and testing it on the next line.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wagtail__wagtail__12974
wagtail/wagtail
12,974
defect
db3a69569564e0d0b8abfc0804c38e080e04ce63
1e80d3b87ef4fdebd6c9b20fab706e82c6856481
fix privacy collection status label being incorrect
fixes #12972
diff --git a/wagtail/admin/templatetags/wagtailadmin_tags.py b/wagtail/admin/templatetags/wagtailadmin_tags.py index e5abab98890b..87b6b903a52f 100644 --- a/wagtail/admin/templatetags/wagtailadmin_tags.py +++ b/wagtail/admin/templatetags/wagtailadmin_tags.py @@ -53,7 +53,6 @@ ) from wagtail.coreutils import cautious_...
4
3
2
[{"id": "G0", "claim": "Since the test_collection_is_public tag is only used in templates/wagtailadmin/collection/_privact_switch.html, the tag could be deleted altogether and the template refactored to inline the privacy logic.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {...
null
wagtail__wagtail__12976
wagtail/wagtail
12,976
defect
8f640a8cdb0dfcf14e611d33cbff388d5db7cf9d
a0b57e17d3ce400bb74b79dd382e99bf76409a6c
Avoid deprecation warnings about URLField assume_scheme on Django 5.x
Fixes #12701, built on top of #12978. I haven't verified if this completely removes the warnings – there might be some left if there are auto-generated form fields from `models.URLField`. I'll double check after this. Not sure if we can write tests for _not_ raising a warning 🤔
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 012a08fcb5c4..1994fd61ca64 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -171,6 +171,10 @@ jobs: "ignore", "The FORMS_URLFIELD_ASSUME_HTTPS transitional setting is deprecated." ) ...
1
1
0
[{"id": "G0", "claim": "Now that the PR fixes the URLField deprecation warnings, the FORMS_URLFIELD_ASSUME_HTTPS settings patching in .github/workflows/test.yml can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
wagtail__wagtail__13042
wagtail/wagtail
13,042
defect
0506449cbbe85e213a7aaad7092b9c5f36fef8d2
3103261c997bd0050162664d66dd0cd25e9c768d
Implement new and improved pagination controls
Rebase of #12607, fixes #12004 except for page choosers. Implementing this for page choosers require some refactoring around how the links are ajax-ified. This is currently done using the separate `_pagination.html` and `{% paginate %}` template tag, instead of the generic and more widely-used `pagination_nav.html`....
diff --git a/client/scss/components/_listing.scss b/client/scss/components/_listing.scss index 88ec623c697c..9879c99e9f98 100644 --- a/client/scss/components/_listing.scss +++ b/client/scss/components/_listing.scss @@ -479,6 +479,27 @@ table.listing { .pagination { text-align: center; + display: flex; + align-i...
3
3
1
[{"id": "G0", "claim": "The current page number link hard-codes a color (theme('colors.primary.DEFAULT')) instead of using the predefined tokens other parts of the UI use.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test comment misspells 'Example...
null
wagtail__wagtail__13043
wagtail/wagtail
13,043
defect
e024e2c19fcc2eb380932cc18791232a56916da4
81ef98012a308286c885e93c2335fdfc1051d9be
Improve locale filter in all choosers
This PR fixes #13041: - adds an empty options for all locales in the chooser locale filter - moves the logic to append the locale url param to the base chooser out of snippets. This has the benefit of prefiltering all choosers - adds the locale column to the base chooser columns if i18n is enabled and the chooser ...
diff --git a/client/src/components/ChooserWidget/SnippetChooserWidget.js b/client/src/components/ChooserWidget/SnippetChooserWidget.js index b1f2c82e8154..9f4b238a6b51 100644 --- a/client/src/components/ChooserWidget/SnippetChooserWidget.js +++ b/client/src/components/ChooserWidget/SnippetChooserWidget.js @@ -1,19 +1,8...
4
3
2
[{"id": "G0", "claim": "The walrus/None-handling expression added to LocaleMixin.i18n_enabled is probably too much and the author asks that it be removed (feel free to remove).", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The i18n_enabled properties intr...
null
wagtail__wagtail__13047
wagtail/wagtail
13,047
defect
2f1b3759636e7d9da16250d867429533c7b524b6
77a7e2931f92337cc1b9cee449fcc88f38faa0a6
Fix default preferred language should be an admin permitted language
Fixes #7549
diff --git a/wagtail/admin/tests/test_userbar.py b/wagtail/admin/tests/test_userbar.py index fa9c2f9eb4d9..1fb7770abbeb 100644 --- a/wagtail/admin/tests/test_userbar.py +++ b/wagtail/admin/tests/test_userbar.py @@ -2,13 +2,14 @@ from django.contrib.auth.models import AnonymousUser, Permission from django.template i...
2
2
1
[{"id": "G0", "claim": "In get_preferred_language the two get_language() checks should be merged into one walrus conditional so the active language is captured once.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should add two ...
null
wagtail__wagtail__13050
wagtail/wagtail
13,050
defect
e024e2c19fcc2eb380932cc18791232a56916da4
572c73acc6ab8f0d4d40e11f9ffee9eaea185fe9
PreviewableMixin compatibility for settings
Fixes #11347 The tests are highly taken from model's tests
diff --git a/wagtail/contrib/settings/tests/generic/test_preview.py b/wagtail/contrib/settings/tests/generic/test_preview.py new file mode 100644 index 000000000000..dc6c97d55566 --- /dev/null +++ b/wagtail/contrib/settings/tests/generic/test_preview.py @@ -0,0 +1,284 @@ +from django.test import TestCase, override_sett...
4
3
1
[{"id": "G0", "claim": "Whenever the settings edit view shows the PreviewSidePanel it should also show the ChecksSidePanel, so accessibility checks are available, with a test asserting the checks panel is present.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
wagtail__wagtail__13051
wagtail/wagtail
13,051
defect
2f1b3759636e7d9da16250d867429533c7b524b6
d9f27e2ef78905a0c86ffca8a4ed9935aa9a78bd
Hide add locale button when no more languages are available
This PR - Hides the "Add locale" button on the Locales index view when all defined locales are added, and denies access to the Locale create view too - Makes the Locale UsageColumn value translatable Fixes #13029
diff --git a/wagtail/locales/tests.py b/wagtail/locales/tests.py index 6374ce398be7..678a579df26c 100644 --- a/wagtail/locales/tests.py +++ b/wagtail/locales/tests.py @@ -13,8 +13,13 @@ class TestLocaleIndexView(AdminTemplateTestUtils, WagtailTestUtils, TestCase): + @classmethod + def setUpTestData(cls): + ...
1
1
1
[{"id": "G0", "claim": "If there are stale Locale records that are not in WAGTAIL_CONTENT_LANGUAGES, the count-based guard would wrongly treat them as available locales, hiding the add button and blocking the add view even when languages remain to be added.", "category": "correctness", "verdict": "supported", "priority...
null
wagtail__wagtail__13082
wagtail/wagtail
13,082
defect
f2c82c06ad76867e6faf27d8da9ab6fe9b946869
be8cd1cc9bcbba3ff2254c116526c951a1b3f772
Handle non-JSON-safe fields in exclude_fields_in_copy
Fixes #11715 When copying a page's revision history, fields listed in exclude_fields_on_copy are replaced with the new value from the copied page instance (which has already had the exclude_fields_on_copy logic applied by this point, meaning that we'll get the model's default value instead). However, this does not t...
diff --git a/wagtail/actions/copy_page.py b/wagtail/actions/copy_page.py index 2bd9e5116498..70b8a5f0a04f 100644 --- a/wagtail/actions/copy_page.py +++ b/wagtail/actions/copy_page.py @@ -181,6 +181,11 @@ def _copy_page( # Copy revisions if self.copy_revisions: + # Fetch data for the new p...
1
1
0
[{"id": "G0", "claim": "The comment misspells the field name as special_Stream; it should read special_stream.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
wagtail__wagtail__13239
wagtail/wagtail
13,239
defect
ffc899e52ac9d052a14d858b7fe8cabf98e4168b
dab7afabbe79455468cef223a4ca71046e99a254
Allow defining custom `WorkflowLock` subclasses on workflow `Task`s
Fixes #13075 This will allow implementers to customise the lock message or other logic around it
diff --git a/wagtail/admin/tests/test_workflows.py b/wagtail/admin/tests/test_workflows.py index 2f4d75746f26..11e2ac00fe31 100644 --- a/wagtail/admin/tests/test_workflows.py +++ b/wagtail/admin/tests/test_workflows.py @@ -26,6 +26,7 @@ get_latest_str, get_user_display_name, ) +from wagtail.locks import Base...
5
3
1
[{"id": "G0", "claim": "The lock_class fallback in get_lock could probably use some logging, as the author was not convinced a system check was the right alternative.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Automatically swapping a non-WorkflowLoc...
null
wagtail__wagtail__13241
wagtail/wagtail
13,241
defect
ffc899e52ac9d052a14d858b7fe8cabf98e4168b
293151ca173eedaff38844cf9b2fff0ad27e651c
Migrate file title generation to be CSP-compliant
Fixes #12994. This is an attempt at fixing the CSP-related issues highlighted in #12994. It doesn't immediately address all the issues in the bullet points, but it gets to the core of the CSP ones. ## Approach The existing flow was something like this: * When a single image gets uploaded, the filename is extra...
diff --git a/client/src/controllers/SyncController.ts b/client/src/controllers/SyncController.ts index 16e3a2effeb4..27826424721d 100644 --- a/client/src/controllers/SyncController.ts +++ b/client/src/controllers/SyncController.ts @@ -90,6 +90,59 @@ export class SyncController extends Controller<HTMLInputElement> { ...
18
17
7
[{"id": "G0", "claim": "Add a comment explaining the browser prefixes the value with C:\\fakepath\\ and simplify the filename extraction.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use 'maxlength' (lowercase) in getAttribute to match the act...
null
wagtail__wagtail__13284
wagtail/wagtail
13,284
defect
b808f4e08796e50d1d5dd20b71bd08e6344b7bfe
c2c4b63d274139d5b961a5f575906c2254d5ae51
Fix #13262 admin API renderer classes when rest_framework not installed
## Fix admin API renderer classes when rest_framework not installed Fixes #13262 ### Problem The admin API endpoints (e.g., `/admin/api/main/pages/`) were causing template/static file errors when accessed directly in the browser if the `rest_framework` app wasn't installed. This happened because the `PagesAdminA...
diff --git a/wagtail/admin/api/views.py b/wagtail/admin/api/views.py index 6b669f408d39..2d4f2e17f154 100644 --- a/wagtail/admin/api/views.py +++ b/wagtail/admin/api/views.py @@ -1,9 +1,11 @@ from collections import OrderedDict +from django.apps import apps from django.conf import settings from django.http import ...
3
3
2
[{"id": "G0", "claim": "Put the dynamic renderer_classes logic in BaseAPIViewSet in wagtail/api/v2/views.py instead of the admin viewset, as suggested in the linked issue #13265 comment.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a test verifying...
null
wagtail__wagtail__13295
wagtail/wagtail
13,295
defect
b808f4e08796e50d1d5dd20b71bd08e6344b7bfe
e6de61f7f5aad7b59c905fc52984801fe5b8dd38
Prevent multiple child pages with `max_count_per_parent` being moved under one parent
This PR fixes #13293 (See issue for in-depth explanation of issue) By adding a check for the `max_count_per_parent` on the `can_move_to` on `Page`, we can prevent users from moving multiple child pages with `max_count_per_parent` under one parent. This will remove the option in the page picker under the `/move` ...
diff --git a/wagtail/models/pages.py b/wagtail/models/pages.py index 70dc153e5fc0..2346dccaf1a4 100644 --- a/wagtail/models/pages.py +++ b/wagtail/models/pages.py @@ -2317,6 +2317,16 @@ def can_move_to(self, destination): ): return False + # if the page has a max_count_per_parent, check f...
2
2
1
[{"id": "G0", "claim": "Use `self.page.specific_deferred.max_count_per_parent` instead of `self.page.specific.max_count_per_parent`, as the full specific page object is not needed.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would help to have...
null
wagtail__wagtail__13326
wagtail/wagtail
13,326
defect
c78838f6ee89fd8e01101326fa08a36babafd88d
9a6aa7f4951e836b38ac43894dbe53b13adb98b4
Tests for Allow deep contentpath for comments on fields other than StreamField
Build on #12846 to add tests for #12257. Add tests to check `has_valid_contentpath` on a comment for - A valid path in a `StreamField`. - A valid path in a field that implements `get_block_by_content_path`. - An invalid path in a field that implements `get_block_by_content_path`. - A valid path in a field that ...
diff --git a/wagtail/models/pages.py b/wagtail/models/pages.py index 70dc153e5fc0..e71905b0deb7 100644 --- a/wagtail/models/pages.py +++ b/wagtail/models/pages.py @@ -2689,12 +2689,12 @@ def has_valid_contentpath(self, page): # comment applies to the field as a whole return True - if ...
1
1
0
[{"id": "G0", "claim": "The reviewer is hesitant to have only unit tests for has_valid_contentpath() in test_comments.py and thinks the tests should be adapted to the higher-level TestCommentOutput tests in test_edit_page.py instead.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
wagtail__wagtail__13329
wagtail/wagtail
13,329
defect
e7b189d44b3f3ea4c0a086a71863707cd2b6a5dd
463a686a5b47d5c69d2676c97e366b474cc73afb
Added shortcut to open keyboard shortcut dialog
Added shortcut to open keyboard shortcut dialog This project is part of GSoC project. Feel free to suggest action name, I have kept it as 'Open keyboard shortcut help'. <img width="650" height="416" alt="image" src="https://github.com/user-attachments/assets/87c6baf7-72a3-4a40-824a-e9e56728f563" />
diff --git a/wagtail/admin/templatetags/wagtailadmin_tags.py b/wagtail/admin/templatetags/wagtailadmin_tags.py index ef5433ac5a94..d4cd1e2bd168 100644 --- a/wagtail/admin/templatetags/wagtailadmin_tags.py +++ b/wagtail/admin/templatetags/wagtailadmin_tags.py @@ -1344,6 +1344,7 @@ def keyboard_shortcuts_dialog(context):...
8
4
0
[{"id": "G0", "claim": "The new entry's label should be simplified from \"Open keyboard shortcut help\" to \"Show keyboard shortcuts\".", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It might be nice to also add a \"Close modal dialogs (like this one)\" ...
null
wagtail__wagtail__13377
wagtail/wagtail
13,377
defect
53e72834f4554d72ac9c74e6918bef2175db61c4
2481f3b0835f97cf34e4f2b26c32ba72e5409c4b
Prevent error when iterating over specific tasks
Fixes #13376 by removing access of `title`, which does not exist for `Task`. Alternatively could add a title to Task, or make the title show up in the warning conditional on existence of the attribute?
diff --git a/wagtail/query.py b/wagtail/query.py index 62e077152ada..87ed08ad7fb3 100644 --- a/wagtail/query.py +++ b/wagtail/query.py @@ -725,7 +725,7 @@ def __iter__(self): "This is most likely because a database migration has removed " "the relevant table or record since the...
2
2
0
[{"id": "G0", "claim": "The new test for gracefully handling missing rows should be moved out of wagtail/tests/test_page_queryset.py into the existing Task test class in wagtail/tests/test_workflow.py.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null