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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
superset-sh__superset__3650 | superset-sh/superset | 3,650 | defect | 52e9e757ea83f8e4796651d2ed9813b2dddf2430 | 3ec5a63dab5ba2576fc70d37158c3fa5d1af43f7 | fix(desktop): allowlist URL schemes before shell.openExternal | ## Summary
- Gate every `shell.openExternal` call reachable from untrusted content behind an `{http, https, mailto}` scheme allowlist
- Fix browser-pane context menu (`Open Link / Page in Default Browser`) so a `file://` href on a page loaded in the pane can no longer launch arbitrary apps
- Reject disallowed schemes a... | diff --git a/apps/desktop/src/lib/trpc/routers/external/index.ts b/apps/desktop/src/lib/trpc/routers/external/index.ts
index afdc4d7f59a..42bf5041c38 100644
--- a/apps/desktop/src/lib/trpc/routers/external/index.ts
+++ b/apps/desktop/src/lib/trpc/routers/external/index.ts
@@ -9,6 +9,7 @@ import { TRPCError } from "@trp... | 4 | 3 | 3 | [{"id": "G0", "claim": "The context-menu handlers fire-and-forget safeOpenExternal, so a shell.openExternal failure becomes an unhandled promise rejection in the Electron main process; add a .catch() (or equivalent handling) at both the Open Link and Open Page call sites.", "category": "correctness", "verdict": "suppor... | null |
superset-sh__superset__3700 | superset-sh/superset | 3,700 | defect | e367ec41ad1217ca4cb6dafd1160caa1c1b44f14 | 07755a824cf1a8f1e240ead8c62bfc6dab059f8e | fix(desktop): adopt Ghostty keyboard model in v2 terminal | ## Summary
v2 terminal runtime only filtered app hotkeys, so with kitty keyboard protocol enabled (required for Shift+Enter disambiguation in claude-code, modifier reporting in neovim/helix), every Mac Cmd chord xterm saw got CSI-u encoded and leaked into TUIs as a literal char — Cmd+V → `v`, Cmd+C → `c`. Line-edit ni... | diff --git a/apps/desktop/src/renderer/lib/terminal/terminal-runtime.ts b/apps/desktop/src/renderer/lib/terminal/terminal-runtime.ts
index b574f1e178f..d0b9a569cb7 100644
--- a/apps/desktop/src/renderer/lib/terminal/terminal-runtime.ts
+++ b/apps/desktop/src/renderer/lib/terminal/terminal-runtime.ts
@@ -4,6 +4,10 @@ im... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new key handler reads navigator.platform, which is deprecated in the Living Standard and may be removed in future browser/Electron versions; it should fall back gracefully, e.g. navigator.userAgentData?.platform ?? navigator.platform.", "category": "maintainability", "verdict": "uncertain", ... | null |
superset-sh__superset__3916 | superset-sh/superset | 3,916 | defect | 9e03b4917ff9392112610963e51c8d80354a2cef | adfb4d4dccabce158225c6a0d5fb110615005d11 | feat(host-service): host attachment store (v2 PR 2) | ## Summary
PR 2 of the canonical `workspace.create()` refactor. Adds host-scoped attachment storage so the renderer can upload files once (keyed by an opaque `attachmentId`) and reference them in later agent launches without re-uploading or shuttling bytes through workspace creation.
**Plan:** [`plans/20260425-host-a... | diff --git a/bun.lock b/bun.lock
index f0ccfaf6843..d4cb26e7370 100644
--- a/bun.lock
+++ b/bun.lock
@@ -782,6 +782,7 @@
"drizzle-orm": "0.45.2",
"hono": "^4.8.5",
"mastracode": "0.15.0-alpha.3",
+ "mime-types": "^3.0.2",
"node-pty": "1.1.0",
"simple-git": "^3.30.0",
... | 7 | 5 | 0 | [{"id": "G0", "claim": "The try/catch around Buffer.from(input.data.data, \"base64\") is dead code that never executes because Buffer.from does not throw on malformed base64, so invalid base64 is silently stored as corrupt bytes; add real validation or at least remove the misleading try/catch.", "category": "correctnes... | null |
superset-sh__superset__3968 | superset-sh/superset | 3,968 | defect | e65c9f53f5bd9d02ddf3d2fa71dc721324d3e199 | b24c117d48340370400819277ff30441ec5004bd | fix(desktop): share terminal key handler with v2 | ## Description
<!-- Provide a clear and concise description of your changes -->
## Related Issues
<!-- Link any related issues using GitHub keywords (e.g., "closes #123", "fixes #456", "related to #789") -->
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bug fix
- [ ] New feature... | diff --git a/apps/desktop/src/renderer/lib/terminal/clipboard-shortcuts.ts b/apps/desktop/src/renderer/lib/terminal/clipboard-shortcuts.ts
new file mode 100644
index 00000000000..2e39a40a216
--- /dev/null
+++ b/apps/desktop/src/renderer/lib/terminal/clipboard-shortcuts.ts
@@ -0,0 +1,72 @@
+export interface ClipboardSho... | 3 | 2 | 2 | [{"id": "G0", "claim": "In v1, line-edit chord bytes are now delivered via terminal.input (firing onData unconditionally) instead of handleWrite, bypassing the isExitedRef guard, so a line-edit key pressed between PTY exit and terminal teardown could attempt to write to a closed PTY.", "category": "correctness", "verdi... | null |
supertokens__supertokens-core__1050 | supertokens/supertokens-core | 1,050 | defect | d91003ce54c285843faf3d8439b6391f006c7c8b | 280fa7a44532d56e719cc18453e61811d606a4f5 | fix: validating firstFactors not to contain special chars | ## Summary of change
(A few sentences about this PR)
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 001af5c22..b9e2869fa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
+- Adds validation to firstFactors name while creating tenants/apps/etc. to not allow special chars.
+
## [9... | 3 | 3 | 3 | [{"id": "G0", "claim": "The firstFactors validation should allow uppercase and underscore as well, not only 0-9, a-z and -.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "requiredSecondaryFactors must be validated the same way as firstFactors.", "ca... | null |
supertokens__supertokens-core__1058 | supertokens/supertokens-core | 1,058 | defect | 6f9568a0d2857e88f2c030d0b6e225f16ceadbbd | 925ad6464a5ce61ad7e7f9fb38e1abb896330e1b | fix: docker readonly fs | ## Summary of change
Adds support in CLI and in Core to specify the temp folder location. It's required for docker when run with readonly root fs.
## Related issues
[1048](https://github.com/supertokens/supertokens-core/issues/1048)
## Test Plan
(Write your test plan here. If you changed any code, please... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 001af5c22..e1a7fb063 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
+- Adds support for `--with-temp-dir` in CLI and `tempDirLocation=` in Core
+
## [9.2.2] - 2024-09-04
- A... | 1 | 1 | 1 | [{"id": "G0", "claim": "The change redirects only the .started dot-file location to tempDirLocation, and the reviewer asks the author to check all the other places the core finds a directory to write to, since CoreConfig also uses getInstallationPath() for the config.yaml path and log file paths, which may still hit th... | null |
supertokens__supertokens-core__1093 | supertokens/supertokens-core | 1,093 | defect | 95a0f11b81cf677d0cc7e900e0156ee107c1c522 | 22bd86977e3de76cf3f835bb8c76da8bb76ab918 | fix: session refresh issue | ## Summary of change
(A few sentences about this PR)
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6aec46eea..e7501ee5c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -26,6 +26,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Includes CUD in the owner field for OAuth clients
+### Fixes
+
+- Fixes issue with user id mapping while refreshing se... | 1 | 1 | 1 | [{"id": "G0", "claim": "getSessionInfo_Transaction makes 3 queries in 3 separate DB rounds; the reviewer asks to reduce the round trips, ideally to one round (even keeping 3 queries).", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
supertokens__supertokens-core__1127 | supertokens/supertokens-core | 1,127 | defect | 5bfa99251a8f6ce3c9a161abe031c4ff49012152 | 1efe87fe5377fd19efe713bae0336ca640fdd2b3 | fix: bulk migration account linking | ## Summary of change
Bulk Migration's account linking and primary user creations changes so it avoids loading the same data multiple times from the DB and also avoids loading already known data.
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index c1dab0207..00a7581b6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [10.1.1]
- Bulk migration users upload now returns the ids of the users.
+- Bulk Migration now requires Account Linking... | 6 | 4 | 0 | [{"id": "G0", "claim": "The helper findLoginMethodForUser should be renamed to findLoginMethodByRecipeUserId, as proposed in the suggestion block, so the name says what it looks up by.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "collectRecipe... | null |
supertokens__supertokens-core__1155 | supertokens/supertokens-core | 1,155 | defect | e76fbbc31c5af5dbfcc9cdf969910c4950664d42 | c8b6f59aed37f807475708500515aaa0e52cec8a | fix: bulk migration stuck in processing | ## Summary of change
(A few sentences about this PR)
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index ee3348fcc..1a07ecfde 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,11 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+## [11.0.3]
+
+- Fixes BatchUpdateException checks and error handling to prevent bulk import users stuck ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The log message after processing passwordless login methods should read \"Processing passwordless login methods DONE\" to maintain consistency with the pattern established for other recipe types, where completion is indicated with \"DONE\".", "category": "maintainability", "verdict": "supported"... | null |
supertokens__supertokens-core__1157 | supertokens/supertokens-core | 1,157 | defect | b1b98c35f0211c9337ac4cdff98c82040b2e9e15 | 923e70eca43cb5b0e3e384d9ca756f5819c4edf9 | fix: bulk migration user to roles association in case of non primary user | ## Summary of change
(A few sentences about this PR)
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1a07ecfde..4538a351d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+## [11.0.4]
+
+- Fixes user to roles association in bulk import users when the user is not a primary user... | 1 | 1 | 1 | [{"id": "G0", "claim": "The assertions after the second bulk-import call check the first call's `response` object instead of `response2`, so the second call is never verified; update them to assert on `response2`.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
supertokens__supertokens-core__1160 | supertokens/supertokens-core | 1,160 | defect | 378498b9791576bc280d3120731ca723094729fe | 1e972a2f5459df24d62b6cae2340ec5c20890e79 | feat: logs to telemetry | ## Summary of change
(A few sentences about this PR)
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4538a351d..48a104ecb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+## [11.1.0]
+
+- Adds all logs to telemetry which were logged with `io/supertokens/output/Logging.java`
+... | 4 | 3 | 1 | [{"id": "G0", "claim": "Use try-with-resources when creating the span so span.end() is guaranteed even if an exception occurs, preventing resource leaks.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the exception-accepting error() overload, the... | null |
supertokens__supertokens-core__1196 | supertokens/supertokens-core | 1,196 | defect | e2ce5828f0f209241ae2b1efd65f39d5e86c2386 | 5afa6e2af779396fcee2dea6be93524a403a196f | feat(webauthn): allow Android native origin | ## Summary of change
## Modifications to Support Android Native WebAuthn Origins
### Context
Currently, when attempting to define an Android Native origin (in the format `android:apk-key-hash:<base64Url-string-without-padding-of-fingerprint>`) through [supertokens_python.recipe.webauthn.register_options](https... | diff --git a/src/main/java/io/supertokens/webauthn/validator/OptionsValidator.java b/src/main/java/io/supertokens/webauthn/validator/OptionsValidator.java
index c72a69f19c..437e6ee630 100644
--- a/src/main/java/io/supertokens/webauthn/validator/OptionsValidator.java
+++ b/src/main/java/io/supertokens/webauthn/validator... | 1 | 1 | 0 | [{"id": "G0", "claim": "The URL-safe base64 check in validateOrigin should use java.util.Base64 (decode the hash and catch the failure) instead of a regex match on the character set.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
supertokens__supertokens-core__1199 | supertokens/supertokens-core | 1,199 | defect | e2ce5828f0f209241ae2b1efd65f39d5e86c2386 | a1f6ed1502845589d65e55cdd2b87179eec1a4fc | fix: race issue with oauth refresh | ## Summary of change
(A few sentences about this PR)
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 74a05213c..323a88f83 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+## [11.2.1]
+
+- Fixes race issues with Refreshing OAuth token
+
## [11.2.0]
- Adds opentelemetry-jav... | 4 | 4 | 0 | [{"id": "G0", "claim": "The reviewer questions whether the warning emitted when unlocking an unmanaged or already released lock should be a plain System.err println.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should use built-ins (e.g... | null |
supertokens__supertokens-core__1205 | supertokens/supertokens-core | 1,205 | defect | 538eaa849bb3761a59970480e7e2d88d13e16f07 | e8da26bcd9e4943dd5a664dbb2116ccd582b8318 | test: additional webauthn test | ## Summary of change
(A few sentences about this PR)
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 89ad11502..11deeb132 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,11 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+
+## [11.3.2]
+
+- Adds more tests to webauthn
+
## [11.3.1]
- Fixes request context for SAML to supp... | 1 | 1 | 0 | [{"id": "G0", "claim": "Questions why the pull request bumps the build.gradle version to 11.3.2, implying the bump may not belong in this change.", "category": "process", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
supertokens__supertokens-core__1213 | supertokens/supertokens-core | 1,213 | defect | 910a9c88e409fee7e41997b0d8a15abe40580be5 | 605cb50ebdd4670d12b2584078f2738628126195 | fix: saml request signing empty signature | ## Summary of change
(A few sentences about this PR)
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)... | diff --git a/src/main/java/io/supertokens/saml/SAML.java b/src/main/java/io/supertokens/saml/SAML.java
index b6722e5a1..62f99ffb3 100644
--- a/src/main/java/io/supertokens/saml/SAML.java
+++ b/src/main/java/io/supertokens/saml/SAML.java
@@ -23,6 +23,7 @@
import java.net.URISyntaxException;
import java.net.URLEncoder;... | 2 | 1 | 1 | [{"id": "G0", "claim": "Signalling signing/marshalling failures to callers by throwing RuntimeException (and catching it later) is poor practice; the errors should be surfaced to callers properly.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The XMLObj... | null |
supertokens__supertokens-core__1232 | supertokens/supertokens-core | 1,232 | defect | 4224caad84c74f8a208da6c288a50859f4277ed1 | 272a491f1498ac7f956d071fae489a161e5888c8 | fix: bulkimport thread leak | ## Summary of change
(A few sentences about this PR)
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2f1cab60f..6dc90787b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+## [11.3.4]
+
+- Backport: fixes thread leak in bulk import
+
## [11.3.3]
- Catches and logs RuntimeE... | 2 | 2 | 1 | [{"id": "G0", "claim": "The jna 5.8.0 entry this pull request adds to cli/implementationDependencies.json is probably not expected there.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "executorService.shutdownNow() is at the wrong nesting level in d... | null |
supertokens__supertokens-core__1244 | supertokens/supertokens-core | 1,244 | defect | 81a0e0072ebffc14868345c1e33208e63ce40359 | e0f73f3889c249eb71dd508587b23c996ad6e3b4 | fix: don't use resourceDistributorLock for the read ops | ## Summary of change
(A few sentences about this PR)
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 626928288..96401abab 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+## [11.4.2]
+
+- Fixes Tenant/App/CUD APIs to not to lock the whole world for a read
+
## [11.4.1]
- ... | 6 | 6 | 0 | [{"id": "G0", "claim": "Fix the ConcurrentModificationException seen under concurrent test loads: ResourceDistributor.resources is still a plain HashMap, so getResource() iterating resources.keySet() (line 75) will throw ConcurrentModificationException when a concurrent reload modifies the map, and the lock removal in ... | null |
supertokens__supertokens-core__1246 | supertokens/supertokens-core | 1,246 | defect | 81a0e0072ebffc14868345c1e33208e63ce40359 | fad93472149644b134768fcb884ecc2b1ae846a3 | fix: add locks for oauth non-rotating refresh token | ## Summary of change
(A few sentences about this PR)
## Related issues
- Link to issue1 here
- Link to issue1 here
## Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 626928288..0bf92640e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+## [11.4.2]
+
+- Fixes concurrency issue with oauth refresh tokens
+
## [11.4.1]
- Fixes OTEL initial... | 4 | 2 | 2 | [{"id": "G0", "claim": "The SELECT in getRefreshTokenMappingForUpdate lacks FOR UPDATE, so it acquires no row-level lock and the PR's database-level serialization of concurrent refresh-token requests does not work.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1",... | null |
supertokens__supertokens-core__412 | supertokens/supertokens-core | 412 | defect | 1b48db7b20b6316083a62db3c22942bc717523a1 | dffa7fc29f128fb3b869cd20c028a83fff221d93 | fix: SuperTokens list ignoring base_path in config | `supertokens list` previously failed when `base_path` was set in `config.yaml` due to a GET request by the CLI that did not observe `base_path`. I added the base path of the server to the .started file in addition to the PID so that the CLI can GET the /config route without encountering 404 errors.
## Summary of cha... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 972fe80f0..e5a9a666d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [unreleased]
+- Fixes base_path config option not being observed when running `supertokens list`
+- Adds base_path norma... | 2 | 2 | 2 | [{"id": "G0", "claim": "Since the tests asserting that base_path values like 'somepath/' and '/somepath/' fail validation were removed, tests should be added that set those base_path values and assert that Config.getBasePath() returns \"/somepath\".", "category": "testing", "verdict": "supported", "priority": "P1", "sc... | null |
supertuxkart__stk-code__2615 | supertuxkart/stk-code | 2,615 | defect | 6c9050f47a6ca09bffc0354c42c435d972ee61c9 | 5dcbb730a9587fd1afef4222ee477b9c37048b8f | Fixes warnings | See #2613
Edit: I did not change any of the networking code to avoid long merging headache to @hiker.
| diff --git a/src/audio/music_ogg.cpp b/src/audio/music_ogg.cpp
index df7613f3dbc..132aad01f72 100644
--- a/src/audio/music_ogg.cpp
+++ b/src/audio/music_ogg.cpp
@@ -333,11 +333,10 @@ bool MusicOggStream::streamIntoBuffer(ALuint buffer)
int size = 0;
int portion;
- int result;
while(size < m_buf... | 4 | 3 | 0 | [{"id": "G0", "claim": "The added `uint64_t nulltex[10] = {};` line in the grass-material branch is indented with tabs and looks too indented.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The successive assignments to `angle` with different va... | null |
supertuxkart__stk-code__3143 | supertuxkart/stk-code | 3,143 | defect | 38a4e06a6c24a593ed058fb0378d0918414c4847 | 94d916698bb536841a1468ba98fea3c45a725431 | AI item handling improvements | A general summary of the changes in the patch :
- As discussed on the IRC, replace the random item usage bool by an int for several modes (from 1 to 5 plus 0 for "do nothing"), to make each difficulty have its own item AI (with some shared parts).
- Add a boost_ai characteristic for karts ; allowing some karts to ... | diff --git a/data/stk_config.xml b/data/stk_config.xml
index 6311c5222c3..adec8aae720 100644
--- a/data/stk_config.xml
+++ b/data/stk_config.xml
@@ -288,7 +288,7 @@
false-start-probability="0.08"
min-start-delay="0.3" max-start-delay="0.5"
nitro-usage="none"
- ... | 9 | 6 | 2 | [{"id": "G0", "claim": "The packed decimal (ABCD) encoding of nearby-projectile counts is convoluted and should be replaced with a bitmask or an array.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Kart::setBoostAI does not appear to be called ... | null |
surrealdb__surrealdb__2661 | surrealdb/surrealdb | 2,661 | defect | ebabe9554b96408eec91067fc00e2f40eedb2b65 | 271842d4ec4b0a8503e3864b2e212b2a0074ac1e | Fix authentication issues with `LIVE SELECT` statements | Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.
## What is the motivation?
Previously, `LIVE` SELECT statements did not have access to the original `$session` information, and were therefore unable to process `PERMISSIONS` clauses fully or correctly. In a... | diff --git a/lib/src/doc/lives.rs b/lib/src/doc/lives.rs
index 8c8682e79a0a..5f104b071cc6 100644
--- a/lib/src/doc/lives.rs
+++ b/lib/src/doc/lives.rs
@@ -3,15 +3,21 @@ use crate::dbs::Notification;
use crate::dbs::Options;
use crate::dbs::Statement;
use crate::dbs::{Action, Transaction};
+use crate::doc::CursorDoc;... | 5 | 1 | 1 | [{"id": "G0", "claim": "The live-query notification construction in lives() could be implemented as a Notification Activity From<Statement> conversion, which might be convenient.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The session field names adde... | null |
surrealdb__surrealdb__4390 | surrealdb/surrealdb | 4,390 | defect | 70c682987c802a8c77be7ae896fc576ee2f10c33 | 203da6a7f9695b250d8bb4cd6100b4cf26dae5fb | Added TryFloatDiv trait for MathMean in Aggregate function | Thank you for submitting this pull request! We really appreciate you spending the time to work on these changes.
## What is the motivation?
Currently if you compute the `math::mean()` of multiple integers, you receive a rounded integer back, not the expected floating point numeric value that is the correct mean o... | diff --git a/core/src/dbs/group.rs b/core/src/dbs/group.rs
index 200470b80b2e..607383a13527 100644
--- a/core/src/dbs/group.rs
+++ b/core/src/dbs/group.rs
@@ -4,7 +4,7 @@ use crate::dbs::store::MemoryCollector;
use crate::dbs::{Options, Statement};
use crate::err::Error;
use crate::sql::function::OptimisedAggregate;... | 5 | 5 | 3 | [{"id": "G0", "claim": "Division by zero should return f64::NAN instead of raising an error.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "math::mean over integer values fails unless the aggregate value is cast to float.", "category": "correctness", "ve... | null |
surrealdb__surrealdb__6530 | surrealdb/surrealdb | 6,530 | defect | 37ebe918b55ae76b148095523307f2cb86aaf196 | b659150f218b474fd477feba5d1b8f6c4cfc1ada | Add disk space limits and read-only/deletion-only modes for RocksDB | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## What is the motivation?
The current RocksDB implementation can fail abruptly when disk space is exhausted, leading to database unavailability. This creates operational challenges where users cann... | diff --git a/Cargo.lock b/Cargo.lock
index 0a60c7edf104..230dda3fdb20 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -844,7 +844,7 @@ dependencies = [
"bitflags 2.9.0",
"cexpr",
"clang-sys",
- "itertools 0.13.0",
+ "itertools 0.10.5",
"log",
"prettyplease",
"proc-macro2",
@@ -864,7 +864,7 @@ dependencies = [
... | 3 | 2 | 2 | [{"id": "G0", "claim": "The new test_sst_file_manager_read_and_deletion_only_mode mutates process-wide SURREAL_ROCKSDB_* environment variables without serialising the test, which may make it nondeterministic and can cause unrelated tests to observe the temporary values or the test itself to never hit the configured lim... | null |
surrealdb__surrealdb__6777 | surrealdb/surrealdb | 6,777 | defect | 422f790fc045ef8893be618737a8d7705d4f8e1b | 91909a5bbe6aea33b87657181380bcaa7576fd18 | Validate and fix `ONLY`, `OMIT`, and `SELECT VALUE` | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## What is the motivation?
<!-- Please provide details on the motivation for why you have made this change.-->
Validating `ONLY`, `OMIT`, and `SELECT VALUE` functionality.
## What does this ch... | diff --git a/language-tests/tests/language/graph/edge_clauses.surql b/language-tests/tests/language/graph/edge_clauses.surql
index cf8d3a5ff165..0e76e8ebd06e 100644
--- a/language-tests/tests/language/graph/edge_clauses.surql
+++ b/language-tests/tests/language/graph/edge_clauses.surql
@@ -61,4 +61,3 @@ SELECT ->(knows... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new SPLIT/GROUP exclusivity check is skipped for GROUP ALL because try_parse_group returns early on ALL, so `SELECT a FROM t SPLIT b GROUP ALL;` still parses successfully even though the intent (and the new test) is to reject any SPLIT+GROUP combination.", "category": "correctness", "verdict... | null |
surrealdb__surrealdb__6779 | surrealdb/surrealdb | 6,779 | defect | 422f790fc045ef8893be618737a8d7705d4f8e1b | 69ba061501408a4f7f32813176e53cf360a9615b | HNSW hash-based vector deduplication | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## What is the motivation?
<!-- Please provide details on the motivation for why you have made this change.-->
Currently, vector deduplication in the HNSW index is implemented by embedding the se... | diff --git a/surrealdb/core/src/idx/mod.rs b/surrealdb/core/src/idx/mod.rs
index 41941d2add13..cf49f501b9c1 100644
--- a/surrealdb/core/src/idx/mod.rs
+++ b/surrealdb/core/src/idx/mod.rs
@@ -14,7 +14,7 @@ use uuid::Uuid;
use crate::catalog::{DatabaseId, IndexId, NamespaceId};
use crate::idx::seqdocids::DocId;
use cr... | 2 | 2 | 2 | [{"id": "G0", "claim": "The pull request must not reuse the same `hv` key with a different (hash) encoding, since that would be a breaking change for existing data, and should use another key instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "With h... | null |
surrealdb__surrealdb__6821 | surrealdb/surrealdb | 6,821 | defect | a1d72e4c11debd8268c8a66ab65e199476345282 | 82d485ba182f8eedb350c90bb2443809dac54cca | Remove `VERSION` from `CREATE` and `INSERT` statements. | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## What is the motivation?
<!-- Please provide details on the motivation for why you have made this change.-->
Using `VERSION` in `CREATE` or `INSERT` statements is fundamentally flawed. We only ... | diff --git a/surrealdb/core/src/catalog/aggregation.rs b/surrealdb/core/src/catalog/aggregation.rs
index baac4a6bb89f..079e6f79f4c4 100644
--- a/surrealdb/core/src/catalog/aggregation.rs
+++ b/surrealdb/core/src/catalog/aggregation.rs
@@ -687,7 +687,6 @@ impl MutVisitor for AggregateExprCollector<'_> {
if let Some(d... | 2 | 1 | 1 | [{"id": "G0", "claim": "Because INSERT no longer propagates VERSION to Options while kvs/export.rs still emits INSERT (RELATION) ... VERSION for versioned exports, importing an export from the same version would silently drop historical timestamps and use the current version, so the PR must either keep applying the ver... | null |
surrealdb__surrealdb__6975 | surrealdb/surrealdb | 6,975 | defect | 6d25260e1a866602a29219ee35d5dace6601de44 | 976c65283dd16ad1cec308f3b1f9bf54e056f622 | Ensure transaction timeout is respected for queries. | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## What is the motivation?
<!-- Please provide details on the motivation for why you have made this change.-->
We had a report of a hanging result when using TiKV backend.
## What does this ch... | diff --git a/surrealdb/core/src/dbs/executor.rs b/surrealdb/core/src/dbs/executor.rs
index ce60c9f40fa3..fbdf828e2b22 100644
--- a/surrealdb/core/src/dbs/executor.rs
+++ b/surrealdb/core/src/dbs/executor.rs
@@ -600,6 +600,22 @@ impl Executor {
kvs: &Datastore,
start: &Instant,
plan: TopLevelExpr,
+ ) -> Result... | 3 | 2 | 2 | [{"id": "G0", "claim": "The timeout wrapper converts Elapsed into TransactionTimedout by dropping execute_plan_impl_inner without letting it run its txn.cancel()/txn.commit() paths, leaving a write transaction unfinished so it can retain locks/resources and skip rollback-side cleanup; it should cancel/rollback explicit... | null |
surrealdb__surrealdb__7021 | surrealdb/surrealdb | 7,021 | defect | d454269ecb11837a3b5ff5e1fd0a981c9d07eb4d | 464bbd5f106eb40884f0f8d34f47d8009dcd6419 | Fix SurrealValue::from_value for serde_json::Value | ## Summary
Fix `SurrealValue::from_value()` for `serde_json::Value` to handle all `Value` variants.
Currently, only 7 of 18 variants are handled — the rest (`Datetime`, `RecordId`, `Uuid`, `Duration`, `Bytes`, `Set`, `Table`, `Geometry`, `File`, `Range`, `Regex`) fall through to a catch-all error arm producing `"Expe... | diff --git a/surrealdb/types/src/traits/surreal_value.rs b/surrealdb/types/src/traits/surreal_value.rs
index d7a02ca467fe..02f4a2701b78 100644
--- a/surrealdb/types/src/traits/surreal_value.rs
+++ b/surrealdb/types/src/traits/surreal_value.rs
@@ -1381,37 +1381,7 @@ impl SurrealValue for serde_json::Value {
}
fn f... | 1 | 1 | 1 | [{"id": "G0", "claim": "The CI Clippy lint on the PR (the approx_constant lint in the test at surrealdb/types/tests/surreal_value/trait.rs) needs to be addressed.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
surrealdb__surrealdb__7084 | surrealdb/surrealdb | 7,084 | defect | 0e7c385df4a8646902aaf97c84d6615cdeebeba0 | f26f54c921ac93285946cde90ebaf84ef5858e06 | Fix infinity output, add constant path that isn't abbreviated | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## What is the motivation?
The correct output for infinity and negative infinity is `Infinity` and `-Infinity`. However, in some places the output for this is turned to `Inf` and `-Inf` by directly ... | diff --git a/language-tests/tests/language/constants/math/infinity.surql b/language-tests/tests/language/constants/math/infinity.surql
index 048357df5c6d..31c625b833d0 100644
--- a/language-tests/tests/language/constants/math/infinity.surql
+++ b/language-tests/tests/language/constants/math/infinity.surql
@@ -7,6 +7,16... | 2 | 2 | 0 | [{"id": "G0", "claim": "Instead of duplicating the non-finite f64 formatting function in core, make the surrealdb-types one public and use that in core.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Make fmt_non_finite_f64 return an Option so the functi... | null |
surrealdb__surrealdb__7085 | surrealdb/surrealdb | 7,085 | defect | 0e7c385df4a8646902aaf97c84d6615cdeebeba0 | 2779f0ec3719cacf4133ab1689501a8e0bf692db | Add more Serde tests | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## Is this related to any issues?
<!-- If this pull request is related to other pull requests, or resolves any issues, then link all related or closed items here, using 'Closes #101' or 'Fixes #101'... | diff --git a/Cargo.lock b/Cargo.lock
index bc4343b5efdd..483c042fb3e8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1107,6 +1107,15 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
+[[package]]
+name = ... | 3 | 3 | 2 | [{"id": "G0", "claim": "deserialize_any has no cases for Value::Datetime, Value::Uuid, Value::Duration or Value::RecordId, so once this PR's serializer emits those native variants, serde patterns that route through deserialize_any (e.g. untagged enums, flatten, Content buffering) would fail deserialization of valid dat... | null |
surrealdb__surrealdb__7108 | surrealdb/surrealdb | 7,108 | defect | d0d99f7ad702bb0270831653e48acd053b4b4875 | abeb81787f408a32becafb7aa17e4b42dbccc154 | SDB-200: Add support for REMOVE CONFIG | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## What is the motivation?
`DEFINE CONFIG` exists for creating GRAPHQL, API, and DEFAULT configurations, but there is no corresponding `REMOVE CONFIG` statement to delete them.
## What does this ... | diff --git a/language-tests/tests/language/statements/remove/config/api.surql b/language-tests/tests/language/statements/remove/config/api.surql
new file mode 100644
index 000000000000..7cb31f11c253
--- /dev/null
+++ b/language-tests/tests/language/statements/remove/config/api.surql
@@ -0,0 +1,28 @@
+/**
+[env]
+namesp... | 4 | 4 | 0 | [{"id": "G0", "claim": "The unreachable `Base::Ns` branch should use `fail!` instead of `unreachable!` to avoid a potential panic in production if `ConfigKind::base` ever returns `Base::Ns`.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Language te... | null |
surrealdb__surrealdb__7121 | surrealdb/surrealdb | 7,121 | defect | 9be20fcf5af728c02ebbc785bbceaf259e1a46bc | 7e2ce2527f6d5f9a469b6e1228ce1517c54a46a3 | Fix stack overflow on recursive `SurrealValue` types | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## What is the motivation?
<!-- Please provide details on the motivation for why you have made this change.-->
Recursive types deriving `SurrealValue` lead to a stack overflow.
## What does th... | diff --git a/surrealdb/types/derive/src/impl/enum.rs b/surrealdb/types/derive/src/impl/enum.rs
index dc7dab490e8e..1ad8d5ee2c13 100644
--- a/surrealdb/types/derive/src/impl/enum.rs
+++ b/surrealdb/types/derive/src/impl/enum.rs
@@ -36,6 +36,19 @@ pub fn impl_enum(
}
fn kind_of() -> #kind_ty {
+ std::thread_... | 1 | 1 | 1 | [{"id": "G0", "claim": "The thread_local GUARD emitted inside the generated kind_of() is a single static shared across all monomorphizations of a generic type, so a cross-monomorphization call like Wrapper::<A>::kind_of() reaching Wrapper::<B>::kind_of() would incorrectly return Kind::Any; the reviewer asks for a TypeI... | null |
surrealdb__surrealdb__7197 | surrealdb/surrealdb | 7,197 | defect | 2b6f236b43d3ac673d51d18d0cef52ac3ee96ec5 | d2081e437dfd3b50291cf44a5e5ca8c31ee2763c | Fix missing `encoding::json` functions, and improve tests for `encoding::cbor` functions | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## What is the motivation?
There is currently no way to serialize SurrealDB values to JSON strings or parse JSON strings back into SurrealDB values from within SurrealQL. The existing `encoding::bas... | diff --git a/language-tests/Cargo.lock b/language-tests/Cargo.lock
index 574ea7788abb..baafe36200ad 100644
--- a/language-tests/Cargo.lock
+++ b/language-tests/Cargo.lock
@@ -627,6 +627,15 @@ dependencies = [
"pkg-config",
]
+[[package]]
+name = "castaway"
+version = "0.2.4"
+source = "registry+https://github.com/... | 2 | 2 | 1 | [{"id": "G0", "claim": "The json_decode language test suite should expect an \"Incorrect arguments for function encoding::json::decode(). Invalid JSON\" error for the malformed-JSON cases in the commented block, and should actually run encoding::json::decode('hello\"') as a malformed-input test.", "category": "correctn... | null |
surrealdb__surrealdb__7224 | surrealdb/surrealdb | 7,224 | defect | 54005de6f3e874323e44ff6a6eb77bc422b83250 | 91a449472e690f3fc63dfd6b00eae001661d3547 | Increase language tests default timeout to 5s. | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## What is the motivation?
<!-- Please provide details on the motivation for why you have made this change.-->
We have had a lot of flakiness in our language tests. Our language tests are not per... | diff --git a/language-tests/Cargo.toml b/language-tests/Cargo.toml
index c1683ac8a984..db9688c49f26 100644
--- a/language-tests/Cargo.toml
+++ b/language-tests/Cargo.toml
@@ -40,7 +40,6 @@ toml_edit = { version = "0.24.0", features = ["serde"] }
semver = "1.0.27"
# Used for formatting output
-base64 = "0.22.1"
sim... | 3 | 2 | 1 | [{"id": "G0", "claim": "The PR only updates DEFAULT_TIMEOUT_MS in schema/mod.rs (which applies when config.env is Some), but ~71% of tests have no [env] section and hit hardcoded fallbacks in run/mod.rs (Duration::from_secs(2) at line 474 and Duration::from_secs(3) at line 397) that were not updated, so most tests keep... | null |
surrealdb__surrealdb__7233 | surrealdb/surrealdb | 7,233 | defect | 3120c2d8a7b9545c32cf2053cbe729a38ddea301 | b0720b33f296d7771430103ca555a3a0f381016c | Fix auth limit with ALTER statements. | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
## What is the motivation?
The `ALTER` code paths for schema types that carry an `auth_limit` field (API, function, event, field) clone the existing definition and mutate fields but never recompute `... | diff --git a/language-tests/tests/reproductions/alter_auth_limit_escalation.surql b/language-tests/tests/reproductions/alter_auth_limit_escalation.surql
new file mode 100644
index 000000000000..d3dc84184bba
--- /dev/null
+++ b/language-tests/tests/reproductions/alter_auth_limit_escalation.surql
@@ -0,0 +1,33 @@
+/**
+[... | 1 | 1 | 1 | [{"id": "G0", "claim": "In auth_limit_alter_api_recomputes the API invocation result is discarded with `let _ = dbs.execute(...)`, so the test passes even if the handler body never ran; the invocation result should be captured and asserted to contain the IAM error, matching the pattern in auth_limit_alter_function_reco... | null |
surrealdb__surrealdb__7235 | surrealdb/surrealdb | 7,235 | defect | c1e198de9fdbea7dd638db48b868270a617b7b2b | 8245dd671cebaa1f234cf0b2dd9ea24426aec4b4 | Allow reading validation input from stdin | Thank you for submitting this pull request. We really appreciate you spending the time to work on SurrealDB. 🚀 🎉
Before proceeding, please add any of the following labels that apply:
* `breaking-change` if this PR includes a breaking change. This label is not needed for bug fixes, which change output in line wi... | diff --git a/surrealdb/server/src/cli/validate.rs b/surrealdb/server/src/cli/validate.rs
index 2976b1e67aa9..12483fb9ea15 100644
--- a/surrealdb/server/src/cli/validate.rs
+++ b/surrealdb/server/src/cli/validate.rs
@@ -8,13 +8,34 @@ pub struct ValidateCommandArguments {
#[arg(help = "Glob pattern for the files to val... | 1 | 1 | 1 | [{"id": "G0", "claim": "When stdin validation fails, the error message is printed twice to stderr — once via eprintln! in validate.rs and again via the top-level error!() logger in mod.rs after bail! propagates the error — so users of the new --stdin flag see duplicate, inconsistently formatted error output.", "categor... | null |
surrealdb__surrealdb__7253 | surrealdb/surrealdb | 7,253 | defect | fd6f6e9b37921fa53ce2b29ee514636a09f5f3c3 | 88a1f77b5267ecdce45755ea37bb45f50b7bf55c | Fix SurrealValue derive macro emitting r#type instead of type for raw identifiers | ## What is the motivation?
When a Rust struct field uses a raw identifier (e.g. `r#type`), the `SurrealValue` derive macro emits `"r#type"` as the serialized map key instead of `"type"`. This causes the field to appear as `NONE` when queried from SurrealDB, since the database stores it under `"r#type"` rather than the... | diff --git a/surrealdb/types/derive/src/structs/fields/named.rs b/surrealdb/types/derive/src/structs/fields/named.rs
index 615f10be9202..0a7b7624b944 100644
--- a/surrealdb/types/derive/src/structs/fields/named.rs
+++ b/surrealdb/types/derive/src/structs/fields/named.rs
@@ -5,6 +5,13 @@ use syn::{Ident, Type};
use cra... | 1 | 1 | 0 | [{"id": "G0", "claim": "The same raw-identifier bug the PR fixes for struct fields remains in enum variants: `variant_string()` in `attr/enum.rs` still calls `variant.to_string()` without stripping the `r#` prefix (the `unraw()` helper is private to `named.rs`), so enum variants like `r#type` serialize as `\"r#type\"` ... | null |
surrealdb__surrealdb__7268 | surrealdb/surrealdb | 7,268 | defect | ad1a2cc7f8b4f7e544f4561048e8501cb824d335 | e42f60f3328e7053a9d369659ff12e904c107262 | feat(types-derive): support #[surreal(rename_all)] + honor per-variant #[surreal(rename)] | ## What is the motivation?
`#[derive(SurrealValue)]` currently does not mirror important serde naming behavior in the `#[surreal(...)]` namespace:
- per-variant `#[surreal(rename = "...")]` was parsed for fields but ignored for enum variants
- no `#[surreal(rename_all = "...")]` support for enums or structs
- this ca... | diff --git a/Cargo.lock b/Cargo.lock
index 308e6572ded1..205cc5ceebce 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -315,6 +315,7 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7"
dependencies = [
+ "heck ... | 8 | 8 | 7 | [{"id": "G0", "claim": "#[surreal(rename_all)] on an enum silently does nothing when the = \"...\" value is omitted (meta.value() fails and the if-let-Ok arm is skipped), while the same mistake on a struct is a compile-time error, so users get silent serialization mismatches; the reviewer asks for the let-else panic st... | null |
surrealdb__surrealdb__7275 | surrealdb/surrealdb | 7,275 | defect | 0ce9f15112c63cfdff16f7a3ee3cdb430c3153eb | f02f03d0fcaead8b0c87d4cd59a8a1faeba72af5 | Fix #7131, #7154, #7207 — LET/IF context, $parent in views, unified COMMIT errors | ### What is the motivation?
Deferred follow-ups for default 3.x behaviour after the big executor work: unique index + commit semantics (#7207), LET / IF / FOR vs mixed planner + legacy compute (#7131), and `$parent` in materialized view definitions (#7154). The branch was merged with `main` (including #7264-style `$pa... | diff --git a/language-tests/tests/reproductions/6819_hnsw_rwlock_starvation.surql b/language-tests/tests/reproductions/6819_hnsw_rwlock_starvation.surql
new file mode 100644
index 000000000000..e40f54f4aeb8
--- /dev/null
+++ b/language-tests/tests/reproductions/6819_hnsw_rwlock_starvation.surql
@@ -0,0 +1,8 @@
+/**
+[t... | 5 | 5 | 4 | [{"id": "G0", "claim": "The second HNSW read lock is still held for the whole add_graph_results phase (per-neighbor KV I/O across awaits), so the #6819 starvation window is reduced but not eliminated, and the PR's doc comment claiming the lock is not held across that phase is factually incorrect.", "category": "perform... | null |
surveyjs__survey-library__10669 | surveyjs/survey-library | 10,669 | defect | 6b0a4e1339d6007edced9381dabcd6901c830991 | 8ed7589194ff225ceea2aa61a79e4dda43a306cc | The survey.focusQuestion function doesn't focus the first row of a Mu… | …lti-Select or Dynamic Matrix fix #10657 | diff --git a/e2e/questions/matrixdynamic.spec.ts b/e2e/questions/matrixdynamic.spec.ts
index 75a8b3e37e..cee6d10d71 100644
--- a/e2e/questions/matrixdynamic.spec.ts
+++ b/e2e/questions/matrixdynamic.spec.ts
@@ -731,5 +731,28 @@ frameworks.forEach((framework) => {
const surveyResult = await getSurveyResult(page);... | 1 | 1 | 0 | [{"id": "G0", "claim": "Generating visible rows inside getFirstCellQuestion (behind the new generateRows parameter) is the wrong place — when focusing a question it should already be rendered, so the generateVisibleRowsIfNeeded() call should live in getFirstQuestionToFocus instead.", "category": "design", "verdict": "s... | null |
surveyjs__survey-library__9522 | surveyjs/survey-library | 9,522 | defect | 9bb0a1e7943df9dcca16799895005f1f1fdbcc49 | 19b336ed104e31649db8ff92e5bc41518d24407d | PR: Radio Button Group / Checkboxes: In multi-column layout, items are arranged unnaturally | see https://github.com/surveyjs/survey-library/issues/9487 | diff --git a/packages/survey-core/src/question_baseselect.ts b/packages/survey-core/src/question_baseselect.ts
index 8e3d5b8b98..4659158a2c 100644
--- a/packages/survey-core/src/question_baseselect.ts
+++ b/packages/survey-core/src/question_baseselect.ts
@@ -1931,40 +1931,48 @@ export class QuestionSelectBase extends Q... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new helper getColumnsWithColumnItemFlow should be marked private so that it can be renamed or removed freely in the future.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
surveyjs__survey-library__9692 | surveyjs/survey-library | 9,692 | defect | 707a5faee2ae04e01df846a3afa408f5f414ae8b | 97861168046c8e693e3e1bb046f9d97fb7047363 | [Vue3] The Header is not rendered when a survey is loaded asynchronously within the `onMounted` hook | Fixes #9678 | diff --git a/packages/survey-core/src/survey.ts b/packages/survey-core/src/survey.ts
index fa94921290..e3b0c89006 100644
--- a/packages/survey-core/src/survey.ts
+++ b/packages/survey-core/src/survey.ts
@@ -6536,6 +6536,8 @@ export class SurveyModel extends SurveyElementCore
}
public fromJSON(json: any, options?:... | 1 | 1 | 1 | [{"id": "G0", "claim": "Remove the QUnit.only modifier from the new test so it runs normally instead of isolating it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
survivejs__webpack-merge__152 | survivejs/webpack-merge | 152 | defect | 57ec2957ecfab174a9dad07c41cfcf476d64baa2 | 74ef999662cd8aafe6ef0ce74949046dd8d46354 | feat - Add a syntax for adjusting merge behavior without matching | @dennisoelkers This is my go at fixing your issue. I set up tests based on your code and fixed one of the problems.
I think the `resolve.extensions` case needs a bit more to go with it. Do you have more complex configuration there in your case? The trivial way to solve it would be to use `resolve: 'replace'` but tha... | diff --git a/src/index.ts b/src/index.ts
index 424e93d..6c2d2e2 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -3,7 +3,7 @@ import mergeWith from "./merge-with";
import joinArrays from "./join-arrays";
import unique from "./unique";
import { CustomizeRule, ICustomizeOptions, Key } from "./types";
-import { isPlainO... | 5 | 5 | 2 | [{"id": "G0", "claim": "Merging two configurations with disjunct resolve.extensions arrays returns an empty array but should return the superset of both arrays.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The naming of the Only syntax (e.g. App... | null |
survivejs__webpack-merge__162 | survivejs/webpack-merge | 162 | defect | 57ec2957ecfab174a9dad07c41cfcf476d64baa2 | 3ef95df0809fa782c6c00b0089ec7fe5203913cf | unique merge array customisation fix | This fixes #161 | diff --git a/src/unique.ts b/src/unique.ts
index c7d29fa..8402532 100644
--- a/src/unique.ts
+++ b/src/unique.ts
@@ -3,26 +3,16 @@ function mergeUnique(
uniques: string[],
getter: (a: object) => string
) {
+ let uniquesSet = new Set(uniques)
return (a: [], b: [], k: string) =>
- k === key && [
- ...d... | 1 | 1 | 1 | [{"id": "G0", "claim": "Duplicate the original test and apply the change in a separate test so the previous behaviour stays covered and no regression slips through.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
suse-edge__edge-image-builder__117 | suse-edge/edge-image-builder | 117 | defect | 6d3902c6f9fba27a25298a96fb0ba51ce22e50cd | 980a9618a3d313cb4ed360856965db2a6f22e002 | Migrated artifact registry into new validation framework | - Migrated the isEmbeddedArtifactRegistry check into the combustion file for the registry work since it's primarily used by that component | diff --git a/pkg/combustion/registry.go b/pkg/combustion/registry.go
index 18ccb96e..f232d088 100644
--- a/pkg/combustion/registry.go
+++ b/pkg/combustion/registry.go
@@ -30,7 +30,7 @@ var haulerManifest string
var registryScript string
func configureRegistry(ctx *image.Context) ([]string, error) {
- if image.IsEmb... | 3 | 2 | 1 | [{"id": "G0", "claim": "The spelling of 'Artefact' (with an 'e') is inconsistent with 'Artifact' used elsewhere in the file and should be made consistent.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The runner-function test would also cover i... | null |
suse-edge__edge-image-builder__122 | suse-edge/edge-image-builder | 122 | defect | cd9328616284e1b505989f0e162d39708a711e39 | 70fd4bc56cdf30968be8eea3ad3342ed723a12b2 | Migrated the CLI to use the new validation framework | Previous output, which only displayed the first validation failure encountered:
```
2024/01/19 19:53:41 CLI arguments could not be parsed: parsing image definition file iso-image.yaml: error validating definition file: error validating image: arch not defined
```
New output:
```
Image definition validation foun... | diff --git a/README.md b/README.md
index ae391f5f..cd99f965 100644
--- a/README.md
+++ b/README.md
@@ -46,6 +46,8 @@ podman run --rm -it \
volume to make the build artifacts available after the container completes. In this example, a directory named
`_build` will be created in the image configuration directory an... | 3 | 2 | 1 | [{"id": "G0", "claim": "The failure log output is not well formatted: multiple messages run together on one line and raw errors are appended without separation, so the failures (e.g. the base-image not-found error) should be formatted readably, perhaps via a LogMessage field instead of a plain error.", "category": "cor... | null |
suse-edge__edge-image-builder__143 | suse-edge/edge-image-builder | 143 | defect | 79963445c9e5d977b4f11e785766a4b8c8796ffc | b605541acfc631896529118d349ed6ef75c894be | Added ability to include CA certificates in the built image | Misc other fixes:
* Reordered directory listing in building-images to be alphabetical
* Removed blank line and corrected log message capitalization in elemental.go
* Fixed typo in files_io.go | diff --git a/docs/building-images.md b/docs/building-images.md
index d44280bd..f9411e24 100644
--- a/docs/building-images.md
+++ b/docs/building-images.md
@@ -144,14 +144,16 @@ the structure of this directory will be better fleshed out. For now, the require
There are a number of optional directories that may be incl... | 6 | 6 | 2 | [{"id": "G0", "claim": "The certificates script should run much earlier in the boot process (before Elemental/SUMA/Proxy, e.g. numbered 07 instead of 30) so the certificates are imported before the components that need them are set up.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
suse-edge__edge-image-builder__145 | suse-edge/edge-image-builder | 145 | defect | d5efb8d952b7af211360c78cc59083b420106a2b | 7f7205edd80f10cc3412af40856c179480a241ea | Complete air-gapped manifest deployment | This is the finale in the manifest deployment saga, excluding helm charts. This includes the final piece of the puzzle for actually using all of the previous merged implementations for completely air-gapped manifest deployment. | diff --git a/pkg/combustion/kubernetes.go b/pkg/combustion/kubernetes.go
index 69516eb1..dc1030be 100644
--- a/pkg/combustion/kubernetes.go
+++ b/pkg/combustion/kubernetes.go
@@ -124,11 +124,12 @@ func configureRKE2(ctx *image.Context) (string, error) {
}
templateValues := map[string]any{
- "apiVIP": ctx.... | 2 | 2 | 1 | [{"id": "G0", "claim": "The template value `registriesManifest` and the constant backing it are misnamed, since it is technically not a manifest, and something like `registryMirrors` or `privateRegistries` would be more clear.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduc... | null |
suse-edge__edge-image-builder__181 | suse-edge/edge-image-builder | 181 | defect | 8b16655612c2f7fb45122c8cf02b41542d8c819d | 9f7beb11acaf6f5cc8cdac50dd64a025291219f5 | Adding support for specifying the desired raw disk size | This PR enables the user to specify a desired raw disk image size, this has two key benefits, firstly ensuring that the initial disk image is resized to accommodate the combustion directory accordingly, and secondly to set the size of the partitions for its first boot, noting that if there's any additional space the sy... | diff --git a/Dockerfile b/Dockerfile
index 4d60eef8..4b60ac64 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -33,7 +33,8 @@ RUN zypper install -y \
libguestfs kernel-default e2fsprogs parted gptfdisk btrfsprogs \
podman \
createrepo_c \
- nm-configurator
+ nm-configurator \
+ guestfs-tools lvm2
... | 5 | 5 | 1 | [{"id": "G0", "claim": "Move the guestfs-tools and lvm2 packages up onto the libguestfs line in the Dockerfile, since those are the dependencies needed for RAW image modification.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new truncate/v... | null |
suse-edge__edge-image-builder__183 | suse-edge/edge-image-builder | 183 | defect | 0e6d1e5bc893cac121f63f203d8230e71973ef4a | fb780a9e1e21a4d840c1be91b108e0eea4a301bd | renamed isoInstallation section to isoConfiguration | When `rawConfiguration` was added, we talked about renaming this field to match for consistency. | diff --git a/docs/building-images.md b/docs/building-images.md
index ff37e2ae..86f5288f 100644
--- a/docs/building-images.md
+++ b/docs/building-images.md
@@ -37,7 +37,7 @@ The operating system configuration section is entirely optional.
The following describes the possible options for the operating system section:
`... | 1 | 1 | 1 | [{"id": "G0", "claim": "The validation failure messages in validateUnattended and validateRawConfig still reference the old 'isoInstallation' field name and were not adjusted to the new 'isoConfiguration' name.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
suse-edge__edge-image-builder__185 | suse-edge/edge-image-builder | 185 | defect | 03dba4a7258e62483a6ba8f43731581a5d6c3000 | 9935d77cd5d7cff543f64564db1aaf27a86d93da | added basic schema version validation for 1.0 | I'm writing up a design doc detailing the rules we're going to follow when it comes to changing the schema version, but in the interest of getting the first RC built, I'm going to do that in a separate PR in case we go back and forth on the phrasing and handling. | diff --git a/pkg/image/validation/api_version.go b/pkg/image/validation/api_version.go
new file mode 100644
index 00000000..5c6d72d8
--- /dev/null
+++ b/pkg/image/validation/api_version.go
@@ -0,0 +1,15 @@
+package validation
+
+import "github.com/suse-edge/edge-image-builder/pkg/image"
+
+func validateAPIVersion(ctx *... | 1 | 1 | 0 | [{"id": "G0", "claim": "Extract the \"Definition Schema\" component string into a named constant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
suse-edge__edge-image-builder__2 | suse-edge/edge-image-builder | 2 | defect | fb7c916e26e78bd1820fec6fad3ba59b661993a1 | 36c269975385116285b5841e1aeb8bc99f7f174f | Added basic structure for configuration parsing | This does not yet include any sort of validation on the data, that'll come in a future change. | diff --git a/go.mod b/go.mod
index 93c4ce5a..713880fb 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,10 @@
module eib
go 1.21.1
+
+require (
+ github.com/davecgh/go-spew v1.1.1 // indirect
+ github.com/pmezard/go-difflib v1.0.0 // indirect
+ github.com/stretchr/testify v1.8.4 // indirect
+ gopkg.in/yaml.v3 v3.0.1 // i... | 7 | 7 | 2 | [{"id": "G0", "claim": "Modules that are used directly in the codebase are wrongly marked `// indirect` in go.mod, so `go mod tidy` should be run to fix them.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The module path `eib` does not follow the s... | null |
suse-edge__edge-image-builder__223 | suse-edge/edge-image-builder | 223 | defect | a7f742a2f46aef4d838102b9392d60b144c9b4ee | 3b9162558423025b09a566c8938756627ec1c7a5 | Added ability to define operating system groups | This doesn't include the changes to be able to assign users to groups, I'll add that in the next PR. However, I did already rename the user combustion script file to make sure it runs after groups, which will be needed once the the ability to assign users to groups is added. | diff --git a/docs/building-images.md b/docs/building-images.md
index 84d0326c..69df5cf4 100644
--- a/docs/building-images.md
+++ b/docs/building-images.md
@@ -59,6 +59,9 @@ operatingSystem:
kernelArgs:
- arg1
- arg2
+ groups:
+ - name: group1
+ - name: group2
users:
- username: user1
encrypte... | 2 | 1 | 0 | [{"id": "G0", "claim": "Not sure if the PR should also allow specifying explicit group IDs (and likewise user IDs) instead of autogenerated ones, since some users want certain IDs.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please update the RELEASE_... | null |
suse-edge__edge-image-builder__224 | suse-edge/edge-image-builder | 224 | defect | 2d0b5e0b822a0ee4d15f97b349d774de82f2f543 | f62fc5add0ca116ceb9a9cc8f4cecb1c37ac03c4 | added user group assignment | I explicitly removed the `-m` flag from useradd; I think the default should be no user home directory. After this, I'll add a flag to user creation to allow that option to be set. | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index aadd4db5..4aa7e91d 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -8,4 +8,6 @@
### Image Definition
* Removed the `embeddedArtifactRegistry/images/supplyChainKey` attribute
* Changed `operatingSystem/users/sshKey` into `operatingSystem/users/sshKeys` an... | 2 | 1 | 0 | [{"id": "G0", "claim": "The `primaryGroup` documentation should explicitly state what happens when the field is not specified, namely that the user ends up in the OS's default primary group (`users` on SLE Micro).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
suse-edge__edge-image-builder__225 | suse-edge/edge-image-builder | 225 | defect | 125100857ccf57ebe08680bc7c82dea1de420c93 | d5df91ec40367fde29da94bc58f5d960ab034470 | Install Kubernetes VIP manifest as a Helm chart | - Creates a plugin for integrating Helm charts required by the different Combustion components
- Uses said plugin to process the Kubernetes VIP manifest | diff --git a/pkg/combustion/kubernetes.go b/pkg/combustion/kubernetes.go
index 87a7cb9d..cfd5b7f7 100644
--- a/pkg/combustion/kubernetes.go
+++ b/pkg/combustion/kubernetes.go
@@ -143,22 +143,15 @@ func configureK3S(ctx *image.Context, cluster *kubernetes.Cluster) (string, erro
singleNode := len(ctx.ImageDefinition.... | 2 | 2 | 0 | [{"id": "G0", "claim": "If the shipped charts will be pulled from a different production location, create a follow-up issue so the endpoint-copier-operator chart repo URL in k8s-vip.yaml.tpl is remembered to be updated to pull from there.", "category": "process", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
suse-edge__edge-image-builder__229 | suse-edge/edge-image-builder | 229 | defect | 42b5e3670bb06d82950c01f875dfffe6f53e91f4 | 5c3627403a31a930bd64ed03587725847f0a2dbd | Enhancements to user and group configuration | * Added a flag to specify if the user home directory should be created
* Added ability to specify user UID
* Added ability to specify group GID | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 4aa7e91d..cb42a0e1 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -10,4 +10,6 @@
* Changed `operatingSystem/users/sshKey` into `operatingSystem/users/sshKeys` and it is now a list instead of a single string
* Added the ability to configure operating syst... | 3 | 1 | 0 | [{"id": "G0", "claim": "RELEASE_NOTES.md should also list the new optional `gid` field for operating system groups, which this PR added but the release notes omit.", "category": "documentation", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `createHome` field should be given... | null |
suse-edge__edge-image-builder__235 | suse-edge/edge-image-builder | 235 | defect | 299c972a6a01ee34bf191b5bba007b96ae4208b1 | 45f902f3963661cd9ee706b0e2e74c5fad58c6c9 | Disable Podman auto-mounts when running RPM resolution | This PR offers the functionality to disable any automatic container volume mounts configured through the [`mounts.conf`](https://github.com/containers/common/blob/main/docs/containers-mounts.conf.5.md) configuration logic offered by the [`containers/common`](https://github.com/containers/common/tree/main) shared librar... | diff --git a/go.mod b/go.mod
index 5667337d0..0d30d29a1 100644
--- a/go.mod
+++ b/go.mod
@@ -6,6 +6,7 @@ require (
// version should match buildah version in the
// podman mod file https://github.com/containers/podman/blob/v4.8.3/go.mod#L14
github.com/containers/buildah v1.33.2
+ github.com/containers/common v0.5... | 8 | 7 | 2 | [{"id": "G0", "claim": "The empty-file creation could use os.WriteFile() instead of opening and closing the file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The createMountConf helper parameter should be spelled 'location' instead of 'localt... | null |
suse-edge__edge-image-builder__304 | suse-edge/edge-image-builder | 304 | defect | a66973e2a0d74668a55ee4497af99b9bf8ff498c | be4c590e43cb6c7b377ebd5b7b8fabf8b20025de | Change default behaviour for --build-dir | - Omitting `--build-dir` no longer defaults to using a temporary directory within the container - it is now implicitly set to `<config-dir>/_build`
- Closes https://github.com/suse-edge/edge-image-builder/issues/284 | diff --git a/README.md b/README.md
index 302510c0..1259556b 100644
--- a/README.md
+++ b/README.md
@@ -49,8 +49,7 @@ The following example command attaches the directory and runs EIB:
podman run --rm -it \
-v $IMAGE_DIR:/eib eib:dev build \
--definition-file $DEFINITION_FILE.yaml \
---config-dir /eib \
---build-dir ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The README's `--build-dir` bullet should additionally state that the directory will contain cached copies of certain downloaded files.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The release note should say the `--build-... | null |
suse-edge__edge-image-builder__310 | suse-edge/edge-image-builder | 310 | defect | b0d3e9222b80a8c3ed6249b3c464a8c7f6720862 | fd46b2a25aadeec36f9e6dd5515b4d03267d3814 | Helm parse fix | Fixes #307 | diff --git a/pkg/helm/helm.go b/pkg/helm/helm.go
index d676add82..b10b7fc2d 100644
--- a/pkg/helm/helm.go
+++ b/pkg/helm/helm.go
@@ -240,6 +240,10 @@ func parseChartContents(chartContents string) ([]map[string]any, error) {
continue
}
+ if !strings.HasPrefix(strings.TrimSpace(resource), "# Source") {
+ cont... | 2 | 2 | 0 | [{"id": "G0", "claim": "The valid-chart test should use a realistic '# Source: <path>' string instead of a bare '# Source' marker so the fixture is a good example.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request needs to update the relea... | null |
suse-edge__edge-image-builder__316 | suse-edge/edge-image-builder | 316 | defect | f60bb17892f94474a162a21421e1736844904b6f | 4159c2d458780733c65f9ec2878384f19c9ed1fe | Moved Elemental register to a systemd unit and updated temporary Elemental RPM location | In this PR we move Elemental register to a systemd unit instead, that attempts to continually register rather than halting the boot and dropping to an emergency shell that requires manual intervention. We also move the package repo to the *other* temporary repo for 5.5 maintenance from OBS. This will get replaced with ... | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 366e433b..9ff2953f 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -36,6 +36,7 @@
* [#307](https://github.com/suse-edge/edge-image-builder/issues/307) - Helm chart parsing logic breaks if "---" is present in the chart's resources
* [#272](https://github.c... | 4 | 2 | 0 | [{"id": "G0", "claim": "A line about the bug fix should be added to RELEASE_NOTES at the repository root.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment line '# On SLE Micro /var/lib is not persistent, so we copy elemental_connection.j... | null |
suse-edge__edge-image-builder__322 | suse-edge/edge-image-builder | 322 | defect | c825551b73c3dc1d0b27ddf04f802c8c391517cf | 1d48f62117b8acc7c0c56a3a0b0f91c1de8ebbb8 | Helm template namespace | Closes #321 | diff --git a/pkg/helm/helm.go b/pkg/helm/helm.go
index 0c398bf8..698531a8 100644
--- a/pkg/helm/helm.go
+++ b/pkg/helm/helm.go
@@ -192,7 +192,7 @@ func pullCommand(chart string, repo *image.HelmRepository, version, destDir stri
return cmd
}
-func (h *Helm) Template(chart, repository, version, valuesFilePath, kubeV... | 3 | 3 | 0 | [{"id": "G0", "claim": "The chart's namespace should not be passed separately to getChartContainerImages since the full chart is already provided.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The targetNamespace parameter of the Template interface shou... | null |
suse-edge__edge-image-builder__356 | suse-edge/edge-image-builder | 356 | defect | d940dfe1dc01a70e6a525b1a07f593fa5a1bbc6b | 032ffbbf3f35e24deb8fb3788c78a99e064eee73 | Fix Helm chart OCI registry handling | Closes #355 . | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 93d13558..27d73419 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -13,6 +13,7 @@
## Bug Fixes
* [#352](https://github.com/suse-edge/edge-image-builder/issues/352) - Resizing raw images results in dracut-pre-mount failure
+* [#355](https://github.com/su... | 1 | 1 | 1 | [{"id": "G0", "claim": "downloadChart's credential handling needs test cases that cover each branch: a successful call with credentials, a failed call with credentials, and the case with no credentials where the function must not be called at all.", "category": "testing", "verdict": "supported", "priority": "P1", "scop... | null |
suse-edge__edge-image-builder__39 | suse-edge/edge-image-builder | 39 | defect | 1fbac3d919fca6c8a706fae19c944c30c53f624c | ae45a401f44d3e6d1c84da04ef6216c13dbc83cd | Working implementation of GRUB configuration for raw images | We may have to revisit the actual sed commands once we more thoroughly test this, but this does currently work. Hopefully, those sorts of changes should have a minimal footprint and the rest of the structure used in this PR will remain.
We also may have to revisit how we get things into the modify-raw-image.sh templ... | diff --git a/pkg/build/grub.go b/pkg/build/grub.go
new file mode 100644
index 00000000..ae16ab52
--- /dev/null
+++ b/pkg/build/grub.go
@@ -0,0 +1,42 @@
+package build
+
+import (
+ "bytes"
+ _ "embed"
+ "fmt"
+ "strings"
+ "text/template"
+)
+
+//go:embed scripts/grub/guestfish-snippet.tpl
+var guestfishSnippet string
... | 5 | 1 | 0 | [{"id": "G0", "claim": "The TestWriteModifyScript assertions should also check that the sed command args themselves are present, not only the grub download line.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A TODO or a tracking issue should be added f... | null |
suse-edge__edge-image-builder__391 | suse-edge/edge-image-builder | 391 | defect | 1a19bfe0cf75a323eb51f2032c45b12f79b6ee25 | 6a1dad08533f4febc36b6a9682b6206357ebdd4a | Improve RPM validation | - Closes https://github.com/suse-edge/edge-image-builder/issues/384 | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 787fd25d..9b00f518 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -25,6 +25,7 @@
* [#383](https://github.com/suse-edge/edge-image-builder/issues/383) - Criteria for validating the OS definition does not include RPM
* [#372](https://github.com/suse-edge/e... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new check that fails validation when 'additionalRepos' entries exist without a 'packageList' entry conflicts with the use-case of an RPM in the 'rpms' dir whose dependencies must be retrieved from a third-party repository, i.e. a configuration where 'AdditionalRepos' is defined without an en... | null |
suse-edge__edge-image-builder__44 | suse-edge/edge-image-builder | 44 | defect | 52147f3ae01b0d00233210a81e463cffe1ad3ad9 | 1adc1646bc1f5c95b7956a751c594aa93dc65341 | Added ability to create OS users | This PR does not include checks to ensure at least one of password/SSH key are specified per user. We likely want that (I can't think of a use case for manually creating a user that can't be logged in that we'd want to support here), but that'll wait until the larger validation infra is in place for the entire image de... | diff --git a/docs/building-images.md b/docs/building-images.md
index 1512380e..d652c9e8 100644
--- a/docs/building-images.md
+++ b/docs/building-images.md
@@ -38,9 +38,24 @@ operatingSystem:
kernelArgs:
- arg1
- arg2
+ users:
+ - username: user1
+ password: 123
+ sshKey: user1Key
+ - username: user2
+... | 3 | 2 | 0 | [{"id": "G0", "claim": "The test should use require.Len instead of assert.Len so that the following assertions are guaranteed to run only on a users slice with the expected length.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The add-users.sh.tpl temp... | null |
suse-edge__edge-image-builder__446 | suse-edge/edge-image-builder | 446 | defect | 5f6e022707b78379772d47a113b92f38ba87fef2 | 3358e20cf19439018ceb2792a18d70ebe5f1d4ca | Helm Template Changes | Closes #442
Putting this up for review but I don't plan to merge until I've tested some air-gapped cases to make sure everything is still working as expected. | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 1240752d..d3808c57 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -13,6 +13,7 @@
## Bug Fixes
* [#429](https://github.com/suse-edge/edge-image-builder/issues/429) - Automatically set execute bit on scripts
+* [#442](https://github.com/suse-edge/edge-im... | 2 | 1 | 1 | [{"id": "G0", "claim": "Limiting saved images to a hardcoded list of known Kubernetes kinds may miss images from CRD-created deployments/pods that should be saved, and it may be better to search for \"images\" instead of limiting to known resources.", "category": "design", "verdict": "uncertain", "priority": "P2", "sco... | null |
suse-edge__edge-image-builder__449 | suse-edge/edge-image-builder | 449 | defect | e9d9916dca95832f9cac85230677e9f990088ba4 | 31ead940f57c0e53a5e8af5f86e3407fc44a0cce | Adding Elemental Reset capabilities to nodes provisioned via EIB | Currently, SLE Micro hosts that register against Elemental (and are provisioned via EIB) cannot utilise the `elemental.cattle.io/resettable: 'true'` capability to wipe Kubernetes cluster information and restore the machine to the inventory so it can be re-used. The current behaviour is that the node is deleted, and man... | diff --git a/pkg/combustion/elemental_test.go b/pkg/combustion/elemental_test.go
index 7410b566..7f710e48 100644
--- a/pkg/combustion/elemental_test.go
+++ b/pkg/combustion/elemental_test.go
@@ -63,4 +63,8 @@ func TestWriteElementalCombustionScript(t *testing.T) {
require.NoError(t, err)
found := string(foundBytes)... | 5 | 1 | 0 | [{"id": "G0", "claim": "The embedded cleanup script should be renamed from /opt/edge/node_cleanup.sh to /opt/edge/elemental_node_cleanup.sh, including the test's expected string, so the name is more intuitive.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"... | null |
suse-edge__edge-image-builder__451 | suse-edge/edge-image-builder | 451 | defect | 64ba3fbba8ac7a6cf1002fc220d12ba14054e477 | b848feb94f88ad84708160f14c3352272d1d7028 | Introduce Combustion type | - Introduces a new type called `Combustion` as a handler for the different internal dependencies
- Removes all dependencies from the `image` package and `Context` type | diff --git a/pkg/build/build.go b/pkg/build/build.go
index cf9ebd43..051ec1a4 100644
--- a/pkg/build/build.go
+++ b/pkg/build/build.go
@@ -6,31 +6,32 @@ import (
"path/filepath"
"time"
- "github.com/suse-edge/edge-image-builder/pkg/combustion"
"github.com/suse-edge/edge-image-builder/pkg/image"
"github.com/su... | 2 | 2 | 1 | [{"id": "G0", "claim": "The combustion dependency-bootstrapping logic bleeds too much into the CLI bootstrap layer and should be moved out of it (the reviewer envisioned a NewCombustion constructor in the combustion package, with unit tests assembling a Builder from Combustion mocks instead); the PR author replied that... | null |
suse-edge__edge-image-builder__49 | suse-edge/edge-image-builder | 49 | defect | 22397f512ea22771cf940f43280a2b6077db8845 | 0894c92f08c3ca2f9c65edb0cec0c03829e1757e | Basic infrastructure for user-facing audit messages | Sample output with these changes (ignore my `eib-run` local script):
```
╭─[~/Code/eib]─[]─[]─●
╰─➤ eib-run raw-image-users.yaml
Generating image customization components...
Users ........................ [SUCCESS]
Rpm .......................... [SKIPPED]
Custom Scripts ............... [SUCCESS]
Building RAW ... | diff --git a/go.mod b/go.mod
index d44b3df6..ea3c6750 100644
--- a/go.mod
+++ b/go.mod
@@ -5,6 +5,7 @@ go 1.21.1
require (
github.com/stretchr/testify v1.8.4
go.uber.org/zap v1.26.0
+ golang.org/x/text v0.14.0
gopkg.in/yaml.v3 v3.0.1
)
diff --git a/go.sum b/go.sum
index 947ad7cc..1ac760b7 100644
--- a/go.sum
... | 6 | 3 | 1 | [{"id": "G0", "claim": "Title-casing the component name will not work properly for acronyms, e.g. `RPM` is rendered as `Rpm` in the audit output.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The table test case names should not include the word \"... | null |
suse-edge__edge-image-builder__490 | suse-edge/edge-image-builder | 490 | defect | 40a21d49d3c33c554431fc35975985f05e3009ab | e756a17415354ebb32710d54c8bb018663cdada8 | Arm support | Adds support for building Arm images on an Arm machine
Cross architecture build capabilities (building Arm images on x86_64 and vice versa) will come in a future PR
Closes: #193 | diff --git a/Dockerfile b/Dockerfile
index a1ac8eb7..34690fdc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -38,6 +38,16 @@ RUN zypper addrepo https://download.opensuse.org/repositories/isv:SUSE:Edge:Edge
nm-configurator && \
zypper clean -a
+# Make adjustments for running guestfish and image modifications on... | 3 | 3 | 1 | [{"id": "G0", "claim": "The prepare-tarball script should use the Arch variable instead of `uname -m` to decide when to apply the aarch64 adaptations.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The qemu-uefi-aarch64 package should be added to th... | null |
suse-edge__edge-image-builder__5 | suse-edge/edge-image-builder | 5 | defect | f9a8852dfd594888baa78bc30308689e23747e78 | a953562fd745ea0d96b7ab85273d69673739ec6a | Modifications to build from an image config dir | There still needs to be work done in here, but this is the basis of the new design around an image config dir instead of just a file. There are likely going to be some changes to make this run more smoothly in a container, but I'm not looking to answer that yet. | diff --git a/cmd/eib/main.go b/cmd/eib/main.go
index 5c3161de..87e56e0e 100644
--- a/cmd/eib/main.go
+++ b/cmd/eib/main.go
@@ -1,6 +1,7 @@
package main
import (
+ "errors"
"flag"
"fmt"
"os"
@@ -10,7 +11,8 @@ import (
)
const (
- argConfigFile = "config"
+ argConfigFile = "config-file"
+ argConfigDir = "c... | 2 | 1 | 0 | [{"id": "G0", "claim": "Build the config-dir error with fmt.Errorf instead of errors.New(fmt.Sprintf(...)), or better still, avoid dynamic errors by hardcoding the name of the arg.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "As more responsib... | null |
suse-edge__edge-image-builder__514 | suse-edge/edge-image-builder | 514 | defect | 474063e5110d6dbd2b9a0eaaead92f13399134b6 | d20a7ff04fa539172d65a5ebe37a2c8f1b634228 | Combustion Cleanup | This PR adds handling for removing leftover combustion artifacts during the first boot of the built image. | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 86837ce24..24d4c8c09 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -11,6 +11,7 @@
* Added ability to build aarch64 images on an aarch64 host machine
* Added caching for container images
* Added built image name output to build command
+* Leftover combu... | 6 | 5 | 1 | [{"id": "G0", "claim": "The embedded cleanup script should be named `cleanup-combustion` instead of `99-remove-combustion.sh`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `rm -r /artefacts` line in the cleanup script template is misindent... | null |
suse-edge__edge-image-builder__527 | suse-edge/edge-image-builder | 527 | defect | d091334b865f27900cc2a3af5473d47d2b04f7bf | 274a51c452e1a2b728954d0cf283a0aa1d50a4ab | Directory handling in custom/files | Closes #478 | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 5a99dce4..a31eee0a 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -4,6 +4,8 @@
## General
+* Directories and their contents placed in custom/files are now copied
+
## API
### Image Definition Changes
diff --git a/pkg/combustion/custom.go b/pkg/com... | 5 | 3 | 1 | [{"id": "G0", "claim": "The new release note line should be reworded to say that the \"custom files\" functionality may now include directories, which will be maintained when copied to the image.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
suse-edge__edge-image-builder__528 | suse-edge/edge-image-builder | 528 | defect | 258f120e468c98dba4a1df789a865cbac303a85d | 5d02b20fe7fa1c4b76de1faa16093ecb1fa60f71 | arm64 RKE2 CNI download logic | Closes #492 | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 5a99dce47..5c5eacb6f 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -4,6 +4,8 @@
## General
+* Changed download logic to allow arm64 RKE2 CNI installation tarballs
+
## API
### Image Definition Changes
diff --git a/pkg/kubernetes/artefact_download... | 1 | 1 | 0 | [{"id": "G0", "claim": "The release note wording should be rewritten for an audience unfamiliar with the codebase, e.g. \"Allow RKE2 deployments with Calico, Cilium and Multus on aarch64 platforms\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
suse-edge__edge-image-builder__530 | suse-edge/edge-image-builder | 530 | defect | 258f120e468c98dba4a1df789a865cbac303a85d | 700570e36f7e887d6afe632f829d6e9cb5864cff | Kubernetes version validation | Closes #469 | diff --git a/pkg/image/validation/kubernetes.go b/pkg/image/validation/kubernetes.go
index 233427da..2a703bb2 100644
--- a/pkg/image/validation/kubernetes.go
+++ b/pkg/image/validation/kubernetes.go
@@ -30,6 +30,7 @@ func validateKubernetes(ctx *image.Context) []FailedValidation {
var failures []FailedValidation
... | 4 | 3 | 1 | [{"id": "G0", "claim": "Drop the os.Stat call and just ReadDir the manifests directory directly, since the extra call does not make the code simpler.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The FailedValidation for an unreadable manifests... | null |
suse-edge__edge-image-builder__540 | suse-edge/edge-image-builder | 540 | defect | e733e808343aa188e985967ce4df7fcdd92c6434 | 05e5a72fefa8c8bd06d12b07c755ea86d888d216 | Schema 1.1 Validation | This is a preliminary attempt at a very simple and temporary solution to the schema validation for the new image definition version. | diff --git a/pkg/image/validation/validation.go b/pkg/image/validation/validation.go
index b9800d73..eddf12b2 100644
--- a/pkg/image/validation/validation.go
+++ b/pkg/image/validation/validation.go
@@ -15,6 +15,7 @@ func ValidateDefinition(ctx *image.Context) map[string][]FailedValidation {
failures := map[string][]... | 1 | 1 | 0 | [{"id": "G0", "claim": "Drop a comment above validateVersion indicating this is a temporary implementation until something cleaner is found, so someone new to the codebase isn't confused.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
suse-edge__edge-image-builder__542 | suse-edge/edge-image-builder | 542 | defect | e733e808343aa188e985967ce4df7fcdd92c6434 | 081118fddc2e284c9040fe5f1adf8ba5e908ad70 | Modify Helm backOffLimit | Closes #504 | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index b887575a8..ef653bb04 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -6,6 +6,7 @@
* Improved Kubernetes definition validation
* Allow RKE2 deployments with Calico, Cilium and Multus on aarch64 platforms
+* Helm chart installation backOffLimit changed fr... | 1 | 1 | 0 | [{"id": "G0", "claim": "Extract the hard-coded backOffLimit value 20 in NewHelmCRD as a named constant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
suse-edge__edge-image-builder__600 | suse-edge/edge-image-builder | 600 | defect | 26164225b73a8762b5cc3420773cdfa9f9cafcb6 | 860e859cbbab8693ff6fa7b0a8f902d1d1363aeb | add sl micro 6.0 extras repo for rpm resolution | closes: #591
See #591 for more information. The summary is that EIB 1.2 only needs to support SL Micro 6.0. This patch is a temporary fix that relies on that assumption, hardcoding the version into the repo URL.
Eventually, this will need to be migrated to dynamically introduce the SL Micro version based on the ... | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 20963113..faf64929 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -12,7 +12,8 @@
## Bug Fixes
-* [#594](https://github.com/suse-edge/edge-image-builder/issues/594) - Package install breaks package resolution if packages is already installed on root OS... | 1 | 1 | 1 | [{"id": "G0", "claim": "The SL Micro Extras repository should not be enabled on every build; instead a new definition parameter under the packages section (e.g. a list of extraProducts) should let users choose which extra products to enable, and those should be passed directly to suseconnect -p.", "category": "design",... | null |
suse-edge__edge-image-builder__660 | suse-edge/edge-image-builder | 660 | defect | 96cde41562efc06f4b915eb8878ab7d6496e4abd | 2b11656892bb865593573db14cfaf4cc6aab8612 | Add FIPS Validation | Closes #659 | diff --git a/pkg/eib/eib.go b/pkg/eib/eib.go
index 3c06c2312..7754ddedc 100644
--- a/pkg/eib/eib.go
+++ b/pkg/eib/eib.go
@@ -116,6 +116,13 @@ func appendFips(ctx *image.Context) {
fips := ctx.ImageDefinition.OperatingSystem.EnableFips
if fips {
log.AuditInfo("FIPS mode is configured. The necessary RPM packages w... | 1 | 1 | 1 | [{"id": "G0", "claim": "In validateFIPS, the inner `if os.EnableFips` check is always true because the function has already returned early when FIPS is disabled, so the redundant wrapper is dead logic.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
suse-edge__edge-image-builder__672 | suse-edge/edge-image-builder | 672 | defect | b5f04d8327a3bfc488bf2fa01aab88290da33328 | 36563ac7e59f03510a891792a5388a69ce1c23ac | Fix stale cache | Closes #625
For images tagged `latest`, before pulling the image we get the digest for the correct architecture and platform and append that digest to the name of the image to suit our cache implementation. This allows our caching to now properly handle images tagged `latest`.
As a dependency to reduce the requ... | diff --git a/Dockerfile b/Dockerfile
index 7e6b0f22d..16b91edb2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -36,7 +36,7 @@ RUN zypper addrepo https://download.opensuse.org/repositories/isv:SUSE:Edge:Edge
libguestfs kernel-default e2fsprogs parted gptfdisk btrfsprogs guestfs-tools lvm2 qemu-uefi-aarch64 \
podm... | 2 | 1 | 0 | [{"id": "G0", "claim": "Consider using the Podman library itself for the digest lookup instead of shelling out to the podman CLI and parsing its output with jq.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "Use `digest, err := p.Inspect(img, arch)` inst... | null |
suse-edge__edge-image-builder__678 | suse-edge/edge-image-builder | 678 | defect | d125f5904efd3b97ca6a06bbe450348c3e2e3c66 | df3253436f4b4e36b21f9e9813ae0ce6866cf57b | FDE handling | This PR adds support for building RAW encrypted images. | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index f21d6fcfe..1403f9bb1 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -7,6 +7,7 @@
* Added single-stack IPv6 and dual-stack networking support for Kubernetes
* SUSEConnect now properly activates the SL Micro "Extras" module
* Improved Embedded Artifact Re... | 10 | 8 | 0 | [{"id": "G0", "claim": "The local variable holding the LUKS key should be named luksKey, not the exported-style LUKSKey.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ISO image-type check (strings.EqualFold(def.Image.ImageType, image.TypeIS... | null |
suse-edge__edge-image-builder__71 | suse-edge/edge-image-builder | 71 | defect | baa5a07de5e71e113da1b405a9d0125e86623e73 | 19c844fdaeb4f9b01913c7162193268aa9758e02 | Improve build directory structure | - Each build now creates its own separate directory
- `-delete-build-dir` flag is removed
- Log files no longer require a timestamp in their names
- Setting up build (and combustion) directories are now moved back to the `build` package in order to drop the responsibility from the creation of the context
- Build st... | diff --git a/README.md b/README.md
index 6c6f7506..ae391f5f 100644
--- a/README.md
+++ b/README.md
@@ -44,9 +44,8 @@ podman run --rm -it \
* `-build-dir` - (optional) If unspecified, EIB will use a temporary directory inside the container for
assembling/generating the components used in the build. This may be speci... | 1 | 1 | 1 | [{"id": "G0", "claim": "Despite the README saying the _build directory will be created automatically, the build fails with \"no such file or directory\" when the given root build directory does not exist yet, so SetupBuildDirectory must create it instead of failing.", "category": "correctness", "verdict": "supported", ... | null |
suse-edge__edge-image-builder__715 | suse-edge/edge-image-builder | 715 | defect | 553dd3ed7efc09743584b9a6fe5025cbcdf40919 | 8cbbd2b26f77309ea38e0bdf0548203aae4d0615 | Clean up version usage | This PR largely cleans up a lot of things and improves the handling for the new `apiVersion`
Closes: #620 | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index d570e5ca..3166d933 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -30,6 +30,8 @@
### Image Definition Changes
+* The current version of the image definition has been incremented to `1.2` to include the changes below
+ * Existing definitions using th... | 2 | 1 | 0 | [{"id": "G0", "claim": "The hardcoded per-version if-chain in validateVersion should be replaced with a generic approach (a version key with a map of the fields supported from that version forward), because it will not scale well with API version 1.3 and higher.", "category": "design", "verdict": "supported", "priority... | null |
suse-edge__edge-image-builder__77 | suse-edge/edge-image-builder | 77 | defect | e4d56214d5f6b94121a8fef6dcb4cb98e5d1df7c | 60c54f872399dba7561923ebb8a4678cf826746d | Validation | This is a preliminary version of the image validation handling. There’s still much to discuss and a lot to get feedback on. Additionally, it currently fails the linter and has no tests but this will be updated soon.
| diff --git a/pkg/image/definition.go b/pkg/image/definition.go
index e99539ba..8f6d952d 100644
--- a/pkg/image/definition.go
+++ b/pkg/image/definition.go
@@ -53,6 +53,9 @@ func ParseDefinition(data []byte) (*Definition, error) {
if err := yaml.Unmarshal(data, &definition); err != nil {
return nil, fmt.Errorf("cou... | 11 | 10 | 2 | [{"id": "G0", "claim": "Extract the validate() call out of ParseDefinition and instead export a ValidateDefinition function, separating the functionality and concerns.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Drop the apiVersion validation for now ... | null |
suse-edge__edge-image-builder__778 | suse-edge/edge-image-builder | 778 | defect | 3e349d343993b6540caca9c63e0115d182faa180 | 848770d249a041e6932fe42f735ae612c42dc336 | Add handling for custom priority | Closes #718 | diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index e074617b..29afde8b 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -9,6 +9,7 @@
* Added ability to generate independent combustion drive
* Added warning about providing container images with index digests
* Updated documentation to specify that `os-files... | 4 | 4 | 2 | [{"id": "G0", "claim": "The validation message for out-of-range 'priority' should be reworded to \"The 'priority' field for 'additionalRepos' must be a value between 0 and 99.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The resolver should no... | null |
suse-edge__edge-image-builder__841 | suse-edge/edge-image-builder | 841 | defect | f8de24060604b7e7a087dad7d22bf45c61cdeae3 | 305acc92de2d1f5d20f9f0ece3fa15c33634ae0b | Improved Cache Handling | Closes #785 | diff --git a/pkg/cache/cache.go b/pkg/cache/cache.go
index d262e1ac..9f03d8a7 100644
--- a/pkg/cache/cache.go
+++ b/pkg/cache/cache.go
@@ -15,13 +15,26 @@ import (
type Cache struct {
cacheDir string
+ enabled bool
}
func New(cacheDir string) (*Cache, error) {
- return &Cache{cacheDir: cacheDir}, nil
+ if cac... | 7 | 6 | 1 | [{"id": "G0", "claim": "The `cache-dir`/`cache` flag compatibility check should be done in the command's argument validation rather than inside SetupCacheDirectory.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new conditional pipe/errgroup wiring i... | null |
suyiiyii__AutoGLM-GUI__166 | suyiiyii/AutoGLM-GUI | 166 | defect | 0a8f1488bc5f559fef6fa9a35b645bac8209de90 | 9ed06d2389169b204fe238375df83a34eea9f0c3 | feat: add configurable layered_max_turns for layered agent mode | - Add layered_max_turns config field with default value of 50
- Support configuration via CLI, env var (AUTOGLM_LAYERED_MAX_TURNS), and config file
- Add UI input in settings dialog for easy adjustment
- Replace hardcoded max_turns=50 in layered_agent.py with config value
- Add comprehensive test suite
- Validatio... | diff --git a/AutoGLM_GUI/api/agents.py b/AutoGLM_GUI/api/agents.py
index 1f50a486..c63b5b3a 100644
--- a/AutoGLM_GUI/api/agents.py
+++ b/AutoGLM_GUI/api/agents.py
@@ -388,6 +388,7 @@ def get_config_endpoint() -> ConfigResponse:
agent_type=effective_config.agent_type,
agent_config_params=effective_conf... | 6 | 4 | 1 | [{"id": "G0", "claim": "The PR description claims CLI support, but no --layered-max-turns argument was added to __main__.py and set_cli_config() does not receive it, so users cannot override layered_max_turns from the command line and the stated CLI > ENV > FILE > DEFAULT hierarchy is broken.", "category": "correctness... | null |
suyiiyii__AutoGLM-GUI__229 | suyiiyii/AutoGLM-GUI | 229 | defect | 565be1a278d45173f95bc5a874c3c02163e8f74e | 20111fce1e86a2d231607e152b7e174cbb37ec1d | feat(config): relaunch app after save for immediate config apply | ## Summary
- change `/api/config` to return `restart_required: true` and stop destroying agents during save
- add Electron IPC `app-relaunch` and expose it via preload
- update chat settings save flow to trigger immediate app relaunch in Electron after config save
- for non-Electron environments, show a warning to rest... | diff --git a/AutoGLM_GUI/phone_agent_manager.py b/AutoGLM_GUI/phone_agent_manager.py
index 1e644ddd..d21451f8 100644
--- a/AutoGLM_GUI/phone_agent_manager.py
+++ b/AutoGLM_GUI/phone_agent_manager.py
@@ -138,9 +138,23 @@ def initialize_agent_with_factory(
device_lock = self._get_device_lock(device_id)
... | 1 | 1 | 1 | [{"id": "G0", "claim": "destroy_agent unconditionally calling release_device can force-release a threading.Lock owned by another thread, so the /api/config reload path can break per-device mutual exclusion while a request is still inside use_agent.", "category": "correctness", "verdict": "supported", "priority": "P1", ... | null |
suyiiyii__AutoGLM-GUI__263 | suyiiyii/AutoGLM-GUI | 263 | defect | 62d0c456200089cd0dc760421a102c513a506d09 | 26afeeba697e7da60fe13c18f150d4a04b1b17e6 | refactor: migrate SchedulerManager from sync to async | ## Summary
将 SchedulerManager 从同步架构迁移到异步架构,消除嵌套事件循环创建,与应用主事件循环保持一致。
## Changes
### Core Changes
- `BackgroundScheduler` → `AsyncIOScheduler`
- `ThreadPoolExecutor` → `asyncio.gather()` + `Semaphore(4)`
- `_execute_task()` / `_execute_single_device()` → `async def`
- `start()` / `shutdown()` → `async def`
### Implem... | diff --git a/AutoGLM_GUI/api/__init__.py b/AutoGLM_GUI/api/__init__.py
index 1be32fd4..ec237ec6 100644
--- a/AutoGLM_GUI/api/__init__.py
+++ b/AutoGLM_GUI/api/__init__.py
@@ -165,14 +165,14 @@ async def combined_lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
device_manager.start_polling()
# S... | 5 | 1 | 1 | [{"id": "G0", "claim": "If the coroutine is cancelled while awaiting the device acquisition (which now sits before the try/finally), the background thread can still acquire the lock while release_device() is skipped, potentially leaving the device stuck in BUSY state and later scheduled runs failing until restart; the ... | null |
svelte-society__sveltesociety.dev__293 | svelte-society/sveltesociety.dev | 293 | defect | b87e42e98c860a45f3e95ae30d51d7b151052e0c | 2b88b0abea3c46a7946682c1158dc9e904569576 | Use external lib for search | Replace #181
Fix #100
Fix #292
---
- Better search (use tool design for it instead of one made by hand)
- Simplify Svelte component readability (IMO)
- Fix error with unclassified/uncategorized item
---
- [x] Update Components
- [x] Update Templates
- [x] Update Tools
| diff --git a/package-lock.json b/package-lock.json
index 03eb3757c..3d571711a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5,14 +5,17 @@
"requires": true,
"packages": {
"": {
+ "name": "sveltesociety.dev",
"version": "0.0.1",
"dependencies": {
+ "itemsjs": "^2.1.20",
"svelte-highl... | 4 | 3 | 1 | [{"id": "G0", "claim": "The Facet type does not need to be exported, since the pages consuming Search do not use TypeScript.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sorting options should be slimmed down so each field has a single ent... | null |
sveltejs__cli__1009 | sveltejs/cli | 1,009 | defect | 8f3c27c2bdb118729af3d71dd5098542b67b03ba | 566be25dd4a635c5e05d6162b57b0f378a8f7ab7 | fix paraglide reroute type | added `Reroute` type for the reroute hooks.[ts|js] | diff --git a/.changeset/brave-months-greet.md b/.changeset/brave-months-greet.md
new file mode 100644
index 000000000..d263a42e9
--- /dev/null
+++ b/.changeset/brave-months-greet.md
@@ -0,0 +1,5 @@
+---
+'sv': patch
+---
+
+paraglide: add a type annotation for the reroute hooks.
diff --git a/packages/sv/src/addons/para... | 3 | 3 | 1 | [{"id": "G0", "claim": "Move the js JSDoc type-comment block closer to the ts `Reroute` import in packages/sv/src/addons/paraglide.ts (or the import closer to the comment), instead of leaving the two language branches in separate places.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope"... | null |
sveltejs__cli__581 | sveltejs/cli | 581 | defect | 17799ccefc86a0348b4cc38535ed215a107071c7 | da6972d7e5a740e809632dd7c5f70b9ad8f70fab | feat: add `vite-plugin-devtools-json` addon | Closes: https://github.com/sveltejs/cli/issues/578
- [x] feature: adding `vite-plugin-devtools-json` plugin to vite config
- [x] tests (js & ts)
- [x] doc
---
- ~[ ] https://github.com/sveltejs/cli/pull/582 needs to be merged before, then tests will pass here.~
- [x] waiting for vitest regression fix | diff --git a/.changeset/twelve-shirts-tell.md b/.changeset/twelve-shirts-tell.md
new file mode 100644
index 000000000..b14593979
--- /dev/null
+++ b/.changeset/twelve-shirts-tell.md
@@ -0,0 +1,5 @@
+---
+'sv': patch
+---
+
+add vite-plugin-devtools-json addon
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index c4714b8... | 7 | 7 | 2 | [{"id": "G0", "claim": "The changeset summary should read 'feat: add `vite-plugin-devtools-json` addon' instead of 'add vite-plugin-devtools-json addon'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docs bullet should say 'the `vite` plugin ... | null |
sveltejs__cli__625 | sveltejs/cli | 625 | defect | 4a77117302b69f70c3ba107cd77e0218e335e02e | 42976934bf3db3a5504b41d7b90eb24fafed5a75 | feat(add): Add minimum Node.js version warning if below 16. | Closes: https://github.com/sveltejs/cli/issues/199 | diff --git a/.changeset/great-bags-smoke.md b/.changeset/great-bags-smoke.md
new file mode 100644
index 000000000..97529e4b9
--- /dev/null
+++ b/.changeset/great-bags-smoke.md
@@ -0,0 +1,5 @@
+---
+'sv': patch
+---
+
+feat(add): Add minimum Node.js version warning if below 16.
diff --git a/packages/cli/package.json b/p... | 4 | 3 | 0 | [{"id": "G0", "claim": "Replace the newly added semver dependency with the more elaborate version-comparison code already in packages/addons/common.ts, extracted into a separate function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hard-c... | null |
sveltejs__cli__653 | sveltejs/cli | 653 | defect | fd1f7cd735ad99c0031457af78a4cc560db2e460 | d7d3b453315dcf54268a899546ec57581e3afec4 | fix: handle `satisfies` keyword for `vite.addPlugin` | closes #652 | diff --git a/.changeset/loose-crabs-sink.md b/.changeset/loose-crabs-sink.md
new file mode 100644
index 000000000..a2f084e15
--- /dev/null
+++ b/.changeset/loose-crabs-sink.md
@@ -0,0 +1,5 @@
+---
+'sv': patch
+---
+
+fix: handle `satisfies` keyword for `vite.addPlugin`
diff --git a/packages/core/tests/js/vite/with-sat... | 1 | 1 | 0 | [{"id": "G0", "claim": "Having both `rootObject` and `_rootObject` is unintuitive; the const should be changed to a `let` above or the variable given a better name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sveltejs__cli__685 | sveltejs/cli | 685 | defect | 7c71303c6b6c1a328364e16cf95873290f1443e6 | 27741efc6d54457a475186610c711dc21caf784d | chore(core): streamline object helpers | Will simplify in general & reduce the api surface.
To be merged before: https://github.com/sveltejs/cli/pull/680 | diff --git a/.changeset/eighty-deer-bake.md b/.changeset/eighty-deer-bake.md
new file mode 100644
index 000000000..45d6a7dc7
--- /dev/null
+++ b/.changeset/eighty-deer-bake.md
@@ -0,0 +1,5 @@
+---
+'sv': patch
+---
+
+chore(core): streamline object helpers
diff --git a/packages/addons/lucia/index.ts b/packages/addons/l... | 2 | 2 | 0 | [{"id": "G0", "claim": "The hand-rolled `config.properties.find(...)` traversals in the sveltekit-adapter add-on should be updated to use the `object` helpers (likely as a follow-up PR).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The `over... | null |
sveltejs__cli__72 | sveltejs/cli | 72 | defect | 2c48a4180091748bc1cd4441b6bf94558a8129c8 | 9d1ab2d1471e5b7f8ce9225632c9c01f028572e5 | chore: make `text` the default `contentType` | This is a first step towards https://github.com/sveltejs/cli/issues/33. If we want to proceed with it we could essentially remove the `contentType` from each adder | diff --git a/packages/adders/drizzle/config/adder.ts b/packages/adders/drizzle/config/adder.ts
index fcc46c283..45c7d7f06 100644
--- a/packages/adders/drizzle/config/adder.ts
+++ b/packages/adders/drizzle/config/adder.ts
@@ -74,17 +74,14 @@ export const adder = defineAdderConfig({
files: [
{
name: () => '.env'... | 2 | 2 | 0 | [{"id": "G0", "claim": "Take the change all the way and drop the 'text' literal from the TextFile type, ending at `contentType?: undefined;` with the property still optional (M004 corrects the suggestion to keep the `?`).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "... | null |
sveltejs__cli__774 | sveltejs/cli | 774 | defect | 1c9034614e30f07ab9d8314f96cf953c64fba2e0 | d84542ba601a1c230893ecb0f4b00e7c55823c58 | fix: add `$schema` to gemini | > Tip: JSON-aware editors can use autocomplete and validation by pointing to the generated schema at schemas/settings.schema.json in this repository. When working outside the repo, reference the hosted schema at https://raw.githubusercontent.com/google-gemini/gemini-cli/main/schemas/settings.schema.json.
https://git... | diff --git a/packages/addons/mcp/index.ts b/packages/addons/mcp/index.ts
index 19472d51c..0c9628dfc 100644
--- a/packages/addons/mcp/index.ts
+++ b/packages/addons/mcp/index.ts
@@ -79,6 +79,7 @@ export default defineAddon({
filePath: '.cursor/mcp.json'
},
gemini: {
+ schema: 'https://raw.githubuserconte... | 3 | 3 | 1 | [{"id": "G0", "claim": "The pull request needs its tests updated to cover the new Gemini `$schema`.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should add a changeset.", "category": "design", "verdict": "supported", "priority": "P2",... | null |
sveltejs__cli__96 | sveltejs/cli | 96 | defect | 537940d5f3ff2e6a60d0623864c4c49fbb218f68 | f4538df7c77f9a1058f616f2e95ae588887c7806 | fix: use single quotes in new script files | Closes #44
| diff --git a/packages/ast-tooling/index.ts b/packages/ast-tooling/index.ts
index 110ca956c..8e5732ef4 100644
--- a/packages/ast-tooling/index.ts
+++ b/packages/ast-tooling/index.ts
@@ -1,8 +1,8 @@
import { parse as tsParse } from 'recast/parsers/typescript.js';
-import { parse as recastParse, print as recastPrint } fr... | 3 | 2 | 2 | [{"id": "G0", "claim": "fs.readFileSync should be called with 'utf8' so `input` is already a string and the extra input.toString() round-trip is unneeded.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new-file defaults in serializeScript should... | null |
sveltejs__cli__98 | sveltejs/cli | 98 | defect | f62359091b0e9421b33f0c6561c3f8564fff7801 | 0fe55038d148c7dc6b6445ac98eb3b914ce33c5a | chore: remove Lucia from `lucia` | closes #68
Outstanding questions:
1. What do we call it?
It's effectively still 'Lucia', just without the library. We could call it 'Oslo', but it has less name recognition and I don't think that would be technically correct either. Oslo provides some of the auth utilities (mainly the encoding and crypto bits), ... | diff --git a/packages/adders/lucia/index.ts b/packages/adders/lucia/index.ts
index 5a6c40207..bf410bb7c 100644
--- a/packages/adders/lucia/index.ts
+++ b/packages/adders/lucia/index.ts
@@ -2,22 +2,16 @@ import { colors, dedent, defineAdder, defineAdderOptions, log, Walker } from '@s
import { common, exports, imports, ... | 5 | 4 | 2 | [{"id": "G0", "claim": "The generated auth functions are emitted without JSDoc comments when running in a JS project, and the same applies to the other functions below.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In a JS project the adder emits... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.