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
OWASP__wrongsecrets__818
OWASP/wrongsecrets
818
defect
30173f660e23c63c522309238746cedfd3d61403
59f47bb5c4461064c953309366e05e112cb0acd1
feat(#765): k8s challenge with securestring
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Some...
diff --git a/aws/k8s-vault-aws-start.sh b/aws/k8s-vault-aws-start.sh index 981636b9ff..cec1fd6ceb 100755 --- a/aws/k8s-vault-aws-start.sh +++ b/aws/k8s-vault-aws-start.sh @@ -27,6 +27,7 @@ if [ $? == 0 ]; then echo "secrets secret is already installed" else kubectl apply -f ../k8s/secrets-secret.yml + kubectl a...
2
2
0
[{"id": "G0", "claim": "The challenge33.adoc explanation should be reworded as suggested (e.g. \"swap the StringData value\", \"secure it further\", \"set up RBAC correctly\", \"move from standard to sealed secrets but don't migrate all of them\").", "category": "documentation", "verdict": "supported", "priority": "P2"...
null
OWASP__wrongsecrets__866
OWASP/wrongsecrets
866
defect
85a762e5e7f2b163c0fc635abb228fe09cb8eb5e
17819699f072bd334de6faf0cd3709838d606554
feat(#692): Challenge 34 with a focus on determenistic use of KDFs
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge: challenge on using KDFs on hardcoded keys - ...
diff --git a/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge34.java b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge34.java new file mode 100644 index 0000000000..bd4f30b17b --- /dev/null +++ b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge34.java @@ -0,0 +1,91 @@ +p...
3
3
0
[{"id": "G0", "claim": "The wording of challenge34.adoc should be cleaned up: 'A developer followed this instruction...' instead of 'So a developer followed...', 'far more secure' instead of 'far more secured', 'Can you spot the mistake?' instead of 'Can you spot the mistake made?', and 'the value of the generated key'...
null
OWASP__wrongsecrets__903
OWASP/wrongsecrets
903
defect
64e789fab64837183fd62aaff19e78b0056317f9
cefa88095a7ed83d5f1ef4d589ffb93e55aeb097
Feature(#614): Challenge38 - Git notes challenge
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Some...
diff --git a/README.md b/README.md index 5cbbe0e91d..fd751f7e07 100644 --- a/README.md +++ b/README.md @@ -427,7 +427,7 @@ Feel free to edit and propose changes via pull requests. Be sure to follow our g Please note that we officially only support Linux and MacOS for development. If you want to develop using a Windo...
5
5
4
[{"id": "G0", "claim": "The hint doc should give concrete step-by-step instructions (clone the repo, etc.) like the earlier challenges' hint docs do.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename everything from Challenge34 to Challenge35 ...
null
OWASP__wrongsecrets__938
OWASP/wrongsecrets
938
defect
52a6198c26885d6ff81df094d295d1a525368df9
de4cfedccd24f7dfb67b0a84dfd3a34ef48e1d85
Add experimental key
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Some...
diff --git a/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge35.java b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge35.java new file mode 100644 index 0000000000..e526b7c60d --- /dev/null +++ b/src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge35.java @@ -0,0 +1,65 @@ +p...
2
2
0
[{"id": "G0", "claim": "Rewrite the challenge35.adoc explanation per the suggestion: link the advisory as a generic GitHub security advisory and fix the grammar (\"did wrong was publish\"), so the page no longer spells out that the key was published as part of the advisory.", "category": "documentation", "verdict": "su...
null
OWASP__wrongsecrets__941
OWASP/wrongsecrets
941
defect
c50d706d907d03424be519b88d879ab9b992866d
a5b8107646ea686b8608ad31f0c60ba604ae9a03
Add challenge 37 for ZAP configuration with authenticated endpoint
<!-- Thank you for submitting a pull request to the WrongSecrets app! See what makes a good PR at https://github.com/OWASP/wrongsecrets/blob/master/CONTRIBUTING.md--> ### What kind of changes does this PR include? - [ ] Fixes or refactors - [x] A new challenge - [ ] Additional documentation - [ ] Some...
diff --git a/src/main/java/org/owasp/wrongsecrets/canaries/TokenCallbackSecurityConfiguration.java b/src/main/java/org/owasp/wrongsecrets/canaries/TokenCallbackSecurityConfiguration.java index d288b0c635..e6a6fa67bb 100644 --- a/src/main/java/org/owasp/wrongsecrets/canaries/TokenCallbackSecurityConfiguration.java +++ b...
1
1
0
[{"id": "G0", "claim": "Spring CSRF protection is disabled for the canaries/token callback endpoints, which the CodeQL scanner flags as a CSRF vulnerability.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "pre_existing"}]
null
ObEngine__ObEngine__328
ObEngine/ObEngine
328
defect
1b1883b4dadac64ba651851d8744a8320527e8f8
e54a71b6588233bd65bd5ec0217fa53448928748
make color class serializable
Color class is now directly serializable. It is possible to choose which format to dump to between those four formats : Hex, Rgba, ColorName, Hsv `color:dump(obe.Graphics.ColorType.Hex)`
diff --git a/include/Core/Bindings/obe/Graphics/Graphics.hpp b/include/Core/Bindings/obe/Graphics/Graphics.hpp index ab1e90a4f..aa29132b8 100644 --- a/include/Core/Bindings/obe/Graphics/Graphics.hpp +++ b/include/Core/Bindings/obe/Graphics/Graphics.hpp @@ -16,6 +16,8 @@ namespace obe::Graphics::Bindings void LoadC...
3
2
1
[{"id": "G0", "claim": "The pull request's new color serialization code (dump/load) ships with no unit tests, and the reviewer asks that a few unit tests be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In Sprite.cpp, the color handling could be...
null
OctoMap__octomap__115
OctoMap/octomap
115
defect
b652c4c7dd38d886f8ba298f6e585edecd488b4e
aa58bd5606104c114ee8f83c0c402ce5fa937fc6
Merge tree refactoring for improved subclassing (#98) into devel
See #98 for a discussion. All tree structure logic is now moved into the tree class. This fixes all sorts of memory-related issues when deriving custom node classes. The changes are breaking the API for deriving custom octree node classes, this PR should be merged into devel in preparation for a new release. Care for ...
diff --git a/octomap/include/octomap/ColorOcTree.h b/octomap/include/octomap/ColorOcTree.h index d2cbb455..1b5a10bd 100644 --- a/octomap/include/octomap/ColorOcTree.h +++ b/octomap/include/octomap/ColorOcTree.h @@ -41,9 +41,13 @@ namespace octomap { + // forward declaraton for "friend" + class ColorOcTree; + ...
6
4
1
[{"id": "G0", "claim": "The destructor should call clear() instead of manually deleting the root, as the reviewer suggests it would make sense.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test of rhs.children in the OcTreeDataNode copy constru...
null
OctoPrint__OctoPrint__2250
OctoPrint/OctoPrint
2,250
defect
a2d38016ece6cf39f8865b51bb682686a52bb8e1
d07cd3a59ef0e291323687b1bf4966114fc66610
Added ResettableTimer class
#### What does this PR do and why is it necessary? Adds a ResettableTimer class that can be used for things such as a resettable activity timeout. Testing shows 800% performance increase over a traditional Timer. ResettableTimer Test Results: 1707017 function calls in 4.889 seconds Regular Timer Results: 610...
diff --git a/src/octoprint/util/__init__.py b/src/octoprint/util/__init__.py index e4b7932cb9..e662a34622 100644 --- a/src/octoprint/util/__init__.py +++ b/src/octoprint/util/__init__.py @@ -1090,6 +1090,70 @@ def _finish(self, *callbacks): if callable(self.on_finish): self.on_finish() +class ResettableTimer(t...
2
2
1
[{"id": "G0", "claim": "The default arguments `args` and `kwargs` should not be mutable; instead declare them with default value `None`, test for that and set them to an empty list/dict if required.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It ...
null
OctoPrint__OctoPrint__2586
OctoPrint/OctoPrint
2,586
defect
c84d39a80326d4e05fc2b0c5ab7e71df057b253a
2fa18f5855087bc523013b478da74f621e409c8e
Added timelapse render progress bar
* [x] Your changes are not possible to do through a plugin and relevant to a large audience (ideally all users of OctoPrint) * [x] If your changes are large or otherwise disruptive: You have made sure your changes don't interfere with current development by talking it through with the maintainers, e...
diff --git a/AUTHORS.md b/AUTHORS.md index 217571c663..bf2df0c9bf 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -90,6 +90,7 @@ date of first contribution): * [Bernd Zeimetz](https://github.com/bzed) * [Daniele Forsi](https://github.com/dforsi) * [Ganey](https://github.com/ganey) + * [Zachary Nofzinger](https://...
5
5
3
[{"id": "G0", "claim": "`duration_s` should be initialized to `0` instead of an empty string, since further down it is parsed into a `float`, which would throw a `ValueError` while the duration is still the empty string.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
OctoPrint__OctoPrint__2807
OctoPrint/OctoPrint
2,807
defect
44fcd4e305559a46ce97dd8d3992e65499d450b9
7867052339ee401aa6cab74fd77a78eb0ee665c5
201809 py3 devel prep batch b
Work towards python3 compatability, focusing on tests. The following tests and related code are now compatible with both py2 and py3. - tests/util/test_caseinsensitive_set.py - tests/util/test_pip.py - tests/timelapse/test_timelapse_renderjob.py - tests/server/util/test_flask.py - tests/filemanager/test_filemana...
diff --git a/src/octoprint/util/__init__.py b/src/octoprint/util/__init__.py index 918ac1a4bb..8ac3c3fe70 100644 --- a/src/octoprint/util/__init__.py +++ b/src/octoprint/util/__init__.py @@ -11,6 +11,7 @@ import os import traceback +import six import sys import re import tempfile @@ -1641,10 +1642,10 @@ class Ca...
1
1
0
[{"id": "G0", "claim": "For overall code consistency, the pull request should keep using python-future as the compatibility layer and, instead of replacing (str, unicode) with six.string_types in CaseInsensitiveSet, replace it with basestring imported from past.builtins.", "category": "design", "verdict": "supported", ...
null
OctoPrint__OctoPrint__4222
OctoPrint/OctoPrint
4,222
defect
2bcfb3dce85eabb68fc5ffe932d2bf198d1d0d0b
645c164a7eac8b63e1cbaab7c212041cf052ccfd
Use C YAML loader when possible
<!-- Thank you for your interest into contributing to OctoPrint, it's highly appreciated! Please make sure you have read the "guidelines for contributing" as linked just above this form, there's a section on Pull Requests in there as well that contains important information. As a summary, please make sure you...
diff --git a/src/octoprint/__init__.py b/src/octoprint/__init__.py index c2e61d2b3a..ed89895fcc 100644 --- a/src/octoprint/__init__.py +++ b/src/octoprint/__init__.py @@ -2,7 +2,6 @@ # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals -import io import logging...
8
8
2
[{"id": "G0", "claim": "The main settings config.yaml loading should also use the new C-capable loader, like the rest of the codebase's yaml usage.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Reading yaml via plain io.open instead of the pre-ex...
null
OctoPrint__OctoPrint__4230
OctoPrint/OctoPrint
4,230
defect
30c9b892999d2c8711b9a027fd1a48b2708deafc
04f4d0e41071791db0e2acb18af10b7686e93068
Improve settings processing time
This brings the load time of /api/settings on my crappy ARM board from 1s to 0.4s This is done by - optimizizing the hot loop inside deep_dict, which provides most the gain (to 0.46s) - using pickle for deep-copying, which is fast when doing lots of pointer chasing, but slow when doing long copies (to 0.37s) ...
diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index 0991a752b3..6fd4a13610 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -22,7 +22,6 @@ __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html" __copyright__ = "Copyright (C) 2014 The OctoP...
4
4
1
[{"id": "G0", "claim": "The removed preprocessor block in _get_value was redundant, even though removing it has no significant effect on performance.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The failing tests may indicate a bug in the re...
null
OctoPrint__OctoPrint__4339
OctoPrint/OctoPrint
4,339
defect
dc4b57213cdb945617e435caa8691ac0e521f405
b8b1fb3d6bbe45143fe8b616715a71b315791cc9
Use pickle for announcements cache
Parsing this XML file is very slow, so there's no reason to do it more than we have to. See [4480-2021-12-11T13:23:48-05:00.json](https://github.com/OctoPrint/OctoPrint/files/7697670/4480.zip), MainThread -> parse. Use https://www.speedscope.app/ to view the file. On my system, this reduces the time for /plugin/a...
diff --git a/src/octoprint/plugins/announcements/__init__.py b/src/octoprint/plugins/announcements/__init__.py index 86465af020..7b12eb5e94 100644 --- a/src/octoprint/plugins/announcements/__init__.py +++ b/src/octoprint/plugins/announcements/__init__.py @@ -15,6 +15,11 @@ import time from collections import OrderedD...
1
1
1
[{"id": "G0", "claim": "Caching the announcements channel data with pickle and loading it back with pickle.load on an attacker-writable cache file opens an arbitrary-code-execution vector (a tampered cache can carry a prepared payload), so the PR should either use JSON serialization or a custom hardened unpickler inste...
null
OctoPrint__OctoPrint__4389
OctoPrint/OctoPrint
4,389
defect
5a1b07e46f92ee3448ff99d36f1ab1ecefb62c1c
8c964c216632f0f428777548a2f04a005c5a9b06
Addresses issue #4362
#### What does this PR do and why is it necessary? Fixes the normalize_version function in src/util/version.py so that it returns the correct version when the input version string is a release candidate containing the characters "-rc". #### How was it tested? How can it be tested by the reviewer? Tested in OctoPri...
diff --git a/src/octoprint/util/version.py b/src/octoprint/util/version.py index 81a6beed06..67f9a4d9cb 100644 --- a/src/octoprint/util/version.py +++ b/src/octoprint/util/version.py @@ -208,6 +208,9 @@ def is_prerelease(version_string): def normalize_version(version): + if "-rc" in version: + version = ...
2
2
1
[{"id": "G0", "claim": "The added handling only covers the very specific case of `-rc`, while PEP440 allows many other prerelease separators (-a, -b, -c, -alpha, -beta, -pre, -preview, -post, -rev, -r and more), so it should probably either leave the `-` in for pkg_resources to parse or always remove it.", "category": ...
null
OctoPrint__OctoPrint__4610
OctoPrint/OctoPrint
4,610
defect
41b003b2f39a857d7a19f955188aa294c588fbe4
54f242f862b740f1a593acf06154d04584ff9e90
M20 T support (timestamps for files on sd card)
M20 T support (timestamps for files on sd card). Use "M20 L T" (if CAPABILITY_EXTENDED_M20 is available) which gives us long file names but also file timestamps. Wire up that timestamp into "date" field which gives us "Uploaded: ... ago" for files on SD card. Sorting by upload date also work...
diff --git a/.gitignore b/.gitignore index f330dc36c0..c988710df9 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,6 @@ win32-Cura-* linux-Cura-* *.iml Printrun -======= .idea .vscode .DS_Store diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0473115c8c..ddb20b3c34 100644 --- a/.pre-commi...
4
3
1
[{"id": "G0", "claim": "Printers without a real time clock set ancient dates (e.g. 2000-01-01 on Prusa MK3S) that show up in OctoPrint as 'Uploaded: 23 years ago', so maybe it would be better to ignore such firmware-reported timestamps and show nothing instead.", "category": "design", "verdict": "opposed", "priority": ...
null
OctoPrint__OctoPrint__5340
OctoPrint/OctoPrint
5,340
defect
bf9ec9eafb7bd9fdc1813cb714ba6082b314e89f
78b8c2d1bd41524110cd7844347eb66fd8b1bdf4
Fix `autoconnect` related backwards compatibility and UX issues
#### What does this PR do and why is it necessary? Solves the backwards compatibility and UX issues regarding the `autoconnect` settings. 1. `autoconnect` has been added back to `/api/connection` (under `options`) 2. Settings schema of the serial connector no longer contains `port`, `baudrate` and `autoconnect`,...
diff --git a/src/octoprint/plugins/serial_connector/__init__.py b/src/octoprint/plugins/serial_connector/__init__.py index b4f5b379bc..5c5e617c30 100644 --- a/src/octoprint/plugins/serial_connector/__init__.py +++ b/src/octoprint/plugins/serial_connector/__init__.py @@ -62,6 +62,35 @@ def on_settings_migrate(self, targ...
7
7
6
[{"id": "G0", "claim": "The API request is sent without the `autoconnect: False` parameter when the `Auto-connect on server startup` checkbox is left untouched and unchecked, so the autoconnect setting is not saved.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G...
null
OctoPrint__OctoPrint__5354
OctoPrint/OctoPrint
5,354
defect
486a38e958d9860f7938fda4a274b8dc6a6248be
eb9921f1439e9cf87cd4b8e2c534c43ebffa5fd5
fix(settings): add serial compat overlay
<!-- Thank you for your interest in contributing to OctoPrint, it's highly appreciated! Please make sure you have read the "guidelines for contributing" as linked just above this form, there's a section on Pull Requests in there as well which contains important information. As a summary, please make sure you ...
diff --git a/src/octoprint/__init__.py b/src/octoprint/__init__.py index 1a1b1848f5..e6d2441add 100644 --- a/src/octoprint/__init__.py +++ b/src/octoprint/__init__.py @@ -551,6 +551,78 @@ def settings_plugin_config_migration_and_cleanup(identifier, implementation): ] +def init_serial_compat_overlay(settings): ...
1
1
1
[{"id": "G0", "claim": "The loop that copies every serial_connector key into the compat overlay also copies sendChecksum and errorHandling, which do not belong in the old settings; popping them above the loop should solve it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OctopusDeploy__cli__115
OctopusDeploy/cli
115
defect
38039c33a7bb1250deac95092f347bc1f8bb6e13
15f4428dbc5374451ebf50d1b0989226252e41a3
feat: project create
[sc-18973] This PR is currently blocked on PR https://github.com/OctopusDeploy/go-octopusdeploy/pull/152 and the work on branch https://github.com/OctopusDeploy/go-octopusdeploy/tree/feat/git-credentials being merged basic project create interaction: ![image](https://user-images.githubusercontent.com/5336529/196...
diff --git a/go.mod b/go.mod index 7286c706..02d6dd23 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/OctopusDeploy/cli go 1.19 +//github.com/OctopusDeploy/go-octopusdeploy/v2 => ../go-octopusdeploy + require ( github.com/AlecAivazis/survey/v2 v2.3.5 github.com/MakeNowJust/heredoc/v2 v2.0.1...
10
5
1
[{"id": "G0", "claim": "The author is not happy with the name of the Config-as-Code flag and asks for naming suggestions; borland notes the codebase precedent is 'versionControlled'.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out go.mod...
null
OctopusDeploy__cli__137
OctopusDeploy/cli
137
defect
51ff9eccf8e9b51d3a92b5293656dc3ab2721935
e0f09bcdffc47f3542088baa8bdc2596950d003b
feat: create cloud region
[sc-29789] help: ![image](https://user-images.githubusercontent.com/5336529/201018062-3b512546-d440-42ec-8d8c-d2f7522eaa9c.png) full interaction ![image](https://user-images.githubusercontent.com/5336529/201018135-539e112f-0da6-4a53-83a5-66ac0ab7a603.png) result: ![image](https://user-images.githubuserconte...
diff --git a/pkg/cmd/target/cloud-region/cloud-region.go b/pkg/cmd/target/cloud-region/cloud-region.go new file mode 100644 index 00000000..cae2030e --- /dev/null +++ b/pkg/cmd/target/cloud-region/cloud-region.go @@ -0,0 +1,21 @@ +package cloud_region + +import ( + "fmt" + cmdCreate "github.com/OctopusDeploy/cli/pkg/cm...
4
4
2
[{"id": "G0", "claim": "The worker pool code should not use []*workerpools.IWorkerPool: interfaces are already references, so the slice of interface pointers (and all the resulting dereferences in workerpool.go and its test) should be dropped.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop...
null
OctopusDeploy__cli__145
OctopusDeploy/cli
145
defect
4ab66c2f8234f1e8cf77005a173b50287705c65a
6cecc9ba630927df5e5e4db5c3a8a60594e8dd60
feat: worker listening-tentacle create
feat: worker ssh create [sc-29479] ssh help: ![image](https://user-images.githubusercontent.com/5336529/202355449-897a1bad-316d-4d38-9d48-7240fc391d06.png) ssh create interactive: ![image](https://user-images.githubusercontent.com/5336529/202355564-ea9f08ae-f6d5-471f-a708-78d767cd5759.png) ssh create auto...
diff --git a/go.mod b/go.mod index 8b766586..a66cecaf 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/AlecAivazis/survey/v2 v2.3.5 github.com/MakeNowJust/heredoc/v2 v2.0.1 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.15.1 + github.com/OctopusDeploy/go-octopusdeploy/v2 v2.16.0 g...
12
12
0
[{"id": "G0", "claim": "The success message misspells \"Listening Tentacle\" as \"listening tentcle worker\"; use the suggested wording \"Successfully created Listening Tentacle worker '%s'.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The --u...
null
OctopusDeploy__cli__152
OctopusDeploy/cli
152
defect
a6ec5df77923db314c8d4efb87180f4da215eb4c
05d899f2d09465a06997aa77d327985b83789239
chore: tool info added to user agent string
[sc-31593] ~~depends on https://github.com/OctopusDeploy/go-octopusdeploy/pull/164~~ depends on https://github.com/OctopusDeploy/go-octopusdeploy/pull/166 ![image](https://user-images.githubusercontent.com/5336529/204717098-a32e18cd-e89a-46bd-8937-e9e9c60c108d.png) ![image](https://user-images.githubuserconte...
diff --git a/go.mod b/go.mod index ed4298a1..e566332c 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/AlecAivazis/survey/v2 v2.3.6 github.com/MakeNowJust/heredoc/v2 v2.0.1 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.16.1 + github.com/OctopusDeploy/go-octopusdeploy/v2 v2.17.1 g...
3
1
0
[{"id": "G0", "claim": "Use `version.Version` — a compile-time constant picked up from version.txt — instead of scanning `debug.ReadBuildInfo()` dependency versions to get the CLI version in requester.go.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
OctopusDeploy__cli__166
OctopusDeploy/cli
166
defect
74fdc7e0a811dcc6444d2fd48df3cbb661e87503
fdb8830d5c33a7461474c8bbe8433df4a8286a20
chore: project branch protection patterns and initial commit branch
[sc-30185] depends on https://github.com/OctopusDeploy/go-octopusdeploy/pull/173 `project create` with sub-command for `project convert` <img width="1709" alt="image" src="https://user-images.githubusercontent.com/5336529/206978227-15e64fb7-bd3b-4c82-b7ce-b63c0bd833c5.png"> convert existing project <img widt...
diff --git a/go.mod b/go.mod index 701f2798..7a4cf201 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/AlecAivazis/survey/v2 v2.3.6 github.com/MakeNowJust/heredoc/v2 v2.0.1 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.17.4 + github.com/OctopusDeploy/go-octopusdeploy/v2 v2.17.6 g...
1
1
0
[{"id": "G0", "claim": "The prompt message in PromptMissing should read \"You have not specified a project\" with a lowercase \"project\", as proposed in the reviewer's suggestion block.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OctopusDeploy__cli__174
OctopusDeploy/cli
174
defect
174a56fbaf43a8e931a5d54d2be8b58122d22e7e
680acb86e773fcdbdbc6d95a1141dd4284937ac9
fix: expand tenant view output
This change is to support filtering tenants by tag using `jq` json before: <img width="330" alt="image" src="https://user-images.githubusercontent.com/5336529/207503733-39365427-5ed6-41d2-9492-6ead75ca0ad2.png"> json after: ![image](https://user-images.githubusercontent.com/5336529/207531744-50803f72-6248-4149-...
diff --git a/pkg/cmd/tenant/list/list.go b/pkg/cmd/tenant/list/list.go index 4fde747e..06df1698 100644 --- a/pkg/cmd/tenant/list/list.go +++ b/pkg/cmd/tenant/list/list.go @@ -6,14 +6,22 @@ import ( "github.com/OctopusDeploy/cli/pkg/constants" "github.com/OctopusDeploy/cli/pkg/factory" "github.com/OctopusDeploy/cl...
1
1
1
[{"id": "G0", "claim": "getEnvironmentMap and getProjectMap should avoid the GetAll API because it does not scale; the reviewers ask whether the needed id-to-name information can be fetched from another endpoint instead.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OctopusDeploy__cli__184
OctopusDeploy/cli
184
defect
e22b949e3865c9fedda6fd974e888ab09d62c0b0
b9f31db739da0d0a8bc3a5c7415eb16c7659cca8
feat: clone tenant
depends on: https://github.com/OctopusDeploy/go-octopusdeploy/pull/176 interactive: ![image](https://user-images.githubusercontent.com/5336529/208349036-29dc96f2-cb32-4a95-9aa3-6335499a02f6.png) automated ![image](https://user-images.githubusercontent.com/5336529/208349054-48fdbe70-b038-490a-98c4-fd89e8532f57.p...
diff --git a/go.mod b/go.mod index 0419db27..7a7fa7a0 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/AlecAivazis/survey/v2 v2.3.6 github.com/MakeNowJust/heredoc/v2 v2.0.1 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.18.0 + github.com/OctopusDeploy/go-octopusdeploy/v2 v2.18.1 g...
1
1
1
[{"id": "G0", "claim": "The tenant clone command should be name-only: drop the references to Id (the \"Name or Id\" wording in its flag descriptions) from the clone command, with removing the Id lookup itself left for later work.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OctopusDeploy__cli__226
OctopusDeploy/cli
226
defect
1b8b573f698d010c67a96c8c48d43790788c6783
d9094259e6c16ce57cecd38d57a7efa72c912dd3
feat: add support for delta package uploads using go-octodiff
# Overview Adds support for delta compression to the CLI. Precursors: - Creation of the [go-octodiff library](https://github.com/OctopusDeploy/go-octodiff), ported from our existing [C# OctoDiff](https://github.com/OctopusDeploy/OctoDiff) - Integration of go-octodiff into the [go-octopusdeploy SDK client librar...
diff --git a/go.mod b/go.mod index b47078c1..b6e977d8 100644 --- a/go.mod +++ b/go.mod @@ -18,20 +18,21 @@ require ( github.com/spf13/cobra v1.6.1 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.14.0 - github.com/stretchr/testify v1.8.1 - golang.org/x/exp v0.0.0-20221217163422-3c43f8badb15 - golang.org/x/...
4
4
1
[{"id": "G0", "claim": "The go.mod references to go-octodiff point at a pre-release pseudo-version, and the author commits to tagging go-octodiff 1.0.0 and rolling the references through go-octopusdeploy and the CLI before merging.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int...
null
OctopusDeploy__cli__253
OctopusDeploy/cli
253
defect
fbe8e18d041cf416fc0013451f416363eb0a83e5
d9e0bafe07d57c978375cfd15a74ea72f1d15755
feat: project variable git support
Depends upon https://github.com/OctopusDeploy/go-octopusdeploy/pull/198 Fixes: #252 Branches: Create new branch for project: ``` ❯ octopus project branch create -p "cac project" --base-branch refs/heads/main --name second-branch Successfully created branch 'second-branch' (refs/heads/second-branch) in pr...
diff --git a/pkg/cmd/project/branch/branch.go b/pkg/cmd/project/branch/branch.go new file mode 100644 index 00000000..94857007 --- /dev/null +++ b/pkg/cmd/project/branch/branch.go @@ -0,0 +1,33 @@ +package branch + +import ( + "github.com/MakeNowJust/heredoc/v2" + "github.com/OctopusDeploy/cli/pkg/constants" + "github....
2
2
0
[{"id": "G0", "claim": "The branch-create command constructor should be named NewCmdCreate to match the naming convention used elsewhere.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out code at the top of listRun should be delet...
null
OctopusDeploy__cli__270
OctopusDeploy/cli
270
defect
1ca630c22d85e6bcff804a694a19e6179fba4263
994280c1076a9d0bc3d66d89472eab6143fc394f
feat: Adds support for authenticating with access token
This PR adds support for authenticating using an access token as a bearer token in the `Authorization` header. Access tokens are obtained using OpenID Connect and by nature are short-lived. As such, storing access tokens in the cli configuration (`octopus config set`) is not supported, and are only read from the `OCTOP...
diff --git a/go.mod b/go.mod index e4d1e6e1..fd4cadaf 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/AlecAivazis/survey/v2 v2.3.6 github.com/MakeNowJust/heredoc/v2 v2.0.1 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.29.0 + github.com/OctopusDeploy/go-octopusdeploy/v2 v2.31.0 g...
1
1
0
[{"id": "G0", "claim": "The initialiser should not take both apiKey and accessToken (an ApiCredentials struct) side by side; it should use a single credential abstraction, e.g. an ICredential interface with ApiKey and AccessToken implementations, as in the client library.", "category": "design", "verdict": "supported",...
null
OctopusDeploy__cli__291
OctopusDeploy/cli
291
defect
178b2618feeab28543bdc89b7d7a07bb150bd176
3e0d208a3489e7ae757fe503bfa2804d67011d1e
feat: Add new login and logout commands
# Commands This PR adds support for two new commands to the cli. ## `login` This command supports logging in to an Octopus Server in multiple ways. ### OpenID Connect (OIDC) This is for CI/automation scenarios outside of GitHub Actions, which we have a [login action](https://github.com/OctopusDeploy/logi...
diff --git a/cmd/octopus/main.go b/cmd/octopus/main.go index 0cd8d834..2392cc7a 100644 --- a/cmd/octopus/main.go +++ b/cmd/octopus/main.go @@ -3,13 +3,14 @@ package main import ( _ "embed" "fmt" + "os" + "strings" + "time" + "github.com/AlecAivazis/survey/v2/terminal" version "github.com/OctopusDeploy/cli" "...
4
3
1
[{"id": "G0", "claim": "The SetConfig function added to set.go duplicates the logic of setRun up above and needs to be combined back with it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new login/OIDC token-exchange code in login.go needs...
null
OctopusDeploy__cli__296
OctopusDeploy/cli
296
defect
178b2618feeab28543bdc89b7d7a07bb150bd176
e7185d6cc8ec4c3c8f77f5472d00230ffa8f697e
feat: account azure-oidc create
feat: account azure-oidc list list oidc acccounts ``` ❯ ./octopus account azure-oidc list NAME SLUG SUBSCRIPTION ID AZURE ENVIRONMENT oidc 2 oidc-2 f328219a-0c05-49e1-805d-b2812608e493 Global Cloud oidc 5 oidc-5 3a290b2a-0bd7-4882-a672-76610cbbb929 Global Cloud ``` list oid...
diff --git a/go.mod b/go.mod index fb8b5adf..2e37fe63 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/AlecAivazis/survey/v2 v2.3.6 github.com/MakeNowJust/heredoc/v2 v2.0.1 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.32.0 + github.com/OctopusDeploy/go-octopusdeploy/v2 v2.34.0 g...
4
4
0
[{"id": "G0", "claim": "The list command helper should be named listAzureOidcAccounts rather than listAzureAccounts.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The create command's Short and Long descriptions should say Azure OpenID Connect ...
null
OctopusDeploy__cli__355
OctopusDeploy/cli
355
defect
eb6ee729a45624a9cf5dca0a04f2987d4994b314
3955161d0ab8d4d6c8967208b94f29d52519e11f
fix: Add ability to escape special character when parse variables argument
Support escape `\:` when parse in `release deploy --variable "Test\:Prompt:Value1"` BEGIN_COMMIT_OVERRIDE fix: Add ability to escape special character when parsing variables argument END_COMMIT_OVERRIDE
diff --git a/pkg/cmd/release/deploy/deploy.go b/pkg/cmd/release/deploy/deploy.go index 16f2c281..4fcb5907 100644 --- a/pkg/cmd/release/deploy/deploy.go +++ b/pkg/cmd/release/deploy/deploy.go @@ -196,7 +196,7 @@ func deployRun(cmd *cobra.Command, f factory.Factory, flags *DeployFlags) error return err } - parsedV...
1
1
1
[{"id": "G0", "claim": "The enableEscape parameter should be removed so escape handling is supported by default and the change works for runbook runs too (the change needs to be on runbook runs).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OctopusDeploy__cli__392
OctopusDeploy/cli
392
defect
157ca34a486e9725bf725a88f75904ec885b86eb
a9f5ab31fd9a1a321676fe65658c343385ebea3b
feat: add ability to change git refs when creating release
Updates the SDK to `v2.51.1` which adds support for changing the git refs when creating a release. Adds a new flag `--git-resource` which can be used multiple times to specify the git resource refs as part of the `release create` command. The string format is similar to the packages, but a bit simpler. `{StepN...
diff --git a/go.mod b/go.mod index fed570bf..b0105f06 100644 --- a/go.mod +++ b/go.mod @@ -3,10 +3,10 @@ module github.com/OctopusDeploy/cli go 1.21 require ( - github.com/AlecAivazis/survey/v2 v2.3.6 + github.com/AlecAivazis/survey/v2 v2.3.7 github.com/MakeNowJust/heredoc/v2 v2.0.1 github.com/OctopusDeploy/go-...
9
8
1
[{"id": "G0", "claim": "BuildGitResourcesBaseline never fails, so it does not need to return an error.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The help-text lines describing the override-string format should end with a trailing period, as suggeste...
null
OctopusDeploy__cli__455
OctopusDeploy/cli
455
defect
438a28b86c173dcc3bb47d4e721ecea381f8ff27
67954d4f096faf84f1ea9361ccafca0133c54fdf
feat: Add support for generic oidc accounts
`octopus account generic-oidc` ![image](https://github.com/user-attachments/assets/1f59ece9-2a6f-4e6a-8455-e43161597202) `octopus account generic-oidc list` `octopus account generic-oidc create` ![image](https://github.com/user-attachments/assets/56fd5f5b-de37-40c2-87d5-87f4f4c8fe78) [sc-98285]
diff --git a/go.mod b/go.mod index 3d8aba5c..0be4cd8d 100644 --- a/go.mod +++ b/go.mod @@ -2,11 +2,12 @@ module github.com/OctopusDeploy/cli go 1.21 + require ( github.com/AlecAivazis/survey/v2 v2.3.7 github.com/MakeNowJust/heredoc/v2 v2.0.1 github.com/OctopusDeploy/go-octodiff v1.0.0 - github.com/OctopusDe...
1
1
1
[{"id": "G0", "claim": "The Audience option is missing from the automation command output.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OctopusDeploy__cli__463
OctopusDeploy/cli
463
defect
fadb27819c0fb87a00281ff251bc22a99435f5ae
7b882d8ecfb4d43bfbcc7c0d2758956a729242c5
Add deployment freeze override flags
# Background [SC-96959] Deployment freeze overrides for Octopus Server API were implemented in [this PR](https://github.com/OctopusDeploy/OctopusDeploy/pull/29838), but there is currently no way to override a deployment freeze via the CLI. This PR adds two new flags to the deploy release command. If deploying wh...
diff --git a/pkg/cmd/release/deploy/deploy.go b/pkg/cmd/release/deploy/deploy.go index 235e7d7f..14b7d423 100644 --- a/pkg/cmd/release/deploy/deploy.go +++ b/pkg/cmd/release/deploy/deploy.go @@ -82,6 +82,9 @@ const ( FlagUpdateVariables = "update-variables" FlagAliasUpdateVariablesLegacy = "updateVaria...
1
1
0
[{"id": "G0", "claim": "The flag constant and its CLI name should be singular (\"deployment-freeze-name\"), since each parameter instance takes a single freeze name that can be repeated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OctopusDeploy__cli__48
OctopusDeploy/cli
48
defect
11d67d101217a2935a54bdb6534899c293d2a7a5
e1c859232cc19fb75f1305bc8e6539e684a1ce72
Orion/create release 2
chore: Splits unit and integration tests into two workflows. Integration runs nightly, unit runs on every push refactor: Cover release create workflow with unit tests mocking out the octopus server feat: release create supports --git-commit and --git-ref on the command line
diff --git a/.github/workflows/test.yml b/.github/workflows/integration-test.yml similarity index 90% rename from .github/workflows/test.yml rename to .github/workflows/integration-test.yml index cb0d2694..2e65bc56 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/integration-test.yml @@ -1,9 +1,7 @@ -nam...
1
1
0
[{"id": "G0", "claim": "The version-controlled persistence check should be fixed in the Go API client (hidden behind a better veneer) rather than comparing the \"VersionControlled\" magic string in the CLI.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OctopusDeploy__cli__483
OctopusDeploy/cli
483
defect
2e5810b277954a351d2039a8ab7c526411cac2d9
66f9e0d664147d9576edbd847c1214a0856442fb
feat: Task wait support --progress flag to print task logs and some enhancement
[sc-103532](https://app.shortcut.com/octopusdeploy/story/103532/sev-3-new-octopus-cli-viewing-deployment-logs-requested-by-finnian-dempsey) [issue-363](https://github.com/OctopusDeploy/cli/issues/363) ## Before ![image](https://github.com/user-attachments/assets/c031c251-a519-4afe-b0a7-2b569a258a95) ## After E...
diff --git a/go.mod b/go.mod index e180b6d2..e8225912 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/AlecAivazis/survey/v2 v2.3.7 github.com/MakeNowJust/heredoc/v2 v2.0.1 github.com/OctopusDeploy/go-octodiff v1.0.0 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.64.1 + github.com/OctopusD...
1
1
0
[{"id": "G0", "claim": "WaitRun could take the WaitOptions struct instead of all of its properties as separate arguments.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OctopusDeploy__cli__489
OctopusDeploy/cli
489
defect
6592cb85da7efc5577e7908d885dfcb137c46ac8
b670a5cf0aae959d19aae90d16886eba703fd366
Enable updates of scoped common variables
[SC-103993] This PR enables updates of common and project variables when the Common Variable Scoping feature is enabled. When this feature is enabled, the original update endpoint is not accessible so changes are required to allow use of the new Common and Project variable update endpoints. Project and Common var...
diff --git a/pkg/cmd/tenant/variables/update/update.go b/pkg/cmd/tenant/variables/update/update.go index a9c70325..d59a2acf 100644 --- a/pkg/cmd/tenant/variables/update/update.go +++ b/pkg/cmd/tenant/variables/update/update.go @@ -10,6 +10,7 @@ import ( "github.com/OctopusDeploy/cli/pkg/question/selectors" sharedVa...
3
2
1
[{"id": "G0", "claim": "The update command requires that environments are selected when setting a variable value, so unscoped values cannot be set; the environment should be made optional so unscoped values can be set.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
OctopusDeploy__cli__548
OctopusDeploy/cli
548
defect
ace5aafb5fa16f385ef5e02ffccb20a4f4f77b24
33554627a9e1ba0eda159edf0711fdccc53b4de8
feat: Extend tag sets and add environment tags
Extends tag sets to include environment tagging and update prompting to handle new tag set scopes and types. [sc-122530] **Added new environment tag command** ``` Manage environments in Octopus Deploy USAGE octopus environment <command> [flags] CORE COMMANDS create: Create an environment delete...
diff --git a/go.mod b/go.mod index b63f7d8f..0eedb856 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/AlecAivazis/survey/v2 v2.3.7 github.com/MakeNowJust/heredoc/v2 v2.0.1 github.com/OctopusDeploy/go-octodiff v1.0.0 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.82.0 + github.com/OctopusD...
2
2
1
[{"id": "G0", "claim": "When only a single environment exists, the prompt gives no feedback about which environment is being modified until after tags are selected and the modification has happened; hnrkndrssn wants feedback shown for both `environment tags` and `tenant tags` when there is only 1 to select from.", "cat...
null
OctopusDeploy__cli__558
OctopusDeploy/cli
558
defect
e044a1d49604cc8706bd8bec64ea93f0b058591b
23d888b4fb526492b4496b2a0f8a22eeae76cef0
feat: Support deploying releases to ephemeral environments
# Background [sc-122277] We have implemented ephemeral environments in octopus server allowing the user to create and deploy to a short lived environment. The user can manually deploy a release to an ephemeral environment from the portal, but can not do the same in the CLI. # Changes The CLI is now able to ...
diff --git a/go.mod b/go.mod index f491d657f..d32a79d29 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/AlecAivazis/survey/v2 v2.3.7 github.com/MakeNowJust/heredoc/v2 v2.0.1 github.com/OctopusDeploy/go-octodiff v1.0.0 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.84.2 + github.com/Octopu...
3
3
0
[{"id": "G0", "claim": "In deploy.go around line 491, the two mutually exclusive channel-type checks (lifecycle and ephemeral) should use 'else if' instead of two separate 'if' statements, for clarity and a slight performance gain.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int...
null
OctopusDeploy__cli__559
OctopusDeploy/cli
559
defect
e044a1d49604cc8706bd8bec64ea93f0b058591b
b993b7c3fd0e3f90ab835417868a4eee3e961a64
feat: Add ephemeral environment create command
## Background 🌇 Ephemeral environments allow users to quickly and automatically spin up and tear down environments with consistent settings in Octopus. To make ephemeral environments a first class experience, we want to support interaction with ephemeral environments via the Octopus portal, API, GitHub Actions an...
diff --git a/go.mod b/go.mod index f491d657..9e638d9e 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/AlecAivazis/survey/v2 v2.3.7 github.com/MakeNowJust/heredoc/v2 v2.0.1 github.com/OctopusDeploy/go-octodiff v1.0.0 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.84.2 + github.com/OctopusD...
3
3
1
[{"id": "G0", "claim": "In the success message the environment name should be closed with a single quote instead of a backtick so the quotes match.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The link message should read 'View this ephemeral ...
null
OctopusDeploy__cli__562
OctopusDeploy/cli
562
defect
186340b1144a65dd7da51e1d57369ad175573405
2f6aaa7766f1e324fa18c1ee2a9c480ec0278216
feat: Deprovision an Ephemeral Environment
# Background [sc-123004] We are in the process of adding commands to the CLI to enable a user to manage their ephemeral environments. This PR adds a command to deprovision an ephemeral environment. # Results A command is added allowing a user to deprovision an ephemeral environment for all projects and remo...
diff --git a/go.mod b/go.mod index d32a79d29..4779fc5b1 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/AlecAivazis/survey/v2 v2.3.7 github.com/MakeNowJust/heredoc/v2 v2.0.1 github.com/OctopusDeploy/go-octodiff v1.0.0 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.86.0 + github.com/Octopu...
8
6
0
[{"id": "G0", "claim": "The error message in util.GetByName should read 'ephemeral environment' (singular) instead of 'ephemeral environments'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The deprovisionEnvironment function should use command.P...
null
OctopusDeploy__cli__563
OctopusDeploy/cli
563
defect
8d430eff2abf280fe5c53036932e8c3d74df26c3
97712fa3cb85dff72a5db0e13cae3e0e1352c68d
Deprovision a project for an ephemeral environment
# Context 🌆 Ephemeral environments are temporary environments that developers can use to test changes. They are expected to come and go with the same cadence as a PR, created when the PR is opened and torn down when it is merged. Users need to be able to deprovision a specific project in an ephemeral environment...
diff --git a/pkg/cmd/ephemeralenvironment/deprovision-project/deprovision_project.go b/pkg/cmd/ephemeralenvironment/deprovision-project/deprovision_project.go new file mode 100644 index 000000000..7683d1ddc --- /dev/null +++ b/pkg/cmd/ephemeralenvironment/deprovision-project/deprovision_project.go @@ -0,0 +1,222 @@ +pa...
5
5
3
[{"id": "G0", "claim": "The 'new' alias is incorrect for a deprovision command and should be removed or replaced with deletion-appropriate aliases.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The success message says 'with id' but prints the environme...
null
OctopusDeploy__cli__576
OctopusDeploy/cli
576
defect
e1ccf99c7fcfc0f02b9c583e9e3545e66956bc70
58d5bed9fde4a452d36ed63f6fcf36dcdeecbc61
feat: Add --runbook-tag flag to run multiple runbooks by tag
## Summary - Adds `--runbook-tag` flag to run all runbooks matching specified tags in a single command. - Mutually exclusive with --name - Runs matching runbooks in parallel ## Usage ` octopus runbook run --project MyProject --runbook-tag "TagSet/Tag" --environment Dev` ## Output ``` RUNBOOK ...
diff --git a/go.mod b/go.mod index 45461615..2a678ee6 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/AlecAivazis/survey/v2 v2.3.7 github.com/MakeNowJust/heredoc/v2 v2.0.1 github.com/OctopusDeploy/go-octodiff v1.0.0 - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.89.1 + github.com/OctopusD...
3
2
1
[{"id": "G0", "claim": "The interactive prompt message 'How do you want to run runbooks?' should be reworded to 'How do you want to select which runbook(s) to run?'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The intermediate tag map may be un...
null
OctopusDeploy__cli__584
OctopusDeploy/cli
584
defect
f2871d1aa4b4fe001aa47a9da0cf5c3821897ed6
039437d95595c4e91662947dcca3a4a10db950cb
fix: Support escaped delimiters in --package for Maven packages
## Summary - Add backslash escape support (`\:` `\/` `\=`) to `splitPackageOverrideString` so Maven package IDs containing colons can be correctly specified via `--package` - Escape delimiter characters in `ToPackageOverrideString` so the reconstructed string sent to the server API is also parseable - Add test cases...
diff --git a/pkg/cmd/release/create/create_test.go b/pkg/cmd/release/create/create_test.go index 07044c83..b6a78454 100644 --- a/pkg/cmd/release/create/create_test.go +++ b/pkg/cmd/release/create/create_test.go @@ -2422,6 +2422,11 @@ func TestReleaseCreate_ToPackageOverrideString(t *testing.T) { {name: "action-ref-v...
2
2
2
[{"id": "G0", "claim": "unescapePackageString strips any backslash regardless of what follows (and drops a trailing backslash), so inputs like `foo\\bar:1.0` silently lose the backslash and change the parsed value; it should only consume a backslash before `:`, `/`, `=`, or `\\` and otherwise keep the backslash (includ...
null
OctopusDeploy__cli__586
OctopusDeploy/cli
586
defect
f2871d1aa4b4fe001aa47a9da0cf5c3821897ed6
d7a7dbbfc20de23c03e0d6bf5316427a23284044
feat:added api command to support a GET request against any octopus api endpoint
Adds a new command: `api` Will allow supporting OIDC login via the login command to access any endpoint URL from either Github or Octopus task. Only supports GET at the moment, can easily be expanded to support POST/PUT later `> octopus api /api/spaces/Spaces-1/tenants/Tenants-1` ```json { "Id": "Tenants-1"...
diff --git a/pkg/cmd/api/api.go b/pkg/cmd/api/api.go new file mode 100644 index 00000000..88018141 --- /dev/null +++ b/pkg/cmd/api/api.go @@ -0,0 +1,78 @@ +package api + +import ( + "bytes" + "encoding/json" + "io" + "net/http" + "os" + + "github.com/MakeNowJust/heredoc/v2" + "github.com/OctopusDeploy/cli/pkg/apiclient...
1
1
1
[{"id": "G0", "claim": "The command should not call os.Exit directly for the HTTP status code — exit codes above 255 do not work on POSIX — and can ignore the status code for now instead of exiting on it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OctopusDeploy__mcp-server__81
OctopusDeploy/mcp-server
81
defect
868e4cfd54a380d6e44c7750a39ef1ced389953e
39651134247b68093fb321688aa9556dcfccbc4d
feat: Add find_feature_toggles and update_feature_toggle tools
## Summary Surface the customer-facing [Feature Toggles API](https://octopus.com/docs/) through the MCP server with a narrow read+adjust interface. Customers can list toggles in a project, see per-environment state at a glance, and flip enablement or rollout percentages on existing toggles via Claude / other MCP clien...
diff --git a/README.md b/README.md index cf1a773..f95790c 100644 --- a/README.md +++ b/README.md @@ -197,6 +197,7 @@ Available toolsets: - **certificates** - Certificate operations - **accounts** - Account operations - **interruptions** - Manual intervention and approval operations +- **featureToggles** - Inspect an...
4
4
3
[{"id": "G0", "claim": "A server running with the `projects` toolset but without `featureToggles` can still reach feature-toggle REST endpoints through `execute`, because the `projects` `/api/*/projects/**` wildcard matches those paths and wins attribution, so disabling `featureToggles` is not a real kill switch.", "ca...
null
OffchainLabs__arbitrum-sdk__260
OffchainLabs/arbitrum-sdk
260
defect
5f622e10f5cb871edb90c3c2bb6e39b1e2d0cf0f
af86efba99ce1d2667a32ba4a3f8ae1d6290cc7a
feat: add function to obtain eth bridge contracts
First attempt to add these functions (tested on local with several generated networks). Some notes: - I've added the functions to the `EthBridger` and `ERC20Bridger`. Please let me know if you think they'd make more sense somewhere else - I've created a new interface for the return value of the `ERC20Bridger.get...
diff --git a/scripts/deployBridge.ts b/scripts/deployBridge.ts index 0d670cad70..740641eff0 100644 --- a/scripts/deployBridge.ts +++ b/scripts/deployBridge.ts @@ -80,7 +80,7 @@ export const deployErc20L1 = async (deployer: Signer) => { const multicall = await new Multicall2__factory().connect(deployer).deploy() ...
7
6
4
[{"id": "G0", "claim": "The four rollup contract reads in getBridgeInformation are awaited one after another; Promise.all could run them in parallel (may not matter if the calls are fast).", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code call...
null
OffchainLabs__arbitrum-sdk__379
OffchainLabs/arbitrum-sdk
379
defect
86b52321eca1688f66af8dc8799936388e39c489
ca6f1dc7f94e999e1cc65719421b61788df1ebbc
feat: add support for L3 chains
### L2Network Added the following properties to make `L2Network` more consistent with `L1Network`: - `blockTime: number` represents the minimum block time of the chain - Added a new constant `ARB_MINIMUM_BLOCK_TIME_IN_SECONDS` - In v4, we can think about dropping this property altogether - `partnerCh...
diff --git a/package.json b/package.json index 2eab86d5fe..e0ab1f260f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@arbitrum/sdk", - "version": "3.1.13", + "version": "3.1.13-orbit.0", "description": "Typescript library client-side interactions with Arbitrum", "author": "Offchain ...
18
13
5
[{"id": "G0", "claim": "isParentChain should also cover `partnerChainIDs.length > 0` so a chain with an empty or missing partnerChainIDs is not treated as a parent chain.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "getL1Chains should use `Object....
null
OffchainLabs__arbitrum-sdk__90
OffchainLabs/arbitrum-sdk
90
defect
2bf2f81327aedcb4dd35296a46e515c03884b65b
e48c3d14c56f8bc6c108d00aaa7d08108fb61785
Merge master
Merge changes from https://github.com/OffchainLabs/arbitrum-sdk/pull/89 into nitro stable branch
diff --git a/README.md b/README.md index e71e33b808..586142b027 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Arbitrum SDK +> **Note**: The master branch in this repository points to a legacy 1.x.x version of the SDK. The current recommended version of the package is 2.x.x which can be found on the c-nitr...
3
1
1
[{"id": "G0", "claim": "The package.json change left what looks like a duplicate arb-bridge-peripherals dependency entry (\"seems like there were 2 entries of this\").", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The removed package.json ent...
null
OffchainLabs__nitro__2377
OffchainLabs/nitro
2,377
defect
112214f01924df86871eb410b3621c7b031455e2
8b9757b85828d7bf35d0497570f6578ef359dc78
[NIT-2570] Avoids fetching batch in execution layer, consensus layer fills all necessary information regarding a batch to the execution layer
Avoids fetching batch in execution layer, consensus layer fills all necessary information regarding a batch to the execution layer
diff --git a/arbnode/delayed_sequencer.go b/arbnode/delayed_sequencer.go index 8cbb094c166..13cd5af11f3 100644 --- a/arbnode/delayed_sequencer.go +++ b/arbnode/delayed_sequencer.go @@ -26,6 +26,7 @@ type DelayedSequencer struct { l1Reader *headerreader.HeaderReader bridge *DelayedB...
3
1
1
[{"id": "G0", "claim": "When resequencing delayed messages after a reorg, the code should check whether the delayed message is a BatchPostingReport message and, if so, skip it instead of resequencing it.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim":...
null
OffchainLabs__nitro__2392
OffchainLabs/nitro
2,392
defect
2043d885acc6a18c7aebfb40a01fb69e6b22c60e
18a2510b23d8832d5dc3f9cca649bf20373fd5cb
Define Execution Run Method to Compute Machine Hashes With Step Size for BOLD
# Background As part of Arbitrum BOLD, validators will need to ask a stateless execution server for a list of hashes of executing an Arbitrator machine with some configuration. Validators can specify the start index at which to load the machine, how many times to step over it, and the step size in its execution. For...
diff --git a/system_tests/validation_mock_test.go b/system_tests/validation_mock_test.go index fb4f8685710..0731c6564b7 100644 --- a/system_tests/validation_mock_test.go +++ b/system_tests/validation_mock_test.go @@ -126,6 +126,10 @@ func (r *mockExecRun) GetStepAt(position uint64) containers.PromiseInterface[*va }, ...
15
12
1
[{"id": "G0", "claim": "machineHashesWithStepSize should take plain unpacked arguments instead of an args struct that only repacks them and carries a getMachineAtIndex function, which should always come from the executionRun itself and which the public wrapper forgets to set.", "category": "design", "verdict": "support...
null
OffchainLabs__nitro__2471
OffchainLabs/nitro
2,471
defect
850f0237e4461c88a7d5ea7fb2b2efc54ff71cb0
3dd19d94f3b742df8e2f0b383ad3050ffa97b182
Delete messages from coordinator after they become final
This PR enables the chosen sequencer to delete finalized messages from redis. The sequencer is allowed to delete finalized messages if it is chosen for at least `SeqCoordinatorConfig.UpdateInterval` amount of time. Note: Sequencer coordinator tests will see loud warnings as parent chain reader is not enabled in the...
diff --git a/arbnode/seq_coordinator.go b/arbnode/seq_coordinator.go index cdf1011b114..64b1ef9b81b 100644 --- a/arbnode/seq_coordinator.go +++ b/arbnode/seq_coordinator.go @@ -39,6 +39,7 @@ type SeqCoordinator struct { redisutil.RedisCoordinator + sync *SyncMonitor streamer *TransactionStre...
13
10
4
[{"id": "G0", "claim": "Consider checking whether l1Reader is nil inside inboxReader.GetFinalizedMsgCount, since l1Reader is a property of inboxReader, rather than in SyncMonitor.GetFinalizedMsgCount.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "SyncMo...
null
OffchainLabs__nitro__2486
OffchainLabs/nitro
2,486
defect
5237c931cd976725382679f643da7c9e693b5527
7afc0db030b0c94fd5eb30e0b6bb079e016d6b9f
Redis val fixes
fixes: NIT-2630 also, Some fixes for redis validator: * adding metrics * removing unnecessary error print when stream doesn't exist * producer: trim messages from the queue when not necessary * allow prefix for validation stream - off by default, this will allow using multiple validators with streams on the sa...
diff --git a/pubsub/common.go b/pubsub/common.go index 9f05304e46d..65e996c68df 100644 --- a/pubsub/common.go +++ b/pubsub/common.go @@ -3,7 +3,6 @@ package pubsub import ( "context" - "github.com/ethereum/go-ethereum/log" "github.com/go-redis/redis/v8" ) @@ -22,7 +21,6 @@ func CreateStream(ctx context.Contex...
11
7
3
[{"id": "G0", "claim": "Use strconv.ParseUint for the message-id parts instead of strconv.Atoi followed by uint64 conversion.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "StreamExists should not silently treat every error as if the stream did not ...
null
OffchainLabs__nitro__2705
OffchainLabs/nitro
2,705
defect
5cd7d6913eb6b4dedb08f6ea49d7f9802d2cc5b9
ed680537f60ce8af3b6caa660b41698e77f2e007
[config change] use MessageCommitMode when executing future head block messages
Fixes NIT-2812 Pulls: https://github.com/OffchainLabs/go-ethereum/pull/362 Includes: https://github.com/OffchainLabs/nitro/pull/2712 This PR: * Fixes use of MessageRunMode values, so as MessageCommitMode is used when, and only when, the message is part of a soon-to-be head block. Previously, newly sequenced / syn...
diff --git a/arbos/block_processor.go b/arbos/block_processor.go index b180405c43f..19fc36b351a 100644 --- a/arbos/block_processor.go +++ b/arbos/block_processor.go @@ -144,6 +144,7 @@ func ProduceBlock( chainContext core.ChainContext, chainConfig *params.ChainConfig, isMsgForPrefetch bool, + runMode core.Message...
1
1
1
[{"id": "G0", "claim": "Fuzzing an arbitrary uint8 will generate run modes that do not exist, so the fuzz input should be limited to the run modes that actually exist.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OffchainLabs__nitro__2756
OffchainLabs/nitro
2,756
defect
103b39564781c36f5556781ee339e74444b2056a
cad5b126a3afd90be4f08c9a0883dbd85e8cb8dc
Fix SequenceNumber attribute and decode order
This PR adds changes to the attribute `Sequence` of the `ExpressLaneSubmission` and `JsonExpressLaneSubmission` structs to conform with the [specs](https://github.com/OffchainLabs/timeboost-design/blob/main/implementation_design.md) : - Sequence is renamed to SequenceNumber - When casting the struct to a byte array...
diff --git a/execution/gethexec/express_lane_service.go b/execution/gethexec/express_lane_service.go index 0412edfed7a..c9e9d7209a0 100644 --- a/execution/gethexec/express_lane_service.go +++ b/execution/gethexec/express_lane_service.go @@ -239,19 +239,19 @@ func (es *expressLaneService) sequenceExpressLaneSubmission( ...
1
1
0
[{"id": "G0", "claim": "The log key in the future-sequence-number warning should read \"SequenceNumber\" to match the renamed msg.SequenceNumber attribute.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__nitro__2765
OffchainLabs/nitro
2,765
defect
4383d5289fd970dd0adee257e81a46432cbd69ea
d8137ec50f3647870a444b512f408ea380a1434d
Bulk syncing of missing BlockMetadata
This PR introduces `BlockMetadataRebuilder` that can be configured via config options `--node.block-metadata-rebuilder.*` that when enabled will check, in regular intervals, for missing blockMetadata in ArbDB and fetch those in bulk from an endpoint servicing `arb_getRawBlockMetadata` method introduced [here](https://g...
diff --git a/arbnode/blockmetadata.go b/arbnode/blockmetadata.go new file mode 100644 index 00000000000..bbcbb3c0456 --- /dev/null +++ b/arbnode/blockmetadata.go @@ -0,0 +1,167 @@ +package arbnode + +import ( + "bytes" + "context" + "encoding/binary" + "fmt" + "time" + + "github.com/spf13/pflag" + + "github.com/ethereu...
29
25
2
[{"id": "G0", "claim": "The sync frequency config option should be named `sync-interval` instead of `rebuild-interval`/`RebuildInterval`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The package-level `blockMetadataInputFeedKey` should be decl...
null
OffchainLabs__nitro__2767
OffchainLabs/nitro
2,767
defect
aa6d69af14d3cc5d2c1821f9587254e4203f1936
5e9b2edc44b8fbb6761bafb66637574dd65aaf82
Test gas usage of hostios that don't have good EVM equivalents
Resolves NIT-2829 Test gas usage of hostios that don't have good EVM equivalents
diff --git a/arbitrator/stylus/tests/hostio-test/src/main.rs b/arbitrator/stylus/tests/hostio-test/src/main.rs index 17a5d10266c..cf6e70bf4c3 100644 --- a/arbitrator/stylus/tests/hostio-test/src/main.rs +++ b/arbitrator/stylus/tests/hostio-test/src/main.rs @@ -204,4 +204,39 @@ impl HostioTest { fn tx_origin() -> R...
3
2
2
[{"id": "G0", "claim": "read_args and write_result should be tested with more than one value, using arguments of different lengths.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "pay_for_memory_grow should be tested with both 0 and a non-zero value (100...
null
OffchainLabs__nitro__2804
OffchainLabs/nitro
2,804
defect
eed7b127242eb8a3d99070e5cda6efbacdbd86e3
e0a4a0f3301087b574dbc2d8670559d77e243891
Validator wallet refactor for bold
This PR points into bold and should fix using bold with a contract validator wallet, though that hasn't been fully tested yet as there's an issue in the nitro-testnode bold upgrade with the stake token currently. The main thing this PR does is makes the builder no longer intercept RPC calls. It was always a bit odd ...
diff --git a/arbnode/dataposter/data_poster.go b/arbnode/dataposter/data_poster.go index 4bcc14ffab1..a977b9fc08b 100644 --- a/arbnode/dataposter/data_poster.go +++ b/arbnode/dataposter/data_poster.go @@ -712,7 +712,7 @@ func (p *DataPoster) feeAndTipCaps(ctx context.Context, nonce uint64, gasLimit u return newBaseFe...
6
3
1
[{"id": "G0", "claim": "The lock-retry wait in DataPosterTransactor.SendTransaction should be a select that also waits on ctx.Done() so a cancelled context stops the retry loop instead of blocking on it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
OffchainLabs__nitro__2850
OffchainLabs/nitro
2,850
defect
f140a1d6e868114bacb3d9e0874d7edf8f3c54c8
e18f1a2dcddcf096dcc51614fde83a205a1492de
Fix processing of transactions in expressLaneService
This PR changes how the expressLaneService handles transactions to be in sync with the behavior of sequencer. The controller would now get appropriate errors for the transactions they submit no matter in which order they submit them- if the transactions cant be processed, i.e their sequence numbers are not in sync with...
diff --git a/execution/gethexec/express_lane_service.go b/execution/gethexec/express_lane_service.go index c8339feac74..d13f7daaccb 100644 --- a/execution/gethexec/express_lane_service.go +++ b/execution/gethexec/express_lane_service.go @@ -39,22 +39,28 @@ type expressLaneControl struct { } type transactionPublishe...
7
6
4
[{"id": "G0", "claim": "The round-boundary loop condition should be documented more fully, and the reviewer asks whether it should compare against msg.Round or against the Round of the message pulled from the queue.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G...
null
OffchainLabs__nitro__3033
OffchainLabs/nitro
3,033
defect
b48702404ee92099e128a1114c4b9116a8ba161e
edc302407a78d8e0a686b438ed601c9c1f744a50
Hide eip7623 behind an ArbOwner contract call
Pulls in PR https://github.com/OffchainLabs/nitro-contracts/pull/315 This PR introduces an ArbOwner contract call `SetCalldataPriceIncrease` which can be used to enable and disable the EIP-7623 calldata increase on Arbitrum chains. By default, the ArbosState won't have the feature set to true. So, it will be disable...
diff --git a/arbnode/batch_poster.go b/arbnode/batch_poster.go index 1311b25ab3f..1063ae90cc3 100644 --- a/arbnode/batch_poster.go +++ b/arbnode/batch_poster.go @@ -615,7 +615,7 @@ func (b *BatchPoster) ParentChainIsUsingEIP7623(ctx context.Context, latestHeade if diffIsClose(gas1, gas2, 14, 18) { // targetDiff is...
3
1
0
[{"id": "G0", "claim": "The comment above the widened EIP-7623 detection bound (\"// targetDiff is 40\" over diffIsClose(gas1, gas2, 36, 200)) no longer matches the code and should be updated in a future PR.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
OffchainLabs__nitro__3066
OffchainLabs/nitro
3,066
defect
ec766f4a1d5ac1a1358f2fcc244eedc099445460
88192446b8c6de4ef9012025511c3223a5e78226
feat: Live tracing
This PR improves upon [Tenderly's PR](https://github.com/OffchainLabs/nitro/pull/2934/files) on experimental live tracing support. - No need to fork go-ethereum to export hooks. - Activate tracer on demand with `--node.vmconfig.tracername` and `--node.vmconfig.jsonconfig` - Avoids the prefetchBlock edge case where...
diff --git a/arbnode/inbox_test.go b/arbnode/inbox_test.go index 28a5d587a9c..62f0261ec63 100644 --- a/arbnode/inbox_test.go +++ b/arbnode/inbox_test.go @@ -61,7 +61,7 @@ func NewTransactionStreamerForTest(t *testing.T, ownerAddress common.Address) (* initReader := statetransfer.NewMemoryInitDataReader(&initData) ...
6
4
2
[{"id": "G0", "claim": "The koanf struct annotations on VMTraceConfig.TracerName and VMTraceConfig.JSONConfig trigger unused-field linter errors and should be removed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tracer initialization in GetBl...
null
OffchainLabs__nitro__3129
OffchainLabs/nitro
3,129
defect
648c1cf49b21bc01993afe90d1ab8e79f1d32a2d
79e10eb26591b5a13522cf003383b5b5f97b0a85
Call ProcessParentBlockHash during InternalTxStartBlock
Closes: NIT-3238 Pulls in https://github.com/OffchainLabs/go-ethereum/pull/444
diff --git a/arbos/internal_tx.go b/arbos/internal_tx.go index 0ecdfe74cfe..9ef1508a847 100644 --- a/arbos/internal_tx.go +++ b/arbos/internal_tx.go @@ -9,6 +9,7 @@ import ( "math/big" "github.com/ethereum/go-ethereum/common" + "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/types" ...
2
1
0
[{"id": "G0", "claim": "The condition gating ProcessParentBlockHash should perhaps use IsPrauge() instead of the ArbOS version check.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment referring to EIP-2935 so readers know why the ProcessParentBl...
null
OffchainLabs__nitro__3227
OffchainLabs/nitro
3,227
defect
def6864e4f1f99824d49ab38d0819a6d76910716
4504597b397b5b801969d1f6d3cdb52f79765084
Implement reorg handling in MEL
This PR adds reorg handling in message extractor loop. A simple reorg scenario is tested in the preexisting `TestMessageExtractionLayer_DelayedMessageEquivalence_Simple` Resolves NIT-3329
diff --git a/arbnode/message-extraction/extractor_loop.go b/arbnode/message-extraction/extractor_loop.go index 06b8d197c87..856d94af01b 100644 --- a/arbnode/message-extraction/extractor_loop.go +++ b/arbnode/message-extraction/extractor_loop.go @@ -72,6 +72,17 @@ func (m *MessageExtractor) CurrentFSMState() FSMState { ...
5
3
0
[{"id": "G0", "claim": "The reorg pre-check matches errors by the substring \"not found\" instead of a specific Go error such as ethereum.NotFound, and a better solution should be found.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The separate wa...
null
OffchainLabs__nitro__3255
OffchainLabs/nitro
3,255
defect
28199cd7d53c7cd782104f4920e53d6af0dd6179
27675df5ed37a8062ec79f7f3cc067759a365706
Disable SendTxToL1 when there is at least 1 NativeTokenOwner
If we don't disable this, then, in theory, when the NativeTokenOwner is set, it could simultaneously burn some of the native token and try to send it to L1 as a withdrawal. Fixes NIT-3390
diff --git a/precompiles/ArbSys.go b/precompiles/ArbSys.go index 144040dfb5f..a9e30fd341b 100644 --- a/precompiles/ArbSys.go +++ b/precompiles/ArbSys.go @@ -114,9 +114,20 @@ func (con *ArbSys) SendTxToL1(c ctx, evm mech, value huge, destination addr, cal if err != nil { return nil, err } + arbosState := c.State ...
2
2
0
[{"id": "G0", "claim": "A check should be added to the test that SendTxToL1 succeeds before addresses are added to native token owners (i.e. that sending still works when no owners exist).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A comment should ...
null
OffchainLabs__nitro__3274
OffchainLabs/nitro
3,274
defect
0bd228a1c17180af3117fa0df41c47ccf7ab13c4
f349172cab55dd32855c7d11604cf1b79ca8d896
Change the MEL database to be a key-value mapping in arbDB
This PR introduces a new wrapper struct `Database` inside `mel` package to support database related operations from MEL on to any db that implements `ethdb.Database` interface. We also introduce `MessageConsumer` interface that should be implemented by any service that plans to utilize the extracted L2 messages f...
diff --git a/arbnode/inbox_test.go b/arbnode/inbox_test.go index a6f203aee0c..a284f0142d0 100644 --- a/arbnode/inbox_test.go +++ b/arbnode/inbox_test.go @@ -12,154 +12,16 @@ import ( "time" "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core" - "github.com/ethereum/go-ethereum/core/ra...
2
2
1
[{"id": "G0", "claim": "The strict enforcement floated in the SaveState TODO (erroring when state.ParentChainBlockNumber <= GetHeadMelStateBlockNum) should most likely not be added, because reorgs need to overwrite the head MEL state.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduce...
null
OffchainLabs__nitro__3282
OffchainLabs/nitro
3,282
defect
6e3aba7190261da2a98c63eff8676e8011d00ff9
fe891e9aeb41f88b274cba6149d66bab31491b7f
[MEL] - Add Batch Serialization Without Needing Ethclient
This PR is part of the message extraction function for MEL, originally from the main PR here https://github.com/OffchainLabs/nitro/pull/3174 This PR implements batch serialization without the need for an ethclient, using only the receipt logs from a parent chain block that is available during message extraction
diff --git a/arbnode/delayed_seq_reorg_test.go b/arbnode/delayed_seq_reorg_test.go index 22898d62e57..ae76ebabd27 100644 --- a/arbnode/delayed_seq_reorg_test.go +++ b/arbnode/delayed_seq_reorg_test.go @@ -79,9 +79,9 @@ func TestSequencerReorgFromDelayed(t *testing.T) { AfterDelayedCount: 1, TimeBounds: ...
2
1
0
[{"id": "G0", "claim": "Because serializeBatch mutates internal batch state, it should be defined as a method on the batch (func (b *SequencerInboxBatch) Serialize) instead of a standalone function.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a comm...
null
OffchainLabs__nitro__3308
OffchainLabs/nitro
3,308
defect
15dc6dc65c7192f10148581a9fca55e6b121132b
552a9b0389e7c4a77cd27d8eb1b87aae810e79fc
[MEL] - Implement a Receipt Trie Reader for the MEL Replay Binary Using Preimages
The message extraction layer protocol will have components that are compiled into webassembly and executed as something called a "replay binary". Because WASM is sandboxed and does not have access to the network, the database, or filesystem, when MEL needs to fetch the receipt for a specific transaction index using a b...
diff --git a/cmd/mel-replay/main.go b/cmd/mel-replay/main.go new file mode 100644 index 00000000000..93cb3d3a487 --- /dev/null +++ b/cmd/mel-replay/main.go @@ -0,0 +1,16 @@ +// Copyright 2025-2026, Offchain Labs, Inc. +// For license information, see https://github.com/OffchainLabs/nitro/blob/master/LICENSE.md + +packa...
10
10
3
[{"id": "G0", "claim": "isLeaf should return an error when the first nibble is greater than 3, since shifting by 4 does not guarantee a value below 4.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A comment on the input key endianness would improve...
null
OffchainLabs__nitro__3314
OffchainLabs/nitro
3,314
defect
2b224b07a66e155385dc2c9c5500c5afa2a676ab
c2f2f93a7398f1928c6c553105a9c54789471fb3
recompile wasm for missing targets
Resolves NIT-3358 Pulls in: https://github.com/OffchainLabs/go-ethereum/pull/468 Previously: * availability of asm was checked only for local target when stylus program was called * all wasm targets were recompiled if asm for local target was not found during stylus program call * if node was restarted with diff...
diff --git a/arbnode/dataposter/dbstorage/storage.go b/arbnode/dataposter/dbstorage/storage.go index 18d5b803565..9a5e8c397ef 100644 --- a/arbnode/dataposter/dbstorage/storage.go +++ b/arbnode/dataposter/dbstorage/storage.go @@ -10,10 +10,10 @@ import ( "fmt" "strconv" + "github.com/ethereum/go-ethereum/core/rawd...
2
1
0
[{"id": "G0", "claim": "Only in RecordingMode (and CommitMode) should the code check for and recompile the other configured targets beyond the local target.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "getLocalAsm's name no longer matches its main...
null
OffchainLabs__nitro__3331
OffchainLabs/nitro
3,331
defect
8e84670e001d682e8d37eef04fc19b8df66f83b7
309dcd74b0d041c65483f76b1bc68373a55a574c
Remove stateless_block_validator public function for reader, streamer and tracker
Fixes: NIT-3444,NIT-3462 **Restrict access to reader, streamer, and tracker in `StatelessBlockValidator`** Removed public access to reader, streamer, and tracker from `StatelessBlockValidator`. This ensures that structs like `Staker`, `BoldStaker`, or `MultiStaker` can no longer fetch these directly through it...
diff --git a/arbnode/node.go b/arbnode/node.go index bc795a1491e..a3489aa7bcc 100644 --- a/arbnode/node.go +++ b/arbnode/node.go @@ -730,6 +730,7 @@ func getStaker( deployInfo *chaininfo.RollupAddresses, txStreamer *TransactionStreamer, inboxTracker *InboxTracker, + inboxReader *InboxReader, stack *node.Node, ...
1
1
1
[{"id": "G0", "claim": "Some call sites in the challenge tests were missed when removing the stateless_block_validator accessors, and the builds are failing as a result.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
OffchainLabs__nitro__3381
OffchainLabs/nitro
3,381
defect
295d5cd487cabfb126e33580a3dcbe5600949de5
f9aabf3835d1a269768533821d312b1f6123fb3f
[MEL] - Add a Delayed Message Reader in the MEL Replay Binary
This PR adds a `ReadDelayedMessage` function in the MEL replay binary, which when given a MEL state and an index, it can read a specific delayed message through preimage resolutions. The delayed messages that we need to read are represented by a binary Merkle tree, so attempting to read message `5`, for instance, w...
diff --git a/arbnode/mel/state.go b/arbnode/mel/state.go index 965deafa6ec..b0736c68557 100644 --- a/arbnode/mel/state.go +++ b/arbnode/mel/state.go @@ -21,7 +21,7 @@ type State struct { ParentChainBlockHash common.Hash ParentChainPreviousBlockHash common.Hash MessageAccumulator ...
7
5
0
[{"id": "G0", "claim": "The decode-error message uses msgIndex after it was mutated during the tree traversal, so it will always report 0; capture the original index before traversal and use it in the message for accurate diagnostics.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "intr...
null
OffchainLabs__nitro__3383
OffchainLabs/nitro
3,383
defect
fa864228d5d9bf615b244791c5df24fe23f00bdd
26ffdebc661b56c8164296b115873bd18495939b
DelayedMessageBacklog implementation
This PR addresses [comments](https://github.com/OffchainLabs/nitro/pull/3174#discussion_r2183280976) made on the main `raul/mel-inbox-reading` branch. Changes `DelayedMetaDeque` to `DelayedMessageBacklog`, improves documentation and optimizes `Clear` function of the backlog.
diff --git a/arbnode/mel/delayed_message_backlog.go b/arbnode/mel/delayed_message_backlog.go new file mode 100644 index 00000000000..568df09d70b --- /dev/null +++ b/arbnode/mel/delayed_message_backlog.go @@ -0,0 +1,94 @@ +package mel + +import "github.com/ethereum/go-ethereum/common" + +// DelayedMeta contains metadata...
6
4
0
[{"id": "G0", "claim": "The package-level doc comment of DelayedMessageBacklog should be rewritten to read as the reviewer suggests instead of the deque/meta-data wording.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer suggests naming...
null
OffchainLabs__nitro__3389
OffchainLabs/nitro
3,389
defect
30b8155375311d554976a498e62acfd751b16ac9
dee2081fe8ba2dbee2c48c977815168941d4e351
[MEL] - Implement delayed message accumulation in native mode
This PR implements delayed message accumulation logic for native mode of MEL. We introduce a new data structure `DelayedMessageBacklog` to enable validation of seen but not-yet-read delayed messages against the current merkle root formed by accumulating all the delayed messages seen by MEL up until now. For optimiza...
diff --git a/arbnode/mel/delayed_message_backlog.go b/arbnode/mel/delayed_message_backlog.go new file mode 100644 index 00000000000..090d2e3ae6a --- /dev/null +++ b/arbnode/mel/delayed_message_backlog.go @@ -0,0 +1,122 @@ +package mel + +import ( + "context" + "errors" + "fmt" + + "github.com/ethereum/go-ethereum/commo...
16
13
4
[{"id": "G0", "claim": "Using 0 as the sentinel for 'no trimming' capacity is dangerous because it is the default value callers may forget to set; require a non-zero capacity (error otherwise) and provide a functional option such as WithUnboundedCapacity instead.", "category": "design", "verdict": "supported", "priorit...
null
OffchainLabs__nitro__3394
OffchainLabs/nitro
3,394
defect
bd9e83d3be7ce06e0986a805ebbce1d012b38615
c9c5bc13052861b63c014be279ad61c3f8468486
Add a new binary to generate genesis hash based on provided genesis.json
Fixes: NIT-3409 Added a new binary to generate genesis hash based on provided genesis.json
diff --git a/Dockerfile b/Dockerfile index 4f54e00f0d0..01667bbb2e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -327,6 +327,7 @@ COPY --from=node-builder /workspace/target/bin/autonomous-auctioneer /usr/loca COPY --from=node-builder /workspace/target/bin/bidder-client /usr/local/bin/ COPY --from=node-builder /wo...
2
2
1
[{"id": "G0", "claim": "Perhaps InitialL1BaseFee should also be made a configurable option so orbit-sdk can set it manually, because different chains are created with different initial L1 base fees.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Print th...
null
OffchainLabs__nitro__3492
OffchainLabs/nitro
3,492
defect
a64bcc49aa4905eefc0ef83a9f65797baca74a0d
18b9e4ff4b719229d4ceaf8d2ff31343ce898121
Nit 3568 fix eip 2537 in nitro enable it as part of arbos 50 dia
Pulls https://github.com/OffchainLabs/go-ethereum/pull/506 Resolves [NIT-3568](https://linear.app/offchain-labs/issue/NIT-3568) This PR adds the precompiles of [EIP-2537](https://eips.ethereum.org/EIPS/eip-2537) to ArbOS 50
diff --git a/arbos/arbosState/arbosstate.go b/arbos/arbosState/arbosstate.go index 8203dbb9a6c..0836f89ef40 100644 --- a/arbos/arbosState/arbosstate.go +++ b/arbos/arbosState/arbosstate.go @@ -375,6 +375,11 @@ func (state *ArbosState) UpgradeArbosVersion( case params.ArbosVersion_41: // no change state needed ...
4
4
0
[{"id": "G0", "claim": "The comment above the `case 42, 43, 44, 45, 46, 47, 48, 49:` branch should follow the pattern of other comments in the switch (e.g. `// \tthese versions are left to Orbit chains for custom upgrades.`).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduce...
null
OffchainLabs__nitro__3501
OffchainLabs/nitro
3,501
defect
b783dd64c89e62303f97877a529b4916118c1661
250cc1dbeb1ca0d05cf908a6bae5c3bb93ef0d55
chore: fix spelling and grammar errors across codebase
There was fixed a lot of typos, misleading comments, typos in error messages
diff --git a/system_tests/batch_poster_test.go b/system_tests/batch_poster_test.go index 8227803329c..a69aeb6505d 100644 --- a/system_tests/batch_poster_test.go +++ b/system_tests/batch_poster_test.go @@ -404,7 +404,7 @@ func testBatchPosterDelayBuffer(t *testing.T, delayBufferEnabled bool) { _, err := builder.L2.Co...
3
2
0
[{"id": "G0", "claim": "The PR changed the test failure message from 'txs' to 'blocks' even though the count is of transactions; the reviewer asks to revert it, or spell out transactions.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The retries ...
null
OffchainLabs__nitro__3510
OffchainLabs/nitro
3,510
defect
fd1cb439cf42d44ed243bd454d879d1c76d128f6
5682b73f2bc7cba4f29859a6ce62e7ee618912dc
fix(backend): fix error handling and add comprehensive tests
Fix critical error in GetCollectMachineHashes function and add comprehensive test coverage to prevent future regressions. Changes made: - Fix error handling in GetCollectMachineHashes (check error immediately) - Improve code efficiency in GetMiniStakes - Add comprehensive test coverage for error scenarios - Fol...
diff --git a/bold/api/backend/backend.go b/bold/api/backend/backend.go index 824b3ef6c81..fee46edbd21 100644 --- a/bold/api/backend/backend.go +++ b/bold/api/backend/backend.go @@ -116,30 +116,30 @@ func (b *Backend) GetCollectMachineHashes(ctx context.Context, opts ...db.Collec o(query) } collectMachineHashes, ...
1
1
1
[{"id": "G0", "claim": "The test file added by this pull request fails to build, and those build failures need to be cleaned up before merge.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
OffchainLabs__nitro__3538
OffchainLabs/nitro
3,538
defect
a7ff1b3df4285a9615430c1c9d84c3cbf4a37b6d
8418a7d5dd74a720f414ab2fd420ebc70b844e56
Refactor consensus-execution sync to push sync data
This change eliminates a circular dependency between the consensus and execution layers by transforming the sync status flow from a pull-based to a push-based model. Previously, the execution layer would query the consensus layer for sync status through the ConsensusInfo interface, creating a tight coupling between...
diff --git a/arbnode/consensus_execution_syncer.go b/arbnode/consensus_execution_syncer.go index d7edb8c0ad3..3868178c442 100644 --- a/arbnode/consensus_execution_syncer.go +++ b/arbnode/consensus_execution_syncer.go @@ -29,7 +29,7 @@ var DefaultConsensusExecutionSyncerConfig = ConsensusExecutionSyncerConfig{ } fun...
2
2
2
[{"id": "G0", "claim": "SyncProgressMap should be nil or empty when Synced, to prevent wasteful locking etc.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The sync logic should be more complex: ConsensusSyncData should carry consensus maxMessageCou...
null
OffchainLabs__nitro__3563
OffchainLabs/nitro
3,563
defect
eb640b7cf4db52df2a338a904e9f01e149f1fb1b
62bb9905eec20f977c6ca0b4430a47bae7ef2ec9
fix(events): use stable subscription ids and remove by id
Replace index-based deletion with stable id matching in Producer.Start and assign ids from a monotonically increasing counter in Subscribe. This fixes incorrect removals after slice compaction while keeping behavior otherwise unchanged.
diff --git a/bold/containers/events/producer.go b/bold/containers/events/producer.go index 2df06057739..abbd3909dac 100644 --- a/bold/containers/events/producer.go +++ b/bold/containers/events/producer.go @@ -22,6 +22,7 @@ type Producer[T any] struct { subs []*Subscription[T] doneListener ...
3
3
2
[{"id": "G0", "claim": "Provide a test case that would fail before this change, demonstrating the issue described in the PR comment.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Go tests that E005 placed in bold/containers/events/producer.go shoul...
null
OffchainLabs__nitro__3606
OffchainLabs/nitro
3,606
defect
310c8bf70105c061b39c4744055697074b1a65c0
729dc7801fe378a1021d32c930ac0e2106118d7c
Arbos50 block gaslimit
fixes: NIT-3831 Sets soft and larger per-block gas-limit. Exactly one transaction is allowed to overfill the block in arbos-50, which is possible because in arbos-50 there is a per-transaction gas cap.
diff --git a/arbos/arbosState/arbosstate.go b/arbos/arbosState/arbosstate.go index 8b1e3e5d3cf..e5ed100ba16 100644 --- a/arbos/arbosState/arbosstate.go +++ b/arbos/arbosState/arbosstate.go @@ -34,6 +34,7 @@ import ( "github.com/offchainlabs/nitro/arbos/storage" "github.com/offchainlabs/nitro/arbos/util" "github.c...
6
5
0
[{"id": "G0", "claim": "Reorder the block_processor.go guard so the arbosVersion check comes first and short-circuits the other checks once arbos 50 is hit.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'got 3rd tx which should not be there' ch...
null
OffchainLabs__nitro__3645
OffchainLabs/nitro
3,645
defect
3566849c10badc5f8b07490a2386de8841341852
9b0178f67a5e188668936888d0ce4ade96f2e392
Instrument multi-gas in account HostIOs
Fixes NIT-3796 Waits https://github.com/OffchainLabs/go-ethereum/pull/542 - [x] Instrument stylus instructions: - evm.CallCode - evm.DelegateCall - evm.StaticCall - [x] Add system test in `multigas_stylus_program_test.go`
diff --git a/arbos/programs/api.go b/arbos/programs/api.go index e3953332904..b3c271a855d 100644 --- a/arbos/programs/api.go +++ b/arbos/programs/api.go @@ -243,22 +243,25 @@ func newApiClosures( } accountBalance := func(address common.Address) (common.Hash, uint64) { cost := vm.WasmAccountTouchCost(chainConfig,...
1
1
1
[{"id": "G0", "claim": "The new test should also cover the other account hostios, probably via a test table.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OffchainLabs__nitro__3646
OffchainLabs/nitro
3,646
defect
40552d533b3e9b49e64da0614ee0c389eb867a6c
e4822314df5b76238baa501738f9f9bb85a49c25
arbos: Instrument multi-gas in emitLog HostIO
Fixes NIT-3795 Waits: https://github.com/OffchainLabs/go-ethereum/pull/546 Instrument the emitLog API closure.
diff --git a/arbos/programs/api.go b/arbos/programs/api.go index f8559921479..e56e6b58239 100644 --- a/arbos/programs/api.go +++ b/arbos/programs/api.go @@ -4,10 +4,12 @@ package programs import ( + "fmt" "strconv" "github.com/holiman/uint256" + "github.com/ethereum/go-ethereum/arbitrum/multigas" "github....
4
4
0
[{"id": "G0", "claim": "The emitLog multi-gas cost calculations added in the wasm closure should be moved to operations_acl_arbitrum, though the author was unsure because log gas is partly calculated on the wasm side.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
OffchainLabs__nitro__3732
OffchainLabs/nitro
3,732
defect
26f406cc4ffa5e2e75cf32d1af53cc12f154d834
06e38ce40fb530755eb220de3e90fcada0b06bd5
DataStreaming: Fix last-chunk size validation when totalSize is a multiple of chunkSize
### Description - Corrects last-chunk verification in `daprovider/das/data_streaming/receiver.go`: if `totalSize % chunkSize == 0`, the last chunk must be exactly `chunkSize` (not 0). - Prevents rejecting valid streams and avoids accidental DoS on exact-multiple payloads.
diff --git a/daprovider/das/data_streaming/receiver.go b/daprovider/das/data_streaming/receiver.go index 4a77651983a..dfedf2b95a7 100644 --- a/daprovider/das/data_streaming/receiver.go +++ b/daprovider/das/data_streaming/receiver.go @@ -176,7 +176,13 @@ func (ms *messageStore) addNewChunk(id MessageId, chunkId uint64, ...
3
3
2
[{"id": "G0", "claim": "The last-chunk expected-size logic should be simplified to the one-line expression ((expectedTotalSize - 1) % expectedChunkSize) + 1 instead of the remainder branch.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Message ...
null
OffchainLabs__nitro__3739
OffchainLabs/nitro
3,739
defect
c46e1e91b1aaf75b8465313deb354cc401ecee03
45097d9b3ab031f694da4d12e0d164786b65857a
feature(das): make trie iterators robust to stray files
- Add readDirNamesFiltered to safely list only directories or files and gracefully skip non-directories. - Update trieLayout.iterateBatches and trieLayout.iterateBatchesByTimestamp to use filtered reads. - Update trieLayoutIterator dynamic loading to use filtered reads and avoid errors on stray files.
diff --git a/daprovider/das/local_file_storage_service.go b/daprovider/das/local_file_storage_service.go index 9133f4f1539..af192f40673 100644 --- a/daprovider/das/local_file_storage_service.go +++ b/daprovider/das/local_file_storage_service.go @@ -274,6 +274,37 @@ func listDir(dir string) ([]string, error) { return ...
2
2
0
[{"id": "G0", "claim": "Every graceful skip of a stray file, wrong entry type, or invalid name should emit a warning via log.Warn instead of passing silently.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The author should add tests for the rea...
null
OffchainLabs__nitro__3829
OffchainLabs/nitro
3,829
defect
4ae76a38bdd0e8bb7c99701c89010272fbd6bd77
838650b9778787de25ee6f06044ac63ef17d8c89
Avoid races in system_tests changing config by making the changes atomic
Previously system_tests used `NodeBuilder`'s `nodeConfig` and `execConfig` to create consensus and execution nodes directly, meaning if the test wanted to change any config fields- it would end up changing behavior of the nodes already started as well, sometimes unintentionally! As the `NodeBuilder`'s configs are to be...
diff --git a/cmd/nitro/nitro.go b/cmd/nitro/nitro.go index 9560dd73dd6..8f9a3272f25 100644 --- a/cmd/nitro/nitro.go +++ b/cmd/nitro/nitro.go @@ -528,7 +528,7 @@ func mainImpl() int { chainDb, l2BlockChain, l1Client, - func() *gethexec.Config { return &liveNodeConfig.Get().Execution }, + &ExecutionNodeConfigF...
5
3
2
[{"id": "G0", "claim": "The Start, StopAndWait and Started methods on gethexec's new ConfigFetcher interface are not needed, so the type could remain a func() *Config alias and avoid changes in cmd/nitro/nitro.go.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl...
null
OffchainLabs__nitro__3861
OffchainLabs/nitro
3,861
defect
10265013ab735e7e017a3dfac5b929bf8e95886d
9d9414b815bc75ac1e7aa95085c4ea20c2dad921
Add gas constraints to L2 Pricing storage
The new gas constraints try to keep each backlog under the given target over the given period. Close NIT-4022
diff --git a/arbos/l2pricing/l2pricing.go b/arbos/l2pricing/l2pricing.go index 8de1735047d..83bfdd14e14 100644 --- a/arbos/l2pricing/l2pricing.go +++ b/arbos/l2pricing/l2pricing.go @@ -4,11 +4,46 @@ package l2pricing import ( + "fmt" "math/big" "github.com/offchainlabs/nitro/arbos/storage" ) +const ( + gas...
3
1
0
[{"id": "G0", "claim": "The constant storageVectorNumItensOffset is misspelled and should be renamed (e.g. storageVectorNumItemsOffset).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In SubStorageVector.Push, if the length Set fails after a sub...
null
OffchainLabs__nitro__3932
OffchainLabs/nitro
3,932
defect
5b24cd6e674e1cbd3583556589c79f61fe03e1ca
0bf94f073234bfedbe7119d330aa35dba3334cef
[config] allow archive mode for path scheme
Resolves NIT-4056 - Previously, config validation errored when both `execution.caching.archive` and `execution.caching.state-scheme=path` were set. Now this is no longer a case. - `execution.rpc.state-scheme` option is removed as it was duplicate of `execution.caching.state-scheme` Pulls: https://github.com/Off...
diff --git a/cmd/nitro/init_test.go b/cmd/nitro/init_test.go index b6346e94866..e79d2ab95ec 100644 --- a/cmd/nitro/init_test.go +++ b/cmd/nitro/init_test.go @@ -424,7 +424,6 @@ func TestOpenInitializeChainDbIncompatibleStateScheme(t *testing.T) { nodeConfig := NodeConfigDefault nodeConfig.Execution.Caching.StateS...
1
1
1
[{"id": "G0", "claim": "CI is failing and TestInvalidArchiveConfig needs to be adjusted or removed.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
OffchainLabs__nitro__3947
OffchainLabs/nitro
3,947
defect
a4f103fd77b2f71ad6c83930c5b582547aaba75e
b7aa16a32a648d2399c15ba5d7856ab343692aab
[NIT-3121] Make uncompressed batch size limit configurable
We extend (Arbitrum) chain config with a new field describing limit on the uncompressed batch size (previously hardcoded to 16MB). > [!NOTE] > **Design decision:** Instead of propagating individual limit values as bare integers between components, we pass the entire `params.ChainConfig` struct. This architectural d...
diff --git a/arbnode/batch_poster.go b/arbnode/batch_poster.go index b3c14e55407..ef0451d1408 100644 --- a/arbnode/batch_poster.go +++ b/arbnode/batch_poster.go @@ -94,24 +94,25 @@ type batchPosterPosition struct { type BatchPoster struct { stopwaiter.StopWaiter - l1Reader *headerreader.HeaderReader - in...
5
5
3
[{"id": "G0", "claim": "Add a comment in cmd/replay/main.go explaining why it is OK to pass nil as the chain config when reading the init message.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The way the new decompression limit setting is access...
null
OffchainLabs__nitro__3982
OffchainLabs/nitro
3,982
defect
8da9e1ece29077fb93e1768db89b98f100b38e05
97b31a538187bcda9001f817025e2b2c4b522a24
Broadcaster refactor
This PR aims at simplifying and reducing broadcaster's API and implementation: - ~we embed `*wsbroadcastserver.WSBroadcastServer` field anonymously and gain implicit delegation instead of boilerplate wrappers~ - we collapse arguments in `NewBroadcastFeedMessage` into a single, already existing type (`MessageWithMet...
diff --git a/arbnode/inbox_tracker.go b/arbnode/inbox_tracker.go index 3e1487ccb55..e69b4bde563 100644 --- a/arbnode/inbox_tracker.go +++ b/arbnode/inbox_tracker.go @@ -290,6 +290,11 @@ func (t *InboxTracker) PopulateFeedBacklog(broadcastServer *broadcaster.Broadcas return fmt.Errorf("error getting batch %v message...
3
3
1
[{"id": "G0", "claim": "The Broadcaster should declare and initialize the wsbroadcastserver explicitly as a named field instead of embedding it, because implicit embedding makes debugging and understanding the code harder.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
OffchainLabs__nitro__3985
OffchainLabs/nitro
3,985
defect
b3505d51018f4cab0b68e986f9b6934c1ccd6127
6c1b24afeaf9344a2114e20c22d92b6147428320
arb_getL1Confirmations and arb_findBatchContainingBlock RPC APIs in Consensus side
Resolves NIT-3558 Medium to long term goal is to remove GetL1Confirmations and FindBatchContainingBlock from NodeInterface. In those methods NodeInterface relies on calling Consensus and the parent chain, introducing a circular dependency between Consensus and Execution. For that, the first step, which is cove...
diff --git a/arbnode/api.go b/arbnode/api.go index 1dc4d75d0f5..c6c03e67ef5 100644 --- a/arbnode/api.go +++ b/arbnode/api.go @@ -2,31 +2,93 @@ package arbnode import ( "context" + "errors" "fmt" "time" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com...
4
4
1
[{"id": "G0", "claim": "The two functions (FindInboxBatchContainingMessage and GetBatchParentChainBlock) were removed from the BatchFetcher interface in execution/interface.go but were not removed from arbnode.Node's implementation.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introd...
null
OffchainLabs__nitro__4008
OffchainLabs/nitro
4,008
defect
76d7d149f2f658b3a153ad1bd224f01cd6621b48
bf6d774b81f140a8f803844e99849bfe83726194
Implement GetSequencerMessageBytes method to MessageExtractor
This PR adds `GetSequencerMessageBytes` to the MessageExtractor struct as this method is implemented by InboxReader and is needed for running the node (previously this wasn't the case, but now there are places such as custom DA code's ReadPreimageProofEnhancer that will require this method). Resolves NIT-4105
diff --git a/arbnode/mel/extraction/abis.go b/arbnode/mel/extraction/abis.go index 320b443cd36..ca9746e161e 100644 --- a/arbnode/mel/extraction/abis.go +++ b/arbnode/mel/extraction/abis.go @@ -43,5 +43,4 @@ func init() { panic(err) } iInboxABI = parsedIInboxABI - BatchDeliveredID = sequencerBridgeABI.Events["Seq...
1
1
0
[{"id": "G0", "claim": "The logsFetcher line should carry a comment explaining that 0 is passed because the logs fetcher alone is used, so no max headers need to be specified.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__nitro__4082
OffchainLabs/nitro
4,082
defect
15e2283415a9ec60a314e9eb6a3e819d21fef773
459947c5fd3d43e92ba14629af425d0453e71a86
Issue refunds based on multi-dimensinal base fee
Close NIT-4109 Depends on https://github.com/OffchainLabs/go-ethereum/pull/594 Changes: - [x] Introduce `MultiDimensionalPriceForRefund` to calculate multi-dimensional price (with a test) - [x] Add multi gas refund for normal tx path (with a test) - [x] Add multi gas refund for retryable tx path (with a test)
diff --git a/arbos/l2pricing/base_fees.go b/arbos/l2pricing/base_fees.go new file mode 100644 index 00000000000..540f3e744d7 --- /dev/null +++ b/arbos/l2pricing/base_fees.go @@ -0,0 +1,44 @@ +// Copyright 2025, Offchain Labs, Inc. +// For license information, see https://github.com/OffchainLabs/nitro/blob/master/LICENS...
5
5
3
[{"id": "G0", "claim": "Keeping the old baseFee*gasUsed behaviour inside MultiDimensionalPriceForRefund for pre-multi-gas ArbOS versions is risky; the ArbOS version check should move into the EndTxHook so that on old versions no refund calculations happen at all, guaranteeing no chain divergence from a calculation mism...
null
OffchainLabs__nitro__4101
OffchainLabs/nitro
4,101
defect
6837a8fd5d80b6eee74a5b6ffec25fb281225bd3
b7e4a92be71d3a863d37767007cf6d0c39cd41fb
Stop charging gas for retryable redeem gas pool update on ArbOS 60+
Fixes NIT-4152 pulls in https://github.com/OffchainLabs/go-ethereum/pull/599 Changes: - Add `WithUnmeteredGasAccounting` to the precompile context to ignore gas charges within the `ShrinkBacklog` call. - Parametrise Retryable-Redeem test scenarios to prove behaviour for different ArbOS versions
diff --git a/arbos/l2pricing/l2pricing.go b/arbos/l2pricing/l2pricing.go index b5dbdbc9f67..0e5f8041ca7 100644 --- a/arbos/l2pricing/l2pricing.go +++ b/arbos/l2pricing/l2pricing.go @@ -46,9 +46,9 @@ var multigasConstraintsKey []byte = []byte{1} const GethBlockGasLimit = 1 << 50 -// TODO(NIT-4152): Number of constr...
8
7
3
[{"id": "G0", "claim": "Add a comment on BacklogUpdateCost stating that this function won't be called after ArbOS 60.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Do not change the order of the check (keep ClearGasConstraints before the limit ch...
null
OffchainLabs__nitro__4119
OffchainLabs/nitro
4,119
defect
6837a8fd5d80b6eee74a5b6ffec25fb281225bd3
744808ae335bbba53b0ad277fb7c3bafde792a57
[MEL] - Implement preimage recorder for `DelayedMessageDatabase` interface
This PR introduces `RecordingDatabase` that implements `DelayedMessageDatabase` interface and records the delayed messages in the form of preimages (key - value mappings i.e `delayedMsgHash to delayedMsgBytes`) to be used for message extraction validation. We do this by recording the intermediate nodes created while...
diff --git a/arbnode/db-schema/schema.go b/arbnode/db-schema/schema.go index b0b62dfbf67..5eb69c4ea24 100644 --- a/arbnode/db-schema/schema.go +++ b/arbnode/db-schema/schema.go @@ -3,6 +3,15 @@ package dbschema +import ( + "encoding/binary" + + "github.com/ethereum/go-ethereum/ethdb" + "github.com/ethereum/go-ethe...
5
5
1
[{"id": "G0", "claim": "The test function name TestReadDelayedMessagea contains a typo and should be TestReadDelayedMessage.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The database-reading helper functions added to the dbschema package do no...
null
OffchainLabs__nitro__4131
OffchainLabs/nitro
4,131
defect
f8bbec49f71d52d3f85bc8bb6dcc09db30ae833c
fe949ca34785e9311036e3a90014d3c3e2be3beb
Add isActiveSequencer to ExpressLaneTracker log messages
When running multiple sequencers in HA mode, all nodes run an ExpressLaneTracker that polls for auction resolution events. This means the "AuctionResolved" and "New express lane auction round" log messages appear on every sequencer node, making it difficult for operators to distinguish which node is active vs standby. ...
diff --git a/cmd/el-proxy/main.go b/cmd/el-proxy/main.go index 79edc76b62a..54a58d6868f 100644 --- a/cmd/el-proxy/main.go +++ b/cmd/el-proxy/main.go @@ -130,6 +130,7 @@ func NewExpressLaneProxy( &params.ChainConfig{ChainID: big.NewInt(config.ChainId)}, config.MaxTxDataSize, 0, + nil, ) if err != nil { ...
1
1
1
[{"id": "G0", "claim": "The isActiveSequencer closure should handle the pause state in the same way as Sequencer.getForwarder, instead of only checking that the forwarder is nil.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OffchainLabs__nitro__4132
OffchainLabs/nitro
4,132
defect
b7ef8334d5e59bf2e3ad754ae28c16d55f6c5da1
b8666ff05af1c7776f38e0d6abd683907b600e3f
Add new option to allow BlocksReExecutor to commit state to disk
Fixes NIT-3154 Add new boolean option to `BlocksReExecutor` called `CommitStateToDisk` that will allow `BlocksReExecutor.Blocks` range to not only re-executes blocks but it will also commit their state to `triedb` on disk. Problem this PR solves: When using sparse archive node to debug, each api call requiring s...
diff --git a/blocks_reexecutor/blocks_reexecutor.go b/blocks_reexecutor/blocks_reexecutor.go index 8c53df4143c..840d2df1522 100644 --- a/blocks_reexecutor/blocks_reexecutor.go +++ b/blocks_reexecutor/blocks_reexecutor.go @@ -34,6 +34,7 @@ type Config struct { Enable bool `koanf:"enable"` Mode ...
3
3
1
[{"id": "G0", "claim": "The hard-coded buffer of 10 on fatalErrChan is a deadlock risk inherited from the previous implementation: if block re-execution runs in more than 11 threads and at least 12 fail, threads hang sending to the full channel since only one error is drained, so it should be created with size c.Room."...
null
OffchainLabs__nitro__4133
OffchainLabs/nitro
4,133
defect
39c9a5a1be3a72182003c1d94c6ec60ac0c38fb3
9ee3e9ff3a4e56ac26d891937aebcaa2bf99b4ba
[MEL] - Implement recording of preimages related to sequencer batches (DA providers)
This PR introduces recording of preimages relating to posted sequencer batches. We introduce a new struct `RecordingDAPReaderSource` that will cast the underlying `daprovider.Reader`s to record preimages. This will be used in recording preimages for MEL validation. Resolves NIT-4194
diff --git a/arbnode/db-schema/schema.go b/arbnode/db-schema/schema.go index b0b62dfbf67..4e9349aae89 100644 --- a/arbnode/db-schema/schema.go +++ b/arbnode/db-schema/schema.go @@ -3,6 +3,15 @@ package dbschema +import ( + "encoding/binary" + + "github.com/ethereum/go-ethereum/ethdb" + "github.com/ethereum/go-ethe...
3
2
0
[{"id": "G0", "claim": "CopyPreimagesInto doesn't belong in the daprovider package since it is used for all preimages, including Keccak256 preimages from block-execution recording, not just DA-related ones, and should live somewhere package-neutral (the author later proposed the validator package).", "category": "maint...
null
OffchainLabs__nitro__4145
OffchainLabs/nitro
4,145
defect
9cb6b8fccb6fb87e0a8782b32f9f5172e8fa314c
cc699d5c6c31549617ca4d391e1eb13532f90fa8
Make compression level adaptive and configurable #NIT-4153
In this PR we are changing current compression rates and static thresholds to something more configurable by operators. The previous `--node.batch-poster.compression-level` flag is deprecated in this PR and replaced by: `--node.batch-poster.compression-levels` which allow user to set json array in the following fo...
diff --git a/arbnode/batch_poster.go b/arbnode/batch_poster.go index 598a877572c..b1ff1067830 100644 --- a/arbnode/batch_poster.go +++ b/arbnode/batch_poster.go @@ -171,8 +171,12 @@ type BatchPosterConfig struct { // Batch post polling interval. PollInterval time.Duration `koanf:"poll-interval" reload:"hot"` // B...
6
5
2
[{"id": "G0", "claim": "The CI run on the pull request reports 4 failing tests, including TestEndToEnd_ManyEvilValidators and TestTwoNodesLongLocalAnyTrust.", "category": "correctness", "verdict": "uncertain", "priority": "P0", "scope": "unclear"}, {"id": "G1", "claim": "Setting CompressionLevels later, when the old an...
null
OffchainLabs__nitro__4157
OffchainLabs/nitro
4,157
defect
ba80222f283d5cf459117ed4ad4a3e60a157993d
af1cd36cd0b0174a60faa489c030fec8cbb4a8d3
Add address-based transaction filtering for sequencer
Implement infrastructure for filtering transactions based on addresses touched during execution. This supports compliance use cases on certain chains where transactions interacting with certain addresses must be rejected by the sequencer before inclusion. Addresses are collected during execution via TxProcessor.Push...
diff --git a/arbos/block_processor.go b/arbos/block_processor.go index 9740a71f24d..93745fe93d0 100644 --- a/arbos/block_processor.go +++ b/arbos/block_processor.go @@ -382,6 +382,7 @@ func ProduceBlockAdvanced( // Ignore this transaction if it's invalid under the state transition function statedb.RevertToSna...
3
3
3
[{"id": "G0", "claim": "The address-filtering implementation should follow the corresponding geth-side PR and its notes.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The address filter also needs to be applied in sequenceDelayedMessageWithBlockMutex, a...
null
OffchainLabs__nitro__4174
OffchainLabs/nitro
4,174
defect
9e434eeba38701c59c8a236674663489a2b89956
8d200f4f8a0b89587e82e96ecd5c8565668f24c2
Add ArbFilteredTransactionsManager precompile
Fixes NIT-4152 and NIT-4253 pulls in https://github.com/OffchainLabs/nitro-precompile-interfaces/pull/25 pulls in https://github.com/OffchainLabs/go-ethereum/pull/604 pulls in https://github.com/OffchainLabs/nitro-testnode/pull/173 Changes: - [x] Add new precompile `ArbFilteredTransactionsManager` to manage filt...
diff --git a/arbos/arbosState/arbosstate.go b/arbos/arbosState/arbosstate.go index fbe56975513..d3879a98498 100644 --- a/arbos/arbosState/arbosstate.go +++ b/arbos/arbosState/arbosstate.go @@ -53,6 +53,7 @@ type ArbosState struct { addressTable *addressTable.AddressTable chainOwners *addressSet...
8
6
1
[{"id": "G0", "claim": "ArbFilteredTransactionsManager.hasAccess handles errors differently from ArbNativeTokenManager's hasAccess (on error the gas is not burned out), and the reviewer is unsure whether this difference is intentional and wants interface consistency with other precompiles.", "category": "design", "verd...
null
OffchainLabs__nitro__4183
OffchainLabs/nitro
4,183
defect
416e51276487e7e58abe21abbcf79db357e6dc04
6a6c12534b3146cbdf632d77731cd78b483ac2be
Add test for batch resizing via ErrMessageTooLarge
This test validates the dynamic batch sizing behavior introduced in commit 05ac6df5, which allows DA providers to signal that a message is too large without triggering a fallback to the next writer. When a DA provider returns ErrMessageTooLarge, the batch poster should: 1. Re-query GetMaxMessageSize() to learn the ...
diff --git a/changelog/Tristan-Wilson-batch-resizing-test-NIT-4158.md b/changelog/Tristan-Wilson-batch-resizing-test-NIT-4158.md new file mode 100644 index 00000000000..67f2a6ac000 --- /dev/null +++ b/changelog/Tristan-Wilson-batch-resizing-test-NIT-4158.md @@ -0,0 +1,2 @@ +### Added +- Added a test for batch resizing ...
4
4
3
[{"id": "G0", "claim": "The test's follower-sync verification (a bare BlockNumber call) does not actually ensure the second node synced, and phase 2 lacks an equivalent check.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Phase 1 should use the Advance...
null
OffchainLabs__nitro__4186
OffchainLabs/nitro
4,186
defect
330bf29b7a4c21a67b9160ee2afd79d2d4a61577
25edd6b834e983d338293746185f4b76ce872b3c
Use promises in the ExecutionRecorder interface
Make `execution.ExecutionRecorder` interface use promise API: - it makes it aligned with the `ExecutionClient` interface - it makes it easier to expose it as an RPC API (especially that we don't pass the context argument in the member methods) To keep things simple and avoid nesting threads we abandon `BlockReco...
diff --git a/changelog/pmikolajczyk-block-recorder-refactor.md b/changelog/pmikolajczyk-block-recorder-refactor.md new file mode 100644 index 00000000000..63f05bf2de0 --- /dev/null +++ b/changelog/pmikolajczyk-block-recorder-refactor.md @@ -0,0 +1,2 @@ +### Changed +- Align the `execution.ExecutionRecorder` interface A...
3
3
0
[{"id": "G0", "claim": "The pull request does not implement the ExecutionRecorder methods (RecordBlockCreation, PrepareForRecord) on ExecutionRPCServer, and the reviewer asks whether it should or whether that is left for another PR.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null