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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Catrobat__Catroid__5126 | Catrobat/Catroid | 5,126 | defect | 74169103a7956ef10c35d8f8cccedf6069d5d08f | 880f4f50137a8df2cdaffb50a7b7db5c8ef9d30c | IDE-305 Fix URLs and remove obsolete buttons | Fixed bad URLs to point to correct informaton.
Removed buttons and menu entries to obsolete features such as the Scratch converter or Uploading of projects to share.
https://catrobat.atlassian.net/browse/IDE-305
### Your checklist for this pull request
Please review the [contributing guidelines](https://github.... | diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/fragment/MainMenuFragmentTest.kt b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/fragment/MainMenuFragmentTest.kt
index 6fad7236837..ad728d80a2f 100644
--- a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/fra... | 3 | 1 | 0 | [{"id": "G0", "claim": "Multiple specific documentation URLs (CATROBAT_FORMULA_WIKI_URL, CATROBAT_FUNCTIONS_WIKI_URL, CATROBAT_LOGIC_WIKI_URL, CATROBAT_SENSORS_WIKI_URL, CATROBAT_OBJECT_WIKI_URL) were collapsed into the same generic https://catrobat.org/docs/ page, which could leave users unable to reach the specific s... | null |
Catrobat__Catroid__5139 | Catrobat/Catroid | 5,139 | defect | fb02bac2543fdd1979ce15b9b90a8557c2913ef2 | 97893f88f74277accf99aedb594a4886f4e78e1f | CATROID-1316 Refactor ChangeColorByNAction to Kotlin | Refactoring of `ChangeColorByNAction` and `ChangeColorByNActionTest`
https://catrobat.atlassian.net/browse/CATROID-1316
### Your checklist for this pull request
Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Cat... | diff --git a/catroid/src/main/java/org/catrobat/catroid/content/actions/ChangeColorByNAction.java b/catroid/src/main/java/org/catrobat/catroid/content/actions/ChangeColorByNAction.kt
similarity index 50%
rename from catroid/src/main/java/org/catrobat/catroid/content/actions/ChangeColorByNAction.java
rename to catroid/s... | 2 | 1 | 0 | [{"id": "G0", "claim": "The numeric literal 25f in update() should be defined as a well-named constant instead of being used inline as a magic number.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The !! operators in ChangeColorByNAction.update... | null |
CelestiaProject__Celestia__1178 | CelestiaProject/Celestia | 1,178 | defect | 06613bda27e22be6646d8e7843279760a18385d3 | 567477a29ae6668c94cd69d340f35c629d8c472e | Add test for CMOD binary→ASCII→binary roundtrip | An integration test roundtripping the iss.cmod file to ASCII and back. This *should* now work with the tokenizer updates, unless the standard library floating point parser is broken in some implementations. | diff --git a/cmake/TestCase.cmake b/cmake/TestCase.cmake
index de9597df16a..0d4ecc8323a 100644
--- a/cmake/TestCase.cmake
+++ b/cmake/TestCase.cmake
@@ -4,6 +4,7 @@ macro(test_case)
list(REMOVE_AT libs 0 0)
add_executable(${trgt} "${trgt}_test.cpp")
+ target_compile_definitions(${trgt} PRIVATE CONTENT_DIR="${C... | 1 | 1 | 0 | [{"id": "G1", "claim": "The roundtrip test should not require checking out the whole 270 MB content submodule just for one file; iss.cmod should be provided in the test directory instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
CelestiaProject__Celestia__1182 | CelestiaProject/Celestia | 1,182 | defect | aac69395bb3a38970ec7d8d2b0c02beee2b36a65 | 02d22a6895429e414f317167fc863d7267b97e50 | Remove inheritance from Material maps, Model destructor | - Reference texture maps by ResourceHandles in cmod Materials
- Add basic path manager for integration tests and tools
- Remove virtual destructor on Model class as nothing inherits from it
As far as I can see, the only reason to use `TextureResource` rather than `ResourceHandle` was so that the tools could store ... | diff --git a/src/celengine/meshmanager.cpp b/src/celengine/meshmanager.cpp
index 07e08e20de5..a3c662d17ec 100644
--- a/src/celengine/meshmanager.cpp
+++ b/src/celengine/meshmanager.cpp
@@ -56,27 +56,6 @@ static GeometryManager* geometryManager = nullptr;
constexpr const fs::path::value_type UniqueSuffixChar = '!';
... | 4 | 4 | 0 | [{"id": "G0", "claim": "The dead CelestiaTextureResource::source() function in src/celengine/modelgeometry.cpp should be deleted outright instead of being wrapped in /* */ comments.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since model.cpp ... | null |
CelestiaProject__Celestia__1245 | CelestiaProject/Celestia | 1,245 | defect | 63d4de9d819def4e9819ca131a712964eb28859c | 01c200a771ecfe290c73fbb6405548a13b6622b9 | Fix floating point from_chars implementation | Fixes a bug with the backport of charconv: the current implementation calls `strtof` (and friends) on the source. Unfortunately this is a C function which assumes a zero-byte terminator, this does not necessarily exist in the source. Also cleans up some other missing parts of the API, and falls back to the standard lib... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 551f28ebddc..37b2964701a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -365,6 +365,16 @@ endif()
try_compile(HAVE_STRING_VIEW ${CMAKE_BINARY_DIR} "${CMAKE_SOURCE_DIR}/checks/cxxsv.cpp")
try_compile(HAVE_EXPERIMENTAL_STRING_VIEW ${CMAKE_BINARY_DIR} "${CMAKE_SOUR... | 5 | 4 | 1 | [{"id": "G0", "claim": "The inner warning condition tests HAVE_CHARCONV instead of HAVE_FLOAT_CHARCONV, so the 'C++ charconv lacks floating point support' warning can never be printed inside the if(HAVE_CHARCONV) branch.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
CelestiaProject__Celestia__1779 | CelestiaProject/Celestia | 1,779 | defect | 8f43b0b8726f513eb75d84e711775a2e2b86071d | e730f552bd442692413a0ea1c74f68b66650987a | Switch most non-Windows usages of wchar_t to char16_t | - Reduces the size of the console buffer on Linux
- char16_t better matches the ICU C APIs
- Simplify/remove some of the UTF-8 handling routines
Would like to go further to reduce dependency on the `<cwctype>` functions but will leave that for another pull request. | diff --git a/src/celengine/console.cpp b/src/celengine/console.cpp
index ef316689264..b2ca376d39d 100644
--- a/src/celengine/console.cpp
+++ b/src/celengine/console.cpp
@@ -37,7 +37,7 @@ Console::Console(Renderer& _renderer, int _nRows, int _nColumns) :
nColumns(_nColumns)
{
sbuf.setConsole(this);
- text.... | 2 | 1 | 0 | [{"id": "G0", "claim": "The outdated platform-dependent control-character check in charEntered (the #ifdef __APPLE__ iscntrl/iswcntrl split) can be replaced with a simple if (wc != L'\\0' && !std::iswcntrl(wc)).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": ... | null |
CelestoAI__SmolVM__109 | CelestoAI/SmolVM | 109 | defect | 669396671c4dd4d21cac41c3fb58a8003a7c2df6 | d1632217204cdd229a62b12bdbc1e1a04c4af305 | refactor: remove legacy snapshot and SSH key migration tests while up… | …dating snapshot artifact accessors
## Summary
Briefly describe what changed and why.
## Related Issues
- Closes #
## Testing
List what you ran locally (or write "not run" with reason).
- `uv run pytest`
- `uv run ruff check .`
- `uv run mypy src`
## Checklist
- [ ] Scope is focused and lim... | diff --git a/tests/test_facade.py b/tests/test_facade.py
index 19c7ed5a..76436542 100644
--- a/tests/test_facade.py
+++ b/tests/test_facade.py
@@ -851,61 +851,6 @@ def test_run_retries_with_default_key_when_no_explicit_key(
assert vm._ssh_key_path == str(private_key)
mock_ensure_ssh_key.assert_called_... | 5 | 4 | 4 | [{"id": "G0", "claim": "The inner `_write_snapshot` helper references undefined `artifacts` instead of its `snapshot_path` parameter, raising NameError, and the same fix must be applied to all four occurrences.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "... | null |
CelestoAI__SmolVM__119 | CelestoAI/SmolVM | 119 | defect | 384263335ba8f8e4360184d91dc628c0a58a8961 | 4919e31753bbb7e6505ad38b94722a7be92fd66f | feat: support S3-compatible stores via SMOLVM_S3_* env vars | ## Summary
- Add `SMOLVM_S3_ENDPOINT_URL`, `SMOLVM_S3_ACCESS_KEY_ID`, `SMOLVM_S3_SECRET_ACCESS_KEY` env vars for configuring S3-compatible stores (Cloudflare R2, MinIO, etc.)
- Falls back to boto3's standard credential chain when SmolVM-specific vars are not set
- Updated `--image` CLI help text to mention the env var... | diff --git a/docs/deep-dive/optimization-plan.md b/docs/deep-dive/optimization-plan.md
index f0597307..bb4d4795 100644
--- a/docs/deep-dive/optimization-plan.md
+++ b/docs/deep-dive/optimization-plan.md
@@ -159,9 +159,9 @@ Also, resource pools are hardcoded small:
## Recommended Order
```
-Phase 1: Overlayfs (local... | 2 | 2 | 2 | [{"id": "G0", "claim": "The test assertion passes a hardcoded secret literal (Ruff S106), keeping the lint job red; use a variable reference instead so lint stays green.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If only one of SMOLVM_S3_ACC... | null |
CelestoAI__SmolVM__123 | CelestoAI/SmolVM | 123 | defect | a916cf50c4fe817a3324ad15364caacf2360b046 | 5940e147d5f1f68e82bb6c79d686c8b4c8a2e439 | feat: add internet_settings with domain allowlist for VMs | ## Summary
- Adds `InternetSettings` model with `allowed_domains` and `allowed_http_methods` fields
- Resolves allowed domains to IPs at VM creation time, enforced via nftables egress rules (Firecracker backend)
- Wired through `SmolVM(internet_settings=...)` facade, sync/async create paths, and snapshot restore
- QEMU... | diff --git a/src/smolvm/__init__.py b/src/smolvm/__init__.py
index 0656ee67..bd65e102 100644
--- a/src/smolvm/__init__.py
+++ b/src/smolvm/__init__.py
@@ -47,6 +47,7 @@
BrowserViewport,
CommandResult,
GuestOS,
+ InternetSettings,
NetworkConfig,
SnapshotArtifacts,
SnapshotInfo,
@@ -76,6 ... | 4 | 4 | 4 | [{"id": "G0", "claim": "If config.internet_settings is already set, the constructor quietly ignores the explicit internet_settings= argument, so the VM can boot with a different egress policy than the caller just asked for; it should raise on both inputs or make the explicit argument win.", "category": "correctness", "... | null |
CelestoAI__SmolVM__133 | CelestoAI/SmolVM | 133 | defect | 5cefec6178e212a9644383f40b8c4bff5f43d323 | a8bc9dbdbff706de5e1be851e2dcde147448c714 | fix: skip SSH probing in CLI for already-running VMs | ## Summary
- `smolvm ssh <vm-id>` on an already-running VM now connects instantly instead of running a full `wait_for_ssh` polling sequence
- Added `_ssh_direct_command()` to build the SSH command directly from VM metadata (network info + key path), bypassing multi-endpoint TCP probes and paramiko handshakes
- Start/re... | diff --git a/src/smolvm/cli.py b/src/smolvm/cli.py
index d658b9b9..d17b049d 100644
--- a/src/smolvm/cli.py
+++ b/src/smolvm/cli.py
@@ -1652,8 +1652,9 @@ def _run_ssh(args: argparse.Namespace) -> int:
"before attaching."
)
else:
- with console.status("Waiting for SSH..."... | 4 | 3 | 2 | [{"id": "G0", "claim": "Don't force the auto-resolved SmolVM fallback key with IdentitiesOnly=yes when ssh_key_path is unset: that changes the existing agent/default-key-first auth order and breaks reconnects that only work via agent or standard keys; keep the old attempt order (the blind except that hides the failure ... | null |
CelestoAI__SmolVM__143 | CelestoAI/SmolVM | 143 | defect | b2c186bcbdcbd785d2d09f32a436071800e104d0 | fbe2aaf81090ece27a20767a6673a8c0f268fb6a | Add libkrun backend (krunvm) support and integrate into runtime/CLI/diagnostics | ### Motivation
- Introduce a new libkrun runtime backend (invoked via `krunvm`) so macOS users can use a lightweight libkrun-based runtime when available.
- Wire the backend into backend resolution, CLI options, boot profiles, diagnostics, and runtime plumbing to make it a first-class supported backend.
### Descripti... | diff --git a/src/smolvm/backends.py b/src/smolvm/backends.py
index 1a0f1399..71b42dd0 100644
--- a/src/smolvm/backends.py
+++ b/src/smolvm/backends.py
@@ -19,11 +19,14 @@
import os
import platform
+from smolvm.utils import which
+
BACKEND_FIRECRACKER = "firecracker"
BACKEND_QEMU = "qemu"
+BACKEND_LIBKRUN = "libkr... | 6 | 4 | 2 | [{"id": "G0", "claim": "Remove the unused local variables (`libkrun_default_guest_os`, and per M006 also `qemu_default_guest_os`) in cli.py `_add_ui_args`, which would trigger Ruff F841 lint failures.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"... | null |
CelestoAI__SmolVM__145 | CelestoAI/SmolVM | 145 | defect | 916faaf6a827e7c6551918bc2202eeb96cec33bf | 70fdf902ab6ee42f982a22c151a336130abf7cda | feat: Phase 2 — wire native Rust extension into network.py | ## Summary
Wire the `smolvm._native` Rust extension into `network.py` for TAP, route, and sysctl operations. When the native module is available (Linux), network setup uses direct netlink API calls instead of subprocess.
**Also renames** `rust/smolvm-netlink` → `rust/smolvm-native` for generic naming.
## Changes
6 ... | diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml
index e2c89a0f..9dbbb247 100644
--- a/.github/workflows/pytest.yml
+++ b/.github/workflows/pytest.yml
@@ -34,7 +34,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
- key: rust-${{ runner.os }}-${{ ha... | 3 | 3 | 2 | [{"id": "G0", "claim": "In _detect_outbound_interface a native get_default_interface() failure raises NetworkError instead of falling back to the existing `ip route` subprocess path, so a native regression can break NAT setup; the branch should log and fall back like _write_sysctl() does.", "category": "correctness", "... | null |
CelestoAI__SmolVM__146 | CelestoAI/SmolVM | 146 | defect | b0b6e492aa1af3b8059436550f8d110a43fb2302 | d4aaddbff1b2d6e77eac7b6730af32a10556e54a | fix: publish workflow builds Rust native extension | ## Summary
The publish workflow used `uv build` which produced a pure Python wheel without the native `.so` extension. Users installing from PyPI got no netlink acceleration.
## Changes
Replace `uv build` with `maturin-action`:
- **Linux wheels**: x86_64 + aarch64 with manylinux (includes compiled `.so`)
- **macOS w... | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 03f9db7e..c476937a 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -10,28 +10,71 @@ permissions:
id-token: write
jobs:
- publish:
+ # Build Linux wheels with Rust extension
+ build-linux:
run... | 5 | 4 | 3 | [{"id": "G0", "claim": "The build jobs use whatever python3 the runner defaults to, so wheels are produced for only one Python version across the declared 3.10+ support range and users on older Pythons fall back to building the sdist; add --find-interpreter to the maturin args so wheels are built for all compatible int... | null |
CelestoAI__SmolVM__148 | CelestoAI/SmolVM | 148 | defect | 73942898646ed3865ac5882fcde2bb370758e43e | 0205d1fd94104cfe2a6a90c0047a52c407bf1dbc | fix(ci): pin Python 3.10-3.13 for wheel builds | PyO3 0.24 doesn't support 3.14. The `--find-interpreter` flag discovered 3.14 in manylinux Docker, causing build failures. Adds `setup-python` step to install only 3.10-3.13 before maturin builds.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Chores**
* Upd... | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 6fb71b2e..41af4e2f 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -20,6 +20,14 @@ jobs:
steps:
- uses: actions/checkout@v4
+ - uses: actions/setup-python@v5
+ with:
+ py... | 1 | 1 | 1 | [{"id": "G0", "claim": "On Linux, actions/setup-python on the host runner does not affect which interpreters maturin discovers inside the manylinux container, so --find-interpreter may still pick Python 3.14 and the PR fails to pin 3.10-3.13 there; it requests replacing --find-interpreter with explicit in-container int... | null |
CelestoAI__SmolVM__158 | CelestoAI/SmolVM | 158 | defect | cd810ec4abe097dc7899ccc4459dcd810376c529 | 7951411a231ca9c791d58f14ebdcfac963fa9dee | fix: improve cross-platform UX for smolvm setup flags | ## Summary
- **`--skip-deps` is now cross-platform**: previously Linux-only, it now works on macOS too — skips Homebrew dependency installation while still validating that qemu/ssh are present
- **Platform guard fixed**: Linux-only flags (`--no-configure-runtime`, `--runtime-user`, `--remove-runtime-config`) are now r... | diff --git a/scripts/system-setup-macos.sh b/scripts/system-setup-macos.sh
index 68833aa4..73c3141b 100755
--- a/scripts/system-setup-macos.sh
+++ b/scripts/system-setup-macos.sh
@@ -19,6 +19,7 @@ set -euo pipefail
CHECK_ONLY=false
WITH_DOCKER=false
+SKIP_DEPS=false
usage() {
cat <<EOF
@@ -29,6 +30,7 @@ Ins... | 2 | 2 | 1 | [{"id": "G0", "claim": "--skip-deps can still fail because the script requires Homebrew upfront (line 67 precheck) even when the user asked to skip dependency installation and qemu/ssh are already present.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
CelestoAI__SmolVM__160 | CelestoAI/SmolVM | 160 | defect | 7b9c9f9b34dbb7cc9289d6c5bbc28a080ed03de4 | 5538d5b079bffda5477454ac7217e76ba3eb16a7 | feat: add --workspace flag for host directory mounting | ## Summary
- Adds `--mount HOST_PATH[:GUEST_PATH]` flag to `smolvm create` that mounts a host directory inside the guest
- Host directory is **read-only** (virtio-9p passthrough) with an **overlayfs** layer on top — the agent can read and write freely, but host files are never modified
- QEMU-only (macOS first); non-Q... | diff --git a/src/smolvm/__init__.py b/src/smolvm/__init__.py
index 36efedc5..686a1ad4 100644
--- a/src/smolvm/__init__.py
+++ b/src/smolvm/__init__.py
@@ -18,6 +18,8 @@
sandboxed environment.
"""
+from importlib.metadata import version as _pkg_version
+
from smolvm.browser import BrowserSession
from smolvm.build ... | 3 | 3 | 2 | [{"id": "G0", "claim": "_mount_workspaces runs modprobe and mount through the caller's SSH account, so a non-root ssh_user makes start() blow up with a permission error after the VM is already up; it should either use a dedicated root SSH session for workspace setup or fail fast with a clear error before running the sc... | null |
CelestoAI__SmolVM__168 | CelestoAI/SmolVM | 168 | defect | 59572248dc0345cd61a31fbc7298c6d2a3e10c9a | b13b78c20dfcf92683fa6370ce678b87881444b6 | fix(ssh): silence paramiko transport logger noise during wait_for_ssh retries | ## Summary
Followup to #167. The Debian URL fix unblocks fresh installs, but the create flow still occasionally spews a misleading paramiko traceback to stderr **on a successful run**:
\`\`\`
$ smolvm create --os debian --disk-size-mib 4096 --memory-mib 2048 --json
Exception (client): Error reading SSH protocol banne... | diff --git a/src/smolvm/ssh.py b/src/smolvm/ssh.py
index bedf43ea..7e19445a 100644
--- a/src/smolvm/ssh.py
+++ b/src/smolvm/ssh.py
@@ -35,6 +35,31 @@
logger = logging.getLogger(__name__)
+# Silence paramiko's Transport thread logger.
+#
+# During ``SSHClient.wait_for_ssh`` we poll a freshly-booted guest until
+# s... | 4 | 1 | 0 | [{"id": "G0", "claim": "The test module imports smolvm.ssh with both 'import' and 'from ... import'; use a single import style within tests/test_ssh.py.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should assert logging.getLogger(\"pa... | null |
CelestoAI__SmolVM__172 | CelestoAI/SmolVM | 172 | defect | 34d68c5f960e283aca7ad0c31519bdbcab99800d | 3a0b6bc39bf7714fd0170d8c949e89e630a0f548 | feat(setup): bake-time-friendly install for two-stage deploys | Closes #171.
## Summary
Decouples install from on-host validation so `smolvm setup` can run during AMI bake on a builder without `/dev/kvm`, then be verified on the runtime host with `smolvm doctor`. Existing `smolvm setup` on KVM-enabled hosts is unchanged.
- Add `--for-bake` (skips KVM and runtime self-tests in on... | diff --git a/README.md b/README.md
index 7dac3616..68b3bb71 100644
--- a/README.md
+++ b/README.md
@@ -65,6 +65,8 @@ Linux may prompt for `sudo` during setup so it can install host dependencies and
</details>
+For golden-AMI builds, two-stage deploys, pinning the Firecracker version, and other non-default install ... | 8 | 4 | 3 | [{"id": "G0", "claim": "--firecracker-version is accepted on all platforms but build_setup_command() only forwards it on Linux, so on macOS the flag is a silent no-op; make it Linux-only like the sibling flags (or wire/document the macOS behavior).", "category": "correctness", "verdict": "supported", "priority": "P1", ... | null |
CelestoAI__SmolVM__174 | CelestoAI/SmolVM | 174 | defect | fdedb1a39e1b2b2c195ca879b58cf47d09cae84e | 4612c4420c11b94867b2beb537798da37d501bba | [codex] Fix setup asset discovery in wheel installs | ## Summary
- resolve installed setup assets from the `smolvm._setup_assets` package instead of inferring a sibling path from `smolvm.host.setup`
- keep the repo `scripts/` directory as the source-checkout fallback for `uv run smolvm setup`
- extend setup tests and the built-wheel smoke test to verify `resolve_setup_scr... | diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml
index 36a6e53d..9690577e 100644
--- a/.github/workflows/pytest.yml
+++ b/.github/workflows/pytest.yml
@@ -133,13 +133,33 @@ jobs:
.smoke-venv/bin/python3 - <<PY
import platform
+ import subprocess
+ from p... | 2 | 1 | 0 | [{"id": "G0", "claim": "Docstring coverage across the pull request's changed files is 27.27%, below the required 80.00% threshold, and docstrings should be written for the functions missing them.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "test... | null |
CelestoAI__SmolVM__179 | CelestoAI/SmolVM | 179 | defect | f10cdde4109e515f1c18513b393f5fb71caa9886 | c369454e588a73db65fb113b5d3f68a1c96fcdb0 | fix(facade): auto-select QEMU when --mount is used without a backend | ## Summary
On Linux the default backend is Firecracker, which doesn't support workspace mounts (virtio-9p). Running `smolvm create --mount ./code:/code` errored out with *"Workspace mounts are only supported with the QEMU backend"* even though QEMU+KVM works fine on the same host.
This PR auto-upgrades the backend to... | diff --git a/src/smolvm/facade.py b/src/smolvm/facade.py
index 3cdaa1e3..d63ab4db 100644
--- a/src/smolvm/facade.py
+++ b/src/smolvm/facade.py
@@ -714,6 +714,12 @@ def __init__(
"config and vm_id are omitted (auto-config mode)."
)
+ # Workspace mounts currently require the QEMU ba... | 3 | 3 | 1 | [{"id": "G0", "claim": "The added comment (and the PR description) says auto-selection targets Linux, but the code upgrades the backend on every host, so the wording should be tightened to match the actual behaviour.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":... | null |
CelestoAI__SmolVM__184 | CelestoAI/SmolVM | 184 | defect | 5f9416b4bf4b9e141c5388b7717e8728b2ca5c8e | 14cfb6d0f39460eb603d435dc4b54810a7eb9b1a | cli/sdk: rename memory/disk-size flags and bump debian/ubuntu disk default | ## Summary
Three related changes to the memory/disk surface:
1. **CLI flag rename** — `smolvm create` and `smolvm browser start` now accept `--memory` / `--disk-size` (was `--memory-mib` / `--disk-size-mib`). Help metavar shows `MIB` so units stay visible.
2. **SDK kwarg rename** — `SmolVM(memory=2048, disk_size=4096)... | diff --git a/docs/deep-dive/optimization-plan.md b/docs/deep-dive/optimization-plan.md
index e2f739ff..35118cb5 100644
--- a/docs/deep-dive/optimization-plan.md
+++ b/docs/deep-dive/optimization-plan.md
@@ -88,7 +88,7 @@ S3 bucket
**CLI:**
```bash
smolvm create --image s3://bucket/images/alpine-ssh/
-smolvm create -... | 4 | 4 | 0 | [{"id": "G0", "claim": "`--disk-size` is silently ignored when `--image` is used: the value is never used or rejected in the S3 image path, so users may believe they resized the sandbox.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The Alpine no... | null |
CelestoAI__SmolVM__192 | CelestoAI/SmolVM | 192 | defect | 6a68614e2c38c3a7b071612e9aa80fdc79a52af7 | 2e5d7191427c8082d436ceb32e48908f5440d8f0 | Slim `smolvm create` output, add `smolvm info`, rename memory field | ## Summary
Trims `smolvm create` to show only Name, Status, OS, and Started time, and points users at a new `smolvm info <vm>` command for the full details (Backend, IP, SSH Port, PID, CPUs, configured/used memory, disk size). For running VMs, info opportunistically SSHs in (5s timeout, silent on failure) to overlay l... | diff --git a/examples/openclaw.py b/examples/openclaw.py
index 2d6a800f..98f471b1 100644
--- a/examples/openclaw.py
+++ b/examples/openclaw.py
@@ -205,7 +205,7 @@ def main() -> int:
config = VMConfig(
vcpu_count=1,
# OpenClaw npm install is memory-heavy; 512 MiB can drop SSH mid-command.
- ... | 6 | 4 | 2 | [{"id": "G0", "claim": "Add an explanatory comment (or equivalent explicit intent) to the empty `except Exception: pass` around the best-effort vm.close() in _query_live_vm_info, preserving the current behavior.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
CelestoAI__SmolVM__196 | CelestoAI/SmolVM | 196 | defect | 292c0a823b4a067fac7e23756a2dd546e225f724 | c87ce9c43fdeb96f10e063b30369b374b7d97da4 | [codex] Repair Ubuntu workspace mounts | ## Summary
Repair Ubuntu workspace mounts by probing guest 9p/overlay support before mounting and installing the matching `linux-modules-extra-$(uname -r)` package when Ubuntu cloud images are missing 9p modules.
## Related Issues
- None
## Testing
- `uv run --extra dev pytest tests/test_workspace.py`
- `uv run --... | diff --git a/src/smolvm/facade.py b/src/smolvm/facade.py
index 79092b04..bc97a421 100644
--- a/src/smolvm/facade.py
+++ b/src/smolvm/facade.py
@@ -752,9 +752,13 @@ def __init__(
# (on the kwarg or the config) still get the SmolVMManager error if
# their choice can't host mounts.
wants_mounts ... | 2 | 2 | 1 | [{"id": "G0", "claim": "Make apt wait for its turn properly: on freshly-spun Ubuntu cloud images apt-daily/unattended-upgrades hold the dpkg lock during early boot, so the repair script's apt-get update/install fail non-zero under contention and the mount repair reports failure — add DPkg::Lock::Timeout and apt retries... | null |
CelestoAI__SmolVM__198 | CelestoAI/SmolVM | 198 | defect | d1cda1d910b4372b25cf0d7df087902238d298d3 | 672b9c5c3cd6cf47f78d85e7a0fa462d59a6b319 | Recover gracefully from stale workspace mounts | ## Summary
Fixes the `smolvm list` crash when a workspace mount's host folder has been deleted on the host (e.g. a Conductor worktree was cleaned up). Previously the command aborted with a Pydantic validation error, leaving the user no way to see, repair, or delete the affected VMs.
The root cause: `WorkspaceMount.va... | diff --git a/src/smolvm/cli/main.py b/src/smolvm/cli/main.py
index c958f8c8..de21caa2 100644
--- a/src/smolvm/cli/main.py
+++ b/src/smolvm/cli/main.py
@@ -68,6 +68,7 @@ class VmRow(TypedDict):
pid: int | None
ip_address: str | None
ssh_port: int | None
+ warnings: list[str]
class ListFiltersPaylo... | 3 | 3 | 1 | [{"id": "G0", "claim": "The start() preflight only checks host_path.exists(), so a mount path that now points to a file still slips through, and async_start has no equivalent preflight, so async callers still hit late backend failures instead of the friendly SmolVMError.", "category": "correctness", "verdict": "support... | null |
CelestoAI__SmolVM__199 | CelestoAI/SmolVM | 199 | defect | d1d33f4e8f9afd4de2d4a374795d7c7a503fa19a | f4f9a2ab647949acb0e3d1f3b09a6476110a9b0b | Accept 'smolvm claude start' as alias for 'claude-code' | ## Summary
Two fixes that together unblock `smolvm claude start --attach` for first-time users.
### 1. Accept `claude` as alias for `claude-code` (the originally-titled fix)
A first-time user who types `smolvm claude start` (the natural short name) hits an argparse error that just dumps every command and forces them... | diff --git a/src/smolvm/cli/main.py b/src/smolvm/cli/main.py
index a562bf4c..122cc475 100644
--- a/src/smolvm/cli/main.py
+++ b/src/smolvm/cli/main.py
@@ -354,6 +354,7 @@ def _add_preset_parsers(
for preset in list_presets():
preset_parser = subparsers.add_parser(
preset.name,
+ al... | 1 | 1 | 1 | [{"id": "G0", "claim": "In test_top_level_help_lists_claude_alias, `assert \"claude\" in out` can never fail because \"claude\" is a substring of \"claude-code\", so the test passes even if the alias is stripped from CLAUDE_CODE_PRESET; the assertion should check the alias as a distinct token (e.g. a regex with word bo... | null |
CelestoAI__SmolVM__203 | CelestoAI/SmolVM | 203 | defect | d8dbec47309ee49e02f3ef2303664b2ab51035ea | ffbecc8645e5114ca2d01bc8880430735d6b7f93 | feat(presets): auto-inject host git credentials on preset start | Both `codex start` and `claude-code start` now also copy ~/.gitconfig,
~/.config/git/config, ~/.git-credentials, ~/.ssh/, and ~/.config/gh/
from the host into the guest so git, gh, and ssh git@github.com work
without re-auth. Missing files are skipped silently. The whole ~/.ssh
goes through the existing tar-based dir c... | diff --git a/AGENTS.md b/AGENTS.md
index eadb82d0..8d1a19be 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -25,6 +25,20 @@ SmolVM is specifically designed to provide a secure "sandbox" for AI agents to e
subcommand and put its actions underneath, instead of overloading a
global verb.
+### Git credentials in presets
... | 2 | 2 | 2 | [{"id": "G0", "claim": "_copy_dir tars host directories without neutralising uid/gid, so guest-side root extraction (GNU tar's default --same-owner) preserves host ownership such as 501:20 on macOS, and sshd rejects /root/.ssh/id_ed25519 with \"Bad owner or permissions\" — leaving the SSH keys this PR forwards unusable... | null |
CelestoAI__SmolVM__204 | CelestoAI/SmolVM | 204 | defect | c11de479a0407a44c5dcae61a1d7146c67a9bfeb | 7f4c58fc4f201877760d31e7e360c945120aa6fc | fix(presets): trust workspace mounts as git safe.directory | ## Summary
- Workspace mounts are 9p shares preserving host uid/gid; inside the guest (running as root) git's CVE-2022-24765 check fires on every command with `fatal: detected dubious ownership`.
- `apply_preset` now registers `/workspace*` and `/workspace*/**` as `safe.directory` entries in the guest's global git conf... | diff --git a/AGENTS.md b/AGENTS.md
index b76cad12..451a4c6f 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -43,6 +43,15 @@ HTTPS GitHub auth are not yet copied; on macOS run
`git config --global credential.helper store` once on the host if
you rely on that helper.
+After the copies, the applier registers `/workspace*` a... | 1 | 1 | 0 | [{"id": "G0", "claim": "`git config --global --add safe.directory` is non-idempotent, so every re-run of apply_preset on an existing sandbox appends duplicate entries to the guest's ~/.gitconfig; existing entries should be pruned or checked before adding (and a flat && chain would be plainer than the shell loop for two... | null |
CelestoAI__SmolVM__207 | CelestoAI/SmolVM | 207 | defect | 27c26980df6662498975f4f5235c6978dfbd082b | ab6a2159af6e9021f4b47467143b73292252729d | fix(onboarding): auto-activate kvm group so first-time install just works | ## Why
First-time install on a fresh KVM host (e.g. a new GCP nested-virt VM) fails in a confusing way:
1. User runs the installer → doctor says `/dev/kvm` is unavailable.
2. User runs `sudo usermod -aG kvm $USER` as suggested.
3. User re-runs the installer in the same SSH session → **still fails**, because `usermod`... | diff --git a/scripts/system-setup.sh b/scripts/system-setup.sh
index 070062ce..0028755e 100755
--- a/scripts/system-setup.sh
+++ b/scripts/system-setup.sh
@@ -194,6 +194,48 @@ ensure_kvm_group_membership() {
ensure_group_membership "kvm" "newgrp kvm"
}
+# Install a udev rule that pins /dev/kvm to mode 0660 + gr... | 10 | 10 | 3 | [{"id": "G0", "claim": "The udev-rule idempotency check never matches because $(cat) strips the trailing newline that rule_body keeps, so the file is rewritten and udev reloaded on every system-setup.sh run and the 'already in place' message never prints.", "category": "correctness", "verdict": "supported", "priority":... | null |
CelestoAI__SmolVM__221 | CelestoAI/SmolVM | 221 | defect | e0a8d8390b9d3c3fc8ccd1c91abe3093682a6d86 | 6ade28c1ae8df333f084b64c0d959cc92a63a2e1 | feat(cli): add --writable-mounts so guest writes reach the host | ## Summary
Adds an opt-in `--writable-mounts` flag to `smolvm create` (and preset
`start` commands) so the sandbox can write back to mounted host
directories. Default behavior is unchanged: read-only host with a
writable in-VM overlay. With the flag, every `--mount` on that command
is exposed read-write — the QEMU `-f... | diff --git a/README.md b/README.md
index 592daf2f..1a0c439d 100644
--- a/README.md
+++ b/README.md
@@ -156,7 +156,7 @@ See [docs/concepts/network-egress-controls.md](docs/deep-dive/network-egress-con
## Mount host directories
-You can give a sandbox read access to a folder on your machine. This is useful when an a... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new writable_mounts parameter of the public SmolVM.__init__ API is not documented in the class docstring's Args list; add documentation for mounts/writable_mounts and how they interact with WorkspaceMount.writable.", "category": "documentation", "verdict": "supported", "priority": "P2", "sco... | null |
CelestoAI__SmolVM__224 | CelestoAI/SmolVM | 224 | defect | c9dfa8351e3ec4f4393bd5155654798dc6aa0b90 | 36851650e947b59481678622b40df391c1e12bae | [codex] add sandbox file upload | ## Summary
Adds a first file-upload surface for running sandboxes:
- exposes `SmolVM.upload_file(local_path, guest_path, make_dirs=True)`
- adds `smolvm file upload <sandbox> <local-path> <guest-path>` with JSON output and SSH auth flags
- documents CLI and Python usage in the README
- adds focused facade and CLI tes... | diff --git a/README.md b/README.md
index baf57e5a..0de6e329 100644
--- a/README.md
+++ b/README.md
@@ -192,6 +192,31 @@ with SmolVM(mounts=["~/Projects/my-app"], writable_mounts=True) as vm:
vm.run("echo hello > /workspace/from-sandbox.txt")
```
+## Upload a file
+
+You can copy one file into a running sandbox ... | 7 | 6 | 2 | [{"id": "G0", "claim": "The README Python example should create the VM with `SmolVM()` instead of `SmolVM.from_id(\"my-sandbox\")`.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The two generic `Usage: smolvm file {upload} ...` error messages sho... | null |
CelestoAI__SmolVM__228 | CelestoAI/SmolVM | 228 | defect | de43c50d2f6df86187c260eb22f36af4e28f2930 | 0ef64f782febd7fbc16f8494bc6aef050bc3861a | feat(images): add published-image manifest module | ## Summary
Foundation for shipping pre-built per-preset rootfs+kernel images via GitHub Releases. Adds `smolvm/images/published.py` — a bundled manifest module pinned lock-step to the CLI version, plus `ensure_published_image(preset, arch)` that looks up a `(preset, arch)` row, converts it to an `ImageSource`, and del... | diff --git a/src/smolvm/images/published.py b/src/smolvm/images/published.py
new file mode 100644
index 00000000..15e5c724
--- /dev/null
+++ b/src/smolvm/images/published.py
@@ -0,0 +1,132 @@
+# Copyright 2026 Celesto AI
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file ... | 3 | 3 | 1 | [{"id": "G0", "claim": "The missing-image error tells users to run 'smolvm dev build-image <preset>', but the CLI does not expose a dev subcommand, so the suggested recovery path is not actionable.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
CenterForOpenScience__osf.io__10998 | CenterForOpenScience/osf.io | 10,998 | defect | 5313a3870bc7d40df1529d2f5000d485b6c82921 | 91304b8df0f0603bd4ce7f03e59cf5bd4bf1eb02 | [ENG-7305] Enable to Withdraw Preprint Again After the preprint has been unwithdrawn | ## Purpose
Enable to Withdraw Preprint Again After the preprint has been unwithdrawn
## Changes
TBD
## QA Notes
TBD
## Documentation
TBD
## Side Effects
TBD
## Ticket
(https://openscience.atlassian.net/browse/ENG-7305)
| diff --git a/admin/preprints/views.py b/admin/preprints/views.py
index 877ee838b9b..3b218c546d0 100644
--- a/admin/preprints/views.py
+++ b/admin/preprints/views.py
@@ -591,6 +591,7 @@ def post(self, request, *args, **kwargs):
from osf.utils.migrations import disable_auto_now_fields
with disable_aut... | 2 | 2 | 2 | [{"id": "G0", "claim": "The unwithdraw view should not delete all of the preprint's requests; only the withdrawal request should be removed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A test should be written for the unwithdraw behaviour this pull re... | null |
CenterForOpenScience__osf.io__11001 | CenterForOpenScience/osf.io | 11,001 | defect | 5313a3870bc7d40df1529d2f5000d485b6c82921 | 51766bc6a3b4b2cb161539b4735d4a2625769ce8 | [ENG-7298][ENG-7336] Password Reset API | ## Purpose
Added API view for handling reset password requests
## Changes
Added view for handling reset password requests (both institutional and non-institutional)
Added serializer for reset password requests
## QA Notes
N/A
## Documentation
v2/users/reset_password/?email=(email)&institutional=(b... | diff --git a/api/users/serializers.py b/api/users/serializers.py
index 2707a4141c0..16fa593bd37 100644
--- a/api/users/serializers.py
+++ b/api/users/serializers.py
@@ -433,6 +433,15 @@ class Meta:
type_ = 'user_passwords'
+class UserResetPasswordSerializer(BaseAPISerializer):
+ uid = ser.CharField(writ... | 5 | 4 | 2 | [{"id": "G0", "claim": "The reset-password endpoint should have request throttling so people cannot attempt to tamper with the account system.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reset-password endpoint should use a CSRF token to ensure ... | null |
CenterForOpenScience__osf.io__11015 | CenterForOpenScience/osf.io | 11,015 | defect | 908dc1866de8518d83bd63fabbcb07b2acec309f | e67cb75d53f5d9f66b363b389cbadbd50247e791 | [ENG-7280] Fix registrations not public after embargo | ## Purpose
Fix issue when registrations are not public once embargo ends
## Changes
TBD
## QA Notes
TBD
## Documentation
TBD
## Side Effects
TBD
## Ticket
(https://openscience.atlassian.net/browse/ENG-7280)
| diff --git a/admin/base/utils.py b/admin/base/utils.py
index ee2f8eaaa21..3eca810182c 100644
--- a/admin/base/utils.py
+++ b/admin/base/utils.py
@@ -140,6 +140,7 @@ def change_embargo_date(registration, user, end_date):
if registration.embargo:
registration.embargo.end_date = end_date
+ registrat... | 2 | 2 | 1 | [{"id": "G0", "claim": "When an admin changes an already-completed embargo to a future date, the embargo stays marked as completed while the registration is set to private, so the job that makes embargoed registrations public can never make it public; the proposal is to reset the embargo state from completed to approve... | null |
CenterForOpenScience__osf.io__11125 | CenterForOpenScience/osf.io | 11,125 | defect | 3e83decdb8976fdb86128fb5063626ca82b76d6e | 525fbd5f1bb7a7f78bb5c570d50f7948c805fbfe | [ENG-7873] CLONE - SPAM - When Hamming a Spammed user, preprints and registrations remain private | <!-- Before submit your Pull Request, make sure you picked
the right branch:
- For hotfixes, select "master" as the target branch
- For new features, select "develop" as the target branch
- For release feature fixes, select the relevant release branch (release/X.Y.Z) as the target branch -->
... | diff --git a/osf/management/commands/force_archive.py b/osf/management/commands/force_archive.py
index 3a40ea4d5f8..0d12d12bfdf 100644
--- a/osf/management/commands/force_archive.py
+++ b/osf/management/commands/force_archive.py
@@ -380,6 +380,7 @@ def archive_registrations(*args, **kwargs):
VERIFIED.remove(re... | 3 | 1 | 1 | [{"id": "G0", "claim": "Add a test that spams a public project, hams it back to public, makes it private, spams it again, and hams it again, verifying the project ends up private.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Some pre-existing code pat... | null |
CenterForOpenScience__osf.io__11129 | CenterForOpenScience/osf.io | 11,129 | defect | 9e2fc2c3fc623b0a303987a364e0ccf5c634eaf0 | 0cfc615706dafe2af7ca010a68142d9ee0857484 | [ENG-4673] Add search by ORCID functionality to admin | <!-- Before submit your Pull Request, make sure you picked
the right branch:
- For hotfixes, select "master" as the target branch
- For new features, select "develop" as the target branch
- For release feature fixes, select the relevant release branch (release/X.Y.Z) as the target branch -->
... | diff --git a/admin/users/forms.py b/admin/users/forms.py
index 737b8c8f4a3..e64a648ff77 100644
--- a/admin/users/forms.py
+++ b/admin/users/forms.py
@@ -14,6 +14,7 @@ class UserSearchForm(forms.Form):
guid = forms.CharField(label='guid', min_length=5, max_length=5, required=False) # TODO: Move max to 6 when neede... | 1 | 1 | 1 | [{"id": "G0", "claim": "Search users by ORCID using connected identities (external_identity) rather than the user-filled social field, which is not required for many users.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
CenterForOpenScience__osf.io__11170 | CenterForOpenScience/osf.io | 11,170 | defect | f7f819750aaeee6bf393012a9a494a79538dfd39 | 1c7e2d2bd59a582f33961dfc14ea33eb891a28b3 | [ENG-8172] Improve email testing | ## Purpose
TBD
## Changes
TBD
## QA Notes
TBD
## Documentation
TBD
## Side Effects
TBD
## Ticket
https://openscience.atlassian.net/browse/ENG-8172
| diff --git a/docker-compose.yml b/docker-compose.yml
index 14ed365e611..e6d22e86318 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -511,6 +511,7 @@ services:
- rabbitmq
- elasticsearch
- redis
+ - mailhog
environment:
DJANGO_SETTINGS_MODULE: api.base.settings
env_... | 2 | 1 | 1 | [{"id": "G0", "claim": "The PR should include unit tests ensuring the user confirmation email token is received and usable, since browsers auto-requesting email links caused problems in the past.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The MailHo... | null |
CenterForOpenScience__osf.io__11194 | CenterForOpenScience/osf.io | 11,194 | defect | 7d752ac066d1b6daf10a40d8361d67735f159988 | be8b28c3c388516893046ba614556611e593dbde | [ENG-8192] Ability to force archive registrations when OSFS Folders have changed | <!-- Before submit your Pull Request, make sure you picked
the right branch:
- For hotfixes, select "master" as the target branch
- For new features, select "develop" as the target branch
- For release feature fixes, select the relevant release branch (release/X.Y.Z) as the target branch -->
... | diff --git a/osf/management/commands/force_archive.py b/osf/management/commands/force_archive.py
index 0d12d12bfdf..7e2e3461ee2 100644
--- a/osf/management/commands/force_archive.py
+++ b/osf/management/commands/force_archive.py
@@ -37,6 +37,7 @@
from framework import sentry
from framework.exceptions import HTTPError... | 5 | 1 | 1 | [{"id": "G0", "claim": "A child deleted before the node is selected for archiving (before the archive job) is still included in the archive although it should not be, and tests for these situations are missing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
CenterForOpenScience__osf.io__11450 | CenterForOpenScience/osf.io | 11,450 | defect | ff216ddc1101d29ee7c97089e236a1c64632d722 | 9f8541bfdeed0c5bfa0416022438e7ec4ab6155e | [ENG-9672] use server dependent domain instead of hard-coded production URL | ## Purpose
use server dependent domain instead of hard-coded production URL
## Changes
See diff
## QA Notes
## Documentation
## Side Effects
## Ticket
https://openscience.atlassian.net/browse/ENG-9672
| diff --git a/addons/base/views.py b/addons/base/views.py
index 3e42eb79450..0a444200a8e 100644
--- a/addons/base/views.py
+++ b/addons/base/views.py
@@ -596,6 +596,7 @@ def create_waterbutler_log(payload, **kwargs):
'logo': settings.OSF_LOGO,
'OSF_LOGO_LIST': settings.O... | 1 | 1 | 1 | [{"id": "G0", "claim": "The logo image URL built as `${domain}/${logo or OSF_LOGO}.png` is missing the static directory segment and should be `${domain}static/img/${logo or OSF_LOGO}.png`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
CenterForOpenScience__osf.io__11706 | CenterForOpenScience/osf.io | 11,706 | defect | 63307980d698bb96cb8887e3b9f2e050b75838a9 | 6e3360e69c794bb0606337767383f651a47a0015 | [ENG-10768] Have a display of some form when the OSF is down for planned maintenance | [//]: # (
* Before submitting your Pull Request, make sure you've picked the right branch and your code is up-to-date with it.
* For critical hotfixes, select "master" as the target branch.
* For bugfixes, improvements and new features, select "develop" as the target branch.
* If your PR... | diff --git a/admin/maintenance/views.py b/admin/maintenance/views.py
index 05e7a8372c9..7ca7a53cdef 100644
--- a/admin/maintenance/views.py
+++ b/admin/maintenance/views.py
@@ -1,7 +1,7 @@
import pytz
import datetime
-from osf.models import MaintenanceState
+from osf.models import MaintenanceState, MaintenanceMode
... | 4 | 3 | 3 | [{"id": "G0", "claim": "The middleware should not special-case the /v2 root; under maintenance the /v2 endpoint should behave the same as all other endpoints instead of bypassing the 503 response.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The status... | null |
CenterForOpenScience__pydocx__115 | CenterForOpenScience/pydocx | 115 | defect | 3327055ebacdd666878aa492cb35434029b38a86 | 2b71d82cb00726e1ccbf8d29e2b5ba9ff0ef6284 | Move CLI to __main__.py | See https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/
This will resolve #104, #105, #106,
| diff --git a/pydocx/__init__.py b/pydocx/__init__.py
index bb94a36d..9a8e054a 100644
--- a/pydocx/__init__.py
+++ b/pydocx/__init__.py
@@ -1,48 +1 @@
-from __future__ import (
- absolute_import,
- print_function,
- unicode_literals,
-)
-
-import sys
-import logging
-
-from pydocx.parsers import Docx2Html, Docx... | 2 | 1 | 1 | [{"id": "G0", "claim": "The --markdown flag should possibly be removed or deactivated in the CLI, since the author's own commit message and skipped test say Markdown support isn't great.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The usage string shoul... | null |
CenterForOpenScience__pydocx__119 | CenterForOpenScience/pydocx | 119 | defect | 9a0d9379c9189f7a51b18f534fd7a8e9839431ac | a1c784bfaecdfdf2faacb0491f4921bf4b00c3cc | Create a new "export" module | - Move `pydocx.DocxParser` to `pydocx.export.base`
- Move `pydocx.parsers.Docx2Html` to `pydocx.export.html`
- Move `pydocx.parsers.Docx2Markdown` to `pydocx.export.markdown`
- Rename the `DocxParser` class to `PyDocXExporter`
- Rename the `Docx2Html` class to `PyDocXHTMLExporter`
- Rename the `Docx2Markdown` class to ... | diff --git a/pydocx/__main__.py b/pydocx/__main__.py
index b2d3068a..09e7b2dc 100644
--- a/pydocx/__main__.py
+++ b/pydocx/__main__.py
@@ -7,15 +7,14 @@
import sys
import logging
-from pydocx.parsers.Docx2Html import Docx2Html
-from pydocx.parsers.Docx2Markdown import Docx2Markdown
+from pydocx.pydocx import PyDocX... | 1 | 1 | 0 | [{"id": "G0", "claim": "The mixin name \"MulitMemoizeMixin\" is misspelled and should read \"MultiMemoizeMixin\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
CenterForOpenScience__pydocx__129 | CenterForOpenScience/pydocx | 129 | defect | 7041ba225c6e9e81aee062e9bb1cd2c00a1d0278 | 4de49020ed211f59c8da13e8fbb466d6069169f0 | Implement the Numbering class for the NumberingDefinitionsPart | https://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing.numbering%28v=office.14%29.aspx
Depends on #128
| diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 81d0cce0..6564eade 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -21,6 +21,8 @@
``XmlCollection``
field type,
now used by ``openxml.wordprocessing.styles.Style``
+- Implemented several model classes for Numbering.
+- Added numbering property to the numbering... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new NumberingDefinitionsPart.numbering property needs a test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test assertions should compare types with isinstance instead of comparing __class__, in all cases in the diff.",... | null |
CenterForOpenScience__pydocx__13 | CenterForOpenScience/pydocx | 13 | defect | 45bd93addf728767e961d971de257e8a40cd4886 | cd1b5b4f7e3ddb6b00c21e5bb7df0c97e554fa3c | Multiple non-li tags won't be correctly rolled into the list item | If you have more than one table/paragraph/etc that should be rolled in to a list item, they won't be correctly rolled in.
| diff --git a/pydocx/DocxParser.py b/pydocx/DocxParser.py
index a3581d02..9a3fdf70 100644
--- a/pydocx/DocxParser.py
+++ b/pydocx/DocxParser.py
@@ -311,22 +311,21 @@ def parse(self, el):
return self.table_row(parsed)
elif el.tag == 'tc': # table cells
return self.table_cell(parsed)
- ... | 5 | 4 | 1 | [{"id": "G0", "claim": "The `and el` check on the new `elif el.tag == 'r' and el:` branch is unexplained and likely unnecessary - is there a case where an element has a tag but acts like None?", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The n... | null |
CenterForOpenScience__pydocx__135 | CenterForOpenScience/pydocx | 135 | defect | 2b7ce214c9426d9da3398581c3551d78fef40e79 | de834e3c2f8322b84f5005de390645f38535a262 | Decouple header processing from the pre-processor | The header processing is very HTML-centric, but it lives in the base pre-processor. Decouple this logic from the pre-processor, and split it appropriately between the base exporter and html exporter.
| diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index a02118cc..cd01ec66 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -25,6 +25,7 @@
- Added numbering property to the numbering definitions part.
- XmlModels now define their own tags
- Simplified importing PyDocX
+- Header processing now occurs in the exporter rather... | 5 | 4 | 1 | [{"id": "G0", "claim": "The backward-incompatible change to PyDocXExporter.heading's signature (heading_level to heading_style_name) should be documented and explicitly called out in the CHANGELOG, since customer parsers will need to update their definitions.", "category": "documentation", "verdict": "supported", "prio... | null |
CenterForOpenScience__pydocx__188 | CenterForOpenScience/pydocx | 188 | defect | 824a7d155b380bb95da3947b94fadbe45565d407 | 581e657b8c6fe0a1b645140c8cfa3f65820336a1 | Heading inside complex field has strong applied | For example, the current output is:
``` html
<h2><strong>Foo</strong></h2>
```
The desired output is
``` html
<h2>Foo</h2>
```
This still works for non-complex field runs but is currently broken for complex field runs.
| diff --git a/pydocx/export/base.py b/pydocx/export/base.py
index ecfc487c..b8ca0f23 100644
--- a/pydocx/export/base.py
+++ b/pydocx/export/base.py
@@ -180,6 +180,8 @@ def _convert_complex_fields_into_simple_fields(self):
previous_parent_new_children.append(child)
first_run.parent.child... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new HeadingTestCase in tests/export/html/test_field_code.py should be named HeadingFieldCodeTestCase to stay consistent with the existing HyperlinkFieldCodeTestCase in that module.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
CenterForOpenScience__pydocx__220 | CenterForOpenScience/pydocx | 220 | defect | 361dbdcac96fb597891e2c46657509fd220e60de | a97feda1d64a5f60e8868099e8072c67822030ff | `ValueError: invalid literal for int() with base 10:` crash calling `start_margin_position` | Some .docx files that we're seeing in the wild are using a non-integer value for the `indentation_hanging` attribute. It looks something like: `<ind hanging="504.00000000000006">`
This causes a crash when we try to [cast to int](https://github.com/CenterForOpenScience/pydocx/blob/master/pydocx/openxml/wordprocessing/p... | diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 41bb117b..439b5be9 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,3 +1,7 @@
+**0.9.10**
+
+- Correctly handle margin positions with decimal points.
+
**0.9.9**
- Rect elements now correctly handle image data
diff --git a/pydocx/openxml/wordprocessing/paragraph_... | 4 | 2 | 0 | [{"id": "G0", "claim": "The handling of decimal margin positions may not match what the OOXML spec requires, so the change should be checked against the spec, which may call for ignoring non-conforming attributes rather than truncating them.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": ... | null |
CenterForOpenScience__pydocx__25 | CenterForOpenScience/pydocx | 25 | defect | 2935f7e0373ed352095065e88a14af74136d0423 | df6f18e60bfe70fc5d7e9318bab54aebad5d133c | Ordering bug with deleted text in a list | My first attempt at making a test for #23 resulted in finding an ordering bug. Lovely.
| diff --git a/pydocx/DocxParser.py b/pydocx/DocxParser.py
index 3bf9b295..6d9b0542 100644
--- a/pydocx/DocxParser.py
+++ b/pydocx/DocxParser.py
@@ -342,6 +342,8 @@ def _get_children(el):
has_descendant_with_tag = True
if child.has_descendant_with_tag('drawing'):
... | 4 | 4 | 1 | [{"id": "G0", "claim": "The `_get_children` helper's name is unclear; move this logic to a separate method such as `_get_children_with_content`, and replace the hard-coded tag if-statements with a constant like `TAGS_CONTAINING_CONTENT`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope"... | null |
CenterForOpenScience__pydocx__28 | CenterForOpenScience/pydocx | 28 | defect | cdd0addb0e6e73ff46a9e61968d9c03abbba127b | 404b39533cd508253d1caab3c541fbde6b3d876f | Stop using deprecated tags | `u`, `i`, and `b` are all deprecated. Use `<span style="text-decoration: underline;">`, `em`, and `strong` instead.
In addition, all self closing tags should be in the form `<%s />` with the space and the trailing slash.
| diff --git a/pydocx/parsers/Docx2Html.py b/pydocx/parsers/Docx2Html.py
index f97e39be..e342a04d 100644
--- a/pydocx/parsers/Docx2Html.py
+++ b/pydocx/parsers/Docx2Html.py
@@ -9,9 +9,6 @@ class Docx2Html(DocxParser):
@property
def parsed(self):
content = self._parsed
- content = content.replace... | 4 | 3 | 1 | [{"id": "G0", "claim": "Use a CSS class such as pydocx-underline instead of a direct inline style declaration for underline so styling can be changed without stripping styles.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a section to the readme doc... | null |
CenterForOpenScience__pydocx__29 | CenterForOpenScience/pydocx | 29 | defect | 262cdd1cb453c08bce71d20cdbbf29e0d5d4e311 | e605958b8792a9025bb047961b57d46fb4e8d8ef | Stop overriding the handlers in the test cases | That defeats the purpose. Plus it's time to stop being lazy and fully convert the tests from docx2html syntax to pydocx.
| diff --git a/pydocx/parsers/Docx2Html.py b/pydocx/parsers/Docx2Html.py
index f97e39be..0a2249a6 100644
--- a/pydocx/parsers/Docx2Html.py
+++ b/pydocx/parsers/Docx2Html.py
@@ -24,12 +24,7 @@ def head(self):
}
def style(self):
- return textwrap.dedent('''<style>.insert{{color:red}}.delete
- ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The style method's single-line return string in pydocx/parsers/Docx2Html.py is rough to read and review, and asks that a line continuation be used instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The one-line STYLE... | null |
CenterForOpenScience__pydocx__34 | CenterForOpenScience/pydocx | 34 | defect | 6d3a372a7fe77dfd49f5bead99fcd51815edd4bd | 5056af45abeba93ea3c486a177281d7ed274639f | Make the default image handler a bit more useful | Instead of sticking media in a `word/media` folder next to the zip folder, if a document has media, stick them in a `pydocx-media-{{document name}}` folder.
| diff --git a/pydocx/DocxParser.py b/pydocx/DocxParser.py
index ce01f784..f2a39550 100644
--- a/pydocx/DocxParser.py
+++ b/pydocx/DocxParser.py
@@ -130,7 +130,6 @@ class DocxParser:
def _build_data(self, path, *args, **kwargs):
with ZipFile(path) as f:
- self.zip_path, _ = os.path.split(f.file... | 3 | 2 | 1 | [{"id": "G0", "claim": "Store the image in the HTML as a base64 encoded string instead of writing image files to disk, so there is no file cleanup to worry about.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Pass the original image filename along to ... | null |
CenterForOpenScience__pydocx__37 | CenterForOpenScience/pydocx | 37 | defect | 6d3a372a7fe77dfd49f5bead99fcd51815edd4bd | eab44aba219e9a37c158ed3d321c3b7f534a3f94 | Optionally allow converting root level upper roman lists to headers | In general if, a root level list is upper case roman numeral, it is quite likely the user was trying to create headings. So lets create headings for them.
| diff --git a/pydocx/DocxParser.py b/pydocx/DocxParser.py
index ce01f784..e6c99ec5 100644
--- a/pydocx/DocxParser.py
+++ b/pydocx/DocxParser.py
@@ -194,6 +194,10 @@ def __init__(self, *args, **kwargs):
self.block_text = ''
self.page_width = 0
self._build_data(*args, **kwargs)
+ self.con... | 4 | 3 | 1 | [{"id": "G0", "claim": "The root-level upper-roman conversion should be moved out of the default HTML parser into a semantic HTML parser once one is created.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reading the flag with kwargs.get hides it and it ... | null |
CenterForOpenScience__pydocx__38 | CenterForOpenScience/pydocx | 38 | defect | 8a649f1a3152d24b2f382df4c4d693af1e0ad1fb | 2cfe7e61d866a812fd1decd6a3c823fa8ffbb746 | Multiple t tags in an r tag that has justification duplicates content | If a single `p` element has justification and there is an `r` element that has more than one `t` element content will duplicate
| diff --git a/pydocx/DocxParser.py b/pydocx/DocxParser.py
index c5bd69ec..5dd27380 100644
--- a/pydocx/DocxParser.py
+++ b/pydocx/DocxParser.py
@@ -114,7 +114,6 @@ def find_ancestor_with_tag(self, tag):
setattr(_ElementInterface, 'vmerge_continue', None)
setattr(_ElementInterface, 'row_index', None)
setattr(_ElementI... | 5 | 5 | 0 | [{"id": "G0", "claim": "Rename the method `parse_justification` to `justification` for clarity, and use None instead of '' as the default value instead of a string.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Give the variable `jc` a better, ... | null |
CenterForOpenScience__pydocx__45 | CenterForOpenScience/pydocx | 45 | defect | 07d1da6c1b3da96d8d0acdb7421c2da035bd955e | 4145aa765a31cc5d0840265374d38cd931921e3d | Table fix | vmerge is the vertical class for rowspans. there is supposed to be an attribute val of 'continue' when rowspans are meant to be incremented. however, if a user manually merges cells, word will insert a vmerge element, with no attribute. from the open xml docx:
If this attribute is omitted, its value shall be assumed t... | diff --git a/pydocx/DocxParser.py b/pydocx/DocxParser.py
index b10485c2..11f7f193 100644
--- a/pydocx/DocxParser.py
+++ b/pydocx/DocxParser.py
@@ -104,6 +104,7 @@ def __init__(
self._parsed = ''
self.block_text = ''
self.page_width = 0
+ self.bookmark = False
self.convert_root... | 8 | 6 | 2 | [{"id": "G0", "claim": "The debug print 'ummm wheres the break' added in parse() does not need to be there.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The duplicate, unreachable 'return False' added in _should_parse_next_as_content is not ne... | null |
CenterForOpenScience__pydocx__72 | CenterForOpenScience/pydocx | 72 | defect | ac1afbc59f9329417d1ad0eedcdee6e41a2511ec | d8f0432e6d3282c30c22117ac45b55be873b9117 | Not all hyperlinks are being convert correctly | document.xml snippet
``` xml
<w:r>
<w:fldChar w:fldCharType="begin"/>
</w:r>
<w:r>
<w:instrText> HYPERLINK "https://www.google.com/"</w:instrText>
</w:r>
<w:r>
<w:fldChar w:fldCharType="separate"/>
<... | diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 1ff0d07b..9fff7659 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,3 +1,7 @@
+**dev**
+
+- Implemented complex and simple field hyperlinks
+
**0.8.5**
- Styled whitespace is no longer ignored. Previously, this would result in
diff --git a/pydocx/export/base.py b... | 6 | 6 | 2 | [{"id": "G0", "claim": "Complex fields that span paragraphs (and may never be closed) are processed per paragraph, which per spec 17.16.18 is not valid when the end of the complex field never occurs.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
CenterForOpenScience__pydocx__85 | CenterForOpenScience/pydocx | 85 | defect | cafe0553aae6199b73f21be637f6e0399a45878d | cd3ef01d23cc6174306babbe197f516bd7f8730c | python 3.3 support clean up | We're doing more than we really need to do. Eliminate the overhead.
| diff --git a/pydocx/DocxParser.py b/pydocx/DocxParser.py
index 2f083ff7..695bc9b5 100644
--- a/pydocx/DocxParser.py
+++ b/pydocx/DocxParser.py
@@ -1,5 +1,4 @@
-from __future__ import absolute_import
-from __future__ import division
+from __future__ import absolute_import, division
import logging
import posixpath
di... | 1 | 1 | 0 | [{"id": "G0", "claim": "Document somewhere that the project always deals with XML byte streams in UTF-8, since that strategy is not obvious from reading the source.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
CenterForOpenScience__pydocx__93 | CenterForOpenScience/pydocx | 93 | defect | 7246e1db359ec3b1c16791e0dcd126ebc47ca2b2 | 8a5f9f3390b255d77f99a8ad703d98cc4a4257fc | Process footnotes.xml | Reference: ECMA 376 17.11
A basic initial implementation for footnotes.
- This doesn't process `endnotes.xml`
- `numFmt` is ignored and always uses decimals
- Footnotes are always placed at the very end of the document, regardless of `pos`. HTML has no concept of pages, but it could handle the beneath text option.
- `... | diff --git a/pydocx/DocxParser.py b/pydocx/DocxParser.py
index 9589f7f5..1efcd693 100644
--- a/pydocx/DocxParser.py
+++ b/pydocx/DocxParser.py
@@ -171,11 +171,15 @@ def __init__(
self.pre_processor = None
self.visited = set()
self.list_depth = 0
+ self.footnote_index = 1
+ self.... | 3 | 3 | 0 | [{"id": "G0", "claim": "The ordered list produced by footnotes() should explicitly be a decimal (\"Make this `ol` a decimal\").", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The import in zip.py should bind BytesIO directly, e.g. `from cString import St... | null |
CesiumGS__cesium__13381 | CesiumGS/cesium | 13,381 | defect | 4c3c012515ec217983faf5ae9b0012806c3f8db0 | 4148f0855332d8067dc5c94c1012855e3f8c5cfd | Switch playwright over to the new sandcastle | <!--
Thanks for the Pull Request!
Please review [Contribution Guide](https://github.com/CesiumGS/cesium/blob/main/CONTRIBUTING.md) before opening your first Pull Request.
To ensure your Pull Request is reviewed and accepted quickly, please refer to our [Pull Request Guidelines](https://github.com/CesiumGS/cesium... | diff --git a/Documentation/Contributors/TestingGuide/README.md b/Documentation/Contributors/TestingGuide/README.md
index da0eba5f0a93..e9091f1fc68c 100644
--- a/Documentation/Contributors/TestingGuide/README.md
+++ b/Documentation/Contributors/TestingGuide/README.md
@@ -271,6 +271,7 @@ For further info and options, see... | 5 | 1 | 0 | [{"id": "G0", "claim": "The new e2e/sandcastle test setup still produces an error for jjhembd's Linux Chrome environment even with the suggested troubleshooting config, so the default config may not work for the most common setups and should be confirmed.", "category": "correctness", "verdict": "uncertain", "priority":... | null |
ChaiScript__ChaiScript__439 | ChaiScript/ChaiScript | 439 | defect | 9a670d79fc6be0446bbe5d7573ad26faf0786144 | 1e8f7f9fa5f2a896462f5487d2d202619f26ac06 | Handle BOM in the beginning of the script | Issue this pull request references: #436
Changes proposed in this pull request
- detect BOM in the same way a symbolic link is detected before the parsing begins and skip it
| diff --git a/include/chaiscript/language/chaiscript_parser.hpp b/include/chaiscript/language/chaiscript_parser.hpp
index c82aff38f..417e876db 100644
--- a/include/chaiscript/language/chaiscript_parser.hpp
+++ b/include/chaiscript/language/chaiscript_parser.hpp
@@ -2569,6 +2569,13 @@ namespace chaiscript
}
... | 2 | 1 | 0 | [{"id": "G0", "claim": "The BOM test script should be inline (not going through a defined func()) since the test should exercise the script running, and the now-unneeded setup line should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "The pu... | null |
ChaiScript__ChaiScript__640 | ChaiScript/ChaiScript | 640 | defect | 2eb3279c391854c7a005b82ad121802e88b7c171 | 28973e5fbefed4d440f1b3028baeb8655eec2e0f | Fix #256: ChaiScript::get_locals() does not show functions | Automated fix by @leftibot.
Closes #256
_Triggered by @lefticus._ | diff --git a/include/chaiscript/language/chaiscript_engine.hpp b/include/chaiscript/language/chaiscript_engine.hpp
index d3b245ce..c9f22e58 100644
--- a/include/chaiscript/language/chaiscript_engine.hpp
+++ b/include/chaiscript/language/chaiscript_engine.hpp
@@ -473,6 +473,12 @@ namespace chaiscript {
/// \returns... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request exposes get_scripting_objects() in the public API but adds no test for it; tests for get_scripting_objects() should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ChaiScript__ChaiScript__642 | ChaiScript/ChaiScript | 642 | defect | 2eb3279c391854c7a005b82ad121802e88b7c171 | c3aa9ee6d5a2bc4c04f9d73280898fb64fadb12b | Fix #146: Add configuration to bypass the registering of 'built-in' functions. | Automated fix by @leftibot.
Closes #146
_Triggered by @lefticus._ | diff --git a/include/chaiscript/chaiscript.hpp b/include/chaiscript/chaiscript.hpp
index 871b353b..647ed5b6 100644
--- a/include/chaiscript/chaiscript.hpp
+++ b/include/chaiscript/chaiscript.hpp
@@ -825,7 +825,7 @@ namespace chaiscript {
ChaiScript(std::vector<std::string> t_modulepaths = {},
std::... | 2 | 2 | 1 | [{"id": "G0", "claim": "The single Options enum mixes engine-level and stdlib-level options so the stdlib options are not honored by the ChaiScript_Basic constructor and pass silently; update the feature to have two different enums, add library options as a parameter to the ChaiScript object, and add tests demonstratin... | null |
ChaiScript__ChaiScript__675 | ChaiScript/ChaiScript | 675 | defect | 07d62aae9976528a93f5d6ca716c4fe79a808dc5 | 8f463078f3178dfc6888c4986ede4e77fd6b29f5 | Fix #552: Feature-request: nested namespaces | Automated fix by @leftibot.
### What changed
> Fix #552: Support nested namespaces via dotted names
> Namespaces can now be nested using dotted name syntax, both from C++
> (register_namespace(gen, "constants.si")) and from script
> (namespace("constants.si")). Parent namespaces are auto-registered when
> absent, and... | diff --git a/include/chaiscript/language/chaiscript_common.hpp b/include/chaiscript/language/chaiscript_common.hpp
index fb75a933..9fca319c 100644
--- a/include/chaiscript/language/chaiscript_common.hpp
+++ b/include/chaiscript/language/chaiscript_common.hpp
@@ -106,7 +106,8 @@ namespace chaiscript {
Constant,
... | 5 | 5 | 3 | [{"id": "G0", "claim": "Use :: instead of . as the nested-namespace separator, keeping the feature consistent with C++.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Make ChaiScript namespaces behave like C++ namespaces, both for scoped access (namespac... | null |
ChainSafe__forest__4163 | ChainSafe/forest | 4,163 | defect | 2a5084af91a49d15fc2d7397ad7d4ac754a0e20a | 5e9389b4a08fdacce91bf5edc4fce325e6bb0ce2 | fix: drand verification logic and block validation logic | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
This PR tries to fix a bug in chained drand verification caught by https://github.com/ChainSafe/forest/pull/4146
[Full CI log](https://productionresultssa10.blob.core.windows.net/actions-... | diff --git a/src/beacon/drand.rs b/src/beacon/drand.rs
index 13cc995112dd..63404b0f9d39 100644
--- a/src/beacon/drand.rs
+++ b/src/beacon/drand.rs
@@ -273,7 +273,7 @@ impl Beacon for DrandBeacon {
fn verify_entries<'a>(
&self,
entries: &'a [BeaconEntry],
- mut prev: &'a BeaconEntry,
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Introduce tests for the pull request's changed validation and beacon-verification logic so the reasoning is checked and potential regressions are immediately caught.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ChainSafe__forest__4190 | ChainSafe/forest | 4,190 | defect | 18c5f2617369942c5157223dc0bee5a7331a61e9 | 20f83b0fb4f52c18706bb3bf70ea9a1e5983d6c7 | test: less complicated lint file selection | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Old tests would flake, let's do it simpler
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull request ... | diff --git a/Cargo.lock b/Cargo.lock
index a3c6e6c72e88..f24331570241 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3257,6 +3257,7 @@ dependencies = [
"fvm_shared 4.1.2",
"gethostname",
"git-version",
+ "glob",
"group",
"hex",
"http 0.2.12",
@@ -9695,12 +9696,15 @@ dependencies = [
"once_cell",
"parking_... | 5 | 5 | 2 | [{"id": "G0", "claim": "The glob dependency should be pinned as \"0.3\" instead of \"0.3.1\" so dependabot does not open an upgrade PR on every patch version.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The glob-based file selection should al... | null |
ChainSafe__forest__4437 | ChainSafe/forest | 4,437 | defect | 5a9489b9780b883f3165221ff34c183fd33f1b2a | b0da989d135898758fd67aada6aa9b886179eee6 | fix: duplicate schema names | ## Summary of changes
Fixes this in our generated OpenRPC
```jsonc
{ "components": { "schemas": { "Cid": ..., "Cid2": ... } } }
```
- add an `include` argument to `forest-tool shed openrpc`
- rename `eth::BigInt` to `eth::EthBigInt`, but see #4436
- make LotusJson for Vec less special
- make LotusJson for ... | diff --git a/src/lotus_json/cid.rs b/src/lotus_json/cid.rs
index d507b29f79ad..a9e80fa66521 100644
--- a/src/lotus_json/cid.rs
+++ b/src/lotus_json/cid.rs
@@ -5,18 +5,18 @@ use super::*;
#[derive(Clone, Serialize, Deserialize, JsonSchema)]
#[schemars(rename = "Cid")]
-pub struct CidLotusJsonGeneric<const S: usize> ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `openrpc` method should be documented, e.g. that by default it exposes all available endpoints and that if `include` is specified only the selected ones are returned.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The n... | null |
ChainSafe__forest__5240 | ChainSafe/forest | 5,240 | defect | ae5e424f3820018810598e3ca92c882d2d5b8df1 | 51e2c8545ed895d498ecb566c34e42bc34248755 | feat: implement `Filecoin.GetActorEventsRaw` | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Implement `Filecoin.GetActorEventsRaw` RPC method
```bash
forest-tool api compare --lotus /ip4/127.0.0.1/tcp/1234/http --forest /ip4/127.0.0... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 232423972081..39a233b0b2c0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -53,6 +53,8 @@
- [#4709](https://github.com/ChainSafe/forest/issues/4709) Add support for `Filecoin.EthTraceReplayBlockTransactions` RPC method.
+- [#4751](https://github.com/ChainSafe/forest/i... | 2 | 1 | 0 | [{"id": "G0", "claim": "Unit tests should be introduced for the new methods in eth/filter/mod.rs, specifically the Matcher matching logic for actor events, so that uncovered new lines are covered.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A coverag... | null |
ChainSafe__forest__5308 | ChainSafe/forest | 5,308 | defect | fb4f4071dad0ac8abc543ed432c1a8ec0f03327d | d4afb7c2fdc0be795be982b1197c6936de1006d8 | Implement Filecoin.EthGetFilterLogs | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Implemented `Filecoin.EthGetFilterLogs` and add test.
## Reference issue to close (if applicable)
<!-- Include the issue reference this pu... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 220e28ccc894..20d4813229f6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -61,6 +61,8 @@
- [#4751](https://github.com/ChainSafe/forest/issues/4751) Add support for `Filecoin.GetActorEventsRaw` RPC method.
+- [#4671](https://github.com/ChainSafe/forest/issues/4671) Ad... | 3 | 3 | 2 | [{"id": "G0", "claim": "The EthGetFilterLogs parameter name should be camelCase (\"filterId\") instead of \"filter_id\", for consistency with the naming outlined in issue #5279.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The two range validation... | null |
ChainSafe__forest__5357 | ChainSafe/forest | 5,357 | defect | c24268bf7b9d9feca9d9666d763b01ad9feb0e81 | 0896b1220768f2750dd44ab4ed72bf8c7f5f11c4 | fix(rpc): make data field in EthCallMessage optional | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
-
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull request is connected to -->
<!-- See more keywords... | diff --git a/src/rpc/methods/eth.rs b/src/rpc/methods/eth.rs
index e517f2ec8eec..3cf422c80e09 100644
--- a/src/rpc/methods/eth.rs
+++ b/src/rpc/methods/eth.rs
@@ -2354,7 +2354,7 @@ pub enum EthCall {}
impl RpcMethod<2> for EthCall {
const NAME: &'static str = "Filecoin.EthCall";
const NAME_ALIAS: Option<&'st... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pull request should add a changelog entry.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ChainSafe__forest__5375 | ChainSafe/forest | 5,375 | defect | a2e062feed72093f7a8597794392cfc3a055c2ff | 7bad65aa02929886c07f58d3149ceaad7686b245 | feat: add a thread_rng wrapper that that can be overriden by reproducible seeded rng | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
-
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull request is connected to -->
<!-- See more keywords... | diff --git a/Cargo.lock b/Cargo.lock
index 6456381c75d5..75be9efac505 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3090,6 +3090,7 @@ dependencies = [
"quickcheck_macros",
"ra_ap_syntax",
"rand 0.8.5",
+ "rand_chacha 0.3.1",
"rand_distr",
"raw_sync_2",
"rayon",
diff --git a/Cargo.toml b/Cargo.toml
index a6eb... | 5 | 5 | 2 | [{"id": "G0", "claim": "The security-sensitive RNG call sites (keystore salt/nonce generation and wallet key generation) should keep using OsRng for security rather than the new overridable forest_rng wrapper.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
ChainSafe__forest__5383 | ChainSafe/forest | 5,383 | defect | 7f150c9e3c8195a2310e0325d142743be606ee6e | fca379c4380281613a664344f649c7f3b588187c | Implement Filecoin.EthGetFilterChanges | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Implemented `Filecoin.EthGetFilterChanges` and add test.
## Reference issue to close (if applicable)
<!-- Include the issue reference this... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6003def0e46e..49b1c7d44061 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -31,6 +31,8 @@
- [#5375](https://github.com/ChainSafe/forest/issues/5375) Add an RNG wrapper that that can be overriden by a reproducible seeded RNG.
+- [#5383](https://github.com/ChainSafe/for... | 6 | 4 | 1 | [{"id": "G0", "claim": "The EthGetFilterChanges RPC method should declare a `DESCRIPTION` constant like the other RPC methods.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The method's PARAM_NAMES entry should be \"filterId\" instead of \"filter... | null |
ChainSafe__forest__5703 | ChainSafe/forest | 5,703 | defect | 129931d401008175065b507560d71ffac7258cb8 | f8d7465423cb3f0200bddb490257e9bdb987a2ed | Fix `EthGetBlockReceiptsLimited` | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Fix `EthGetBlockReceiptsLimited` to properly support limit parameter
## Reference issue to close (if applicable)
<!-- Include the issue re... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1b72ec1b48aa..835d908b2a83 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -47,7 +47,8 @@
### Fixed
-- [#5624](https://github.com/ChainSafe/forest/pull/5624) Fixed `Filecoin.EthTraceFilter` to correctly handle null tipsets and stay within the filter range.
+- [#5624](... | 3 | 3 | 0 | [{"id": "G0", "claim": "Rename the new helper from `to_lotus` to `format_lotus`, which is more expressive since `to_lotus` suggests it returns some other type.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Build the Lotus-formatted string with ... | null |
ChainSafe__forest__6118 | ChainSafe/forest | 6,118 | defect | 2e3af9f3bb28f0991af5af670d428bc66c4fd2f5 | 875df0283ea823457035425ea12ccdb1b79b728d | fix: contract deployment via forge failing | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- backports the fix to `eth_getCode` and `eth_getStorageAt` from Lotus.
- removed 100M message limit that failed contract deployments. I couldn't... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 08ae186b48ec..5bbeb8e040d1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -55,6 +55,12 @@ Non-mandatory release supporting new API methods and addressing a critical panic
- [#6325](https://github.com/ChainSafe/forest/pull/6325) Fixed a panic that could occur under cert... | 6 | 1 | 0 | [{"id": "G0", "claim": "EthGetCode resolves the target actor via get_required_actor against ts.parent_state() while EthGetStorageAt looks the actor up on the tipset state, an asymmetry that likely means eth_getCode still fails or incorrectly returns empty code for actors that exist only in the tipset's post-state.", "c... | null |
ChainSafe__forest__6167 | ChainSafe/forest | 6,167 | defect | 15ea901306c178210c941de7c5c2c8bbfb76ec48 | e207be1320e3743b813a1ad3afc1142c01bc5de9 | feat: `forest-tool state compute` | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
This PR introduces a tool to take db snapshot for validating a tipset. The snapshot can be used for benchmarks (may come in a subsequent PR) to justify critial dependency updates (e.g. `wasm... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 56bd8621a5c1..f458eb468009 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -31,6 +31,10 @@
- [#6166](https://github.com/ChainSafe/forest/pull/6166) Gate `JWT` expiration validation behind environment variable `FOREST_JWT_DISABLE_EXP_VALIDATION`.
+- [#6167](https://git... | 12 | 2 | 1 | [{"id": "G0", "claim": "Subcommand is pub but exposes StateCommand from the private state_compute_cmd module, which the reviewer says breaks visibility (E0446); re-export the type and reference the re-export, or make the module public.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduc... | null |
ChainSafe__forest__6210 | ChainSafe/forest | 6,210 | defect | 91f4ed169bd8821463cc1e6ee2c79bb5322cf928 | c67c5762a014a9068a75a25c230c5e4e9f47339f | chore: improve logging in RPC compare tests | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- the current output, e.g., [here](https://github.com/ChainSafe/forest/actions/runs/18926117036/job/54033394641) isn't really helpful in identifyi... | diff --git a/scripts/tests/api_compare/docker-compose.yml b/scripts/tests/api_compare/docker-compose.yml
index 3c9a67d6a115..dac7d783f84a 100644
--- a/scripts/tests/api_compare/docker-compose.yml
+++ b/scripts/tests/api_compare/docker-compose.yml
@@ -228,7 +228,7 @@ services:
user: 0:0
command:
- |
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The script assumes /data/api-compare-report/full_report.json exists after forest-tool api compare completes; if it does not, cat only errors to stderr while the script continues, potentially masking issues, so a defensive fallback (cat ... || echo \"(Report file not accessible)\") should be adde... | null |
ChainSafe__forest__6312 | ChainSafe/forest | 6,312 | defect | 07cbdaf088732b3993de0645bff92a91e99a87e1 | d4897c36443954d3395018ad77728f898640f422 | feat(rpc): V2 RPC methods StateGetActor and StateGetID | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
-
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull request is connected to -->
<!-- See more keywords... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1012eab00eb0..67790329ead6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -31,6 +31,10 @@
- [#6231](https://github.com/ChainSafe/forest/pull/6231) Implemented `Filecoin.ChainGetTipSet` for API v2.
+- [#6312](https://github.com/ChainSafe/forest/pull/6312) Implemented ... | 4 | 1 | 1 | [{"id": "G0", "claim": "StateGetActorV2's DESCRIPTION says \"Retrieves the ID address for the specified address at the selected tipset\", which describes StateGetID rather than the Option<ActorState> this method returns — likely a copy-paste error that will mislead API consumers and docs; fix the description.", "catego... | null |
ChainSafe__forest__6323 | ChainSafe/forest | 6,323 | defect | f4008dda0b1ff781d0ed8fbefa0881d997b0267c | d1dc6cc4fe2b7879146889b2cd32f064a838f60d | feat(rpc): add v1 RPC method `Filecoin.FilecoinAddressToEthAddress` | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
-
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull request is connected to -->
<!-- See more keywords... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 67790329ead6..e0b54e6116cb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -35,6 +35,8 @@
- [#6312](https://github.com/ChainSafe/forest/pull/6312) Implemented `Filecoin.StateGetID` for API v2.
+- [#6323](https://github.com/ChainSafe/forest/pull/6323) Implemented `File... | 1 | 1 | 1 | [{"id": "G0", "claim": "The tests for the new FilecoinAddressToEthAddress method should explicitly cover all supported Filecoin address categories (f0-f4), including non-delegated secp/BLS addresses that exercise the state-dependent ID-lookup path, rather than only the f4 delegated case and snapshot-driven cases.", "ca... | null |
ChainSafe__forest__6339 | ChainSafe/forest | 6,339 | defect | 5a89c057720689f61c992a3580a2165ac83aef13 | 5826ce2a3578e518bb6dc0e5ca5552175ad2ada8 | Add support for the `Filecoin.EthCall` V2 | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Add `Filecoin.EthCall` V2 API and test snapshots.
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull r... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 08ae186b48ec..e296c27627a1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -51,6 +51,8 @@ Non-mandatory release supporting new API methods and addressing a critical panic
- [#6323](https://github.com/ChainSafe/forest/pull/6323) Implemented `Filecoin.FilecoinAddressToEth... | 6 | 1 | 0 | [{"id": "G0", "claim": "The EthCall entry should be placed under 'Forest unreleased / Added' instead of the v0.30.5 release list.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When get_latest_finalized_tipset returns None, the fallback to tipset_... | null |
ChainSafe__forest__6372 | ChainSafe/forest | 6,372 | defect | 4628a7fb3e1fafc051d4f8dc7db2b0c451120634 | 45f74a864790d6b2a8c243c817fd4d399dd2dce6 | fix(test): speed up test-release and codecov on CI | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
-
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull request is connected to -->
<!-- See more keywords... | diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index b70846daef32..08eb5f889f86 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -28,11 +28,15 @@ env:
CI: 1
CARGO_INCREMENTAL: 0
CACHE_TIMEOUT_MINUTES: 5
+ AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCE... | 3 | 2 | 1 | [{"id": "G0", "claim": "Line 92 wraps PROOFS_PARAMETER_CACHE_ENV in PathBuf::from() before passing it to std::env::var(), which the bot claims causes a compilation error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Restricting the codecov target ... | null |
ChainSafe__forest__6380 | ChainSafe/forest | 6,380 | defect | 3b4c2ce80c7f20a7871e50907338d79bc97d1b79 | ec646124374b320d004594ef13962438ac005399 | Add support for the Filecoin.EthFeeHistory V2 | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Impl `Filecoin.EthFeeHistory` V2 and test
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull request i... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 97596adbe509..ec929b481835 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,6 +29,8 @@
### Added
+- [#6380](https://github.com/ChainSafe/forest/pull/6380) Implemented `Filecoin.EthFeeHistory` for API v2.
+
### Changed
### Removed
diff --git a/src/rpc/methods/et... | 5 | 2 | 0 | [{"id": "G0", "claim": "The error message \"block count should be smaller than 1024\" is slightly misleading because 1024 is actually allowed (only block_count > 1024 is rejected); something like \"block count must not exceed 1024\" would be clearer.", "category": "documentation", "verdict": "uncertain", "priority": "P... | null |
ChainSafe__forest__6403 | ChainSafe/forest | 6,403 | defect | 55479830a80c0ce9fb303b2f1bc4ca33686f4e53 | 2183a3c6e27f93a7e6e50a3218caa6d65d4b6bc2 | Add support for the Filecoin.EthGetBalance V2 | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Impl `Filecoin.EthGetBalance` V2 and added test.
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull re... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 48719cf1305e..280c9b7b187d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -37,6 +37,8 @@
- [#6387](https://github.com/ChainSafe/forest/pull/6387) Implemented `Filecoin.EthGetTransactionCount` for API v2.
+- [#6403](https://github.com/ChainSafe/forest/pull/6403) Imple... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new EthGetBalanceV2 Safe and Finalized tests should be gated by the offline parameter, like other Safe/Finalized tests in the suite, to stay consistent and avoid flakiness in offline/snapshot mode.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"i... | null |
ChainSafe__forest__6444 | ChainSafe/forest | 6,444 | defect | d435cd47bf4f6a8ae6713b19007928ce1c4a0599 | 6cbc78a8b8ed04a7d2a4d2ce1af051ccea7057b5 | feat(rpc): Add support for the `EthTraceReplayBlockTransactions` V2 API | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Adds support for the `EthTraceReplayBlockTransactions` V2 API
- Small Refactor
- Fix the discrepancy in `EthTraceReplayBlockTransactions` resp... | diff --git a/Cargo.lock b/Cargo.lock
index 0627c4909f47..e2a86ab880ab 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7365,15 +7365,15 @@ dependencies = [
[[package]]
name = "ra_ap_edition"
-version = "0.0.316"
+version = "0.0.315"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "420c525e... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new RPC method impls should declare a DESCRIPTION (docstring) constant.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The trace_types validation should not go through anyhow; a dedicated ServerError constructor (e.g. i... | null |
ChainSafe__forest__6451 | ChainSafe/forest | 6,451 | defect | f96325d726db9fa760a743a1bd5ed37f2af6a839 | cdc6e0c53f0ec5010bc86eec8d2037942143fae3 | feat(rpc): Add support for the `EthTraceBlock` V2 API | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Adds `EthTraceBlock` API V2 support
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull request is conn... | diff --git a/src/rpc/methods/eth.rs b/src/rpc/methods/eth.rs
index 721352189c68..6abd07fc294d 100644
--- a/src/rpc/methods/eth.rs
+++ b/src/rpc/methods/eth.rs
@@ -3606,26 +3606,50 @@ impl RpcMethod<1> for EthTraceBlock {
const PARAM_NAMES: [&'static str; 1] = ["blockParam"];
const API_PATHS: BitFlags<ApiPaths... | 4 | 3 | 0 | [{"id": "G0", "claim": "The pull request should add a changelog entry and update the change checklist in the PR description.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Tests for the `Safe` and `Finalized` tags should be added for the EthTraceB... | null |
ChainSafe__forest__6465 | ChainSafe/forest | 6,465 | defect | 26757f53425079469187187c44c06378a8ed2428 | a53841be563c67f0a68f28fcbb94ce6ee0baff12 | Add support for the Filecoin.EthGetBlockTransactionCountByNumber V2 | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Impl `Filecoin.EthGetBlockTransactionCountByNumber` V2 and added test.
## Reference issue to close (if applicable)
<!-- Include the issue ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 64d043f3f82c..13c63c4b131f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,6 +29,8 @@
### Added
+- [#6465](https://github.com/ChainSafe/forest/pull/6465) Implemented `Filecoin.EthGetBlockTransactionCountByNumber` for API v2.
+
- [#6466](https://github.com/ChainSa... | 1 | 1 | 0 | [{"id": "G0", "claim": "The changelog entry should follow the documented `[`#ISSUE`](link): <description>` format by adding the missing colon after the PR link.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ChainSafe__forest__6467 | ChainSafe/forest | 6,467 | defect | 30618979209d16bbcef5f42c9b8b3dc864a4aa7f | e04d716d6b048b3b9a682f0bbc71cfce4c1b5871 | Fix Filecoin.EthGetBlockByNumber RPC V1 & V2 | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- `Filecoin.EthGetBlockByNumber` now only retrieves a block by its number or a special tag.
## Reference issue to close (if applicable)
<!--... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5cdc720ba476..d7d54f1f2bd5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -73,6 +73,8 @@
- [#6456](https://github.com/ChainSafe/forest/pull/6456) Whitelisted nebula and hermes crawlers.
+- [#6467](https://github.com/ChainSafe/forest/pull/6467) Fixed: `Filecoin.EthGet... | 2 | 1 | 0 | [{"id": "G0", "claim": "The changelog entry for the removal of hash input support for Filecoin.EthGetBlockByNumber should be moved to the “Breaking” (or “Changed”) section instead of “Fixed”, since it is a client-visible API break that “Fixed” understates.", "category": "documentation", "verdict": "opposed", "priority"... | null |
ChainSafe__forest__6490 | ChainSafe/forest | 6,490 | defect | 7254a423e38db8ff4c69e63402c1089f079ba544 | 84384a74087d9828652602ccac5d4cb87f469a27 | Add support for the Filecoin.EthGetCode V2 | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Impl `Filecoin.EthGetCode` V2 and added test.
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull reque... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index e36c547649e0..8d49f6dd22cc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -41,6 +41,8 @@
- [#6489](https://github.com/ChainSafe/forest/pull/6489): Implemented `Filecoin.EthGetBlockReceipts` for API v2.
+- [#6490](https://github.com/ChainSafe/forest/pull/6490): Implem... | 3 | 2 | 2 | [{"id": "G0", "claim": "A successful-looking empty error string does not rule out a failed receipt, so the code should check msg_rct.exit_code().is_success() (as EthGetStorageAt does) before decoding the return data.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "... | null |
ChainSafe__forest__6541 | ChainSafe/forest | 6,541 | defect | f7ac3369396ffa2421e87ea5a9281607880abbf3 | f43a1496e6cdd98665812b55fbf9300c913f3d46 | fix: forge script bug | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- The EVM returns the `0` value instead of error for couple of the API's if the actor/address is not found in the state tree (This behaviour was m... | diff --git a/src/rpc/methods/eth.rs b/src/rpc/methods/eth.rs
index 556c796b75cd..46e9a588afc3 100644
--- a/src/rpc/methods/eth.rs
+++ b/src/rpc/methods/eth.rs
@@ -586,7 +586,7 @@ impl Block {
let (state_root, msgs_and_receipts) = execute_tipset(&ctx, &tipset).await?;
- let state_tree = State... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new snapshot entries in src/tool/subcommands/api_cmd/test_snapshots.txt are out of order, so the pipeline reports a sorting diff and `lint:lists` fails; re-run the list-sorting task and commit the sorted result.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scop... | null |
ChainSafe__forest__6590 | ChainSafe/forest | 6,590 | defect | 796f531fc072a8516660a0bba12cca1ddd20043f | e40dee6604450da0eacd1df40d082897cafa72bd | fix(f3): set F3 initial power table on calibnet | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
-
## Reference issue to close (if applicable)
<!-- Include the issue reference this pull request is connected to -->
<!-- See more keywords... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index ef1b18be2eae..923f74828e80 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,6 +29,8 @@
### Added
+- [#6590](https://github.com/ChainSafe/forest/pull/6590): Set F3 `InitialPowerTable` on calibnet.
+
- [#6524](https://github.com/ChainSafe/forest/pull/6524): Implemen... | 2 | 1 | 1 | [{"id": "G0", "claim": "If a corresponding tracking issue exists for this change, the CHANGELOG entry should reference the issue instead of the PR, keeping the PR link only when no issue exists.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ech... | null |
ChainSafe__forest__6811 | ChainSafe/forest | 6,811 | defect | d52a294f9dad3b429da3f82d7cd3cd787ccfa19b | 6db0a02e9a17e75877f4cae1c91a79dc84ec1865 | feat(rpc): impl Filecoin.ChainGetTipSetFinalityStatus | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Part of https://github.com/ChainSafe/forest/issues/6769
Changes introduced in this pull request:
-
## Reference issue to close (if applicable)
<!-- Include the issue reference th... | diff --git a/scripts/tests/api_compare/.env b/scripts/tests/api_compare/.env
index 7d93452a6fe7..dcb79c96fe58 100644
--- a/scripts/tests/api_compare/.env
+++ b/scripts/tests/api_compare/.env
@@ -1,6 +1,6 @@
# Note: this should be a `fat` image so that it contains the pre-downloaded filecoin proof parameters
FOREST_IM... | 7 | 5 | 0 | [{"id": "G0", "claim": "The test comment at src/chain/ec_finality/calculator/tests.rs:174 still says BisectHigh=200 although BISECT_HIGH was raised to 450; update the comment to match the actual value.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
ChainSafe__forest__6817 | ChainSafe/forest | 6,817 | defect | 533def4e5a05308022c95a593402e1071859d643 | 7d56c350c79fb21fc401bb69b947d07da8223837 | fix(rpc): update StateSearchMsg to return null instead of error when not found | ## Summary of changes
To match Lotus logic: https://github.com/filecoin-project/lotus/pull/13562#discussion_r3007528411
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
-
## Reference issue to close (if applicab... | diff --git a/mise.toml b/mise.toml
index c922f966e953..669d89f21f47 100644
--- a/mise.toml
+++ b/mise.toml
@@ -241,8 +241,7 @@ tail -n +2 .config/forest.dic | diff - "$TMPFILE"
[tasks.insta]
description = "Update insta snapshots."
run = '''
-cargo test --lib -- rpc::tests::openrpc
-cargo insta accept
+cargo test --l... | 3 | 2 | 0 | [{"id": "G0", "claim": "The DESCRIPTION strings of StateSearchMsg and StateSearchMsgLimited should be updated to mention that null is returned when the message is not found, since the return type is now nullable.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
ChainSafe__forest__6926 | ChainSafe/forest | 6,926 | defect | 09376b7d2726b74385600cc9c2bfa5a54d99e3ce | b48816d8a6da5142062d3c630a494ed5af1c4f69 | Deny unknown fields on RPC Request and Response | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
Changes introduced in this pull request:
- Reject unknown fields in RPC request parameters and response payloads when `FOREST_STRICT_JSON` is enabled.
- `FOREST_STRICT_JSON` to be enable... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 145ac01a96a2..3cdda462f2a1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,6 +29,8 @@
### Added
+- [#6926](https://github.com/ChainSafe/forest/pull/6926): Added strict JSON validation to deny unknown fields in RPC request parameters and response results when `FORE... | 2 | 1 | 1 | [{"id": "G0", "claim": "The changelog entry should reference the linked issue numbers #5600/#5635 instead of the PR number #6926, to match the repo convention.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Incoming RPC responses are not validated... | null |
ChainSafe__forest__6947 | ChainSafe/forest | 6,947 | defect | 462e82471bedc8f8802774dd67cf40f68dea8366 | 50e95034984c0d9d437f7fec0e1e8767b72fa2c7 | chore: reset butterflynet for nv28 | ## Summary of changes
<!-- Please write a comprehensive summary of your changes and what was the motivation behind them -->
CI checks(Not yet hitting NV28 upgrade epoch):
https://github.com/ChainSafe/forest/actions/runs/24709319066/job/72269829122
Changes introduced in this pull request:
-
## Reference ... | diff --git a/.github/workflows/butterflynet.yml b/.github/workflows/butterflynet.yml
index b39f3ab74937..d878ae269e2e 100644
--- a/.github/workflows/butterflynet.yml
+++ b/.github/workflows/butterflynet.yml
@@ -30,7 +30,7 @@ jobs:
env:
# To minimize compile times: https://nnethercote.github.io/perf-... | 3 | 2 | 0 | [{"id": "G0", "claim": "Exclude the calibrationnet v18.0.0-rc1 bundle entry this PR adds to ACTOR_BUNDLES (and its manifest block); it should be added with a future PR that sets the calibnet height for NV28 so this PR stays focused on butterflynet.", "category": "design", "verdict": "supported", "priority": "P2", "scop... | null |
ChainSafe__gossamer__2904 | ChainSafe/gossamer | 2,904 | defect | a75d9d17f39db37f0ca38cb5a9f06b9f176e93ed | 26b452832ffcdff9dbc41c148ae1d442869a8bd4 | enhancement(pkg/scale): remove sorting logic from encodeMap method | ## Changes
<!-- Brief list of functional changes -->
- Removed sorting logic for map keys in encodeMap method as @timwu20 suggested over [here](https://github.com/ChainSafe/gossamer/pull/2894#discussion_r1005921855) in PR #2894 .
## Tests
<!-- Detail how to run relevant tests to the changes -->
```sh
go... | diff --git a/pkg/scale/encode.go b/pkg/scale/encode.go
index e32696bb60f..2e0868adc02 100644
--- a/pkg/scale/encode.go
+++ b/pkg/scale/encode.go
@@ -10,7 +10,6 @@ import (
"io"
"math/big"
"reflect"
- "sort"
)
// Encoder scale encodes to a given io.Writer.
@@ -233,21 +232,14 @@ func (es *encodeState) encodeMap... | 3 | 3 | 0 | [{"id": "G0", "claim": "Split the `for keyValue := v.MapRange(); keyValue.Next();` loop into two statements and rename `keyValue` to `iterator`, since MapRange returns a map iterator.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use testify's ... | null |
ChainSafe__gossamer__2928 | ChainSafe/gossamer | 2,928 | defect | 463a9b769b134f44d9b31ade5f9101c65bb7215c | 82881d509cb7658922b0bb03a74aa24f9c4a5ffa | fix(trie): do not get/create buffer for nil child | ## Changes
Do not get a buffer from the sync pool for each `nil` child of a branch
:question: why? Because this might request the creation of many buffers (allocated as 1.9MB - changing this in #2929) which are not needed, and GC of sync.Pool takes potentially longer than non-pool local buffers.
:question: :qu... | diff --git a/internal/trie/node/branch_encode.go b/internal/trie/node/branch_encode.go
index 78d55502431..8a93bdff125 100644
--- a/internal/trie/node/branch_encode.go
+++ b/internal/trie/node/branch_encode.go
@@ -50,7 +50,12 @@ func encodeChildrenOpportunisticParallel(children []*Node, buffer io.Writer) (er
resultsCh... | 1 | 1 | 0 | [{"id": "G0", "claim": "The two occurrences of `delete(indexToBuffer, currentIndex)` in encodeChildrenOpportunisticParallel can be moved to a single place at the top of the loop iteration, fetching the buffer from the map once instead of deleting it in both the nil-child branch and at the end of the loop.", "category":... | null |
ChainSafe__gossamer__2961 | ChainSafe/gossamer | 2,961 | defect | 8a17f3779140a736d2e348749b7708963c458558 | d903c22ef841d7f1f6f7948b632c622112262562 | chore(trie): add trie heap usage workflow step | ## Changes
- Fix `mutateTrieLeavesAtPrefix` (shame on previous me!)
- Fix `mutateTrieLeavesAtPrefix` to work with empty values
- Tigthen ratio brackets to newer values
- Add trie memory workflow step
## Tests
## Issues
## Primary Reviewer
@timwu20
| diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 78ead51998..1c0b988070 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -75,6 +75,12 @@ jobs:
- name: Run unit tests
run: go test -short -coverprofile=coverage.out -covermode=ato... | 2 | 2 | 1 | [{"id": "G0", "claim": "Committing the memory-usage test with `const skip = false` will affect the other tests whenever the test is not run in isolation, since it interacts with the Go garbage collector.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In... | null |
ChainSafe__gossamer__2965 | ChainSafe/gossamer | 2,965 | defect | 8a17f3779140a736d2e348749b7708963c458558 | cacec49d66bbd12aa032eaa37477e3408bd2b4f1 | chore(types): add String unit tests for Digest and fix NewDigest comment | ## Changes
Sunday evening fun after getting sick of seeing horrible digest logged as some weird convoluted fields that don't make sense.
- `NewDigest` comment fixed
- `Test_BlockAnnounceMessage_String` unit test added
- `Test_Digest_String` unit test added
## Tests
<!-- Detail how to run relevant tests to... | diff --git a/dot/network/block_announce.go b/dot/network/block_announce.go
index b4091aacde4..9961c132dfe 100644
--- a/dot/network/block_announce.go
+++ b/dot/network/block_announce.go
@@ -38,12 +38,12 @@ func (*BlockAnnounceMessage) Type() byte {
// string formats a BlockAnnounceMessage as a string
func (bm *Block... | 2 | 2 | 2 | [{"id": "G0", "claim": "Digest formatting should be provided by a String method on the VaryingDataTypeSlice struct rather than by the pull request's standalone DigestToString helper.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The VaryingDataTypeValue... | null |
ChainSafe__gossamer__2984 | ChainSafe/gossamer | 2,984 | defect | bbd4796f9630302999c21b4f1c7a8f8107828e08 | 5e3a24be407afd91bb16a3d89b0471be0c67ac1d | chore(lib/grandpa): use map set for authority keys for faster lookups | ## Issues
Fixes #2960
## Primary Reviewer
<!-- Tag a code owner to review your PR -->
@timwu20
| diff --git a/lib/grandpa/grandpa.go b/lib/grandpa/grandpa.go
index 30c401822ab..8c74af76219 100644
--- a/lib/grandpa/grandpa.go
+++ b/lib/grandpa/grandpa.go
@@ -199,16 +199,18 @@ func (s *Service) Stop() error {
}
// authorities returns the current grandpa authorities
-func (s *Service) authorities() []*types.Autho... | 2 | 2 | 1 | [{"id": "G0", "claim": "Rename the variable `not` in verifyJustification to something positive like `has`/`exists`/`ok`/`keyInAuthorities`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Change the authority-keys map to a set: use `map[string]st... | null |
ChainSafe__gossamer__3047 | ChainSafe/gossamer | 3,047 | defect | 7c01e8fbdb5206bde34ba64dd5f5320cb579623f | 1d5a02f0e98c32ed023bebdf25416669113ed8e3 | fix(lib/runtime): use `westend-dev` spec file in `TestNodeRuntime_ValidateTransaction` | ## Changes
- Replace `GetGssmrV3SubstrateGenesisRawPathTest` for `GetWestendDevRawGenesisPath`
- [move parachain inherents and avoid cyclic dependencies](https://github.com/ChainSafe/gossamer/pull/3047/commits/1716a66c3c8b69769570118daba60b91c3a7e0ad)
## Tests
<!-- Detail how to run relevant tests to the chan... | diff --git a/dot/rpc/modules/author_integration_test.go b/dot/rpc/modules/author_integration_test.go
index 1f8798ea11..1ff287eaf8 100644
--- a/dot/rpc/modules/author_integration_test.go
+++ b/dot/rpc/modules/author_integration_test.go
@@ -744,7 +744,7 @@ func setupStateAndPopulateTrieState(t *testing.T, basepath string... | 3 | 2 | 0 | [{"id": "G0", "claim": "The header assertions in the runtime test helper are nonsense because res.Digest and expected.Digest are both set from the same digest before being compared, so they should be removed.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "clai... | null |
ChainSafe__gossamer__3059 | ChainSafe/gossamer | 3,059 | defect | 043f5eb77f0468f61e5721b8833b032df9f84562 | a86dcb3066bda5bfe6e47b139582ac165062d0ee | fix(blockstate): if blocktree fails to search a hash in memory, load it from disk | If blocktree fails to get highest finalised hash (which is stored in memory), load it from disk.
## Changes
<!-- Brief list of functional changes -->
## Tests
- Run gossamer on westend network and see that block importing never stops, (westend's genesis spec `polkadot/node/service/chain-specs/westend.json`)
... | diff --git a/dot/state/block.go b/dot/state/block.go
index 311b7c7e81..f7dedaedef 100644
--- a/dot/state/block.go
+++ b/dot/state/block.go
@@ -250,6 +250,28 @@ func (bs *BlockState) GetHashByNumber(num uint) (common.Hash, error) {
return common.NewHash(bh), nil
}
+func (bs *BlockState) GetAllDescendants(hash commo... | 8 | 5 | 2 | [{"id": "G0", "claim": "The variable `ifDescendant` should be renamed to `IsDescendant`.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "GetAllBlocksAtNumber should look the node up once (node := bt.getNode(parent)) and reuse it for the nil check a... | null |
ChainSafe__gossamer__3063 | ChainSafe/gossamer | 3,063 | defect | 4ea0a703339ca06e617b06eeb7d56308e7b48093 | d157ca59e3023b5929bc6e5644de89f332bf8f82 | chore(state): remove Full online pruner | ## Changes
Remove the (buggy, incomplete, unused) full online pruner, in order to unblock #3005
## Tests
## Issues
Related to #1973 and #2835
## Primary Reviewer
| diff --git a/cmd/gossamer/config.go b/cmd/gossamer/config.go
index 0042542484f..4eecb1ed436 100644
--- a/cmd/gossamer/config.go
+++ b/cmd/gossamer/config.go
@@ -158,7 +158,7 @@ func createInitConfig(ctx *cli.Context) (*dot.Config, error) {
}
if !cfg.Global.Pruning.IsValid() {
- return nil, fmt.Errorf("--%s must ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The PruningFlag usage string should read `State trie online pruning (\"archive\")` — the pull request added it with a doubled quote, `(\"\"archive\")`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The current online prune... | null |
ChainSafe__gossamer__3067 | ChainSafe/gossamer | 3,067 | defect | 4bcaf0662aca4bb3ea510eeff834d546320c2292 | 992276bab21cce7143567c3391b16fe5a04d9b3d | chore(cmd/gossamer): Request chain spec as an argument in `import-runtime` command | ## Changes
- `import-runtime` argument was tightly coupled with the `gssmr` genesis spec file so in order to remove this dependency I've introduced the genesis spec file as an argument to the `import-runtime` command
## Tests
<!-- Detail how to run relevant tests to the changes -->
```sh
go test -tags inte... | diff --git a/cmd/gossamer/README.md b/cmd/gossamer/README.md
index 8b22332b3b..b93f1a4902 100644
--- a/cmd/gossamer/README.md
+++ b/cmd/gossamer/README.md
@@ -49,10 +49,10 @@ This subcommand provides capabilities that are similar to
### Import Runtime Subcommand
-This subcommand takes a [Wasm runtime binary](https... | 1 | 1 | 1 | [{"id": "G0", "claim": "importRuntimeAction must check that the length of arguments is at least 2 before reading arguments[1] as the genesis chain spec, otherwise it panics with an index out of range when only a wasm file is given.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introdu... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.