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
storybookjs__storybook__34346
storybookjs/storybook
34,346
defect
f546e3833970f2bed4e2b050cdcbf8a1cd1bb222
b8167af8e09ccebb6c61d2584333211b3ae51b7e
Sidebar: Add dual-slot status icons for change detection and test results
Closes https://github.com/storybookjs/storybook/issues/34266 <!-- If your PR is related to an issue, provide the number(s) above; if it resolves multiple issues, be sure to break them up (e.g. "closes #1000, closes #1001"). --> <!-- Thank you for contributing to Storybook! Please submit all PRs to the `next` b...
diff --git a/code/core/src/manager/components/sidebar/Tree.stories.tsx b/code/core/src/manager/components/sidebar/Tree.stories.tsx index 96f15677703a..1c683382dd38 100644 --- a/code/core/src/manager/components/sidebar/Tree.stories.tsx +++ b/code/core/src/manager/components/sidebar/Tree.stories.tsx @@ -4,6 +4,7 @@ impor...
7
7
2
[{"id": "G0", "claim": "Branch/group rows still use the old flattened priority path, so {'storybook/change-detection': new, 'storybook/vitest': error} still resolves to error on component/group/story-branch rows; the split aggregation should be carried into the branch/group calculation too.", "category": "correctness",...
null
storybookjs__storybook__34353
storybookjs/storybook
34,353
defect
810093c3d87f1a68d0f0eaf2a6720a46c0b598e1
07edf14ed290da45c1c9b572c02573a529c709d2
React-Docgen: Add tsconfig fallback chain and warning for monorepos
## What this PR does Fixes #24585 In monorepo setups (e.g., Nx, Turborepo), the root directory often has `tsconfig.base.json` instead of `tsconfig.json`. Storybook's tsconfig resolution silently failed, causing react-docgen-typescript to produce no controls with zero warnings. ## Changes - **`utils.ts...
diff --git a/code/frameworks/react-vite/src/plugins/react-docgen.ts b/code/frameworks/react-vite/src/plugins/react-docgen.ts index 5878684e90d4..d7d7502bdff0 100644 --- a/code/frameworks/react-vite/src/plugins/react-docgen.ts +++ b/code/frameworks/react-vite/src/plugins/react-docgen.ts @@ -44,7 +44,11 @@ export async f...
3
1
0
[{"id": "G0", "claim": "The tsconfig fallback warning is unnecessary and can be safely dropped.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Inline find.up mockImplementation setup inside the test cases should be moved into beforeEach, with per-test da...
null
storybookjs__storybook__34409
storybookjs/storybook
34,409
defect
5eeadf7f6994a812aa15e0813139dc1d8cdd50c9
926d0a5d4d4edc4bb2e819c3792eee8374cf1e78
Vue3: Clear stale args/globals when nextArgs is empty in updateArgs
Closes #34319 <!-- If your PR is related to an issue, provide the number(s) above; if it resolves multiple issues, be sure to break them up (e.g. "closes #1000, closes #1001"). --> <!-- Thank you for contributing to Storybook! Please submit all PRs to the `next` branch unless they are specific to the current ...
diff --git a/code/e2e-tests/framework-vue3.spec.ts b/code/e2e-tests/framework-vue3.spec.ts index a06d6a02f2c4..f406d580595f 100644 --- a/code/e2e-tests/framework-vue3.spec.ts +++ b/code/e2e-tests/framework-vue3.spec.ts @@ -46,4 +46,18 @@ test.describe('Vue 3', () => { await sbPage.selectToolbar('[aria-label^="Inte...
2
2
1
[{"id": "G0", "claim": "The PR should add an end-to-end test that navigates from a story with a forced global (e.g. background) to a story without any globals and verifies the forced global is no longer applied.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
storybookjs__storybook__34420
storybookjs/storybook
34,420
defect
111011018cb2eafdc196046119c0b6a038441e11
c42b35e9c552762b12caa887df79f57dfc315221
Core: Implement Git change detection
## What I did Added Git change detection for the ChangeDetectionService so that whenever a new commit is created or the branch is switched, the module graph will be reevaluated. In practice, this means that as soon as file changes are committed, components will no longer be marked "modified". ## Checklist for Con...
diff --git a/code/core/src/core-server/change-detection/ChangeDetectionService.test.ts b/code/core/src/core-server/change-detection/ChangeDetectionService.test.ts index 4b92ed5716c8..ef753d268e1f 100644 --- a/code/core/src/core-server/change-detection/ChangeDetectionService.test.ts +++ b/code/core/src/core-server/chang...
5
5
5
[{"id": "G0", "claim": "If the current branch ref file doesn't exist (e.g. refs are packed), watchFile() returns undefined and no branch watcher is installed, so commits on the current branch can be missed entirely; add a fallback watcher (e.g. watch refs/heads and retry installing) so commits are still detected when t...
null
storybookjs__storybook__34427
storybookjs/storybook
34,427
defect
15180fa049e683c4a58d69615dde12e33456512c
8ffd6a6b48462465a52d28e726a4e2ce385d6c97
CLI: Improve yarn 1 vs Berry detection and log package manager during init
- [x] Fix yarn 1 version detection regex (`/^1\./`) - [x] Add Berry detection via `packageManager` field in `package.json` - [x] Add Berry detection via `.yarnrc.yml` presence - [x] Log package manager during `sb init` - [x] Add unit tests for new detection logic - [x] Apply comment suggestion from @Sidnioulz (improved...
diff --git a/code/core/src/common/js-package-manager/JsPackageManagerFactory.test.ts b/code/core/src/common/js-package-manager/JsPackageManagerFactory.test.ts index 50070bfbfc0e..d409896ad4cb 100644 --- a/code/core/src/common/js-package-manager/JsPackageManagerFactory.test.ts +++ b/code/core/src/common/js-package-manag...
4
3
1
[{"id": "G0", "claim": "Expand the comment on the Yarn-1-but-.yarnrc.yml branch to explain that this happens when the user's global Yarn is used because they forgot to enable corepack.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Pass the resolv...
null
storybookjs__storybook__34428
storybookjs/storybook
34,428
defect
199f65679628d2575f0cba43354e3db4284901a5
d7a905aa5425bae40a392c70366e6b88dfd34590
React: Add subcomponents to component manifests
Closes # <!-- If your PR is related to an issue, provide the number(s) above; if it resolves multiple issues, be sure to break them up (e.g. "closes #1000, closes #1001"). --> <!-- Thank you for contributing to Storybook! Please submit all PRs to the `next` branch unless they are specific to the current release. Sto...
diff --git a/code/core/src/core-server/utils/manifests/manifests.test.ts b/code/core/src/core-server/utils/manifests/manifests.test.ts index 6422dd8e938d..f0ab92ebe666 100644 --- a/code/core/src/core-server/utils/manifests/manifests.test.ts +++ b/code/core/src/core-server/utils/manifests/manifests.test.ts @@ -112,6 +11...
2
1
0
[{"id": "G0", "claim": "The ComponentSubcomponentManifest type should be kept in sync with the ComponentManifest type, e.g. by deriving it with Pick<>.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The description (jsdoc comment) attached to a ...
null
storybookjs__storybook__34440
storybookjs/storybook
34,440
defect
4b37fffa635c89dec7740f007a4e18c52651ccb6
7b510148f0cd8d5bc52119a2cc3036d2921cf244
CLI: Streamline Node.js version detection code
## What I did Improved old node runtime warnings and ensured the min version declaration is well centralised. ## Checklist for Contributors ### Testing #### The changes in this PR are covered in the following automated tests: - [ ] stories - [x] unit tests - [ ] integration tests - [ ] end-to-end test...
diff --git a/code/core/src/bin/dispatcher.ts b/code/core/src/bin/dispatcher.ts index ef544b871c75..9cc5900489f0 100644 --- a/code/core/src/bin/dispatcher.ts +++ b/code/core/src/bin/dispatcher.ts @@ -7,6 +7,7 @@ import { logger } from 'storybook/internal/node-logger'; import { join } from 'pathe'; import { dedent } fr...
17
10
6
[{"id": "G0", "claim": "detectDeclaredNodeVersions() searches for .nvmrc all the way up the directory tree, so sb init run from a subdirectory can pick up and later modify an unrelated .nvmrc (e.g. in the user's home directory); bound the search to the project root.", "category": "correctness", "verdict": "supported", ...
null
storybookjs__storybook__34445
storybookjs/storybook
34,445
defect
a00ff8a55ee753a0f033bf19b557bc9d5b85d80c
b14cbbdce930a1204e290792ae650cacfc2228ec
Core: Normalize file paths in ChangeDetectionService and trace-changed for Windows support
## What I did Normalize paths in change detection and module tracing logic to support Windows. ## Checklist for Contributors ### Testing <!-- Please check (put an "x" inside the "[ ]") the applicable items below to communicate how to test your changes --> #### The changes in this PR are covered in the following au...
diff --git a/code/core/src/core-server/change-detection/ChangeDetectionService.ts b/code/core/src/core-server/change-detection/ChangeDetectionService.ts index 84ae722cc570..1fb4b8a5ec2d 100644 --- a/code/core/src/core-server/change-detection/ChangeDetectionService.ts +++ b/code/core/src/core-server/change-detection/Cha...
3
3
1
[{"id": "G0", "claim": "Consider adding a brief inline comment explaining when the O(n) fallback lookup is expected to trigger (e.g., Windows paths in moduleGraph keys).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code should use `pathe` in...
null
storybookjs__storybook__34447
storybookjs/storybook
34,447
defect
72c5059a0e73df857dade438d906d32a0c0486da
80cf4cc760c530f25ec2d56a4a042a2b69746bbb
CLI: Add llm friendly docs to the ai prepare command
Closes # <!-- If your PR is related to an issue, provide the number(s) above; if it resolves multiple issues, be sure to break them up (e.g. "closes #1000, closes #1001"). --> <!-- Thank you for contributing to Storybook! Please submit all PRs to the `next` branch unless they are specific to the current releas...
diff --git a/.vscode/settings.json b/.vscode/settings.json index 0b27179c12cc..425e6578482c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,6 +3,10 @@ "editor.defaultFormatter": "oxc.oxc-vscode", "editor.formatOnSave": true }, + "[typescript]": { + "editor.defaultFormatter": "oxc.o...
4
1
0
[{"id": "G0", "claim": "The React+Vite gate in aiPrepare uses `&&`, so it only bails when both the renderer and the builder are wrong; for a strict 'React renderer with Vite builder only' gate the condition must use `||`.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"i...
null
storybookjs__storybook__34500
storybookjs/storybook
34,500
defect
ad5c2a9b66a1d09e3c09f52a0da16e34508bc0bb
f7f35f556fa6989150b337a48acf90760cc07f32
ReactNative: Migrate ondevice addons from `addons`
Closes https://github.com/storybookjs/react-native/issues/873 ## What I did On-device addons listed in `addons` cause `extract` (story indexing / manifest generation) to fail in `@storybook/react-native` projects because Storybook Core attempts to evaluate them as presets in a Node.js context. The on-device addon...
diff --git a/code/core/src/types/modules/core-common.ts b/code/core/src/types/modules/core-common.ts index 6c9cb73972fb..8e559be5a40c 100644 --- a/code/core/src/types/modules/core-common.ts +++ b/code/core/src/types/modules/core-common.ts @@ -419,6 +419,18 @@ export interface StorybookConfigRaw { * ``` */ ad...
23
3
3
[{"id": "G0", "claim": "The new deviceAddons property is only valid for React Native projects, so it should not be added to the core StorybookConfigRaw type; the reviewer is okay with a ts-expect-error in the automigration instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
storybookjs__storybook__34504
storybookjs/storybook
34,504
defect
eaff7fe79cac2ff85c1fd9abd41559667881ae9f
2295b1f7608e28bcfc8f5b5b156954040e665ebd
Core: Show "new" status on newly added individual stories
## What I did Enhanced the change detection mechanism with story index change detection, to mark newly added stories with `status-value:new`. To determine whether new stories were added, an initial snapshot of the story index is taken at startup, and used as a baseline for future comparisons. If the Git repository i...
diff --git a/code/core/src/core-server/change-detection/ChangeDetectionService.test.ts b/code/core/src/core-server/change-detection/ChangeDetectionService.test.ts index 1353b3b8a92e..fa7e58660c7c 100644 --- a/code/core/src/core-server/change-detection/ChangeDetectionService.test.ts +++ b/code/core/src/core-server/chang...
9
5
4
[{"id": "G0", "claim": "The test mock declares getHeadShaMock and override getHeadSha() while GitDiffProvider defines getHeadCommit(), so the mock does not properly implement the GitDiffProvider interface and the names should be corrected for consistency.", "category": "correctness", "verdict": "supported", "priority":...
null
storybookjs__storybook__34509
storybookjs/storybook
34,509
defect
aae6c9522b45169b395609dd95c2fa6d7b17c2ea
e4c5b151a51136fd8d33212557019b55077c5c62
Fix: Add vite-plus vendored libraries version detection
Closes #34234 <!-- If your PR is related to an issue, provide the number(s) above; if it resolves multiple issues, be sure to break them up (e.g. "closes #1000, closes #1001"). --> <!-- Thank you for contributing to Storybook! Please submit all PRs to the `next` branch unless they are specific to the current r...
diff --git a/code/core/src/common/js-package-manager/JsPackageManager.ts b/code/core/src/common/js-package-manager/JsPackageManager.ts index 48bf28df02b2..31b434654b42 100644 --- a/code/core/src/common/js-package-manager/JsPackageManager.ts +++ b/code/core/src/common/js-package-manager/JsPackageManager.ts @@ -19,6 +19,...
3
2
2
[{"id": "G0", "claim": "Adding vite-plus to the root code/package.json dependencies forces every Storybook installation to include it even for users who don't use vite-plus; it should be removed from dependencies and marked as an optional peer dependency via peerDependenciesMeta instead.", "category": "design", "verdic...
null
storybookjs__storybook__34526
storybookjs/storybook
34,526
defect
ae591fcc7b6f7062e6625308dc5974104c62bbac
91c0d056351cb90ce26689a34adef54de5ac641e
CLI: Stop running dev automatically on init
## What I did * Made `--no-dev` the new default: no more dev server * Changed the success message for init in agent mode, to suggest running `sb ai prepare` as a followup * **Stopped automatically calling `sb ai prepare` in agent mode** (please challenge this!) * Iterated a little over the looks of the AI install...
diff --git a/code/lib/cli-storybook/src/bin/run.ts b/code/lib/cli-storybook/src/bin/run.ts index 8b7e9854eb74..28ad72ca7ad8 100644 --- a/code/lib/cli-storybook/src/bin/run.ts +++ b/code/lib/cli-storybook/src/bin/run.ts @@ -3,7 +3,6 @@ import { HandledError, JsPackageManagerFactory, PackageManagerName, - isCI,...
8
7
3
[{"id": "G0", "claim": "Pass storybookCommand into executeFinalization so the final summary still prints the 'To run Storybook…' next-step command even when --dev was not used.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In agent mode printSucces...
null
storybookjs__storybook__34533
storybookjs/storybook
34,533
defect
316df07c40ca4542fb6e9427775be80531501d83
3da50fc82fba712faddf85d56bf6ac39e18a1c14
Telemetry: Add sidebar filter telemetry for change detection
Closes # ## What I did Added a `sidebar-filter` telemetry event to track usage of built-in tag filters (`_docs`, `_play`, `_test`) and change detection status filters (`new`, `modified`, `affected`) in the sidebar. The event fires in two scenarios: - **Interaction**: when a user toggles a filter in the sidebar UI (a...
diff --git a/code/core/src/core-events/index.ts b/code/core/src/core-events/index.ts index 7f281f7d9b97..cd0f562308d9 100644 --- a/code/core/src/core-events/index.ts +++ b/code/core/src/core-events/index.ts @@ -100,6 +100,7 @@ enum events { SHARE_STORY_LINK = 'shareStoryLink', SHARE_ISOLATE_MODE = 'shareIsolateMo...
4
2
0
[{"id": "G0", "claim": "The Vitest module mock in telemetry-channel.test.ts should use the `spy: true` option, define mock behaviors in a `beforeEach` block, and access the mocks via `vi.mocked()`, per the repository's mocking guidelines.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "intr...
null
storybookjs__storybook__34552
storybookjs/storybook
34,552
defect
48a55f9b7f60bbb2c6e5a5b713fc2452b6263e50
a34e9165610ead76b80fd113da40c7245587a8bf
CLI: Review onboarding trigger logic on first dev run
## What I did Replaced the old `init` -> `dev --initial-path=/onboarding` workflow with one where `init` registers when onboarding must happen in the local project cache, and any subsequent `dev` call consumes this registered flag if no `--initial-path` is set, allowing the user to be onboarded. ## Checklist for ...
diff --git a/code/core/src/core-server/build-dev.onboarding.test.ts b/code/core/src/core-server/build-dev.onboarding.test.ts new file mode 100644 index 000000000000..c2c6f5003514 --- /dev/null +++ b/code/core/src/core-server/build-dev.onboarding.test.ts @@ -0,0 +1,48 @@ +import { beforeEach, describe, expect, it, vi } ...
4
2
2
[{"id": "G0", "claim": "Cache.get/remove errors in resolveOnboardingInitialPath currently propagate and can fail dev startup; onboarding redirect should be best-effort with errors caught and logged.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A f...
null
storybookjs__storybook__34555
storybookjs/storybook
34,555
defect
5b6aa67436492f1ce357e5f7e586ff17acb65977
78a8c24a1a00a5fe2ddd2c9f4d76c0eeed0bcd75
UI: Conditionally display AI copy prompt
Closes # <!-- If your PR is related to an issue, provide the number(s) above; if it resolves multiple issues, be sure to break them up (e.g. "closes #1000, closes #1001"). --> <!-- Thank you for contributing to Storybook! Please submit all PRs to the `next` branch unless they are specific to the current releas...
diff --git a/code/core/src/core-server/utils/checklist.ts b/code/core/src/core-server/utils/checklist.ts index 53f939ad5b52..2d16cf96d2a9 100644 --- a/code/core/src/core-server/utils/checklist.ts +++ b/code/core/src/core-server/utils/checklist.ts @@ -27,53 +27,48 @@ export async function initializeChecklist() { ...
3
3
2
[{"id": "G0", "claim": "Putting getEventCacheEntry('ai-setup') inside the main Promise.all means a cache-read failure rejects initializeChecklist() before the store is marked loaded, leaving the checklist unavailable for the whole session; the lookup should not block initialization.", "category": "correctness", "verdic...
null
storybookjs__storybook__34595
storybookjs/storybook
34,595
defect
8ed433230702e49101e26e08ee5a2713136044f5
720d018e1afa1b66c3563704e09fe6088b10f4a1
Eval: Record hasCssCheckStory when the diff adds CssCheck
Closes #34594 <!-- If your PR is related to an issue, provide the number(s) above; if it resolves multiple issues, be sure to break them up (e.g. "closes #1000, closes #1001"). --> <!-- Thank you for contributing to Storybook! Please submit all PRs to the `next` branch unless they are specific to the current release...
diff --git a/scripts/eval/lib/grade.ts b/scripts/eval/lib/grade.ts index c6b1bb1c9888..9a537769cfa4 100644 --- a/scripts/eval/lib/grade.ts +++ b/scripts/eval/lib/grade.ts @@ -52,6 +52,8 @@ export interface Grade { ghostStories?: GhostStoryGrade; baselinePreviewStories?: StoryRenderGrade; storyRender?: StoryRen...
5
3
3
[{"id": "G0", "claim": "hasComputedStyleAssertion can be marked true without any new story assertion because rawDiff.includes('getComputedStyle') scans the full patch text, matching non-story sources and non-added lines, and since prompt.md (which contains the token) is written before grading, pattern-copy-play trials ...
null
strace__strace__149
strace/strace
149
defect
c88ad3c2189af4d8dfa545a1fd78265a19447fc6
79b39a11b300a6f00a35cbd73aa93d1d77b2d6c7
Add -n/--syscall-number option
Similar to -i/--instruction-pointer. The included test only works (hopefully) on i386/m32. Fixes: #146
diff --git a/Makefile.am b/Makefile.am index f5447811be..0107b09e50 100644 --- a/Makefile.am +++ b/Makefile.am @@ -243,6 +243,7 @@ libstrace_a_SOURCES = \ print_ifindex.c \ print_instruction_pointer.c \ print_kernel_version.c \ + print_syscall_number.c \ print_mac.c \ print_mq_attr.c \ print_msgbuf.c \ diff...
10
7
3
[{"id": "G0", "claim": "The test should print the real syscall number being used (__NR_socketcall) instead of SYS_socket_subcall + SC_listen, which is a strace-internal number and not a real syscall number.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
strace__strace__205
strace/strace
205
defect
5c66559f9d84485839c6529065a96c3d16edf6d9
848941ce9f59c5e9a2bc7602101090b3de29aa89
Add 64-bit LoongArch support
This is based on the WIP Linux port still under review, but the port is re-using asm-generic syscall numbers and parameters, so breakage should be minimal when the port is eventually merged, if at all. Currently only the LP64* ABIs are implemented in the toolchains, so only support the host type "loongarch64". ...
diff --git a/NEWS b/NEWS index a57c530a5c..9d5fd13432 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ Noteworthy changes in release ?.?? (????-??-??) =============================================== * Improvements + * Added 64-bit LoongArch architecture support. * Updated lists of ioctl commands from Linux 5.16. ...
1
1
1
[{"id": "G0", "claim": "Please add AUDIT_ARCH_LOONGARCH64 to src/xlat/audit_arch.in too, so the new LoongArch64 personality constant is defined there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
strace__strace__208
strace/strace
208
defect
2f887e946ee37ae5b2719d1f88f86812bd085dac
f21da02f0436f590173ead92267cdac4733bf0ce
Add lirc ioctl decoding
it would be useful to decode read/write on the chardev too, but this would require tracking what lirc mode the file is in (from the ioctls), and having a hook on read/write. Not sure that is something strace can do.
diff --git a/src/Makefile.am b/src/Makefile.am index dc9fd93e7e..c000593543 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -184,6 +184,7 @@ libstrace_a_SOURCES = \ link.c \ linux/x32/asm_stat.h \ linux/x86_64/asm_stat.h \ + lirc.c \ list.h \ listen.c \ lookup_dcookie.c \ diff --git a/src/defs.h b/...
11
11
2
[{"id": "G0", "claim": "<linux/lirc.h> only exists since kernel v4.45-rc1 while strace still supports building against older kernel headers, so lirc.h should be bundled under bundled/linux/include/uapi/linux/.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
strace__strace__255
strace/strace
255
defect
e343652c3ee32ced566dc9b1e94239a9724c3c54
189da3d4c4e4f7a548c72339b8f59fa0eefbfe20
Identify netlink by proto when msghdr.msg_name is not set
Some clients, e.g. ovs-dpctl, use sendmsg with a connected socket so the address family cannot be identified by msg_name. Look up the fd proto when msg_name is NULL.
diff --git a/src/msghdr.c b/src/msghdr.c index cbcb8b9a46..732d068246 100644 --- a/src/msghdr.c +++ b/src/msghdr.c @@ -397,10 +397,13 @@ print_struct_msghdr(struct tcb *tcp, const struct msghdr *msg, tprints_field_name("msg_name"); const int family = decode_sockaddr(tcp, ptr_to_kulong(msg->msg_name), msg_namelen...
1
1
1
[{"id": "G0", "claim": "A test should be added in the tests/ directory covering this change (netlink identified by proto when msghdr.msg_name is not set).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
strace__strace__277
strace/strace
277
defect
a1bb27b6b9087cce403fcf7faa1d7b4c21a22af3
12ec4625f318dc071f5276b5a089e0c34673042b
strace -f: fix potential deadlock during cleanup
strace is likely to block at terminate if tracee is forking. on linux, calling vfork will cause the calling thread to 'D' state until the child process calls execve. But the child process is attached by default and will block when the fork system call returns. therefore strace must detach child process first, otherwise...
diff --git a/src/strace.c b/src/strace.c index 9aa0eda117..c5d65b69cd 100644 --- a/src/strace.c +++ b/src/strace.c @@ -191,7 +191,7 @@ char *argv0; /* override argv[0] on execve */ unsigned os_release; /* generated from uname()'s u.release */ -static void detach(struct tcb *tcp); +static void detach(struct tcb *tc...
2
2
2
[{"id": "G0", "claim": "In the new cleanup wait loop, invoking PTRACE_DETACH on a reaped pid that is not our tracee doesn't look correct.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Invoking detach() twice on the same tracee (once with nowait, on...
null
strace__strace__288
strace/strace
288
defect
263e78472862ef4c46cfe1bd511058d740ae3968
3af223da3fd9b8ce7ab8b082b8fe7eca5e97c519
v4l2: add VIDIOC_QBUF_TIME32 and friends
On 32-bit kernels there are older variants of VIDIOC_QBUF, VIDIOC_DQBUF, and VIDIOC_QUERYBUF ioctls, which have _TIME32 suffix. These are for old timeval_t with 32-bit timestamps. Some 32-bit applications still use these. Implement printing these variants alongside regular 64-bit time ones.
diff --git a/src/kernel_v4l2_types.h b/src/kernel_v4l2_types.h index d92587bae3..7557816b4c 100644 --- a/src/kernel_v4l2_types.h +++ b/src/kernel_v4l2_types.h @@ -46,6 +46,37 @@ typedef struct { }; } kernel_v4l2_buffer_t; +/* TIME32 variants only make sense under 32-bit kernels */ +#if SIZEOF_KERNEL_LONG_T == 4 +#...
3
3
1
[{"id": "G0", "claim": "The comments added by this pull request use `//`, a comment style this codebase does not use; block comments should be used instead.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "unclear"}, {"id": "G1", "claim": "The tests should be updated to check decodin...
null
strace__strace__297
strace/strace
297
defect
f65d243ba6d0b3885540eca000c00d527c3b028f
b5c4eeac2148d5881d0dcf1f9cb1fd68da9804ae
Add option --always-show-pid
By default, PID prefixes are only printed for children forked from the process started by strace. With this option, prefixes are printed for the process started by strace as well. Close #278
diff --git a/doc/strace.1.in b/doc/strace.1.in index a4ead79fcc..c5fa259fe5 100644 --- a/doc/strace.1.in +++ b/doc/strace.1.in @@ -1300,6 +1300,10 @@ Print command names for PIDs. .if '@ENABLE_SECONTEXT_FALSE@'#' .BR !full,mismatch .if '@ENABLE_SECONTEXT_FALSE@'#' which prints only the type instead of full context ....
8
8
3
[{"id": "G0", "claim": "The documentation accompanying --always-show-pid uses a wording that implies PID prefixes are not printed when -o is used, although they are printed when -f and -o are both specified.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
strace__strace__332
strace/strace
332
defect
8e8dc3bde822c3bb3cf5105ee11fe1eba73d7956
3fac931dab3f95a3a08125a216168037d8d3b936
[reopen] auxstr: print the namespaces where the traceee switches to
I deleted the original branch by mistake (#300). So I open a new pull here. See #300 the review history so far.
diff --git a/NEWS b/NEWS index 62c11e7df2..71e529df82 100644 --- a/NEWS +++ b/NEWS @@ -74,6 +74,8 @@ Noteworthy changes in release 6.10 (2024-07-21) * Updated lists of BPF_*, IORING_*, KEXEC_*, KEY_*, LANDLOCK_*, PR_*, STATX_*, TCP_*, TEE_*, V4L2_*, and *_MAGIC constants. * Updated lists of ioctl commands fr...
33
33
10
[{"id": "G0", "claim": "In SYS_FUNC(clone), `tcp->u_rval >= 0` is not the right way to check whether the syscall returned an error; it should rather use `!syserror(tcp)` (e.g. `flags & nsflags && !syserror(tcp)`).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
strace__strace__340
strace/strace
340
defect
513488c55209e859fe657b1156f0d87f8e846fd3
291657c2a3eedc76cb343aa7a95b78c76107fba0
v4l2: decode `VIDIOC_EXPBUF`
``` Decode the `VIDIOC_EXPBUF` v4l2 ioctl as follows: ioctl(17</dev/video10>, VIDIOC_EXPBUF, {type=V4L2_BUF_TYPE_VIDEO_CAPTURE, index=2, plane=0, flags=O_RDWR|O_CLOEXEC} => {fd=25</dmabuf:>}) = 0 <0.000091> Every current field is supported, the `fd` field is decoded on return. *...
diff --git a/src/v4l2.c b/src/v4l2.c index bcbdda48a4..cae6fb5ac6 100644 --- a/src/v4l2.c +++ b/src/v4l2.c @@ -488,6 +488,39 @@ print_v4l2_requestbuffers(struct tcb *const tcp, const kernel_ulong_t arg) return RVAL_IOCTL_DECODED; } +static int +print_v4l2_exportbuffer(struct tcb *const tcp, const kernel_ulong_t ar...
2
2
2
[{"id": "G0", "claim": "Hardcoding the O_* flag values in the expected printf output is not portable, since values for some of these constants (e.g. O_LARGEFILE) differ between architectures.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test f...
null
strace__strace__341
strace/strace
341
defect
f7ed424a7f8f9c23b3b637b1b85ee1dfd0eec978
0a42a696abdf0ef99ff00e1c550a7eb670896628
Add an option for printing syscall parameter names
This is a partial implementation of #155. Using `-N` (mnemonic for "names") or `--arg-names` makes **strace** print the syscall parameter names. These names are taken from the corresponding libc function wrapper man pages. For example, `execve(2)` is declared as: ```c int execve(const char *pathname, char *const _N...
diff --git a/NEWS b/NEWS index c9bb0340ef..7e24eaf1b8 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,11 @@ Noteworthy changes in release ?.?? (????-??-??) =============================================== * Improvements + * Added -N/--param-names option for printing syscall parameter names. + * Implemented decoding of ala...
12
10
8
[{"id": "G0", "claim": "The NEWS entry claiming 'Implemented decoding of alarm/exit/pkey_free/set_tid_address' is misleading because those syscalls were already being decoded.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tprints_arg_name_beg...
null
strace__strace__345
strace/strace
345
defect
ba20408d99c391c937453807285394117f8f3da7
6947da042229c6472b3949e69e9cd53e1a06e7b5
kvm: decode kvm_run struct
strace has `-e kvm=vcpu` already. This pull request extends the option. This pull request adds `-e kvm=vcpu+` option. The new option is for ~dumping~ decoding the kvm_run mmap'ed area. ```console [yamato@dev64]~/var/strace/tests% ../src/strace -y -e ioctl -e kvm=vcpu+ ./ioctl_kvm_run_auxstr_vcpu ... ioctl(5<anon...
diff --git a/doc/strace.1.in b/doc/strace.1.in index fa2444875a..10e5fedf9e 100644 --- a/doc/strace.1.in +++ b/doc/strace.1.in @@ -1024,10 +1024,11 @@ Prints thread, process, process group, and session IDs in strace's PID namespace if the tracee is in a different PID namespace. .RE .TP -.BR "\-e\ kvm" = vcpu +.BR "\...
17
16
3
[{"id": "G0", "claim": "The VCPU kvm_run state is printed in an unusual multi-line way, and the PR should come up with a nicer way of printing this information.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "With the new parsing, a wrong -e kvm= qualifie...
null
strace__strace__357
strace/strace
357
defect
c4d53ce90fde12b6127631e3ed4fa704f82e1bdb
028b882d0a3ed6e8e4500f517e6256db2a2a48b3
kvm: decode before and after states
@ldv-alt I'm very sorry to make a pull request just after you merged #345. However, I found a limitation in #345 that we cannot ignore. I have tried the merged version of strace with the tracee available at https://github.com/masatake/kernel-essential-training/blob/master/kvm/add-iomem-kvm.c. add-iomem-kvm.c dem...
diff --git a/src/defs.h b/src/defs.h index afa39a5cda..2f6d4db9f0 100644 --- a/src/defs.h +++ b/src/defs.h @@ -371,6 +371,7 @@ struct tcb { # define TCB_SECCOMP_FILTER 0x40000 /* This process has a seccomp filter * attached. */ +# define TCP_AFTER_KVM_RUN 0x80000 /* The process has returned from KVM_...
2
2
0
[{"id": "G0", "claim": "The exit-reason string variable in print_KVM_RUN should be named str_after for consistency with str_before.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "print_kvm_run_more's output can now be emitted as a single printf ...
null
strace__strace__364
strace/strace
364
defect
96d7f8380d38994b7c488f40d587ed0351e6d079
aae0d6e4b8d2b350c4721ec7e8e7d464ee8e2b33
kvm: decode data written to and read from I/O ports
With the "-e kvm=vcpu+" option, strace now decodes data written to and read from I/O ports. * src/kvm.c (kvm_run_structure_decode_io): Decode data written to or read from I/O ports as a byte array. (kvm_run_structure_decode_main): Add struct vcpu_info as a new parameter and pass it down to kvm_run_structure_decode_...
diff --git a/src/kvm.c b/src/kvm.c index 232a3299b6..0edcc1212d 100644 --- a/src/kvm.c +++ b/src/kvm.c @@ -454,7 +454,7 @@ kvm_ioctl(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t a static void kvm_run_structure_decode_io(struct tcb *tcp, - struct kvm_run *state) + struct kvm_r...
1
1
1
[{"id": "G0", "claim": "The test should use %#x instead of 0x%x when printing the data bytes, so that 0 is printed the same way as print_xint_array_member()'s PRINT_VAL_X output and the two printers do not differ.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
strangelove-ventures__interchaintest__1028
strangelove-ventures/interchaintest
1,028
defect
074e59eced2d7ad64bb6b96587bdac23cab2e82e
bb7658f87749ef284a708a08f56ea93eef9cce29
feat(v7)!: validators can have different genesis and self-delegation amounts
Closes #1027 ## Summary Some issues only arise when there's an unequal distribution of stake among validators. This PR allows interchaintest to create chains whose validators have different stake. It does this by changing the `ModifyGenesisAmounts` function in the chain config so that it takes in an index; the r...
diff --git a/chain/cosmos/cosmos_chain.go b/chain/cosmos/cosmos_chain.go index df3f209d8..410d0e4dc 100644 --- a/chain/cosmos/cosmos_chain.go +++ b/chain/cosmos/cosmos_chain.go @@ -872,28 +872,26 @@ func (c *CosmosChain) Start(testName string, ctx context.Context, additionalGene decimalPow := int64(math.Pow10(int(*...
2
1
0
[{"id": "G0", "claim": "An e2e test should be added that uses two validators where the second (index 1) has a different genesis/self-delegation amount, then queries at start (bank balance & stake delegation) to validate the amounts took effect.", "category": "testing", "verdict": "supported", "priority": "P2", "scope":...
null
strangelove-ventures__interchaintest__1088
strangelove-ventures/interchaintest
1,088
defect
54674fcd0b910d38922956fc2c42afeafbdf2d40
90c3064378457dcbf56adff1700aeca1091d44dd
feat!: ICS v5 (IBC v8)
closes #1041 also pulls in https://github.com/strangelove-ventures/interchaintest/pull/1093 changes as it fixed some ICS v5 running <v4 stuff :D
diff --git a/LICENSE b/LICENSE index 261eeb9e9..ef1e8e097 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2024 Strangelove Ventures ...
11
5
1
[{"id": "G0", "claim": "The Apache license attribution should probably read 'Strangelove Crypto' rather than 'Strangelove Ventures', and it is worth checking with Chip.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Does the DefaultProviderUnbondi...
null
strangelove-ventures__interchaintest__1115
strangelove-ventures/interchaintest
1,115
defect
6682c8cdbc175d250a072a48bc2ef1e78621d02d
9bd13ca97077338c578d83e6f3a2932836cececc
test(ics): validate consumer transactions execute
ref: https://github.com/strangelove-ventures/interchaintest/pull/1088#discussion_r1589636518 # TODO - [x] Get IBC test to work (with ics20-1) - [x] backport hermes co-test w/ many versions from https://github.com/strangelove-ventures/interchaintest/pull/1093
diff --git a/chain/cosmos/cosmos_chain.go b/chain/cosmos/cosmos_chain.go index 4c82ae709..19f5c27bf 100644 --- a/chain/cosmos/cosmos_chain.go +++ b/chain/cosmos/cosmos_chain.go @@ -17,6 +17,8 @@ import ( "time" sdkmath "cosmossdk.io/math" + abcitypes "github.com/cometbft/cometbft/abci/types" + crypto "github.com/...
1
1
1
[{"id": "G0", "claim": "The ICS20-1 transfer channel is left stuck in TRYOPEN because the relayer is not started to finish the channel handshake; starting the relayer right after the build (possibly with a larger --block-history) should complete the handshake.", "category": "correctness", "verdict": "supported", "prior...
null
strangelove-ventures__interchaintest__113
strangelove-ventures/interchaintest
113
defect
df20bc5611d19a8a07d03363ca1cc13bb9c2a32e
a9c4eef5dac3ea2706fafa1a0cc8c8d6949a70c7
feat: Add trace package to track chains, blocks, and txs
# Description, Motivation, and Context With black box testing, reporting a failure is the main feature. Figuring out why something failed (i.e. debugging) is another problem and often difficult for block boxes. The source of truth in most chains are the blocks. This PR adds a package to enable tracing tests, chai...
diff --git a/go.mod b/go.mod index d396c7057..13436c0b6 100644 --- a/go.mod +++ b/go.mod @@ -61,6 +61,7 @@ require ( github.com/golang/snappy v0.0.3 // indirect github.com/google/btree v1.0.0 // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect + github.com/google/uuid v1.3.0 // indi...
5
3
1
[{"id": "G0", "claim": "Use one *bytes.Buffer with .Reset() in the loop instead of allocating a new buffer per transaction in TraceBlock.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The package name `trace` should be renamed (e.g. to `blockdb`) b...
null
strangelove-ventures__interchaintest__1175
strangelove-ventures/interchaintest
1,175
defect
7272afc780da6e2c99b2d2b3d084d5a3b1c6895f
0b332b30ebe2edd997ed2efc855c22159b20df3c
feat: allow consumers to have different keys than providers
This reflects how ICS chains are launched in the wild, with validators setting their consensus keys before the chain launches
diff --git a/chain/cosmos/cosmos_chain.go b/chain/cosmos/cosmos_chain.go index 8040801e6..23a0bc102 100644 --- a/chain/cosmos/cosmos_chain.go +++ b/chain/cosmos/cosmos_chain.go @@ -861,6 +861,10 @@ type ValidatorWithIntPower struct { // Bootstraps the chain and starts it from genesis func (c *CosmosChain) Start(tes...
2
2
1
[{"id": "G0", "claim": "The ConsumerCopyProviderKey lookup should directly assign its boolean result (copy = ... != nil) instead of the three-line nil-check-and-assign.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hardcoded 2-minute consum...
null
strangelove-ventures__interchaintest__1183
strangelove-ventures/interchaintest
1,183
defect
77d9ca2a6755ae051ec52f8d3ecdd5c7fac6bc85
eb7969845c65578133849366695f6df10e05eec8
fix: upgrade proposals for SDK >= 0.47
There's no more `submit-proposal software-upgrade` command, so it has to go through a full proposal.json
diff --git a/chain/cosmos/module_gov.go b/chain/cosmos/module_gov.go index ed894e1dd..0f5bc6e42 100644 --- a/chain/cosmos/module_gov.go +++ b/chain/cosmos/module_gov.go @@ -9,9 +9,11 @@ import ( "path/filepath" "strconv" + upgradetypes "cosmossdk.io/x/upgrade/types" govv1 "github.com/cosmos/cosmos-sdk/x/gov/typ...
1
1
1
[{"id": "G0", "claim": "UpgradeProposal should not assume a governance-based authority, since PoA networks are coming; the reviewer suggested parameterizing the authority (e.g. an optional Authority field on SoftwareUpgradeProposal with a gov-address fallback) instead of hardcoding it.", "category": "design", "verdict"...
null
strangelove-ventures__interchaintest__1184
strangelove-ventures/interchaintest
1,184
defect
77d9ca2a6755ae051ec52f8d3ecdd5c7fac6bc85
7855a0f1c6d2b23e4fe24cd95c9fb3067a4c0a21
feat: Allow configuring default --gas limit for transactions.
It's useful to just set "--gas auto" for all transactions. Right now, --gas auto will be set as the default for gaia chians.
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index 2d2489f57..d426417e0 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -504,7 +504,7 @@ func (tn *ChainNode) FindTxs(ctx context.Context, height int64) ([]blockdb.Tx, e // with the chain node binary. func (tn *ChainNo...
2
2
1
[{"id": "G0", "claim": "An empty Gas config should default to `auto` (e.g. via a default tag) instead of requiring `gas: auto` to be set on each chain.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unconditional --gas append may break tx commands th...
null
strangelove-ventures__interchaintest__125
strangelove-ventures/interchaintest
125
defect
2e21e661594844414064eeb67f2ebf45e29e41e8
3b3797dc962719e9c696c730b9493666bcb77ac3
Add ChainSpec type for single way of configuring chains
The new ChainSpec type can easily represent a simple builtin chain, but can also handle overriding any other field. This keeps test definitions minimized, and also allows the test matrix to have just one ChainSet field rather than a separate ChainSet and CustomChainSet. I kept the BuiltinChainFactory type. The ex...
diff --git a/chain/penumbra/penumbra_chain_test.go b/chain/penumbra/penumbra_chain_test.go index 97d99a7af..0f997e24a 100644 --- a/chain/penumbra/penumbra_chain_test.go +++ b/chain/penumbra/penumbra_chain_test.go @@ -5,6 +5,7 @@ import ( "testing" "github.com/strangelove-ventures/ibctest" + "github.com/strangelov...
5
1
0
[{"id": "G0", "claim": "Suggests that the hardcoded defaults `nv := 2` and `nf := 1` in buildChain might be defined slightly further up in the file as named constants like `defaultNumValidators`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Su...
null
strangelove-ventures__interchaintest__135
strangelove-ventures/interchaintest
135
defect
03b3c94d9fa27dc13755ec11fac6808c406ddc0d
8361a1acad166f5ab71e296f799df33c3f706855
feat: First view of a terminal UI for block and tx debugging.
# Description, Motivation, and Context Supports https://github.com/strangelove-ventures/ibctest/issues/123 I had to resort to some hackery to get basic subcommand support within the test binary. ## Demo Sorry this is small. Right click and open in a new tab. ![debug-tui1](https://user-images.githubuserco...
diff --git a/Makefile b/Makefile index d19fbe80b..9baca1ba3 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ help: ## Print this help message .PHONY: ibctest ibctest: ## Build ibctest binary into ./bin - go test -ldflags "-X github.com/strangelove-ventures/ibctest.gitSha=$(shell git describe --always --dirty)" ...
6
5
0
[{"id": "G0", "claim": "In subcommand(), the empty-args length check can be simplified to `if flag.NArg() == 0 {`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In subcommand(), the args can be returned with `flag.Arg(0)` instead of indexing fl...
null
strangelove-ventures__interchaintest__146
strangelove-ventures/interchaintest
146
defect
210d3af16bb2e37d6047ae49811490c995d34bde
7b1d9464a40befdf84aa79d4ae1d8e1feacfa55a
Add tendermint events tables to blockdb
Separated into two commits; the first translates the previous `[]byte` for transactions into the new `Tx` structure and adds a field for `Events`, and then the second populates the `Events` field. The `Event` has a `Type` string and many key-value pair `Attributes`, and any transaction may have many events; so this ...
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index 2dce598c1..e1a7576a5 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -23,6 +23,7 @@ import ( "github.com/ory/dockertest/v3" "github.com/ory/dockertest/v3/docker" "github.com/strangelove-ventures/ibctest/ibc" + "...
1
1
0
[{"id": "G0", "claim": "Rename the plural `tendermint_events` and `tendermint_event_attrs` tables this PR adds to the singular `tendermint_event` and `tendermint_event_attr`, and keep table naming consistently singular across the schema rather than mixing singular and plural.", "category": "design", "verdict": "support...
null
strangelove-ventures__interchaintest__173
strangelove-ventures/interchaintest
173
defect
9ad678c0e95f915ce0232bd621026c511b07ab59
aae176cf5d0b6483c40c68f89d032328a556e430
feat: Exec arbitrary container commands for chain
# Description, Motivation, and Context 90% finishes: https://github.com/strangelove-ventures/ibctest/issues/158. The remaining 10% is exposing the HomeDir and container hostnames which are often required for commands. A job container is a short-lived container that runs a command and exits. I still think it's pos...
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index 586d2feb5..d62b14830 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -1,7 +1,6 @@ package cosmos import ( - "bytes" "context" "crypto/sha256" "encoding/json" @@ -9,7 +8,6 @@ import ( "hash/fnv" "os" "p...
8
3
0
[{"id": "G0", "claim": "The Chain interface should be broken up into separate categories of chains (BaseChain, InterchainAccountChain, InterchainSecurityChain, QueryChain, SmartContractChain, ExportableChain).", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
strangelove-ventures__interchaintest__176
strangelove-ventures/interchaintest
176
defect
9ad678c0e95f915ce0232bd621026c511b07ab59
cf2b9e6e88673f5996da7e8defa6ae0db29b15f1
Adding support for `RecoverKey` in the chain interface.
## Description This PR adds the functionality to recover a test user from a given mnemonic. ## Checklist - [X] I have made sure the upstream branch for this PR is correct - [X] I have made sure this PR is ready to merge - [x] I have made sure that I have assigned reviewers related to this project ## Chang...
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index 586d2feb5..ad25fb3be 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -321,6 +321,18 @@ func (tn *ChainNode) CreateKey(ctx context.Context, name string) error { return dockerutil.HandleNodeJobError(tn.NodeJob(ctx, co...
9
8
2
[{"id": "G0", "claim": "RecoverKey for PenumbraChain is only a stub returning a not-implemented error, and the PR author is unsure what a real implementation would require.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new GetAndFundTestUserWithMnemon...
null
strangelove-ventures__interchaintest__202
strangelove-ventures/interchaintest
202
defect
50f4be39c3e9a4c17bd784bc14ec3c5bb30a1372
bfebaecdd07896d0acbbdff4d55facbfaacec3f9
Execute arbitrary relayer commands
<!-- markdownlint-disable MD014 MD033 MD034 MD036 MD041 --> ## Description This PR adds the ability to execute arbitrary relayer commands similar to #158 Should close #174 ## Checklist - [x] I have made sure the upstream branch for this PR is correct - [x] I have made sure this PR is ready to merge -...
diff --git a/ibc/relayer.go b/ibc/relayer.go index 365a08cbb..391017111 100644 --- a/ibc/relayer.go +++ b/ibc/relayer.go @@ -82,6 +82,13 @@ type Relayer interface { // Relayer implementations provided by the ibctest module will report true, // but custom implementations may report false. UseDockerNetwork() bool +...
4
3
3
[{"id": "G0", "claim": "The new DockerRelayer.Exec may not preserve the previous behavior because it hardcodes exit code 1 whenever job.Run errors, and the author flags that guess as possibly incorrect.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ...
null
strangelove-ventures__interchaintest__22
strangelove-ventures/interchaintest
22
defect
bd01d7b24b5d0da9ae13a847694cb9c229dc1d1f
a21daca2be2f1bf9ba46d6f9d0db58f4d7e9c6a3
Extract ChainFactory interface
And provide two implementations to cover the test and custom commands. Most importantly, this will allow future tests to choose to start more than two chains, to eventually cover a single relayer process handling more than one path.
diff --git a/cmd/custom.go b/cmd/custom.go index d0d6753ee..e7840d29a 100644 --- a/cmd/custom.go +++ b/cmd/custom.go @@ -85,7 +85,7 @@ for spinning up the source and destination chains srcChainCfg.Version = srcVersion dstChainCfg.Version = dstVersion - var testCases []func(testName string, srcChain ibc.Chain, ...
1
1
0
[{"id": "G0", "claim": "The parameter `t` of `getTestChainFactory` in test/relayer_test.go is no longer needed and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
strangelove-ventures__interchaintest__224
strangelove-ventures/interchaintest
224
defect
cc00fbba0a9f8f43a5a901e94b8e5143ab046b82
ea9e5011a174c25bf7fe1df29d4b726c8210e81e
refactor: Move BroadcastTx into cosmos package
The `ibctest.BroadcastTx` and the `broadcast.Broadcaster` interface was specific to Cosmos only. The ibctest root package attempts to be chain agnostic. All chain-specific functionality should live in an exported chain package; in this case `chain/cosmos`. The PR moves `BroadcastTx` into `chain/cosmos`, depreca...
diff --git a/broadcast.go b/broadcast.go index 91902271a..acf27b832 100644 --- a/broadcast.go +++ b/broadcast.go @@ -2,39 +2,12 @@ package ibctest import ( "context" - - "github.com/cosmos/cosmos-sdk/client/tx" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/strangelove-ventures/ibctest/broadcast" + "fmt"...
1
1
1
[{"id": "G0", "claim": "The deprecated BroadcastTx stub panics at runtime instead of functioning as-is until removal, so it should be removed altogether (a compile-time error being preferable to a runtime panic).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
strangelove-ventures__interchaintest__243
strangelove-ventures/interchaintest
243
defect
4bd6b88f85720944a725433bdb66ea7e7b4440e3
ed39d109f5a05db82edeabb22982e5365b55af26
Improve Docs
This PR: - updates the home Readme - Improves documentation for running conformance tests - Adds documentation on how to construct custom tests - It allows the learner to follow along with a basic testing file
diff --git a/.gitignore b/.gitignore index 912fbe590..490c81e1b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,6 @@ ibctest.test /bin #GoLand project directory -.idea/ \ No newline at end of file +.idea/ + +.vscode/ \ No newline at end of file diff --git a/README.md b/README.md index 9351a4d86..c9a17dcf9 10064...
3
2
0
[{"id": "G0", "claim": "Remove the `.idea/` and `.vscode/` entries from the repo's .gitignore (delete the IDE directories here) and instead ignore these files via a developer's global gitignore.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Mov...
null
strangelove-ventures__interchaintest__294
strangelove-ventures/interchaintest
294
defect
ad3f81e3a72de87497257f98a234da517c902750
6ed5e16e37db4daab83d1e4753eb8fffc66d3769
move builtin chains to yaml file
<!-- markdownlint-disable MD014 MD033 MD034 MD036 MD041 --> ## Description This PR moves the builtin chains from a hardcoded struct to a yaml file. This makes it straight forward for testers to view and edit the "preconfigured" settings. Ibctest will embed ./confiugredChains.yaml. It will refer to this em...
diff --git a/chain/penumbra/penumbra_chain.go b/chain/penumbra/penumbra_chain.go index 78915f985..41525e48d 100644 --- a/chain/penumbra/penumbra_chain.go +++ b/chain/penumbra/penumbra_chain.go @@ -57,29 +57,6 @@ type PenumbraGenesisAppStateAllocation struct { Address string `json:"address"` } -func NewPenumbraChai...
5
4
3
[{"id": "G0", "claim": "Defaulting to a configuredChains.yaml found in a single parent directory of the cwd is surprising; the lookup should not default to the parent directory.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The file lookup should use th...
null
strangelove-ventures__interchaintest__295
strangelove-ventures/interchaintest
295
defect
f425e2013da80a176b17a338756168ba9898f3a1
b54ee3bb7fbd2b4454000b454e24a70667a0d997
Updates for rly v2.1.0
- Link paths in parallel to speed up tests now possible with https://github.com/cosmos/relayer/pull/987. Tests will pass once we update the go relayer `DefaultContainerVersion` to a release version that has this included. - Faucet reqs in parallel to speed up tests - Multiple paths same process - Use native denom in...
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c6e090c80..5d9262a93 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,4 +39,4 @@ jobs: # run tests - name: run all tests # show cosmos chain and relayer logs on test failure - run:...
3
2
1
[{"id": "G0", "claim": "The doc comment for the new bech parameter of KeyBech32 should state which values it accepts and that a blank string is acceptable (or use an enum if the values are a known finite list).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
strangelove-ventures__interchaintest__329
strangelove-ventures/interchaintest
329
defect
352b02800aa5c08a016c3603255cddd52b17ef0e
fc6e9c18f72e12ed1b232656a1966663cfdfd9b9
Get PenumbraChainStart test passing
The PR gets the `TestPenumbraChainStart` passing. Due to the command structure being re-organized in the `pcli` binary, some functions needed to be update. Notes: - only touches the functions necessary to spin up the chain. Other commands such as creating keys still need to be updated. - helps with backwards c...
diff --git a/chain/internal/tendermint/tendermint_node.go b/chain/internal/tendermint/tendermint_node.go index ca9a8048c..500181334 100644 --- a/chain/internal/tendermint/tendermint_node.go +++ b/chain/internal/tendermint/tendermint_node.go @@ -1,7 +1,5 @@ package tendermint -// this package applies to chains that u...
3
3
1
[{"id": "G0", "claim": "The container user should use `p.Image.UidGid` instead of the hard-coded Heighliner user string in `CreateNodeContainer`.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`Exec` should also use `p.Image.UidGid` so that non-heig...
null
strangelove-ventures__interchaintest__336
strangelove-ventures/interchaintest
336
defect
ce9a2821933588ccafdef3b5b6625aeee3854149
bc646c2c3458a92d57faa6e518801f9a7cf78a84
Make configutil public
Resolves #335
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index a434c1175..65fd003e8 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -29,9 +29,9 @@ import ( "github.com/docker/go-connections/nat" "github.com/strangelove-ventures/ibctest/v6/ibc" "github.com/strangelove-ventur...
2
2
0
[{"id": "G0", "claim": "The configutil package should not live under the poorly-named test package; prefer a location such as github.com/strangelove-ventures/ibctest/v6/configutil rather than .../test/configutil.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "c...
null
strangelove-ventures__interchaintest__364
strangelove-ventures/interchaintest
364
defect
e1093a75dc7c3dfe376a8efb367470ba6b9a3c1f
d801aed661972419fbe45dae38aee4d10066e422
Polkadot support added for GetAndFundTestUsers() / SendFunds()
Added explorer links for each node in output for monitoring execution. Overwrite session_length_in_blocks parameter to 10 in relay chain. With the current default as 100, this decreases setup time by 9 minutes.
diff --git a/chain/polkadot/parachain_node.go b/chain/polkadot/parachain_node.go index 1833b08f8..2f86ea24a 100644 --- a/chain/polkadot/parachain_node.go +++ b/chain/polkadot/parachain_node.go @@ -12,6 +12,7 @@ import ( "github.com/avast/retry-go/v4" gsrpc "github.com/centrifuge/go-substrate-rpc-client/v4" gstype...
4
4
0
[{"id": "G0", "claim": "Log the polkadot.js explorer URL via pn.log.Info / the node logger instead of fmt.Printf.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use p.log.Info (the node logger) instead of fmt.Printf for the submit-extrinsic and tran...
null
strangelove-ventures__interchaintest__384
strangelove-ventures/interchaintest
384
defect
0fcd87d2151ad3b276397c9858bb174037178b9a
ebae4ae49729b12d12662db89dea56a25824d529
Add support for genesis sub commands
I did this change as a hack for myself to unblock myself because I am using the new genesis sub command from the SDK (https://github.com/cosmos/cosmos-sdk/pull/14149). For reference: https://github.com/strangelove-ventures/ibctest/pull/359#issuecomment-1407785995
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index d3b2090d6..bfe9b2492 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -556,7 +556,14 @@ func (tn *ChainNode) AddGenesisAccount(ctx context.Context, address string, gene ctx, cancel := context.WithTimeout(ctx, time.Mi...
1
1
0
[{"id": "G0", "claim": "Since ChainSpec embeds ChainConfig, the UsingNewGenesisCommand pointer field should not be duplicated on ChainSpec itself.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
strangelove-ventures__interchaintest__385
strangelove-ventures/interchaintest
385
defect
04a93f68270c9f3a44360d319ef109ad654da738
7d21083e48dfd6a9aa665510859a74f25e034f46
Interchain Security
Introduces `interchain.AddProviderConsumerLink` to declare a provider/consumer relationship that should be established during `interchain.Build` ```golang ic := ibctest.NewInterchain(). AddChain(provider). AddChain(consumer). AddRelayer(r, "relayer"). AddProviderConsumerLink(ibctest.ProviderConsumerLink{ ...
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index 23a320863..3be7050eb 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -21,6 +21,7 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cos...
1
1
1
[{"id": "G0", "claim": "The pull request should add the PreGenesis hook block to the new consumer-start path, and clarify whether the provider path needs it too.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
strangelove-ventures__interchaintest__445
strangelove-ventures/interchaintest
445
defect
cc5bb34eeea5c54164eb361b595b754df037590a
97c8a69a6272ecc4b58658d7b8ec675561339b0e
Add image repo to upgradeVersion
This PR... Adds the option to pass an image repo when performing a chain upgrade via `versionUpgrade`. This will help specifically for local testing. For example: You are testing a chain upgrade process where you upgrade from remote repository to a local image. Currently, you can only pass in a `version` and...
diff --git a/chain/cosmos/cosmos_chain.go b/chain/cosmos/cosmos_chain.go index 03b7eceb6..3d849c8cd 100644 --- a/chain/cosmos/cosmos_chain.go +++ b/chain/cosmos/cosmos_chain.go @@ -506,13 +506,15 @@ func (c *CosmosChain) GetGasFeesInNativeDenom(gasPaid int64) int64 { return int64(fees) } -func (c *CosmosChain) Upg...
1
1
0
[{"id": "G0", "claim": "The parameter/variable name `ContainerRepo` added to UpgradeVersion should be lowercase, `containerRepo`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
strangelove-ventures__interchaintest__528
strangelove-ventures/interchaintest
528
defect
e475c32f45b68aeb6f8adf254244b67a8bd1ff14
6885bf42e289e677e7b6e710e5ded3c4e486ef5a
Remove `label` Package
The use of relayer and chain labels seems un-used throughout the interchaintest suit. It is increasing the complexity to get up and running with non-configured chains. For this reason, I think it is best to remove this package. If anyone disagrees and actively uses these labels, feel free to open up a discussion.
diff --git a/chainfactory.go b/chainfactory.go index 2f8fccacd..6a9a46adc 100644 --- a/chainfactory.go +++ b/chainfactory.go @@ -11,7 +11,6 @@ import ( "github.com/strangelove-ventures/interchaintest/v7/chain/penumbra" "github.com/strangelove-ventures/interchaintest/v7/chain/polkadot" "github.com/strangelove-vent...
1
1
0
[{"id": "G0", "claim": "Keep the closing brace of the BeginTestMessage literal on its own line rather than on the StartedAt line, for visual symmetry.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
strangelove-ventures__interchaintest__562
strangelove-ventures/interchaintest
562
defect
ebc1cbd6d88e5f5713d33bc7fbc5c481fe19cc7e
63ce762a078bdd3f4adc2d2838256928f252fa2d
Upstream #470 - Adds ParamChangeProposal
This PR... (Partially) Upstreams #470. Unlike in `v3`, the `ParamChangeProposal` function was already implemented. However, in this branch ('main'), it intakes a type rather than an actual json file. If necessary, the json file can be unmarshalled during specific test cases if a user prefers. Happy to adjust...
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index 26a76a33b..b96f4a32e 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -924,6 +924,20 @@ func (tn *ChainNode) ParamChangeProposal(ctx context.Context, keyName string, pr return tn.ExecTx(ctx, keyName, command...) } ...
1
1
1
[{"id": "G0", "claim": "ModifyGenesisProposalTime only works for gov modules on v1beta1, and misko9 asks that it maybe be broken out into two functions named for gov v1beta1 vs v1, since gov v1 uses the app_state/gov/params paths.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduc...
null
strangelove-ventures__interchaintest__565
strangelove-ventures/interchaintest
565
defect
3c63f8c536cdac6eef424440254e1213865a1e56
5fe9709575a30fd8fc8d8180ee1517cc2e804894
SDK v47 features from Juno
Upstream of features needed to use ICtest for Juno on v47 working branch I know you are working on streamlining gov proposal across versions, so unsure if any of this contradicts any of that. Happy to close if so # New Features - Generalized ModifyGenesis function - Adds a BuildProposal method for govv1 types *...
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index 04586ccae..68e78cd4a 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -406,6 +406,7 @@ func (tn *ChainNode) TxCommand(keyName string, command ...string) []string { "--from", keyName, "--gas-prices", tn.Chain.Conf...
2
2
1
[{"id": "G0", "claim": "The \"--gas\", \"auto\" flag should not be hardcoded at the TxCommand level; callers needing it should pass it via the extra-args mechanism (e.g. InstantiateContract) instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Bring t...
null
strangelove-ventures__interchaintest__58
strangelove-ventures/interchaintest
58
defect
a1c9a4d89381da8d824249c0baba4753fe204b2f
b50b5cde9fa16003ac6f70344d4091039a0e4a2f
Faucet and test consolidation
1. Changes user account funding flow from needing to be provided before chain genesis to a new faucet account that is included in genesis and used to fund user accounts in the test cases as needed 2. Refactors to spin up one pair of chains for use in all existing relayer test cases to reduce test suite overhead - `Re...
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index f6712e180..c05bb3a5d 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -13,6 +13,7 @@ import ( "runtime" "strconv" "strings" + "sync" "time" "github.com/avast/retry-go/v4" @@ -48,6 +49,7 @@ type ChainNode st...
3
3
1
[{"id": "G0", "claim": "The ChainNode mutex field should be kept private (unexported) rather than exposed for callers to lock/unlock, since locking is an internal concern and an exported mutex gets messy.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "La...
null
strangelove-ventures__interchaintest__679
strangelove-ventures/interchaintest
679
defect
2d8518c632b4682ae6146e54fb9ddbbc3425bc24
7268f9a73617d869a177f7d6d2a68b1aa30690cb
refactor: use cosmos sdk Int type for balances/token amounts
Previously we were using `int64` to represent token amounts for things like transfers and balance checks. This becomes problematic when dealing with the EVM or chains like Penumbra where we may need to handle `int128` or `int256`. Since Go does not have native support for integer values larger than 64-bits we would...
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index 0bf06ab85..6396ef42a 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -720,7 +720,7 @@ func (tn *ChainNode) SendIBCTransfer( ) (string, error) { command := []string{ "ibc-transfer", "transfer", "transfer", channe...
2
1
0
[{"id": "G0", "claim": "Use the sdk math.ZeroInt() helper instead of math.NewInt(0) when initializing zero Int balances in the test assertions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change should probably also be backported to the other supp...
null
strangelove-ventures__interchaintest__759
strangelove-ventures/interchaintest
759
defect
8c3339f4c62e300e164734d49131a7ab887ea6ed
e7d6b3e5b7f21cc66e909f61343009fa612cbfcf
Remove `UsingNewGenesisCommand` config in favor of a runtime check
Closes #742 ## summary Removing the config option `UsingNewGenesisCommand` makes it easier to write test spanning multiple SDK versions (v45 - 50).
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index 6abcb0af7..e5478c146 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -637,6 +637,13 @@ func (tn *ChainNode) RecoverKey(ctx context.Context, keyName, mnemonic string) e return err } +func (tn *ChainNode) IsAboveSD...
3
3
1
[{"id": "G0", "claim": "In ExportState the IsAboveSDK47 lookup should be kept in a var so it is not performed twice within the method.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The empty ChainConfig: ibc.ChainConfig{} overrides on the sdk-50 te...
null
strangelove-ventures__interchaintest__773
strangelove-ventures/interchaintest
773
defect
684b4fed68f954a527a8aa3e961d9a92ed54c63d
e89138ae2860f8630d0c112cdd6fcefc9602f996
Simplify verbose boilerplate builder
Closes #771, #151 ## summary This removes a lot of excess testing boilerplate for common setups. (Juno & PersistenceOne both use)
diff --git a/chain/cosmos/genesis.go b/chain/cosmos/genesis.go index afe765e9e..70602119f 100644 --- a/chain/cosmos/genesis.go +++ b/chain/cosmos/genesis.go @@ -15,6 +15,13 @@ type GenesisKV struct { Value interface{} `json:"value"` } +func NewGenesisKV(key string, value interface{}) GenesisKV { + return GenesisKV...
2
2
1
[{"id": "G0", "claim": "The test could pass an empty ibc.ChainConfig{} instead of hard-coding Denom \"ujuno\", since the pre-configured juno from configuredChains.yaml would still be used — framed as a note, the call is the author's.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
strangelove-ventures__interchaintest__798
strangelove-ventures/interchaintest
798
defect
fa08aa0d58fbe62498a0acabb25d9e55b534a756
3acefa8a7b44d2edb0eab6a900e45fe78f737f34
Adds x/tokenfactory helper methods
Closes #770 ## summary Adds x/tokenfactory helper methods (matching the osmosis specification). Full coverage of new functions added ## todo - [x] Add test
diff --git a/chain/cosmos/chain_node.go b/chain/cosmos/chain_node.go index 91649d07d..3d24a2045 100644 --- a/chain/cosmos/chain_node.go +++ b/chain/cosmos/chain_node.go @@ -1125,6 +1125,20 @@ func (tn *ChainNode) QueryParam(ctx context.Context, subspace, key string) (*Par return &param, nil } +// QueryBankMetadata...
1
1
0
[{"id": "G0", "claim": "The exported TokenFactory helper functions in chain/cosmos/tokenfactory.go should have godoc comments, since the tokenfactory module's behavior is not obvious to unfamiliar readers.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
strangelove-ventures__interchaintest__838
strangelove-ventures/interchaintest
838
defect
1d88910b4bc0c0b21b180591caaee0dff2b2a406
84a09c133d9b0e93750b3ee09aaebc22f7ab01a9
fix: use ibc/v4 in v4 branch
When integrating the v4 release branch, the Noble team noticed that it was still using IBC v3. This PR addresses this by using IBC v4 in the v4 release branch!
diff --git a/chain/cosmos/codec.go b/chain/cosmos/codec.go index d0fbf2694..e4fe49083 100644 --- a/chain/cosmos/codec.go +++ b/chain/cosmos/codec.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authTx "github.com/cosmos/cosmos-sdk/x/auth/tx" banktypes "github.com/cosmos/cosmos-sdk/x/bank/type...
1
1
0
[{"id": "G0", "claim": "The comment above Packet should cite the ibc-go/v4 module at the version actually used (suggested v4.0.0, then v4.5.1) instead of the stale v4@v3.0.0.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
strangelove-ventures__interchaintest__91
strangelove-ventures/interchaintest
91
defect
4c33c7b24e74cdd21c82ab45c3210f9c0dd82613
b8268429fbbf9b1dcb8a23790187ebffbc08041a
Replace ibctest.SetupTestRun with ibctest.DockerSetup
SetupTestRun was slowing me down every time I needed to read through to understand what it did. It returned five values, of which three are not very special: the context was a plain context.Background, the home directory was the result of t.TempDir(), and a returned error was intended to always result in a test ...
diff --git a/chain/penumbra/penumbra_chain_test.go b/chain/penumbra/penumbra_chain_test.go index 7c53508ab..872c6a01c 100644 --- a/chain/penumbra/penumbra_chain_test.go +++ b/chain/penumbra/penumbra_chain_test.go @@ -1,6 +1,7 @@ package penumbra_test import ( + "context" "testing" "github.com/strangelove-vent...
1
1
1
[{"id": "G0", "claim": "The home directory should be created as part of DockerSetup (or equivalently earlier) so that its cleanup is always the last cleanup item to run.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
strapi__strapi__21495
strapi/strapi
21,495
defect
9a4af3a3ccb9711935d030aa29f9f9929e8a1a1c
ee4deb12df32544158a136d737358c14a5a50cd2
fix: Make locale/localizations private for non-localized cts
### What does it do? Make `locale` and `localizations` attributes private if a content-type is not localized. ### Why is it needed? Prevent those fields from appearing in the GraphQL schema or REST API response ### How to test it? - Create a CT with and without i18n enabled. - Check the graphql querie...
diff --git a/packages/core/upload/admin/src/components/AssetDialog/BrowseStep/index.jsx b/packages/core/upload/admin/src/components/AssetDialog/BrowseStep/index.jsx index 54b67e112935..6145d44e635e 100644 --- a/packages/core/upload/admin/src/components/AssetDialog/BrowseStep/index.jsx +++ b/packages/core/upload/admin/s...
4
1
0
[{"id": "G0", "claim": "The reviewer is not sure making locale/localizations private for non-localized content types is the right approach, since always having the fields keeps the API response and GraphQL schema consistent and predictable while only the data changes.", "category": "design", "verdict": "opposed", "prio...
null
strapi__strapi__21559
strapi/strapi
21,559
defect
9a4af3a3ccb9711935d030aa29f9f9929e8a1a1c
5f622a141c609aa6359a92717614b668fa44e29b
fix: history trying to restore components that were deleted
### What does it do? Fix: https://github.com/strapi/strapi/issues/21405 The issue was that we made references to the IDs of components that were deleted while restoring content. Now I omit the ID of all components while restoring, forcing them to be recreated to avoid any issue I also added an API test that is...
diff --git a/packages/core/content-manager/server/src/history/services/history.ts b/packages/core/content-manager/server/src/history/services/history.ts index 0282a6c44908..7ad1152bf10a 100644 --- a/packages/core/content-manager/server/src/history/services/history.ts +++ b/packages/core/content-manager/server/src/histo...
2
2
1
[{"id": "G0", "claim": "Remove the stray `.only` so the new test doesn't skip every other History API test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It may be easier to not select the id field of components and dynamic zones from the beginning rat...
null
strapi__strapi__21800
strapi/strapi
21,800
defect
bec3f8cddf61be32ee5516609a1d4d6032933972
36f80f33a1caf4521858cd7af3d66338e4aedac0
fix: broken list view pagination
### What does it do? Fixes the way query params are written into the URL of the list It seems like when passing a params object in the config, RTK query stringifies it properly, but here an object was put directly into the string. ### How to test it? Have 2+ pages of content. Navigate between pages. Then co...
diff --git a/packages/core/content-manager/admin/src/services/documents.ts b/packages/core/content-manager/admin/src/services/documents.ts index e0d20419bd77..b1c21cd9ae07 100644 --- a/packages/core/content-manager/admin/src/services/documents.ts +++ b/packages/core/content-manager/admin/src/services/documents.ts @@ -1...
3
1
1
[{"id": "G0", "claim": "The pagination fix ships with no test coverage; add a test covering it — on the RTK Query layer, and/or as an e2e test in tests/e2e/tests/content-manager/listview.spec.ts.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Confirm th...
null
strapi__strapi__21914
strapi/strapi
21,914
defect
4cf36024d8e6011c265fdc01924d063589432f8f
36bd2d041c612cd2da58efd2b6d5f6f2eab0002d
fix: Reverse proxy config
<!-- Hello 👋 Thank you for submitting a pull request. To help us merge your PR, make sure to follow the instructions below: - Create or update the tests - Create or update the documentation at https://github.com/strapi/documentation - Refer to the issue you are closing in the PR description: Fix #issue - Spe...
diff --git a/packages/core/strapi/src/node/create-build-context.ts b/packages/core/strapi/src/node/create-build-context.ts index c1e7fe37894b..11ae909e4125 100644 --- a/packages/core/strapi/src/node/create-build-context.ts +++ b/packages/core/strapi/src/node/create-build-context.ts @@ -5,6 +5,7 @@ import browserslist f...
6
4
2
[{"id": "G0", "claim": "Computing the admin/server paths from the config object after loadConfiguration has mutated it (instead of from the config before mutation) produces wrong, duplicated admin URLs (e.g. '/cms/cms/dashboard') for relative-path configurations, so the admin panel does not load.", "category": "correct...
null
strapi__strapi__22378
strapi/strapi
22,378
defect
146a31b564bc8232686331f6b28f7ff966817963
a0d656674177d301f194fa022390ea22f65a8ba9
fix: Cleaner fallback for documents and audio files in the Media Libr…
resolves #22211 **Before** ![image](https://github.com/user-attachments/assets/238016ed-833a-4b1a-8a92-025a9cb40f06) **Now** ![Screenshot 2024-12-09 231747](https://github.com/user-attachments/assets/e5ca1c8b-654c-4a1f-9886-74e731fb7460) ![Screenshot 2024-12-09 231806](https://github.com/user-attachmen...
diff --git a/packages/core/upload/admin/src/components/TableList/PreviewCell.tsx b/packages/core/upload/admin/src/components/TableList/PreviewCell.tsx index ef5af46d432a..7c5f4bad9db9 100644 --- a/packages/core/upload/admin/src/components/TableList/PreviewCell.tsx +++ b/packages/core/upload/admin/src/components/TableLi...
3
2
1
[{"id": "G0", "claim": "Instead of the switch statement, build a DOC_ICON_MAP lookup and pick the icon with `DOC_ICON_MAP[fileExtension] ?? FileIcon`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A frontend unit test is failing (and e2e issues...
null
strapi__strapi__22410
strapi/strapi
22,410
defect
5dde62eabd56fb2a9900015dbd35d73d929135c2
97ba316a1bea0ad928ef2faf72bb9a5a6a199083
fix: remove double conversion that causes date shift
<!-- Hello 👋 Thank you for submitting a pull request. To help us merge your PR, make sure to follow the instructions below: - Create or update the tests - Create or update the documentation at https://github.com/strapi/documentation - Refer to the issue you are closing in the PR description: Fix #issue - Spe...
diff --git a/packages/core/admin/admin/src/components/FormInputs/Date.tsx b/packages/core/admin/admin/src/components/FormInputs/Date.tsx index 2f6323b6947a..c16b8715dfc5 100644 --- a/packages/core/admin/admin/src/components/FormInputs/Date.tsx +++ b/packages/core/admin/admin/src/components/FormInputs/Date.tsx @@ -1,6 +...
3
2
0
[{"id": "G0", "claim": "The Date.tsx import should be changed to `import * as React` and the component should use React.useState/React.forwardRef etc., per the project-wide style convention.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The onB...
null
strapi__strapi__22617
strapi/strapi
22,617
defect
fc1775f7731f8999840e56e298a216b9a6c5c4ad
3a09bf0a00f58ba69e2ac3ff9fc4fde9b4ea311e
Feat #22076: Add support for new icon components that are already in the design system
### What does it do? Addresses [this](https://github.com/strapi/strapi/issues/22076) issue fixes #22076 (<- this uses [the GH keyword linking](https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) for aut...
diff --git a/packages/core/content-manager/admin/src/components/ComponentIcon.tsx b/packages/core/content-manager/admin/src/components/ComponentIcon.tsx index 42fbc1cfa2f8..a91aefd2e1a8 100644 --- a/packages/core/content-manager/admin/src/components/ComponentIcon.tsx +++ b/packages/core/content-manager/admin/src/compon...
11
11
2
[{"id": "G0", "claim": "Starting an app from the branch fails with errors when `yarn setup` is run before `yarn develop`.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "unclear"}, {"id": "G1", "claim": "When a file is clicked, the preview inside the edit modal still shows the default i...
null
strapi__strapi__22650
strapi/strapi
22,650
defect
ee5e11435c6da4a6316e7ef7e766219309cb23f1
b28c3d5ad351c28e6cd97435b442ada8d7a30665
fix: disable lifecycle hooks on transfers [v4]
### What does it do? - disable lifecycle hooks during a transfer enable them back again after a transfer ### Why is it needed? - prevent lifecycle hooks from being triggered during transfer operations ### How to test it? - during a transfer or import or export lifecycle hooks should not be triggered ### Re...
diff --git a/packages/core/data-transfer/src/strapi/providers/local-destination/index.ts b/packages/core/data-transfer/src/strapi/providers/local-destination/index.ts index 012bc76600cf..e273d187cdd8 100644 --- a/packages/core/data-transfer/src/strapi/providers/local-destination/index.ts +++ b/packages/core/data-transf...
3
1
1
[{"id": "G0", "claim": "Asks whether re-enabling lifecycle hooks in the destination provider's close() changes something that could persist if that call fails to run, or whether it is just a nice thing to do before shutting down the instance.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope...
null
strapi__strapi__22656
strapi/strapi
22,656
defect
cb666fde52df857549ddd0e7bf1f6888f5d06951
debcac5a4ebecd0742f91f7ca2382d28cb9685bd
fix: adding component to dynamic zone overwrites data
### What does it do? - Fixes #22399. I do the fix by not relying on setIn anymore, because it's designed to overwrite content at the index it's given. I use toSpliced instead (the FP version of splice) which just inserts at the the given position - Adds new e2e test case to catch the issue - Fixes the alignment of...
diff --git a/packages/core/admin/admin/src/components/Form.tsx b/packages/core/admin/admin/src/components/Form.tsx index 71fb290eecce..c119402e9d45 100644 --- a/packages/core/admin/admin/src/components/Form.tsx +++ b/packages/core/admin/admin/src/components/Form.tsx @@ -574,15 +574,18 @@ const reducer = <TFormValues ex...
4
4
1
[{"id": "G0", "claim": "Could you explain why the Menu.Trigger no longer uses theme values (hardcoded '4px'/'7px' paddings instead)?", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The paddings should be inherited from the Menu.Trigger's size ins...
null
strapi__strapi__22952
strapi/strapi
22,952
defect
53e80a70fc138a74fb0e856ec86e2eb7331fc434
239df49ac3b3f1e65b74c1a996548843265a1989
feat(relations-on-the-fly): refactoring context
<!-- Hello 👋 Thank you for submitting a pull request. To help us merge your PR, make sure to follow the instructions below: - Create or update the tests - Create or update the documentation at https://github.com/strapi/documentation - Refer to the issue you are closing in the PR description: Fix #issue - Spe...
diff --git a/packages/core/content-manager/admin/src/pages/EditView/EditViewPage.tsx b/packages/core/content-manager/admin/src/pages/EditView/EditViewPage.tsx index 299025d308c8..3fe80ec624b8 100644 --- a/packages/core/content-manager/admin/src/pages/EditView/EditViewPage.tsx +++ b/packages/core/content-manager/admin/s...
3
3
0
[{"id": "G0", "claim": "In `const model = documentModel ?? componentUID ?? componentUID ?? documentModel`, the last two operands are unnecessary and the expression should be just `documentModel ?? componentUID`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
strapi__strapi__23342
strapi/strapi
23,342
defect
3a5f656f5b6cd81da4a1985594f855b6a5dba147
5867db6c075fa37a46bf41ee4ee30a113aaaca97
future(homepage): add widgets api
### What does it do? Adds the widget API as described in the RFC found in notion ### Why is it needed? To register custom widgets ### How to test it? In `examples/getstarted/src/admin/app.jsx` register a widget ``` app.widgets.register({ icon: Pencil, title: { id: 'content-m...
diff --git a/examples/getstarted/config/features.js b/examples/getstarted/config/features.js index b2bbf1f976c7..70f38bedb363 100644 --- a/examples/getstarted/config/features.js +++ b/examples/getstarted/config/features.js @@ -1,3 +1,5 @@ module.exports = ({ env }) => ({ - future: {}, + future: { + unstableWidget...
4
4
0
[{"id": "G0", "claim": "The TODO comment in StrapiApp.tsx has a typo: \"whe removing the future flag\" should read \"when removing the future flag\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The WidgetUID type could be written with existing ...
null
strapi__strapi__23378
strapi/strapi
23,378
defect
e21fe90bf2ab9906267ea6e6ca620bdcc729906c
c239503219f609b4a463d59319dd71eacae49edd
fix: rich text editors focus mode modals
### What does it do? Changes the implementation of the blocks and markdown editor "focus mode" modals, in order to use the Modal component from the design system instead of a DIY React portal ### Why is it needed? Without it the modal can't be rendered on top of the ROTF relation modal. It also removes some ol...
diff --git a/packages/core/content-manager/admin/src/pages/EditView/components/FormInputs/BlocksInput/BlocksEditor.tsx b/packages/core/content-manager/admin/src/pages/EditView/components/FormInputs/BlocksInput/BlocksEditor.tsx index e88268fa175a..9899e198688c 100644 --- a/packages/core/content-manager/admin/src/pages/E...
2
1
0
[{"id": "G0", "claim": "An e2e test should be added to check the visibility of the expanded block markdown, to prevent these issues from recurring.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions whether a React.useReducer is appro...
null
strapi__strapi__23381
strapi/strapi
23,381
defect
e21fe90bf2ab9906267ea6e6ca620bdcc729906c
40d36ba87b763583c80f9eeaab1674238263c30f
future(relations): add create relation modal
### What does it do? - Refactor the RelationModal to support creating a new relation and editing an existing relation ### Why is it needed? - To create a relation on the fly ### How to test it? Go to a relation Click the combobox You should see "Create a relation" at the bottom of the options, click it...
diff --git a/examples/getstarted/package.json b/examples/getstarted/package.json index fae6727c9e4b..7c1325b3cd74 100644 --- a/examples/getstarted/package.json +++ b/examples/getstarted/package.json @@ -13,7 +13,7 @@ "strapi": "strapi" }, "dependencies": { - "@strapi/icons": "2.0.0-rc.21", + "@strapi/i...
7
6
1
[{"id": "G0", "claim": "The Combobox's 'Create a Relation' createMessage in RelationsInput is a hardcoded untranslated English string and should be translated.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new FormContext validate (createYupSch...
null
strapi__strapi__23431
strapi/strapi
23,431
defect
80ec10b8360bdbe4b2b4254c1e028f847875b1b2
54c83aea927f0c045d246678bb6fa35717796fbd
Added additional attributes for link in Rich Text JSON blocks
<!-- Hello 👋 Thank you for submitting a pull request. To help us merge your PR, make sure to follow the instructions below: - Create or update the tests - Create or update the documentation at https://github.com/strapi/documentation - Refer to the issue you are closing in the PR description: Fix #issue - Spe...
diff --git a/packages/core/admin/admin/src/translations/en.json b/packages/core/admin/admin/src/translations/en.json index 611eca909048..13ce83bb597e 100644 --- a/packages/core/admin/admin/src/translations/en.json +++ b/packages/core/admin/admin/src/translations/en.json @@ -647,6 +647,10 @@ "components.Blocks.popove...
5
5
4
[{"id": "G0", "claim": "The Link component's rendered anchor is missing the rel and target attributes; add them.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `as any` cast on the Transforms.setNodes call in editLink is unnecessary and should b...
null
strapi__strapi__23581
strapi/strapi
23,581
defect
e3eb36dde0d936dc941df54e440e2c50a0582eeb
9cdc2b5b3b32236555c9df3fc414776b83cde332
fix(content-type): improve field validation logic in permission settings
<!-- Hello 👋 Thank you for submitting a pull request. To help us merge your PR, make sure to follow the instructions below: - Create or update the tests - Create or update the documentation at https://github.com/strapi/documentation - Refer to the issue you are closing in the PR description: Fix #issue - Spe...
diff --git a/packages/core/admin/server/src/services/content-type.ts b/packages/core/admin/server/src/services/content-type.ts index 10a5d4797f35..9d6de67e0ebe 100644 --- a/packages/core/admin/server/src/services/content-type.ts +++ b/packages/core/admin/server/src/services/content-type.ts @@ -178,18 +178,15 @@ const c...
3
3
1
[{"id": "G0", "claim": "The unreadable-required-field error path still shows a placeholder message ('Test error about unreadable required field') and a real user-facing error message needs to be written for it.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
strapi__strapi__23604
strapi/strapi
23,604
defect
c72b48da735f44a3ccafb7a6dc9ba5213f3844db
58aa08322b84ebb4ce59e7374179adc525237e32
fix(content-manager): documentId missing from fields for the view and…
… filters ### What does it do? Added documentId in the list of "Displayed fields" and filtering items in the listing view in the Content Manager. Displayed fields: <img width="802" alt="Screenshot 2025-05-27 at 15 41 35" src="https://github.com/user-attachments/assets/4fd3b6e5-ce13-4d80-a308-d144b06b626c" /> ...
diff --git a/packages/core/content-manager/admin/src/pages/ListView/components/Filters.tsx b/packages/core/content-manager/admin/src/pages/ListView/components/Filters.tsx index 4a8a69c24af0..03af1db5ab3d 100644 --- a/packages/core/content-manager/admin/src/pages/ListView/components/Filters.tsx +++ b/packages/core/conte...
1
1
1
[{"id": "G0", "claim": "Add an e2e test for the documentId filtering change, possibly by adding a few lines to content-manager/listview.spec.ts.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
strapi__strapi__23661
strapi/strapi
23,661
defect
470ed1362b39cb5cb7ee78a40bb5d6c103b8b9bb
4e1460e4278b49e7bb784598a1792bb1522f8c4c
chore: Update settings nav UI
### What does it do? Update the lighting icons in the settings left navigation column. Now all links related to premium features always show the icon, gray when the feature is disabled, and blue when the feature is available ![Screenshot 2025-06-03 alle 19 21 21](https://github.com/user-attachments/assets/50d0798...
diff --git a/packages/core/admin/admin/src/pages/Settings/components/SettingsNav.tsx b/packages/core/admin/admin/src/pages/Settings/components/SettingsNav.tsx index 68c85cee659c..1a8b9fdee2db 100644 --- a/packages/core/admin/admin/src/pages/Settings/components/SettingsNav.tsx +++ b/packages/core/admin/admin/src/pages/S...
1
1
0
[{"id": "G0", "claim": "For readability, create a type definition at the top of SettingsNav.tsx for the type behind the Lightning fill expression instead of the inline keyof casts on link.id.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
strapi__strapi__23673
strapi/strapi
23,673
defect
0fc44faf3ab6f94c481a4d426988705776878bb3
037e6a07c3a137777cae6110d7387c1d15ae033c
fix: one to many relations returns published and draft versions
### What does it do? - Forwards the filters to dynamic zones that contain the 'on' keyword - Filters a graphql association to return the correct dp version ### Why is it needed? Dynamic zones containing a component with a oneToMany relation returns both draft and published versions Graphql oneToMany relati...
diff --git a/packages/core/database/src/query/helpers/populate/apply.ts b/packages/core/database/src/query/helpers/populate/apply.ts index a30dcc9c77bc..9be7b1194eb5 100644 --- a/packages/core/database/src/query/helpers/populate/apply.ts +++ b/packages/core/database/src/query/helpers/populate/apply.ts @@ -671,6 +671,28...
4
2
1
[{"id": "G0", "claim": "The pull request changes graphql relation behaviour but ships no tests for graphql, and they should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new default publishedAt filter reads parent.publishedAt, so for a pa...
null
strapi__strapi__23798
strapi/strapi
23,798
defect
5f27c76d39a0c192701bdc9daabce3bb59389ce3
fe2556c648533c58998301675df5989e960c8476
future: add api tokens guided tour
### What does it do? - Adds the GuidedTour ApiTokens tour ### Why is it needed? - To display the various steps - and trigger the redirect on the final step ### How to test it? Access the content managers with the oldest super admin credentials - Go to the Settings page - Click the Api Tokens link - ...
diff --git a/packages/core/admin/admin/src/components/LeftMenu.tsx b/packages/core/admin/admin/src/components/LeftMenu.tsx index 2220b048e937..82fd9d889cf4 100644 --- a/packages/core/admin/admin/src/components/LeftMenu.tsx +++ b/packages/core/admin/admin/src/components/LeftMenu.tsx @@ -88,38 +88,46 @@ const LeftMenu = ...
4
4
1
[{"id": "G0", "claim": "The reviewer questions why optional chaining was added on `state` when reading tour state in the tooltip, implying it is unnecessary and should be justified or removed.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The tourCompon...
null
strapi__strapi__23829
strapi/strapi
23,829
defect
ed7c7c54ff46bcd4c15cc57d65066008685aefd4
c9769ad9cc2972d6701f79f35c7fa44baa0bf289
feat: homepage widget profile
### What does it do? Adding a new Profile widget to the homepage dashboard to display current user's information. ![Screenshot 2025-06-26 at 17 16 04](https://github.com/user-attachments/assets/690e0534-1779-4368-a434-491e49a91fe5) ### Why is it needed? To enhance the experience of the user on the homepag...
diff --git a/packages/core/admin/admin/src/StrapiApp.tsx b/packages/core/admin/admin/src/StrapiApp.tsx index 5a1571ea6d56..9143e2ebf2f4 100644 --- a/packages/core/admin/admin/src/StrapiApp.tsx +++ b/packages/core/admin/admin/src/StrapiApp.tsx @@ -1,6 +1,7 @@ import * as React from 'react'; import { darkTheme, light...
2
2
0
[{"id": "G0", "claim": "The widget registration in StrapiApp.tsx should pass pluginId \"admin\" (the id of the package registering the widget) instead of \"admin.widget.profile\", since the widget id is computed inside the register fn from pluginId plus the id.", "category": "correctness", "verdict": "supported", "prio...
null
strapi__strapi__23834
strapi/strapi
23,834
defect
07ae8e84c80c0c53b3c05dc3c33356fb415939fe
9bf20c9082133b195cc1e35b7abfc91dbb42cb02
fix: sign file URLs in upload service and in graphql
### What does it do? Ensures that all file URLs from the upload plugin actually get signed. This wasn't the case when using the upload service or when using the graphql plugin. - updates the document middleware so it signs media entries directly (`upload::file.file`) in addition to media attributes - runs signFi...
diff --git a/packages/core/upload/server/src/services/__tests__/upload/formatFileInfo.test.ts b/packages/core/upload/server/src/services/__tests__/upload/formatFileInfo.test.ts index 4ad39db9cde3..8ddb62043f3a 100644 --- a/packages/core/upload/server/src/services/__tests__/upload/formatFileInfo.test.ts +++ b/packages/c...
2
2
0
[{"id": "G1", "claim": "global.strapi is set up in two places in uploadImage.test.ts; the reviewer asks that the initial mock be handled in the existing mockUploadProvider instead of mutating the global twice.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2"...
null
strapi__strapi__23844
strapi/strapi
23,844
defect
3e666b1ad96ac2e82634e548e10ea7c7797a7474
de7da8e658b54cd4b1e53e259c6c7b78a5aac374
future: add content-type builder tour
### What does it do? - Add the content-type builder guided tour - Changes the `requiredActions` API to `when` - Requires a content type schema to have at least one attribute besides the default ones - Updates some styling issues - Saves/reads the tour state to/from local storage - Import tours directly instead ...
diff --git a/packages/core/admin/admin/src/components/MainNav/NavLink.tsx b/packages/core/admin/admin/src/components/MainNav/NavLink.tsx index c57cf778e993..9757a448620d 100644 --- a/packages/core/admin/admin/src/components/MainNav/NavLink.tsx +++ b/packages/core/admin/admin/src/components/MainNav/NavLink.tsx @@ -7,9 +...
3
1
0
[{"id": "G0", "claim": "The SubNav section switch is keyed on the section label, which the author believes is the translated string, so the tour tooltip may never match outside English.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Exporting MenuSe...
null
strapi__strapi__23847
strapi/strapi
23,847
defect
49f444740df27dd0f64ee99bd3bd090209a9222a
7e6bb2fc6f3829ba115d567243904f12fc9d3cb2
fix: make upgrade tool work with a proxy
### What does it do? - Use undici fetch instead of native fetch - Add the proxy if it's configured ### Why is it needed? fix #22944 ### How to test it? - Setup a proxy on your device, and run the upgrade tool it should work
diff --git a/packages/utils/upgrade/package.json b/packages/utils/upgrade/package.json index 143eff6222af..0c6808d8ee86 100644 --- a/packages/utils/upgrade/package.json +++ b/packages/utils/upgrade/package.json @@ -74,7 +74,8 @@ "ora": "5.4.1", "prompts": "2.4.2", "semver": "7.5.4", - "simple-git": "3...
1
1
0
[{"id": "G0", "claim": "Native fetch already supports dispatchers (used experimentally in Node 18/20 in core's packages/core/core/src/utils/fetch.ts and stable in Node 22), so the PR could probably just use that instead of pulling in undici's fetch.", "category": "design", "verdict": "supported", "priority": "P2", "sco...
null
strapi__strapi__23868
strapi/strapi
23,868
defect
e72d2796900449eff6b65f508f5c07a88da4195b
a43f40178ac76e3f2bd6860c987e0197be9da379
future: add guided tour overview
### What does it do? Add the guided tour overview ### Why is it needed? - To display the user's progress with the guided tour - Allow the user to close / disable the tour ### How to test it? Do the guided tour! You shouldn't see it if you don't have the future flag If you need to reset be sure to...
diff --git a/packages/core/admin/admin/src/components/UnstableGuidedTour/Context.tsx b/packages/core/admin/admin/src/components/UnstableGuidedTour/Context.tsx index d6e9d6f6ee5e..72c6eba400d3 100644 --- a/packages/core/admin/admin/src/components/UnstableGuidedTour/Context.tsx +++ b/packages/core/admin/admin/src/compone...
1
1
0
[{"id": "G0", "claim": "The getInitialTours function is unnecessary; do it inline or store it in a variable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
strapi__strapi__23908
strapi/strapi
23,908
defect
15aa51942723e4509a1fa9992c8dc4a81794cb1d
43b6609f980026e04216ac68bdc6af14818d56de
fix: add reducer to be able to mutate widgets in register function
fix: put widgets from content-manager first in list fix: put review-workflows widget last in list ### What does it do? Provides a reducer to the register function of the widgets in order to allow mutations on it. The purpose here is to be able to reorder the widgets by using the same method than for the addDocu...
diff --git a/packages/core/admin/admin/src/core/apis/Widgets.ts b/packages/core/admin/admin/src/core/apis/Widgets.ts index d104b8ca790f..62fd7f4a8a37 100644 --- a/packages/core/admin/admin/src/core/apis/Widgets.ts +++ b/packages/core/admin/admin/src/core/apis/Widgets.ts @@ -29,6 +29,8 @@ type WidgetArgs = { type Wid...
5
2
0
[{"id": "G0", "claim": "Update apis/Widgets.ts so this.widgets stores an array instead of an object, because JavaScript object entry order is not guaranteed and the Object.values/Object.fromEntries reordering logic is more complex than with an array.", "category": "design", "verdict": "supported", "priority": "P1", "sc...
null
strapi__strapi__24068
strapi/strapi
24,068
defect
f116d21c097aa14b7fd578caddc3bd74a70f550e
6c13eea4e385aa9e838e28fd56c226fcca35d86b
feat: last activity homepage widget
### What does it do? <img width="671" height="367" alt="Screenshot 2025-07-31 at 12 13 52" src="https://github.com/user-attachments/assets/c376829c-95c8-492b-8df2-b71537b74393" /> New homepage widget: Last activity (audit logs enabled - Enterprise Edition premium feature). Users that have the option Audit Logs e...
diff --git a/packages/core/admin/admin/src/StrapiApp.tsx b/packages/core/admin/admin/src/StrapiApp.tsx index cf53f69f9a33..f8de116959e3 100644 --- a/packages/core/admin/admin/src/StrapiApp.tsx +++ b/packages/core/admin/admin/src/StrapiApp.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { darkTheme, light...
5
3
0
[{"id": "G0", "claim": "Optional chaining should be used only where TS says the value can be null or undefined; inconsistent spots like item.payload?.model and item?.user?.displayName should be normalised.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
strapi__strapi__24073
strapi/strapi
24,073
defect
8058daf82c13f8ac2976940bbc9686cf52c7750a
c0230080422833e9f0ca44d36e189db4e447fa84
fix(core): handle time to dateTime and dateTime to time conversion wi…
<!-- Hello 👋 Thank you for submitting a pull request. To help us merge your PR, make sure to follow the instructions below: - Create or update the tests - Create or update the documentation at https://github.com/strapi/documentation - Refer to the issue you are closing in the PR description: Fix #issue - Spe...
diff --git a/packages/core/database/src/schema/__tests__/time-to-datetime-migration.test.ts b/packages/core/database/src/schema/__tests__/time-to-datetime-migration.test.ts new file mode 100644 index 000000000000..78b88ad20e8f --- /dev/null +++ b/packages/core/database/src/schema/__tests__/time-to-datetime-migration.te...
4
3
2
[{"id": "G0", "claim": "The pull request should document that this conversion will happen on postgres (including that Cloud uses postgres) and advise against changing type from TIME to DATETIME.", "category": "documentation", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a...
null
strapi__strapi__24102
strapi/strapi
24,102
defect
2a9b9b61cfdc484a1736b8c7d460c850ecc64608
4663e097903152514305dafda1026d1f256bf897
feat: implement session management system with generaterefreshtoken
### What does it do? - Implements that start of a session management system with JWT-based refresh tokens - Adds database-backed session storage with a new `admin::session` content type - Device ID, origin, and expiration management - Integrates SessionManager service into the core Strapi instance accessible via `stra...
diff --git a/packages/core/admin/package.json b/packages/core/admin/package.json index beceb1372785..2736e2597269 100644 --- a/packages/core/admin/package.json +++ b/packages/core/admin/package.json @@ -84,6 +84,7 @@ "@radix-ui/react-context": "1.0.1", "@radix-ui/react-toolbar": "1.0.4", "@reduxjs/toolki...
10
8
2
[{"id": "G0", "claim": "The refresh and access token lifespans should be configurable like the rate-limit middleware's settings rather than hardcoded, ultimately definable per-origin (admin vs users-permissions) while leaving the legacy expiresIn option alone.", "category": "design", "verdict": "supported", "priority":...
null
strapi__strapi__24133
strapi/strapi
24,133
defect
2f12294bb57be1d208aee35a4d608f08efd903d6
53a05eb497199e0d37a387c9ab04c32b937031ac
[generateAccessToken] implement session management
### What does it do? - Adds generateAccessToken ### Why is it needed? - To generate new access tokens ### How to test it? - Unit tests: ```bash yarn test:unit ``` - API integration tests: ```bash yarn test:api --db=sqlite ``` ### Related issue(s)/PR(s) DX-2143
diff --git a/packages/core/core/src/services/__tests__/session-manager.test.ts b/packages/core/core/src/services/__tests__/session-manager.test.ts index b117c641fb6b..ba0623bea9fd 100644 --- a/packages/core/core/src/services/__tests__/session-manager.test.ts +++ b/packages/core/core/src/services/__tests__/session-manag...
5
5
0
[{"id": "G0", "claim": "The deleteExpired changes in this PR (the deleteExpiredByIdentifier check in generateRefreshToken) seem unnecessary since expired cleanup is handled on the next line, so they can be removed to make the PR simpler.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introd...
null
strapi__strapi__24172
strapi/strapi
24,172
defect
22da811d28735bc3405649fc1c58d683936b1575
579de1c4b225bf8728b693ddc006cb0c216e86a8
feat: add getAiToken endpoint
<!-- Hello 👋 Thank you for submitting a pull request. To help us merge your PR, make sure to follow the instructions below: - Create or update the tests - Create or update the documentation at https://github.com/strapi/documentation - Refer to the issue you are closing in the PR description: Fix #issue - Spe...
diff --git a/packages/core/admin/server/src/controllers/__tests__/authenticated-user.test.ts b/packages/core/admin/server/src/controllers/__tests__/authenticated-user.test.ts new file mode 100644 index 000000000000..93af4138a711 --- /dev/null +++ b/packages/core/admin/server/src/controllers/__tests__/authenticated-user...
5
5
3
[{"id": "G0", "claim": "The route path should be '/users/me/ai-token' instead of '/users/me/getAiToken'.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The GetAiToken response contract should not include the projectId field, as there is no reason to expe...
null
strapi__strapi__24196
strapi/strapi
24,196
defect
58365b15521103b87596650904b7b72036bddbf5
c30fad2dc521acc8e54c5759e473246c5d34ba22
fix: formatErrorMessages array values formatting
Fix #23606 Fix #18810 <!-- Hello 👋 Thank you for submitting a pull request. To help us merge your PR, make sure to follow the instructions below: - Create or update the tests - Create or update the documentation at https://github.com/strapi/documentation - Refer to the issue you are closing in the PR de...
diff --git a/packages/core/content-manager/admin/src/pages/ListView/components/BulkActions/PublishAction.tsx b/packages/core/content-manager/admin/src/pages/ListView/components/BulkActions/PublishAction.tsx index 900814253a12..0eb4d785e26c 100644 --- a/packages/core/content-manager/admin/src/pages/ListView/components/B...
3
2
2
[{"id": "G0", "claim": "The new typing of `value` in formatErrorMessages breaks the build: `value` has to be a FormErrors but its type is changed by the Object.entries destructuring.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "With dynamic zones,...
null
strapi__strapi__24213
strapi/strapi
24,213
defect
09e349ad451f6667368dec0a3a23c11e4e1eb63d
a43b0d73e9e884fdf11104f5d09700e9089a7b37
future(preview): add content source maps service
### What does it do? - Creates a content-source-maps service. It traverses entries to attach field sourcemaps as stega encoded data when possible in the content API. This only runs when the `encode-source-maps` header is passed. - Adds the logic in our previewScript to detect fields with encoded data, and write tha...
diff --git a/examples/getstarted/config/middlewares.js b/examples/getstarted/config/middlewares.js index ed9d30471a25..c7b6ae467a9e 100644 --- a/examples/getstarted/config/middlewares.js +++ b/examples/getstarted/config/middlewares.js @@ -12,6 +12,8 @@ module.exports = [ useDefaults: true, directives:...
9
6
0
[{"id": "G0", "claim": "The 'encode-source-maps' request header should be prefixed with 'strapi-' like the other Strapi custom headers.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hard-coded EXCLUDED_FIELDS list is difficult to maintain over time ...
null
strapi__strapi__24358
strapi/strapi
24,358
defect
9f197efe32a3170748e5e71b4c5c03395f2676b7
51bf1f2f5211cb0ed417d3b618b53a1d3f7ac1c2
feat(homepage): add endpoints for widget move and resize actions
<!-- Hello 👋 Thank you for submitting a pull request. To help us merge your PR, make sure to follow the instructions below: - Create or update the tests - Create or update the documentation at https://github.com/strapi/documentation - Refer to the issue you are closing in the PR description: Fix #issue - Spe...
diff --git a/packages/core/admin/admin/src/services/homepage.ts b/packages/core/admin/admin/src/services/homepage.ts index e229e698e04b..7034a5baf602 100644 --- a/packages/core/admin/admin/src/services/homepage.ts +++ b/packages/core/admin/admin/src/services/homepage.ts @@ -18,9 +18,30 @@ const homepageService = adminA...
5
5
0
[{"id": "G0", "claim": "The new schema.ts file should end with an empty new line as the project's prettier config requires (the reviewer asks whether prettier is configured in the author's IDE).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
strapi__strapi__24370
strapi/strapi
24,370
defect
78db9d74529519fca18e5344fe1d2495a0bfc2f4
7c136ea59c82a880cf508d26b22efd06721e186b
[session manager] Use deprecated expiresIn as max lifespan
### What does it do? - deprecate expiresIn but use it as a fallback for the new max lifespan options ### Why is it needed? Describe the issue you are solving. ### How to test it? Provide information about the environment and the path to verify the behaviour. ### Related issue(s)/PR(s) Let us know i...
diff --git a/packages/core/admin/server/src/bootstrap.ts b/packages/core/admin/server/src/bootstrap.ts index 974757f04ed4..5187f96982e2 100644 --- a/packages/core/admin/server/src/bootstrap.ts +++ b/packages/core/admin/server/src/bootstrap.ts @@ -2,6 +2,7 @@ import { merge, map, difference, uniq } from 'lodash/fp'; im...
1
1
1
[{"id": "G0", "claim": "The 'accepts numeric string seconds' test is failing because expiresInToSeconds's logic doesn't cover numeric-string input, and the reviewer suggests maybe removing that test case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
strapi__strapi__24414
strapi/strapi
24,414
defect
55a29bfc40af8b1d078d6c7194f938a49e99a5b5
dc4f3f6171ee9426847309f13a42533c02657c6a
AI media lib bulk update
What does it do? Adds new route for bulk update. Why is it needed? Currently, the media library only allows updating files one by one. This new route makes it possible to update the file information for multiple files at once (bulk update). How to test it? Run the Strapi. Log in with an authenticated ad...
diff --git a/packages/core/upload/server/src/controllers/admin-upload.ts b/packages/core/upload/server/src/controllers/admin-upload.ts index 223624b5f949..e0702bcaf225 100644 --- a/packages/core/upload/server/src/controllers/admin-upload.ts +++ b/packages/core/upload/server/src/controllers/admin-upload.ts @@ -5,11 +5,3...
1
1
1
[{"id": "G0", "claim": "The pull request needs tests for the new bulk-update endpoint before it can be merged (reviewer asks the author to re-request review once tests are added).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
strapi__strapi__24571
strapi/strapi
24,571
defect
7969a450ccdbce06860a600943ce9aaf3297cfd5
ddd1633d63cb6c496bc6c12101fb02f82f419beb
fix: extending csp configs
### What does it do? - Simplifies and creates an extendMiddleware method in utils - adds the default csp values in utils ### Why is it needed? - previous implementation caused conflicts especially when used long side preview feature (both where extending middleware) ### How to test it? experimental: `0...
diff --git a/packages/core/content-manager/server/src/preview/services/preview-config.ts b/packages/core/content-manager/server/src/preview/services/preview-config.ts index fc64479749d9..10205f0ef9c8 100644 --- a/packages/core/content-manager/server/src/preview/services/preview-config.ts +++ b/packages/core/content-man...
2
2
1
[{"id": "G0", "claim": "The arrays concatenated when deep-merging middleware configs should be deduplicated, e.g. by returning Array.from(new Set(objValue.concat(srcValue))).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Image previews in chat ...
null