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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
unlock-protocol__unlock__15702 | unlock-protocol/unlock | 15,702 | defect | 8dc4b6ebc07a9eba23e544cd5725ce4068a73a34 | 1b60de96de8e0803fb3be385e3199ca4319c5c92 | feature(provider): Optimize batch rpc request handling | # Description
This PR introduces logic to unbundle batch rpc requests and process each request independently. If a request can be handled locally (e.g., chainId, cached ENS/BaseName queries), it is processed immediately. Otherwise, requests are checked against rate limits. If none exceed the limit, they are recombined... | diff --git a/provider/README.md b/provider/README.md
index 020b1560d0d..24b692c587a 100644
--- a/provider/README.md
+++ b/provider/README.md
@@ -74,6 +74,34 @@ REQUESTS_PER_SECOND = "10" # Default: 10
REQUESTS_PER_HOUR = "1000" # Default: 1000
```
+## Batch Request Processing
+
+The provider support... | 7 | 7 | 0 | [{"id": "G0", "claim": "The batch-level rate-limit handling (the allRateLimited flag plus the handler's log-but-don't-block block) needs rethinking and should be dealt with at the individual request level instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
unlock-protocol__unlock__15732 | unlock-protocol/unlock | 15,732 | defect | b9305a9fc5abf0d2d4370415f5f094dabf1a45b9 | 203310cdad4fe36090d9fc6a1e1d5d5965696035 | feature(provider): Name resolution caching | # Description
This PR introduces caching for ens and basenames resolution requests in the provider.
# Issues
Fixes #
Refs #
# Checklist:
- [x] 1 PR, 1 purpose: my Pull Request applies to a single purpose
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the docs... | diff --git a/provider/src/batchProcessor.ts b/provider/src/batchProcessor.ts
index cfd238f6d08..e4bdeb39261 100644
--- a/provider/src/batchProcessor.ts
+++ b/provider/src/batchProcessor.ts
@@ -5,6 +5,7 @@ import {
} from './errorHandlers'
import { processBatchRequests } from './requestProcessor'
import { forwardRequ... | 13 | 12 | 0 | [{"id": "G0", "claim": "The ENS-specific `shouldCacheENS` marker should just be a generic `shouldCache` flag so other kinds of caching can be added later.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Doing the ENS caching inline in processAndForwardReq... | null |
unlock-protocol__unlock__16331 | unlock-protocol/unlock | 16,331 | defect | 88181c43cee2ea8c63c13feff84bcc1be5c4f061 | f79fecf1086593af97314d974ab6f10b534ee7b1 | feat: add governance subgraph sources | ## Summary
- add governance proposal, vote, and delegate entities to the subgraph schema
- index governor and UP token events in a dedicated governance mapping
- generate governance contract addresses from network config and copy the required ABIs
Replaces #16323 (closed due to branch history issue during author fix).... | diff --git a/subgraph/bin/abis.js b/subgraph/bin/abis.js
index 7e12b9f1c77..b2bc6283f3f 100644
--- a/subgraph/bin/abis.js
+++ b/subgraph/bin/abis.js
@@ -17,6 +17,7 @@ const getVersions = (contractName) =>
const unlockVersions = ['v11']
const publicLockVersions = getVersions('PublicLock')
+const governanceContracts ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The Proposal entity's voteStartTimestamp/voteEndTimestamp fields (and createdAtTimestamp) hold governor block timepoints under timestamp names, which is misleading and would produce incorrect semantics for consumers; rename them (e.g. voteStartBlock/voteEndBlock, createdAt) before the schema is ... | null |
unlock-protocol__unlock__16346 | unlock-protocol/unlock | 16,346 | defect | db05fb3652f5c515a42b4c5b926afc2f3a4685dc | 735118e85c95a515a08de210de1771823126470c | fix(provider): add public RPC fallbacks for Alchemy CDN SSL failures | ## Summary
- Alchemy's CDN returns HTTP 525 (SSL Handshake Failed) for 5 chains when called from Cloudflare Workers: Avalanche (43114), BSC (56), zkSync (324), Celo (42220), Scroll (534352)
- Root cause: Alchemy's Cloudflare CDN fails SSL handshake with their own origin servers for these chain backends — not reproduci... | diff --git a/provider/package.json b/provider/package.json
index 04f07384711..1f7c0170672 100644
--- a/provider/package.json
+++ b/provider/package.json
@@ -16,7 +16,8 @@
},
"scripts": {
"dev": "yarn wrangler dev",
- "deploy": "yarn wrangler deploy",
+ "deploy": "yarn set-env-vars && yarn wrangler depl... | 30 | 21 | 4 | [{"id": "G0", "claim": "An unsupported network ID leaves primaryUrl undefined and the non-null assertion passes fetch(undefined), which throws a misleading TypeError instead of returning a clear unsupported-network error; add an explicit early return for the !primaryUrl case.", "category": "correctness", "verdict": "su... | null |
unlock-protocol__unlock__16347 | unlock-protocol/unlock | 16,347 | defect | db05fb3652f5c515a42b4c5b926afc2f3a4685dc | a1630a501ab96b1e39c9f14f039205850f292987 | fix: pass new wallet address after Privy embedded wallet creation | ## Summary
- Brand new email users were getting stuck on the checkout "Connect" step after Privy email verification
- Root cause: in `PrivyMigration.handleMigrationIfNeeded`, after `createWallet()` succeeds the code called `onSignedInWithPrivy(user)` with the **stale** `user` closure argument — which still has `wallet... | diff --git a/unlock-app/src/__tests__/config/PrivyProvider.test.ts b/unlock-app/src/__tests__/config/PrivyProvider.test.ts
new file mode 100644
index 00000000000..ded42df8868
--- /dev/null
+++ b/unlock-app/src/__tests__/config/PrivyProvider.test.ts
@@ -0,0 +1,117 @@
+// ABOUTME: Tests for PrivyProvider auth helpers, sp... | 10 | 4 | 1 | [{"id": "G0", "claim": "If `onSignedInWithPrivy` fails (returns null) after wallet creation, the new call site silently returns and the user is left unauthenticated with no way for the caller to retry or surface a meaningful error; the return value should be checked (e.g. show an actionable toast).", "category": "corre... | null |
unoconv__unoserver__76 | unoconv/unoserver | 76 | defect | d6423f0fe15487e6b0034c21c32e53873ef74d05 | e5e9b6a3e11ec199baef79c90e76ea5952d3261c | Add `--user-installation` flag to `unoserver` | I found myself needing to have a persistence `UserInstallation`. This should add the ability to set custom `--user-installation` and still keep the old functionality the same. | diff --git a/src/unoserver/server.py b/src/unoserver/server.py
index 937a4e3..157ee5d 100644
--- a/src/unoserver/server.py
+++ b/src/unoserver/server.py
@@ -11,58 +11,62 @@
class UnoServer:
- def __init__(self, interface="127.0.0.1", port="2002"):
+ def __init__(self, interface="127.0.0.1", port="2002", user... | 2 | 2 | 1 | [{"id": "G0", "claim": "The temporary directory is deleted before the server is even started - first because the `with tempfile.TemporaryDirectory()` block in `__init__` exits as soon as the constructor returns, and after the move to `main()` because the server call (and the whole process and waiting) sits outside the ... | null |
unocss__unocss__32 | unocss/unocss | 32 | defect | 75abf553aeef046c5db4c0cbf8235d0a31a98cce | e458630d07485dd3dda607a1a252bc619dee3ad5 | feat(preset-uno): Supplementary transform style attribute | Minor adjustment [Supplementary transform style attribute] | diff --git a/packages/preset-uno/src/rules/transform.ts b/packages/preset-uno/src/rules/transform.ts
index d73ce87375..2ac79e7754 100644
--- a/packages/preset-uno/src/rules/transform.ts
+++ b/packages/preset-uno/src/rules/transform.ts
@@ -16,6 +16,9 @@ export const transforms: Rule[] = [
'transform': 'rotate(var... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new transform-style rule should only match the prefixed form (preserve-3d / preserve-flat), not also the unprefixed 3d / flat, which the reviewer felt is too general.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
unocss__unocss__3565 | unocss/unocss | 3,565 | defect | 8f57ff203d71e9883b87f8b6a2dd36aa75c790d7 | 052f33ef6cdd3a7a24ec91b48f0fb98f3b0908bb | feat(preset-mini): support font-stretch rules | close #3536 | diff --git a/packages/preset-mini/src/_rules/typography.ts b/packages/preset-mini/src/_rules/typography.ts
index c0063820ab..f4ee8d7c40 100644
--- a/packages/preset-mini/src/_rules/typography.ts
+++ b/packages/preset-mini/src/_rules/typography.ts
@@ -62,6 +62,22 @@ export const fonts: Rule<Theme>[] = [
{ autocompl... | 1 | 1 | 1 | [{"id": "G0", "claim": "Make the dynamic font-stretch rule match strictly as `font-stretch-(.+)` instead of also accepting the `stretch-` shorthand, and align it better with the static font-stretch rules.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
unocss__unocss__4113 | unocss/unocss | 4,113 | defect | 243623ddb7decd7002e4110ef3674e1feeef6297 | e8861c96c3fcbd1f1e74cf035781b3c7a8a53391 | feat(transformer-directive): support `icon()` directive | close #4111 | diff --git a/docs/presets/icons.md b/docs/presets/icons.md
index 57af88a8e9..885916228e 100644
--- a/docs/presets/icons.md
+++ b/docs/presets/icons.md
@@ -387,6 +387,22 @@ presetIcons({
})
```
+## Directives
+
+You can use the `icon()` directive in your CSS to get the metadata of the icon.
+
+```css
+.icon {
+ bac... | 6 | 3 | 2 | [{"id": "G0", "claim": "The sequential icon-resolution loops in packages/rule-utils/src/icon.ts (prefix matching and collection-name splitting) may block icon loading and make icon rendering too slow; they would be better changed to run in parallel.", "category": "performance", "verdict": "opposed", "priority": "P2", "... | null |
unocss__unocss__4252 | unocss/unocss | 4,252 | defect | d07f51783a4efc71015c63d5cee8e11b6eb551cb | 21314e8f929665b147cf417b52e36f98141206be | feat(core, preset-mini): generate preflights on demand | resolve #3521
~~In `Rulemeta`, specify the `preflight key` you need to depend on and generate preflights on demand. This will reduce irrelevant CSS output.~~ | diff --git a/packages/core/src/generator/index.ts b/packages/core/src/generator/index.ts
index 8124c3dc87..b05ef891c7 100644
--- a/packages/core/src/generator/index.ts
+++ b/packages/core/src/generator/index.ts
@@ -214,6 +214,7 @@ export class UnoGenerator<Theme extends object = object> {
const sheet = new Map<s... | 2 | 2 | 1 | [{"id": "G0", "claim": "Putting `preflightKeys` on RuleMeta couples core too tightly with preset-mini's implementation and may not be useful for other custom presets; antfu suggests keeping `preflightKeys` as a preset-mini internal convention and instead passing richer per-rule information (e.g. a list of active rules)... | null |
unocss__unocss__4681 | unocss/unocss | 4,681 | defect | a7626c3c4fdba43548fece6b63dc4c584b54f9a9 | b462fb6772b1849c5ab6ddee33881a0cb97be997 | fix(transformer-directive): support presetWind4 in `@screen` transformer | - closes #4513
`@screen md` with presetWind4 is broken.
I think renaming accessing to `breakpoint` is the easiest solution.
Please let me know what you think and whether you would prefer another solution.
---
As a workaournd, in my theme now I have this:
```ts
import { theme } from '@unocss/preset-... | diff --git a/packages-presets/transformer-directives/src/screen.ts b/packages-presets/transformer-directives/src/screen.ts
index 0ccbd44a8b..ef135678b3 100644
--- a/packages-presets/transformer-directives/src/screen.ts
+++ b/packages-presets/transformer-directives/src/screen.ts
@@ -1,4 +1,5 @@
import type { Theme } fr... | 1 | 1 | 1 | [{"id": "G0", "claim": "Hardcoding `breakpoints` for presetWind4 is unsafe; the breakpoint key should be resolved through the preset actually in use.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
unocss__unocss__47 | unocss/unocss | 47 | defect | 0816073d284b7dc7c182a7581aa40e6e79c76cca | f9be265d89e4bac0cf92dee7393d9136f7641fde | feat(preset-uno): support variables | Support variables
fix [38](https://github.com/antfu/unocss/issues/38) | diff --git a/packages/preset-uno/src/rules/behaviors.ts b/packages/preset-uno/src/rules/behaviors.ts
index d07e32ec88..ba7305676c 100644
--- a/packages/preset-uno/src/rules/behaviors.ts
+++ b/packages/preset-uno/src/rules/behaviors.ts
@@ -60,3 +60,26 @@ export const appearance: Rule[] = [
'appearance-none': 'none'... | 1 | 1 | 1 | [{"id": "G0", "claim": "The variables rule should maintain a map of known abbreviation keys instead of bypassing the rule system by calling parseUtil for every unmatched property.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
unocss__unocss__4758 | unocss/unocss | 4,758 | defect | c698cbeaff45e2ca3532f9403524680ad1f442a0 | ddd8d295eb238ff7acd2db9dad2fc4f9a9617a4c | feat(svelte-scoped): handle clsx like classes | fix #3631 | diff --git a/packages-integrations/svelte-scoped/package.json b/packages-integrations/svelte-scoped/package.json
index d23a6f8e60..cffadf6732 100644
--- a/packages-integrations/svelte-scoped/package.json
+++ b/packages-integrations/svelte-scoped/package.json
@@ -60,8 +60,10 @@
"@unocss/config": "workspace:*",
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The sveltekit-scoped example index page should be updated with a clsx-like-classes example (something like the test Svelte file) and the feature should be mentioned in the svelte-scoped docs so it is more obvious that it works now.", "category": "documentation", "verdict": "supported", "priority... | null |
unocss__unocss__4857 | unocss/unocss | 4,857 | defect | 2caac26f125649c273857d4908969ec0bc344c91 | 1bdcfc2cd714026e8f98e745cf8e4c1e0b441250 | feat(rule-utils): proper support for `nth-` selectors | fixes #4856
This PR adds support of `nth-[An+B]` syntax and the rest of the `nth-*` selectors (`:nth-last-child()`, `:nth-last-of-type()`, `:nth-of-type()`). It also now supports complex selectors like `nth-[2n+1_of_li]` to stay aligned with the current Tailwind.
---
## Potential problem
Technically, `:nt... | diff --git a/packages-presets/rule-utils/src/pseudo.ts b/packages-presets/rule-utils/src/pseudo.ts
index f1f4f65a73..d4cbf1467c 100644
--- a/packages-presets/rule-utils/src/pseudo.ts
+++ b/packages-presets/rule-utils/src/pseudo.ts
@@ -60,6 +60,9 @@ export const PseudoClasses: Record<string, string> = Object.fromEntries... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `?.replaceAll('_', ' ')` added to the bracket-notation branch seems unnecessary, since `_` is already replaced with a space when destructuring `[]`, so it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
unocss__unocss__4862 | unocss/unocss | 4,862 | defect | 4640eaf91cbde4a0ac3e322b62cfa57b0f4ac360 | b3ad0c2e4ef6b3c5f2a195ebc27bf75741c34cc2 | fix(vscode, autocomplete): pre-sense template errors | close #3942, close #3946
This PR changes the following:
- [virtual-shared/integration]: Extracts the common env detection mechanism.
- [autocomplete]: When creating an autocomplete instance, all templates are automatically parsed and cached, and errors are collected. Previously, template parsing continued during t... | diff --git a/alias.ts b/alias.ts
index 5e11266cde..bbe0d0c6f0 100644
--- a/alias.ts
+++ b/alias.ts
@@ -39,6 +39,7 @@ export const aliasVirtual: Record<string, string> = {
'#integration/content': r('./virtual-shared/integration/src/content.ts'),
'#integration/context': r('./virtual-shared/integration/src/context.t... | 2 | 2 | 0 | [{"id": "G0", "claim": "The nested map followed by flat in suggestFromTemplates could be replaced with flatMap for better performance when processing multiple template suggestions.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Hardcoding the VSCode... | null |
unocss__unocss__4942 | unocss/unocss | 4,942 | defect | d1e00bfc9a8982da23dde1c7470ed0a30b0e4209 | 90b0ad8aadd38e26d28961d5ee7c25c728e1250c | refactor(svelte-scoped)!: simplify user facing setup | While debugging an unrelated problem it came to my mind that the current way of getting global styles into the html in sveltekit is rather involved by needing to have a certain hook setup that replaces a string.
Instead we can just replace the string without needing to replace on each page render.
It works by repl... | diff --git a/docs/integrations/svelte-scoped.md b/docs/integrations/svelte-scoped.md
index 7ba449004f..57bbebd93c 100644
--- a/docs/integrations/svelte-scoped.md
+++ b/docs/integrations/svelte-scoped.md
@@ -237,26 +237,6 @@ Add the `%unocss-svelte-scoped.global%` placeholder into your `<head>` tag. In S
</head>
```
... | 2 | 1 | 1 | [{"id": "G0", "claim": "Since the repo now uses Svelte 5, the example should be updated to the new style rules, such as not self-closing non-void elements.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "There should probably be an error/warnin... | null |
unocss__unocss__5010 | unocss/unocss | 5,010 | defect | dba521e377887ed2b3b38dc86f36d4f292230ac8 | 681f56e48d2702b74d8ac1665d9aa7668dff972b | feat(core): allow postprocessors to append or remove rules | Currently the `postprocess` hook only allow to modify the existing rule object, not append more rules or remove the existing rule. However, sometimes we need to transform a rule to multiple rules. For example, color fallback:
```css
/* Before post-processing: an OKLCH color only */
.text-shadow-color-blue-300 { --... | diff --git a/packages-engine/core/src/generator.ts b/packages-engine/core/src/generator.ts
index c666948c2c..761773dcd9 100644
--- a/packages-engine/core/src/generator.ts
+++ b/packages-engine/core/src/generator.ts
@@ -156,7 +156,7 @@ class UnoGeneratorInternal<Theme extends object = object> {
const utils = expa... | 1 | 1 | 1 | [{"id": "G0", "claim": "Postprocessors should not be able to disable a utility by returning `false`; disabling should be done via `blocklist` or `//unocss-skip-start/end`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
unocss__unocss__5021 | unocss/unocss | 5,021 | defect | f0cdaa63e6cfa729cf9543b0f93f125c9892512d | ffd1aee7a714aa32c7a522fb6a3dd3b44ea4c24f | fix(preset-mini): resolve nested theme colors with dashed keys | Theme colors defined with dashes in nested objects (e.g.,
`{ brand: { 'dark-blue': '#123' } }`) were not resolving at runtime when used as `text-brand-dark-blue`.
The color lookup only tried camelCase conversion (`darkBlue`) but never checked the original dashed form (`dark-blue`).
Closes #4770 | diff --git a/packages-presets/preset-mini/src/_utils/utilities.ts b/packages-presets/preset-mini/src/_utils/utilities.ts
index 8cf1ec43d5..bae49c683a 100644
--- a/packages-presets/preset-mini/src/_utils/utilities.ts
+++ b/packages-presets/preset-mini/src/_utils/utilities.ts
@@ -40,10 +40,14 @@ function getThemeColorFor... | 1 | 1 | 1 | [{"id": "G0", "claim": "The tests should cover more complex nested theme-color cases, e.g. a dashed key ('dark-blue') whose value is an object with a DEFAULT entry and deeper dashed children ('foo-bar' -> 'baz').", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
unocss__unocss__5030 | unocss/unocss | 5,030 | defect | 70f1bc67d45c868dd2a8aaf3eb1807221697bdc0 | 4ad07f8a550d73b534e3a3d66cc95f2cffaae479 | fix(preset-wind3, preset-wind4): update `column` generate value from `container` | close #5029 | diff --git a/packages-engine/autocomplete/test/__snapshots__/autocomplete.test.ts.snap b/packages-engine/autocomplete/test/__snapshots__/autocomplete.test.ts.snap
index 4a9a9bd74b..ef2bf069d5 100644
--- a/packages-engine/autocomplete/test/__snapshots__/autocomplete.test.ts.snap
+++ b/packages-engine/autocomplete/test/_... | 2 | 1 | 0 | [{"id": "G0", "claim": "The rewritten columns rule removes support for CSS global keywords such as 'inherit', 'initial', 'revert', 'revert-layer' and 'unset' (e.g. 'columns-unset' disappeared from tests), so the suggested `...makeGlobalStaticRules('columns')` should be added after the columns-auto rule in both presets.... | null |
unocss__unocss__5054 | unocss/unocss | 5,054 | defect | d53461ff84c1e488b483cee887aa1f14c63ad734 | 5cc42110d0ae408031f8f511a281fc5ae5a108d9 | fix(cli): avoid clearing cache early to prevent race condition in watch mode | fixed #5038 | diff --git a/packages-engine/cli/src/index.ts b/packages-engine/cli/src/index.ts
index 05484ac835..1f41114363 100644
--- a/packages-engine/cli/src/index.ts
+++ b/packages-engine/cli/src/index.ts
@@ -81,7 +81,7 @@ async function initializeConfig(options: CliOptions) {
}
async function parseEntries(options: ResolvedC... | 2 | 1 | 0 | [{"id": "G0", "claim": "A test should be added that verifies the race condition fix by simulating concurrent access to the cache during watch mode updates, ensuring the cache remains accessible with valid data while parseEntries is executing, particularly during the file reading operations.", "category": "testing", "ve... | null |
unocss__unocss__5115 | unocss/unocss | 5,115 | defect | 91ee3a59a6c4a114f656436a9aa18f4e6dc14be5 | 18af9a4c4a1514ab4263a6df7ee65838febc97c2 | feat(preset-typography): suppor set `null` & `{}` to remove default value | close #5091 | diff --git a/packages-presets/preset-typography/src/index.ts b/packages-presets/preset-typography/src/index.ts
index 5649b64d4b..dcda3d0b0a 100644
--- a/packages-presets/preset-typography/src/index.ts
+++ b/packages-presets/preset-typography/src/index.ts
@@ -3,7 +3,7 @@ import type { TypographyCSSObject, TypographyOpti... | 3 | 1 | 1 | [{"id": "G0", "claim": "smartMergeDeep treats an empty-object patch ({}) as a value override while getCSS() renders any object value as a selector block, so {} used to remove scalar defaults can generate an invalid empty selector rule like :where(max-width)...{} and selector keys get empty {} blocks; the reviewer asks ... | null |
unocss__unocss__5124 | unocss/unocss | 5,124 | defect | fa85154cd913d1ee1a985638c7d236f0f81ff6e8 | 5dbb2f529142abcad48251df7baa995249b8cfae | feat(core): support `*` parse in variant group | close #5099 | diff --git a/packages-engine/core/src/utils/variant-group.ts b/packages-engine/core/src/utils/variant-group.ts
index 9282b7b1de..bdaa3fd560 100644
--- a/packages-engine/core/src/utils/variant-group.ts
+++ b/packages-engine/core/src/utils/variant-group.ts
@@ -7,7 +7,7 @@ const regexCache: Record<string, RegExp> = {}
ex... | 2 | 2 | 0 | [{"id": "G0", "claim": "The explanatory comment `// * === children variant issue:#5099` on the new test could be clearer, e.g. \"// `*` is the children variant shorthand (issue: #5099)\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test nam... | null |
unovue__vaul-vue__8 | unovue/vaul-vue | 8 | defect | 3c4f2a8571f75e4eb514f150b972babb16199507 | 63c9ec7bd56e84bd41c9c547e3949d8ab602a701 | E2E tests | Not all tests pass here, I believe we have an issue with controlled drawers where they don't behave quite as expected (mainly due to the way we ported the data flow model). ~~I'm planning on moving it use modelValue / defineModel in order to provide a consistent controlled data flow pattern.~~ I've fixed it up a bit, o... | diff --git a/packages/vaul-vue/e2e/tsconfig.json b/packages/vaul-vue/e2e/tsconfig.json
deleted file mode 100644
index 99923ab..0000000
--- a/packages/vaul-vue/e2e/tsconfig.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "extends": "@tsconfig/node18/tsconfig.json",
- "include": ["./**/*"]
-}
diff --git a/packages/vaul-vue/pac... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new handlePointerDownOutside should type its event parameter as PointerEvent, consistent with all the other pointer-related functions, instead of CustomEvent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The playgro... | null |
unplugin__unplugin-auto-import__392 | unplugin/unplugin-auto-import | 392 | defect | 809996b6f0ad0bbfb53eff3efa2a3188fb3a3d33 | 8858d8fad181a71b2d7363bf457b0f35dd859d03 | fix: imporove dir match && add glob exclude | ### Description
config:
```js
options.dirs = ['src/utils']
```
dir structure:
- src
- utils
- test.ts
when i add new api and export in test.ts, dts can not update,
because minimatch('src/utils/test.ts', 'src/utils') return false
### Linked Issues
### Additional context
<!-- ... | diff --git a/src/core/ctx.ts b/src/core/ctx.ts
index c9d313ea..1ef862f7 100644
--- a/src/core/ctx.ts
+++ b/src/core/ctx.ts
@@ -19,7 +19,8 @@ export function createContext(options: Options = {}, root = process.cwd()) {
dts: preferDTS = isPackageExists('typescript'),
} = options
- const dirs = options.dirs?.ma... | 2 | 2 | 2 | [{"id": "G0", "claim": "It might be better to normalize the glob instead: a dir without any wildcard (e.g. `src/utils`) should be turned into a glob like `src/utils/**` and passed to the match, rather than the current dir-match hack.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced... | null |
unplugin__unplugin-auto-import__451 | unplugin/unplugin-auto-import | 451 | defect | 8cc760fb6b0bf3784261e40dcaca84e35a680769 | 3e6ac78e0e1394dfe63e2e15ed995e5bb4e0f4b1 | feat: add local package preset support | <!-- DO NOT IGNORE THE TEMPLATE!
Thank you for contributing!
Before submitting the PR, please make sure you do the following:
- Read the [Contributing Guide](https://github.com/antfu/contribute).
- Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
- Provi... | diff --git a/README.md b/README.md
index 951a4636..06b4e423 100644
--- a/README.md
+++ b/README.md
@@ -295,6 +295,22 @@ Refer to the [type definitions](./src/types.ts) for more options.
See [src/presets](./src/presets).
+## Package Presets
+
+We only provide presets for the most popular packages, to use any packag... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `packagePresets` option could be simplified to `packages?: (PackagePreset | string)[]` so callers can pass a plain package name.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
unplugin__unplugin-auto-import__86 | unplugin/unplugin-auto-import | 86 | defect | 14ef2292f55bc49082aed6c7d1003b1e1da91800 | 4439e85839adc9ce78a935452e286bb113a48d7d | feat!: support async resolver & compatible with unplugin-vue-components, close #43 | - chore: format package.json
- fix: generate dts when import *
- feat!: support async resolver & compatible with unplugin-vue-components
⚠️ This is a breaking change. | diff --git a/package.json b/package.json
index f0a92f50..a6e6db73 100644
--- a/package.json
+++ b/package.json
@@ -14,14 +14,18 @@
"bugs": {
"url": "https://github.com/antfu/unplugin-auto-import/issues"
},
+ "license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/antfu/u... | 2 | 2 | 2 | [{"id": "G0", "claim": "The pull request should avoid directly relying on unplugin-vue-components, which it added to devDependencies just to import the ComponentResolver type.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The resolvers option should wor... | null |
unplugin__unplugin-vue-components__440 | unplugin/unplugin-vue-components | 440 | defect | f5ddbb4d171dbb4985f47e46f2503553485cf869 | 4de444c87a9ee23738d852feb09289cc9fe6e955 | feat: support component and directive in same name | fix #364
Use a prefix to seprate directive name from the component
generated dts file will be like
```ts
import '@vue/runtime-core'
declare module '@vue/runtime-core' {
export interface GlobalComponents {
InfiniteScroll: typeof import('./src/components/InfiniteScroll/index.vue')['default']
'V-... | diff --git a/src/core/constants.ts b/src/core/constants.ts
index feacd2ac..32c918e4 100644
--- a/src/core/constants.ts
+++ b/src/core/constants.ts
@@ -1,3 +1,4 @@
export const MODULE_NAME = 'unplugin-vue-components'
export const RESOLVER_EXT = '.unplugin-vue-components'
export const DISABLE_COMMENT = '/* unplugin-vu... | 1 | 1 | 1 | [{"id": "G0", "claim": "The directive import prefix constant should be `v` (lowercase, without the dash) instead of `V-`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
unplugin__unplugin-vue-components__529 | unplugin/unplugin-vue-components | 529 | defect | bbe3e7f2326618d41c589a2d37ce1fdcd5eab612 | 1fdef41fef3809928a1dccb5755116a808aa410c | feat: support vue 2.7 | <!-- DO NOT IGNORE THE TEMPLATE!
Thank you for contributing!
Before submitting the PR, please make sure you do the following:
- Read the [Contributing Guide](https://github.com/antfu/contribute).
- Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
- Provi... | diff --git a/src/core/context.ts b/src/core/context.ts
index 37f205a1..a82aba54 100644
--- a/src/core/context.ts
+++ b/src/core/context.ts
@@ -22,6 +22,7 @@ const debug = {
export class Context {
options: ResolvedOptions
transformer: Transformer = undefined!
+ vue27 = false
private _componentPaths = new Se... | 2 | 2 | 1 | [{"id": "G0", "claim": "The vue 2.7 flag should be exposed as a `version` option in the plugin options instead of the internal `vue27` boolean.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "In getDeclaration, dtsHead should be declared const with a sing... | null |
unpoller__unifi__113 | unpoller/unifi | 113 | defect | e0ffab862a8ab94c808d7b68bdb1bf6d232ba8dd | c116124f02696dcab06b5f4405c4f04b5dd458a5 | catname on the IDS seems to sometimes be an array of strings | A discord issue where on the IDS events the `catname` field is now sometimes an array of strings
Now:
```
"catname": [
"emerging-scan"
],
```
Before:
```
"catname": "emerging-p2p",
``` | diff --git a/go.mod b/go.mod
index 4732906..3af4103 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,8 @@
module github.com/unpoller/unifi
-go 1.19
+go 1.21
+
+toolchain go1.22.1
require (
github.com/brianvoe/gofakeit/v6 v6.28.0
diff --git a/ids.go b/ids.go
index 12bac78..ffb5b42 100644
--- a/ids.go
+++ b/ids.go
@@ ... | 3 | 3 | 1 | [{"id": "G0", "claim": "The FlexString.UnmarshalJSON doc comment says 'Generally, do call this directly' and is missing the word 'not' (and the reviewer also asks where it was copied from).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the []i... | null |
unrolled__secure__14 | unrolled/secure | 14 | defect | 219ebb9a1ee60251b93212d455b645c86b01adb9 | 67cc3cf2d127c7a027c5dae284d78a16435291d3 | Add support for Referrer-Policy header | Referrer-Policy is a new header to allow controlling when the Referer header is sent.
See this blog for details https://scotthelme.co.uk/a-new-security-header-referrer-policy/
Fixes #13 | diff --git a/README.md b/README.md
index d9f078b..c40a83a 100644
--- a/README.md
+++ b/README.md
@@ -76,6 +76,7 @@ s := secure.New(secure.Options{
BrowserXssFilter: true, // If BrowserXssFilter is true, adds the X-XSS-Protection header with the value `1; mode=block`. Default is false.
ContentSecurityPolicy: "... | 2 | 1 | 0 | [{"id": "G0", "claim": "In the README's ReferrerPolicy example line, the typo \"allos\" should be \"allows\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The word \"Referrer\" is still misspelled in the ReferrerPolicy field comment on secure.go... | null |
unrolled__secure__16 | unrolled/secure | 16 | defect | e88a5e2d00bb9e3616297093512ca641bc90e23f | bef39a1f05c88616933e792fb7859ca6961a1154 | Hosts proxy header option | This PR adds support for using Host information coming from an upstream proxy to validate that the site is being contacted with an allowed hostname. It is in the spirit of the `SSLProxyHeaders` option. | diff --git a/README.md b/README.md
index a1ea803..7725c86 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,7 @@ var myHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
func main() {
secureMiddleware := secure.New(secure.Options{
AllowedHosts: []string{"example.com", "ssl.exampl... | 1 | 1 | 0 | [{"id": "G0", "claim": "Capitalize the new comment in Process and add a period at the end so it reads as a proper sentence.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
unrolled__secure__3 | unrolled/secure | 3 | defect | b0dfc4c016790a7c4c3a64dbb54d42e21cfaf471 | bacb0d471f97307dc82c80966a7fbb566f35c16a | Master - Added HPKP | Added HPKP settings. Also changed `BrowserXssFilter` to `BrowserXSSFilter` because of Go's coding standards. (Acronyms are in all caps.)
See: https://developer.mozilla.org/en-US/docs/Web/Security/Public_Key_Pinning
| diff --git a/secure.go b/secure.go
index 7542737..b3ab505 100644
--- a/secure.go
+++ b/secure.go
@@ -17,6 +17,7 @@ const (
xssProtectionHeader = "X-XSS-Protection"
xssProtectionValue = "1; mode=block"
cspHeader = "Content-Security-Policy"
+ hpkpHeader = "Public-Key-Pins"
)
func defaultBadH... | 6 | 6 | 3 | [{"id": "G0", "claim": "Remove the unreferenced `defaultHeader` package variable, which was left over from a discarded optimization.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PublicKey doc comment should end with `Default is \"\".` inst... | null |
unrolled__secure__30 | unrolled/secure | 30 | defect | 5b5ec9db37417c8cb346915cee5fe8dcbc739a95 | bc037ef9e2444aeac88b48c0d7dc8856893a924b | add the ability to dynamically dispatch https redirection | Sometimes we want to redirect http to a non-standard port, or a totally different domain. This PR add a new field `SSLHostFunc` which is a function pointer, when it's supplied with a non-nil value, the redirect domain will dynamically determined, while it's also possible to fallback to the field `SSLHost`. | diff --git a/README.md b/README.md
index 8871218..413fce6 100644
--- a/README.md
+++ b/README.md
@@ -66,7 +66,8 @@ s := secure.New(secure.Options{
HostsProxyHeaders: []string{"X-Forwarded-Hosts"}, // HostsProxyHeaders is a set of header keys that may hold a proxied hostname value for the request.
SSLRedirect:... | 3 | 3 | 0 | [{"id": "G0", "claim": "The tab characters in the new README lines should be changed into spaces so they match the surrounding documentation.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new SSLHostFunc type declaration needs a brief doc str... | null |
unrolled__secure__31 | unrolled/secure | 31 | defect | 5b5ec9db37417c8cb346915cee5fe8dcbc739a95 | 171d057de5531517eb53b2e809d21d223812241d | ModifyResponse feature to be able to use secure with http.ReverseProxy | When `unrolled/secure` middleware is used with [go ReverseProxy](https://golang.org/pkg/net/http/httputil/#ReverseProxy) if the backend response contains security headers, headers will be duplicated.
This PR allow to process only the request and to not write headers into the `ResponseWriter` to avoid duplicated head... | diff --git a/.gitignore b/.gitignore
index 05f4eaf..f650102 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@
# Folders
_obj
_test
+.idea
# Architecture specific extensions/prefixes
*.[568vq]
diff --git a/csp.go b/csp.go
index 5d1c214..e8f2157 100644
--- a/csp.go
+++ b/csp.go
@@ -24,9 +24,9 @@ func CSPNon... | 11 | 10 | 2 | [{"id": "G0", "claim": "Remove the newly added `.idea` entry from .gitignore; it would ideally live in a personal ~/.gitignore_global.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a period to the end of the `// Response headers` comment on... | null |
unrolled__secure__62 | unrolled/secure | 62 | defect | 232c938a6a69cfd83e26e2bfe100a20486d3a9a0 | e555da61c85fd3451274d98d4e1afe2d3a14096e | Add SSLHost logic to ModifyResponseHeaders() | This PR:
- Updates the `ModifyResponseHeaders` method to modify the scheme of the location header if the following conditions are true:
- The Request is a TLS request
- There is an SSLHost defined
- The Response contains the SSLHost with an http scheme
- The Response does not contain a port
- Adds tests... | diff --git a/secure.go b/secure.go
index 92347bf..8576cd6 100644
--- a/secure.go
+++ b/secure.go
@@ -437,9 +437,13 @@ func (s *Secure) isSSL(r *http.Request) bool {
// Used by http.ReverseProxy.
func (s *Secure) ModifyResponseHeaders(res *http.Response) error {
if res != nil && res.Request != nil {
- // Fix Locati... | 3 | 3 | 2 | [{"id": "G0", "claim": "Matching the Location header with strings.Contains on \"http://<SSLHost>\" is incorrect because the SSLHost may be a prefix of a different domain or appear elsewhere in the URL (e.g. a referrer parameter), so the match should be strings.HasPrefix(location, \"http://<SSLHost>/\") or an exact equa... | null |
unrolled__secure__80 | unrolled/secure | 80 | defect | 1a8629f98e39342f9fabe0e3a061e7c337a60286 | b758b9913b2a61236b866a6ae8f9865e04328fbd | Add ability to set Cross-Origin-Opener-Policy header | Adds the ability to set the `Cross-Origin-Opener-Policy` header.
I recently had the need to set the [`Cross-Origin-Opener-Policy` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy) to protect against an XS-Leak. The project was using [unrolled/secure](https://github.com/unr... | diff --git a/secure.go b/secure.go
index 84ff5b8..f8d3c8e 100644
--- a/secure.go
+++ b/secure.go
@@ -27,6 +27,7 @@ const (
featurePolicyHeader = "Feature-Policy"
permissionsPolicyHeader = "Permissions-Policy"
expectCTHeader = "Expect-CT"
+ coopHeader = "Cross-Origin-Opener-Policy"
ct... | 1 | 1 | 0 | [{"id": "G0", "claim": "Update README.md to document the new CrossOriginOpenerPolicy option, in both the 'Available options' and 'Default options' examples.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
unrolled__secure__82 | unrolled/secure | 82 | defect | cb6ee763d32d7a15c7a697d2662533fa0e3a9de3 | 1005976b12155e61e52881ab6177c169631926b1 | Add ability to pass a custom allowed hosts function | This allows us to pass a custom AllowedHosts func that returns a list of such hosts and overrides the AllowedHosts list | diff --git a/secure.go b/secure.go
index f8d3c8e..0df573b 100644
--- a/secure.go
+++ b/secure.go
@@ -36,6 +36,9 @@ const (
// SSLHostFunc a type whose pointer is the type of field `SSLHostFunc` of `Options` struct
type SSLHostFunc func(host string) (newHost string)
+// AllowedHostsFunc a custom function type that r... | 3 | 3 | 2 | [{"id": "G0", "claim": "processRequest should do a second check so that both the static AllowedHosts list and the new AllowedHostsFunc are supported, instead of overwriting s.opt.AllowedHosts with the function's result.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"... | null |
unslothai__unsloth__3612 | unslothai/unsloth | 3,612 | defect | 341ce85864d191e4a6b7c447b9167c1faf5e20d3 | 5017d9748b8aceec5725e7dd9045e2cebca20b13 | Feature/raw text dataprep | Fixes #14
Enables training directly on raw text files without requiring structured datasets. Adds `RawTextDataLoader` class with intelligent token-aware chunking, support for multiple formats (.txt, .md, .json, .jsonl, .csv), and CLI integration with `--raw_text_file` flag.
Usage: `python unsloth-cli.py --raw_te... | diff --git a/tests/test_raw_text.py b/tests/test_raw_text.py
new file mode 100644
index 00000000000..503fbeb4c3e
--- /dev/null
+++ b/tests/test_raw_text.py
@@ -0,0 +1,121 @@
+#!/usr/bin/env python3
+"""
+Minimal test for raw text training implementation.
+Tests basic functionality without heavy dependencies.
+"""
+
+im... | 8 | 7 | 6 | [{"id": "G0", "claim": "`from unsloth import RawTextDataLoader` in the CLI likely fails with an ImportError because the top-level `unsloth` package never re-exports `RawTextDataLoader` (it only exists in `unsloth/dataprep/raw_text.py`), leaving the new `--raw_text_file` flow unusable before training begins.", "category... | null |
unslothai__unsloth__3859 | unslothai/unsloth | 3,859 | defect | f3f9d148874389996636e4fd110c7255b9f62c77 | 9a4b52a1bf53eb636c23e038d150bf1bf7699167 | add weight-only int8 QAT scheme and update tests for torchao 0.15.0 | this adds a new QAT scheme "int8" which is weight only
should be a good choice for Gemma Q8_0 QAT models
closes https://github.com/unslothai/unsloth/issues/3845
closes https://github.com/unslothai/unsloth/issues/3858 | diff --git a/tests/utils/test_qat.py b/tests/utils/test_qat.py
index 79251cf2fff..440af7902c6 100644
--- a/tests/utils/test_qat.py
+++ b/tests/utils/test_qat.py
@@ -8,7 +8,8 @@
from torchao.quantization.qat.fake_quantizer import (
FakeQuantizerBase,
Float8FakeQuantizer,
- Int4WeightPreshuffledFakeQuantize... | 6 | 3 | 2 | [{"id": "G0", "claim": "Refactor the if/elif chain that maps qat_scheme to its configuration in tests/utils/test_qat.py into a dictionary for maintainability and easier extension.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "group_size = 128... | null |
unslothai__unsloth__3890 | unslothai/unsloth | 3,890 | defect | 33b0343ec56595d4e7d7cdd25f173207ebf991b0 | a4c8c9fe61ea1af06c1d4a0f65dafaeb17012b30 | Refactor Ollama template wiring and harden packing helpers | ## Summary
- Centralized all Ollama modelfile bindings in `chat_templates.py` by sourcing them from `ollama_template_mappers`, eliminating duplicated inline strings and keeping a single source of truth.
- Added the missing Qwen 2.5 alias so chat template lookups don’t fail on that variant.
- Strengthened packing/p... | diff --git a/tests/utils/test_packing.py b/tests/utils/test_packing.py
index 70c80b73216..a7e1eb5675d 100644
--- a/tests/utils/test_packing.py
+++ b/tests/utils/test_packing.py
@@ -178,13 +178,23 @@ def __init__(self):
class _DummyTrainer:
def __init__(self):
self.args = SimpleNamespace(remove_unused_col... | 5 | 5 | 2 | [{"id": "G0", "claim": "The refactoring makes CHAT_TEMPLATES[\"qwen3-instruct\"] reuse the generic qwen3_ollama binding instead of the specific qwen3-instruct Ollama template, which will lead to incorrect behavior for qwen3-instruct.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "intro... | null |
unslothai__unsloth__4027 | unslothai/unsloth | 4,027 | defect | 9e75e1b7e3c5ebb28787aa8ae0bbdf40afdde8d8 | 0a3c4f55f1e8149cc4b5d1c2aa91b9266537b316 | Patch trunc_normal_ for low-precision stability | ## Summary
This patch adds a global safeguard for `torch.nn.init.trunc_normal_` during `import unsloth`.
For low-precision tensors (`float16`, `bfloat16`), initialization is now performed in `float32` and copied back. This avoids bound saturation behavior observed in low precision while keeping the original dtype for ... | diff --git a/unsloth/__init__.py b/unsloth/__init__.py
index b068d6a5fc2..39c336df96d 100644
--- a/unsloth/__init__.py
+++ b/unsloth/__init__.py
@@ -130,6 +130,7 @@
fix_vllm_pdl_blackwell,
fix_triton_compiled_kernel_missing_attrs,
fix_rocm_triton_key_error,
+ patch_trunc_normal_precision_issue,
i... | 3 | 1 | 1 | [{"id": "G0", "claim": "The DTensor import fallback catches a broad `Exception`, which can mask unexpected errors and make debugging harder; it should catch specific exceptions such as `ImportError` or `ModuleNotFoundError`.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced... | null |
unslothai__unsloth__4455 | unslothai/unsloth | 4,455 | defect | e793c378db5879059e412af1d705b13b8c5146b8 | 16922a50966dae58771c30257debb0960421fc50 | `feat: support GGUF export for non-PEFT models + fix venv_t5 switching for local checkpoints` | ## Problem
### 1. Non-PEFT GGUF export fails
Exporting a full fine-tune checkpoint (no LoRA adapters) to GGUF fails because `unsloth_save_pretrained_gguf` unconditionally calls `unsloth_generic_save`, which attempts a LoRA merge on a model that has no adapters.
On the frontend, all three export methods (Merged... | diff --git a/studio/backend/tests/test_transformers_version.py b/studio/backend/tests/test_transformers_version.py
new file mode 100644
index 000000000000..f3dae537c710
--- /dev/null
+++ b/studio/backend/tests/test_transformers_version.py
@@ -0,0 +1,190 @@
+# SPDX-License-Identifier: AGPL-3.0-only
+# Copyright 2026-pre... | 5 | 1 | 0 | [{"id": "G0", "claim": "The silent `except Exception: pass` around local tokenizer_config.json parsing should at least log the exception, even at debug level.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Disabling the 'merged' export method fo... | null |
unslothai__unsloth__4678 | unslothai/unsloth | 4,678 | defect | a6c1f893fc87c0973f9c32e59ca3d7d54ffb9724 | 349af92b78c46159a844e85ddf366ea520159aa2 | feat: Add support for OLMo-3 model | ## Summary
Adds support for **OLMo-3** models (by the Allen Institute for AI), resolving the request in #4546.
OLMo-2 was already supported. This PR extends the model mapper and loader to recognise OLMo-3 model families so they can be loaded and fine-tuned via Unsloth without hitting an unsupported-model error.
## C... | diff --git a/tests/test_get_model_name.py b/tests/test_get_model_name.py
index ad89f595f0c..6735b886ef6 100644
--- a/tests/test_get_model_name.py
+++ b/tests/test_get_model_name.py
@@ -64,6 +64,18 @@ def test_resolution_matrix(self):
"unsloth/Ministral-3-3B-Instruct-2512",
True,
... | 3 | 3 | 0 | [{"id": "G0", "claim": "The two new OLMo-3 test cases in tests/test_get_model_name.py should spell the model name 'OLMo' instead of 'Olmo', for consistency with the official model name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new OLMo... | null |
unslothai__unsloth__4679 | unslothai/unsloth | 4,679 | defect | a6c1f893fc87c0973f9c32e59ca3d7d54ffb9724 | 079f99cb6e914036f60f38d25f5eed8abd5c4599 | feat: Add cactus QAT scheme support | ## Summary
Adds support for the `"cactus"` Quantization-Aware Training (QAT) scheme.
Closes #3946
## Changes
- Extends the `unsloth.models._utils._prepare_model_for_qat` handling to support `qat_scheme == "cactus"`.
- Implements the Cactus quantization method locally via `torchao`: configuring `IntxWeightOnlyConfig... | diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index 4db06606b90..ee733a36001 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -2551,6 +2551,27 @@ def _prepare_model_for_qat(
qat_scheme = qat_scheme,
base_config_and_filter_fns = [(base_config, f... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new 'cactus' QAT scheme is missing unit tests; tests should be added to ensure correctness and prevent regressions, e.g. by adding 'cactus' to the @pytest.mark.parametrize decorator in test_lora_model_fake_quantize and updating _test_linear_is_fake_quantized to handle the new scheme.", "cate... | null |
unslothai__unsloth__4748 | unslothai/unsloth | 4,748 | defect | 4fb977898801d9c00395af098387587b655e094f | 6b6b616845213166f1f334a816dc5a9eea9459a6 | fix: add tokenizers to no-torch deps and TORCH_CONSTRAINT for arm64 macOS py313+ | ## Summary
- Add `tokenizers` to `no-torch-runtime.txt` (before `transformers`). Without it, `from transformers import AutoConfig` crashes on startup because `--no-deps` skips transitive dependencies.
- Add `TORCH_CONSTRAINT` variable to `install.sh`. On arm64 macOS with Python 3.13+, tightens torch requirement to `>=... | diff --git a/install.sh b/install.sh
index 5d8f8c68cfe..2d9a3685553 100755
--- a/install.sh
+++ b/install.sh
@@ -949,6 +949,17 @@ if [ -x "$VENV_DIR/bin/python" ]; then
substep "${VENV_DIR}"
fi
+# Default torch constraint -- tightened for Python 3.13+ on arm64 macOS
+# (torch <2.6 has no cp313 macOS arm64 wheel... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new shell tests use `sed -i`, which is not portable to BSD sed on macOS (it requires an extension argument), and the `|` delimiter can fail if the log path contains `|`; use an unquoted heredoc to expand the log path when creating the mock uv scripts instead.", "category": "testing", "verdic... | null |
unslothai__unsloth__4878 | unslothai/unsloth | 4,878 | defect | 723bfb236305eb4ae4d0fdbf724fbe801b71da66 | 3400654afc95a26dee687b35e15ea229aa16a10d | split venv_t5 into tiered 5.3.0/5.5.0 and fix trust_remote_code | ## Summary
- Split single `.venv_t5` (transformers 5.5.0) into `.venv_t5_530` (5.3.0) and `.venv_t5_550` (5.5.0)
- Qwen3.5, Ministral-3, GLM-4.7-Flash etc. use 5.3.0; Gemma 4 uses 5.5.0
- Gemma 4 detection via config.json (`Gemma4ForConditionalGeneration` architecture or `model_type: gemma4`) in addition to substrin... | diff --git a/studio/backend/core/export/worker.py b/studio/backend/core/export/worker.py
index 6af6ff11932..4bdfd13b78a 100644
--- a/studio/backend/core/export/worker.py
+++ b/studio/backend/core/export/worker.py
@@ -32,8 +32,8 @@
def _activate_transformers_version(model_name: str) -> None:
"""Activate the correc... | 4 | 3 | 2 | [{"id": "G0", "claim": "Auto-enabling trust_remote_code for any model ID containing \"nemotron\" lets a user-provided repo such as attacker/nemotron-* execute arbitrary remote modeling code even when the request left trust_remote_code false; keep auto-enable restricted to trusted namespaces (or an explicit allowlist) b... | null |
unslothai__unsloth__4884 | unslothai/unsloth | 4,884 | defect | 1d8160376e169d13c386b7ef4bc1fdc8f855de68 | fa85bc3ee6dd0fba865c65e291a427cafdcb11b0 | Fix raw text paragraph break normalization | ## Summary
- preserve paragraph breaks when cleaning raw text
- normalize horizontal whitespace without collapsing newlines
- add a regression check for repeated CRLF paragraph separators
## Testing
- python3 tests/test_raw_text.py | diff --git a/tests/test_raw_text.py b/tests/test_raw_text.py
index 9f2e8cda4eb..7760b301241 100644
--- a/tests/test_raw_text.py
+++ b/tests/test_raw_text.py
@@ -149,6 +149,10 @@ def decode(self, token_ids, skip_special_tokens = False):
preprocessor = TextPreprocessor()
clean_text = preprocessor.clean_... | 1 | 1 | 1 | [{"id": "G0", "claim": "clean_text removes non-ASCII characters before whitespace normalization, so non-ASCII whitespace such as NBSP from HTML/PDF text is deleted instead of converted to a space, turning inputs like \"hello\\u00a0world\" into \"helloworld\" and corrupting word boundaries and downstream tokenization.",... | null |
unslothai__unsloth__4892 | unslothai/unsloth | 4,892 | defect | 1d8160376e169d13c386b7ef4bc1fdc8f855de68 | be146de451558477392caa106120f19a6feaa3ca | [Studio] Show non exported models in chat UI | Fixes https://github.com/unslothai/unsloth/issues/4888
We now fetch LoRAs and trained models (for full finetune) to be shown without one needing to explicitly "export". The models are already on disk so we just show them
Note: We do not yet show intermediate checkpoints from the training run. Only the final stored ... | diff --git a/TRANSCRIPT.md b/TRANSCRIPT.md
new file mode 100644
index 00000000000..87c22f7a513
--- /dev/null
+++ b/TRANSCRIPT.md
@@ -0,0 +1,143 @@
+# Task
+
+Investigate GitHub issue `unslothai/unsloth#4888`:
+
+> "How to chat with finetuned model."
+>
+> Studio Chat's Finetuned selector shows `No adapter found` for a ... | 2 | 1 | 1 | [{"id": "G0", "claim": "If the checkpoint directory name does not follow the expected `unsloth_{model}_{timestamp}` pattern (e.g. just `unsloth_12345`), `model_parts` will be empty and an invalid `base_model` string like `unsloth/` is returned; add a check that `model_parts` is not empty before returning.", "category":... | null |
unslothai__unsloth__5020 | unslothai/unsloth | 5,020 | defect | a0b9d140812f9490aff714151c8e1d409d30c4df | 5d6e8435196ef5827e652def1ffb4fc31275f30b | Studio: split model-load progress label across two rows | ## Summary
Fixes the wrapping bug visible in the chat-flow download toast and the training-start overlay once the label grows past the row width. The composed label is `"112.6 of 122.3 GB • 331.0 MB/s • 30s left"` plus a percent badge; in a single flex row it overflows and strands the percent on a second line (`"19 le... | diff --git a/studio/backend/tests/test_llama_cpp_load_progress_live.py b/studio/backend/tests/test_llama_cpp_load_progress_live.py
new file mode 100644
index 00000000000..beed8713c18
--- /dev/null
+++ b/studio/backend/tests/test_llama_cpp_load_progress_live.py
@@ -0,0 +1,202 @@
+# SPDX-License-Identifier: AGPL-3.0-only... | 1 | 1 | 0 | [{"id": "G0", "claim": "Using an IIFE inside JSX to split the progress label is less maintainable and harder to read; compute splitProgressLabel at the top of ModelLoadDescription and use primary/secondary directly in the JSX.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
unslothai__unsloth__5021 | unslothai/unsloth | 5,021 | defect | a0b9d140812f9490aff714151c8e1d409d30c4df | 7d1966b9463b248f34c224c4628c5246876258eb | Studio: hard-stop at n_ctx with a 'Context limit reached' toast | ## Summary
Fixes the confusing `5,361 / 4,096` display reported on the chat context-usage bar after a long completion. The real issue isn't just the number -- it's that llama-server has been silently rotating the KV cache underneath the conversation.
### What was happening
llama-server launches with `-c <n_ctx>` but... | diff --git a/studio/backend/core/inference/llama_cpp.py b/studio/backend/core/inference/llama_cpp.py
index 71dec4c38b4..e85b4c8a958 100644
--- a/studio/backend/core/inference/llama_cpp.py
+++ b/studio/backend/core/inference/llama_cpp.py
@@ -1419,6 +1419,15 @@ def load_model(
str(n_parallel),
... | 3 | 3 | 1 | [{"id": "G0", "claim": "isContextLimitError misses the \"Message too long ... context window ...\" text that _friendly_error emits, so the context-overflow failure on the streaming GGUF path falls back to the generic \"Generation failed\" toast instead of the new \"Context limit reached\" UX.", "category": "correctness... | null |
unslothai__unsloth__5023 | unslothai/unsloth | 5,023 | defect | 5aa8c152468cd741949c72187dcb0702a1f11f43 | a11f3d89e186f6ad6e964168ed1ca81683b947f9 | Studio: support GGUF variant selection for non-suffixed repos | Fixes #5009
Support GGUF variant selection for repos that do not use the `-GGUF` suffix.
- detect cached GGUF repos from cached `.gguf` files
- propagate GGUF metadata from HF search into the chat model picker
- open quant selection for downloaded, recommended, and search GGUF rows instead of auto-selecting a d... | diff --git a/studio/backend/routes/models.py b/studio/backend/routes/models.py
index 8dd332eaf1e..3787e3b37fd 100644
--- a/studio/backend/routes/models.py
+++ b/studio/backend/routes/models.py
@@ -1237,6 +1237,25 @@ def _all_hf_cache_scans():
return scans
+def _repo_has_gguf_files(repo_info) -> bool:
+ """R... | 10 | 9 | 6 | [{"id": "G0", "claim": "_repo_gguf_size_bytes sums size_on_disk across all revisions, so HF-cache revisions sharing blobs via symlinks overcount the reported GGUF disk usage; deduplicate by blob_path.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "l... | null |
unslothai__unsloth__5128 | unslothai/unsloth | 5,128 | defect | b13ce6556a4d17c817e92ca554baa3ed527bd6ea | abd4b1887d5e42f4b4c15abc732fc6e522efb8f6 | Studio: support images on /v1/messages (Anthropic-compat) | ## Summary
Adds multimodal (image) support to the Anthropic-compatible `/v1/messages` endpoint so Anthropic SDK clients (Claude Code, Anthropic Python SDK, etc.) can send images to vision-capable GGUFs running under Studio — matching the existing vision behavior of `/v1/chat/completions`.
Before this PR, `/v1/mes... | diff --git a/studio/backend/core/inference/anthropic_compat.py b/studio/backend/core/inference/anthropic_compat.py
index 400e6053e0d..8b696918efd 100644
--- a/studio/backend/core/inference/anthropic_compat.py
+++ b/studio/backend/core/inference/anthropic_compat.py
@@ -13,11 +13,44 @@
from typing import Any, Optional, ... | 4 | 3 | 1 | [{"id": "G0", "claim": "Flattening all text blocks and prepending them before the images in the OpenAI message loses the original interleaving of Anthropic content blocks, harming prompt fidelity when text refers to images in a sequence.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i... | null |
uofw__uofw__76 | uofw/uofw | 76 | defect | 70c4d324d4942c6331c9219978b40a849a7a6025 | 924d5d75b308bdd5c331f048c87333a3beba2b2d | Fix various warnings caught by GCC 9 in newer psp-toolchain | It is not currently possible to compile uOFW with a recent psp-toolchain as it uses GCC 9 instead of GCC 4 and many more warnings are thrown.
## Description
Most of the fixes are trivial things like lack of `if` indentation, lack of `switch/case` `FALLTHRU` comments, and function signatures not matching.
There wer... | diff --git a/include/pspmoduleexport.h b/include/pspmoduleexport.h
index eb483aa1c..21bebc0af 100644
--- a/include/pspmoduleexport.h
+++ b/include/pspmoduleexport.h
@@ -13,7 +13,7 @@ struct SceLibraryEntry {
unsigned char entLen;
unsigned char varCount;
unsigned short funcCount;
- void * ... | 3 | 3 | 2 | [{"id": "G0", "claim": "Rather than changing the signature of every module_start instance, the module_start (and module_stop) prototype in include/common/module.h should be changed to the official SDK one, int module_start(SceSize argSize, const void *argBlock).", "category": "design", "verdict": "supported", "priority... | null |
upbound__universal-crossplane__142 | upbound/universal-crossplane | 142 | defect | 7d8041757dfa3eaa47adb64b3487f12f93a73f83 | d1db8ea5cf700e40e8fe5bad4f9e08e1467c05d9 | [release-1.2] Bump build submodule and publish OLM bundles | <!--
Thank you for helping to improve Upbound!
Please read through https://git.io/fj2m9 if this is your first time opening an
Upbound pull request. Find us in https://slack.crossplane.io/messages/upbound if
you need any help contributing.
-->
### Description of your changes
<!--
Briefly describe what this... | diff --git a/Makefile b/Makefile
index a6c7f1bb..f309103a 100644
--- a/Makefile
+++ b/Makefile
@@ -138,30 +138,26 @@ generate-chart: crossplane
# where the operator is deployed. See https://github.com/operator-framework/operator-lifecycle-manager/issues/1361
# and https://github.com/operator-framework/operator-lifecy... | 1 | 1 | 1 | [{"id": "G0", "claim": "Running `make reviewable` fails with helm lint errors on values.yaml because the placeholder strings like %%BOOTSTRAPPER_TAG%% are not substituted when the helm.prepare.universal-crossplane target is not overridden.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ... | null |
upbound__universal-crossplane__22 | upbound/universal-crossplane | 22 | defect | 5b3a0e2642cd00f93325a1ed9ae2c63360710594 | 8ec79f1579f18ab690f4a3bdfb21668bee155ad2 | Entitlement reconciler and AWS Marketplace implementation | Adds a new controller for entitlement and AWS Marketplace API as the first implementation. We'll be able to reuse the same entitlement controller for other marketplace contexts as well as standard Upbound billing.
Note that currently no action is taken if we cannot confirm that user is actually entitled to use UXP i... | diff --git a/cluster/charts/upbound-universal-crossplane/templates/bootstrapper/clusterrole.yaml b/cluster/charts/upbound-universal-crossplane/templates/bootstrapper/clusterrole.yaml
new file mode 100644
index 00000000..332c1803
--- /dev/null
+++ b/cluster/charts/upbound-universal-crossplane/templates/bootstrapper/clus... | 12 | 9 | 3 | [{"id": "G0", "claim": "Setting the helm hook to pre-install,pre-upgrade would remove the TLS certs in the secret on helm upgrades and cause issues, so the keys should be removed from the file instead, which makes the tls secret type unnecessary.", "category": "correctness", "verdict": "supported", "priority": "P1", "s... | null |
upbound__universal-crossplane__70 | upbound/universal-crossplane | 70 | defect | fd2b28ca611d041e7c56ada638ca495d6f82dc6e | 63b08c6af0372b67ba9265a1b6e47401f9bfc746 | Agent should sit idle until control plane token is given | ### Description of your changes
See details in https://github.com/upbound/universal-crossplane/issues/42
Fixes https://github.com/upbound/universal-crossplane/issues/42
I have:
- [x] Run `make reviewable test` to ensure this PR is ready for review.
### How has this code been tested
Tested manually.
... | diff --git a/cluster/charts/universal-crossplane/templates/upbound-agent/control-plane-token-secret.yaml b/cluster/charts/universal-crossplane/templates/upbound-agent/control-plane-token-secret.yaml
index cdba0e70..897846ae 100644
--- a/cluster/charts/universal-crossplane/templates/upbound-agent/control-plane-token-sec... | 2 | 2 | 0 | [{"id": "G0", "claim": "Replace the deprecated ioutil.ReadFile with the io package's ReadFile in waitForControlPlaneToken (nitpick: ioutil is deprecated as of Go 1.16).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The gosec linter warning on r... | null |
upbound__universal-crossplane__78 | upbound/universal-crossplane | 78 | defect | 2db5a6e0e50bb84489bfedbb528dbd636c3cad7e | 37d055f1405965e3ef27ca8e6c0c667d3d08ab07 | Have 'go generate' add license headers automatically. | ### Description of your changes
<!--
Briefly describe what this pull request does. Be sure to direct your reviewers'
attention to anything that needs special consideration.
-->
This replaces our (mostly) manually curated license headers with https://github.com/google/addlicense, which will automatically add lice... | diff --git a/cmd/bootstrapper/main.go b/cmd/bootstrapper/main.go
index ca3fe3e9..8e088533 100644
--- a/cmd/bootstrapper/main.go
+++ b/cmd/bootstrapper/main.go
@@ -1,18 +1,16 @@
-/*
-Copyright 2021 Upbound Inc.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compli... | 3 | 1 | 0 | [{"id": "G0", "claim": "The one-line '// Copyright 2021 Upbound Inc' license header style this PR introduces may not be the preferred header format.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The crossplane-runtime import in cmd/bootstrapper/main.go is... | null |
upbound__universal-crossplane__93 | upbound/universal-crossplane | 93 | defect | 628d87563bd378a283e0084a84e6179a8c4dd1e7 | 1a36012114e8fb6b6f6f828101befe78b99874ef | Validate token issued time with some tolerance | ### Description of your changes
<!--
Briefly describe what this pull request does. Be sure to direct your reviewers'
attention to anything that needs special consideration.
-->
When there is clock skew between Upbound Cloud and the machine where Upbound agent runs, incoming requests fail with the following logs ... | diff --git a/internal/upboundagent/proxy.go b/internal/upboundagent/proxy.go
index d6cf2c3f..8a202432 100644
--- a/internal/upboundagent/proxy.go
+++ b/internal/upboundagent/proxy.go
@@ -420,13 +420,18 @@ func (p *Proxy) reviewToken(requestHeaders http.Header) (*internal.TokenClaims,
}
return p.config.TokenRSAPub... | 1 | 1 | 1 | [{"id": "G0", "claim": "Instead of ignoring all issuedAt validation errors, some clock-skew tolerance limit should be set so the amount of tolerated skew is restricted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
upbound__xgql__106 | upbound/xgql | 106 | defect | 739f951ec5be25b0f8d3a539c3c101674883f5e7 | f4891d13daac550e6c80c809a9e4f10b87f217ba | Add getting CRD from XRD as well as claim CRD. | ### Description of your changes
Add getting CRD from XRD as well as claim CRD.
Resolves #89
I have:
- [x] Read and followed Upbound's [contribution process](https://git.io/fj2m9).
- [ ] Run `make reviewable` to ensure this PR is ready for review.
- [ ] Added `backport release-x.y` labels to auto-backport ... | diff --git a/internal/graph/generated/generated.go b/internal/graph/generated/generated.go
index 624ffb9..19373f5 100644
--- a/internal/graph/generated/generated.go
+++ b/internal/graph/generated/generated.go
@@ -126,6 +126,8 @@ type ComplexityRoot struct {
CompositeResourceDefinition struct {
APIVersion ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test-case reason for the GetError case should say \"If we can't get a CompositeResourceDefinition ...\" rather than referring to getting a client.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test-case reason fo... | null |
upbound__xgql__109 | upbound/xgql | 109 | defect | a636a1c0367a683b3bfa12d7f5790e499a5745b2 | 060116dcbb93a89e85549429f8d2a59f31ce2e7d | Extend error presentation to account for other error types | ### Description of your changes
Prior to this change, client calls would typically see a number of error messages that could be gracefully handled by the client if they included additional context.
For example:
- non APIStatus timeouts
- non APIStatus connection resets when communicating with the API server
- que... | diff --git a/Makefile b/Makefile
index 5fd3f33..899a215 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ GO111MODULE = on
-include build/makelib/yarnjs.mk
# Setup Helm
+KIND_VERSION = v0.16.0
USE_HELM3 = true
HELM_BASE_URL = https://charts.upbound.io
HELM_S3_BUCKET = public-upbound.charts
diff --git a/buil... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new comment on convert() should read \"a serverError\" instead of \"an serverError\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
upbound__xgql__115 | upbound/xgql | 115 | defect | cff583d31cb7e41baf1a1a003212a8be7196e227 | 6aefe86911d3112bcd013cdde71d7dbbe7c7a747 | Move to using unstructured.Unstructured rather than extv1.CustomResourceDefinition | ### Description of your changes
This is a follow on to https://github.com/upbound/xgql/pull/114.
With the changes from #114, we saw that following resource utilization graphs (notably much better than prior to the change):
 should not be kept and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
upbound__xgql__131 | upbound/xgql | 131 | defect | 8fb44d5ca1b1e891ad07f2158f840fa55d7fc189 | eda70d1aee16d28d11e6f94beb7b16196188274e | update live query client | <!--
Thank you for helping to improve Upbound!
Please read through https://git.io/fj2m9 if this is your first time opening an
Upbound pull request. Find us in https://slack.crossplane.io/messages/upbound if
you need any help contributing.
-->
### Description of your changes
<!--
Briefly describe what this pull reque... | diff --git a/cmd/xgql/main.go b/cmd/xgql/main.go
index 8a5552d..2406e07 100644
--- a/cmd/xgql/main.go
+++ b/cmd/xgql/main.go
@@ -70,10 +70,10 @@ import (
"github.com/upbound/xgql/internal/auth"
"github.com/upbound/xgql/internal/cache"
"github.com/upbound/xgql/internal/clients"
- "github.com/upbound/xgql/internal/... | 2 | 1 | 1 | [{"id": "G0", "claim": "trackObject calls getInformer while holding c.lock — a call that waits for the informer to sync and can take seconds — which with multiple watched resources essentially linearizes everything and hurts the user experience.", "category": "performance", "verdict": "supported", "priority": "P1", "sc... | null |
upbound__xgql__135 | upbound/xgql | 135 | defect | bd125c4bef159329f621de317fd2d728e4246327 | b9fb280d3843773105054df21adbee9a2b064400 | bbolt-cache: debug log when cleaning objects, and throttle to once per 1s | We are continously cleaning objects it seems. In `upbound/sttts-2000-claims` roughly 25-30 per second, despite no requests.
This PR makes that visible.
Test locally by running with the playground again upper controlplane. | diff --git a/cmd/xgql/main.go b/cmd/xgql/main.go
index 46109ea..831d47f 100644
--- a/cmd/xgql/main.go
+++ b/cmd/xgql/main.go
@@ -216,7 +216,7 @@ func main() { //nolint:gocyclo
var camid []clients.NewCacheMiddlewareFn
// wrap client.Cache in cache.*BBoltCache if cacheFile is specified.
if *cacheFile != "" {
- cam... | 1 | 1 | 1 | [{"id": "G0", "claim": "When cleanFn fails, Start should return the error and stop (the cache/process) instead of only logging the failure and continuing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
updatecli__updatecli__6428 | updatecli/updatecli | 6,428 | defect | f13677232450d297c766c1cc32b745e1c61614f4 | 5ac0c9738fc5d34b7b377dfe0012511ed4e43f09 | feat(autodiscover/githubaction): handle composite actions | Add support for composite action to the githubaction autodiscovery
https://docs.github.com/en/actions/tutorials/create-actions/create-a-composite-action
https://git.nicco.io/cupcakearmy/memoir/src/commit/64a76f137cc687333e1c9af3daa2169923fcdc9b/docs/infrastructure/github-actions/composite-actions.md
https://forg... | diff --git a/pkg/plugins/autodiscovery/githubaction/main.go b/pkg/plugins/autodiscovery/githubaction/main.go
index f4c8b7ff15..c81a2e5143 100644
--- a/pkg/plugins/autodiscovery/githubaction/main.go
+++ b/pkg/plugins/autodiscovery/githubaction/main.go
@@ -14,8 +14,9 @@ import (
)
var (
- // defaultWorkflowFiles spec... | 2 | 1 | 0 | [{"id": "G0", "claim": "There is no reason to pass g.actions as a parameter to searchCompositeActionFiles when the method already has access to it via the receiver g, so the redundant parameter should be dropped.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
updatecli__updatecli__7308 | updatecli/updatecli | 7,308 | defect | 14b92a7df48f19e7db15d653772e78a5be63a72b | 5d82767da29e5370ab080448888361041860386a | chore: revamp scaffolded policy | Improve generic Updatecli policy
<!-- Describe the changes introduced by this pull request -->
## Test
To test this pull request, you can run the following commands:
```shell
cd pkg/core/scaffold/
go test
```
## Additional Information
### Checklist
- [ ] <!-- If applicable,--> I have updated the... | diff --git a/pkg/core/scaffold/assets/CHANGELOG.md b/pkg/core/scaffold/assets/CHANGELOG.md
new file mode 100644
index 0000000000..a4e3cba742
--- /dev/null
+++ b/pkg/core/scaffold/assets/CHANGELOG.md
@@ -0,0 +1,6 @@
+# CHANGELOG
+
+## 0.1.0
+
+ * Initial release
+`
\ No newline at end of file
diff --git a/pkg/core/scaf... | 14 | 6 | 2 | [{"id": "G0", "claim": "The CHANGELOG.md asset ends with a trailing backtick character that will be included in the generated CHANGELOG.md file content.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `env \"\"` call with an empty string argument... | null |
updatecli__updatecli__7359 | updatecli/updatecli | 7,359 | defect | dd3193055392c94c44d4578f236a693bd8cc0a9e | ae9d2012a01d6afdcc9988b31339db79f22f579c | feat(terragrunt): add GitHub authentication support | ## Problem
Terragrunt autodiscovery had no support for authenticating to private GitHub repositories. While other autodiscovery plugins (githubaction, etc.) support GitHub tokens, terragrunt plugin would fail when encountering private repos.
## Solution
Added generic authentication support that works with any ... | diff --git a/pkg/plugins/autodiscovery/terragrunt/github_test.go b/pkg/plugins/autodiscovery/terragrunt/github_test.go
new file mode 100644
index 0000000000..bac59c72be
--- /dev/null
+++ b/pkg/plugins/autodiscovery/terragrunt/github_test.go
@@ -0,0 +1,90 @@
+package terragrunt
+
+import (
+ "os"
+ "testing"
+
+ "github... | 2 | 2 | 2 | [{"id": "G0", "claim": "The spec should expose a generic \"token\" parameter instead of a GitHub-specific \"github.token\", since terragrunt modules can be hosted outside GitHub (while still defaulting to the GitHub environment).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
updatecli__updatecli__7486 | updatecli/updatecli | 7,486 | defect | eb60ed892529fe4e2c0eb0c24d8e82a2b4d18eb9 | 96558c74d33d44a30e9153aa37dffdfc16b6f5b9 | feat(gittag): add the parameter tag for gittag | Fix #1394
Adds missing `tag` parameter to gittag plugin's Spec struct, making it consistent with gitea/tag, gitlab/tag, and stash/tag plugins.
When `disablesourceinput: true` is set, the condition can now check for an exact tag match using `spec.tag` instead of requiring `versionfilter.pattern`.
## Changes
... | diff --git a/e2e/updatecli.d/success.d/gittag.yaml b/e2e/updatecli.d/success.d/gittag.yaml
index f95ee397cf..855e984140 100644
--- a/e2e/updatecli.d/success.d/gittag.yaml
+++ b/e2e/updatecli.d/success.d/gittag.yaml
@@ -77,6 +77,20 @@ conditions:
path: "./"
versionfilter:
pattern: "v0.30.0"
+ che... | 2 | 2 | 1 | [{"id": "G0", "claim": "The '// Tag not found' block guarded by `if gt.spec.Tag != \"\"` in Condition is redundant with the return that immediately follows it and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request... | null |
updatecli__updatecli__7591 | updatecli/updatecli | 7,591 | defect | 91d27f9f7e155d8274bdbc76aab0e970291ebf41 | c0ef71cb9054e4135fbba54b886a26c6b82d259f | feat(file): add templating file path | This PR adds a templating option to the file target so we can avoid messy escaping. It should fix:
https://github.com/orgs/updatecli/discussions/1243
https://github.com/updatecli/updatecli/issues/1280
https://github.com/updatecli/updatecli/issues/1329
## Test
```
cd pkg/plugins/resources/file/ && go test -v... | diff --git a/e2e/updatecli.d/success.d/templates/config.tmpl b/e2e/updatecli.d/success.d/templates/config.tmpl
new file mode 100644
index 0000000000..d759852f5d
--- /dev/null
+++ b/e2e/updatecli.d/success.d/templates/config.tmpl
@@ -0,0 +1,2 @@
+version: {{ .source | quote }}
+versionUpper: {{ .source | upper }}
diff -... | 4 | 4 | 2 | [{"id": "G0", "claim": "The template field's documentation comment omits `line` from the list of attributes `template` is mutually exclusive with, and should use lowercase YAML field names.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The templa... | null |
updatecli__updatecli__7659 | updatecli/updatecli | 7,659 | defect | c1199fd03569e5efcfea0fc7a4d406d7b6e58964 | 66e12139b33b105b8361798e671cc2dc64071eeb | fix(autodiscovery): correctly handle wrong docker image name | Fix #7658
Fix two issues
* Correctly handle nil pointer
* Don't generate Updatecli manifest for docker compose file that uses environment variable
## Test
To test this pull request, you can run the following commands:
```shell
pkg/plugins/resources/dockerimage/
go test
```
## Additional Information
... | diff --git a/pkg/plugins/autodiscovery/dockercompose/compose.go b/pkg/plugins/autodiscovery/dockercompose/compose.go
index 22d878f6aa..fc80478adb 100644
--- a/pkg/plugins/autodiscovery/dockercompose/compose.go
+++ b/pkg/plugins/autodiscovery/dockercompose/compose.go
@@ -79,6 +79,11 @@ func (d DockerCompose) discoverDoc... | 3 | 2 | 1 | [{"id": "G0", "claim": "The environment-variable check should be performed before calling ParseOCIReferenceInfo, right after the empty image check, to fail fast and avoid unnecessary parsing and potential errors.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
updatecli__updatecli__7668 | updatecli/updatecli | 7,668 | defect | 467cfeb997027c581aa7354fb0818ad8d2559087 | a55eff4e082d7cd96d79d8cbbcc44ef12c981ee2 | feat: allow to specify depth for git clone option | Allow scm configuration to specify cloning depths.
<!-- Describe the changes introduced by this pull request -->
## Test
Tested manually with the following config
## Additional Information
### Checklist
- [ ] <!-- If applicable,--> I have updated the documentation via pull request in [website](https:/... | diff --git a/pkg/plugins/resources/gittag/main.go b/pkg/plugins/resources/gittag/main.go
index ea6c56f500..c4750c0b1f 100644
--- a/pkg/plugins/resources/gittag/main.go
+++ b/pkg/plugins/resources/gittag/main.go
@@ -144,10 +144,16 @@ func (gt *GitTag) Changelog(from, to string) *result.Changelogs {
// clone clones th... | 5 | 4 | 3 | [{"id": "G0", "claim": "The Depth remark added to the SCM specs says the history limitation applies only 'when using a depth greater than 1', but it applies to any shallow clone (depth greater than 0), so the wording should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": ... | null |
updatecli__updatecli__7669 | updatecli/updatecli | 7,669 | defect | 467cfeb997027c581aa7354fb0818ad8d2559087 | 2a1bcd35d8cb03b7d09403b23e4f76e2b004a1df | feat(gittag): add lsremote parameter to skip git clone | Fix #7667
When using the gittag plugin with a `url` value and `lsremote` set to true, Updatecli now retrieves the tags without cloning the repository locally.
For very large repositories, this drastically reduce the time to get tags, but it also comes with a downside.
Tags retrieved this way are not sorted by publ... | diff --git a/pkg/plugins/resources/gittag/condition.go b/pkg/plugins/resources/gittag/condition.go
index c066823381..fdebef0f2f 100644
--- a/pkg/plugins/resources/gittag/condition.go
+++ b/pkg/plugins/resources/gittag/condition.go
@@ -10,10 +10,9 @@ import (
// Condition checks that a git tag exists
func (gt *GitTag)... | 10 | 7 | 2 | [{"id": "G0", "claim": "For `key: hash`, remote URL mode returns the tag ref's hash directly, so for annotated tags it yields the tag object hash while local mode (`TagRefs`) yields the target commit hash — inconsistent `hash` semantics depending on how tags are fetched; consider normalizing annotated tags or documenti... | null |
updatecli__updatecli__7848 | updatecli/updatecli | 7,848 | defect | c3167fb9a5a8f172d5edf68985472828c4df0077 | 3b82545be04f2e39afc2a13d51980680f1d9c10e | fix(autodiscovery/argocd): correctly handle multiple documents |
<!-- Describe the changes introduced by this pull request -->
## Test
To test this pull request, you can run the following commands:
```shell
cd pkg/plugins/autodiscovery/argocd
go test
```
## Additional Information
### Checklist
- [ ] <!-- If applicable,--> I have updated the documentation via p... | diff --git a/pkg/plugins/autodiscovery/argocd/application.go b/pkg/plugins/autodiscovery/argocd/application.go
index 24df839ac5..2a69ebeaad 100644
--- a/pkg/plugins/autodiscovery/argocd/application.go
+++ b/pkg/plugins/autodiscovery/argocd/application.go
@@ -3,6 +3,7 @@ package argocd
import (
"bytes"
"fmt"
+ "map... | 8 | 3 | 1 | [{"id": "G0", "claim": "The loop `for documentIndex := range maps.Keys(d)` would iterate slice indices rather than map keys, so with non-contiguous keys `data := d[documentIndex]` becomes nil and `data.Spec...` would panic; iterate over the keys instead.", "category": "correctness", "verdict": "uncertain", "priority": ... | null |
updatecli__updatecli__7870 | updatecli/updatecli | 7,870 | defect | 142147d8962a24486de045e343a498629c93a893 | ebe350b5fa6b0cd12998cd4479293b2107847486 | Dockerfile: Add ability to leave unset or empty value alone | ```
instruction:
keyword: ARG
matcher: HELM_VERSION
ignoreUnsetValue: true
```
allows to leave lines like
`ARG HELM_VERSION` alone, and only update args with existing values
Fix #7841
Under the existing `instruction` block, one can now specify `ignoreUnsetValue: true`
a... | diff --git a/pkg/plugins/resources/dockerfile/main.go b/pkg/plugins/resources/dockerfile/main.go
index 221f64d11a..9c1dc5b8cb 100644
--- a/pkg/plugins/resources/dockerfile/main.go
+++ b/pkg/plugins/resources/dockerfile/main.go
@@ -130,11 +130,14 @@ func getParser(spec Spec) (types.DockerfileParser, error) {
// Then ... | 2 | 1 | 0 | [{"id": "G0", "claim": "Make IgnoreDefaultValue a *bool pointer (with a nil-check fallback) so an unset value can be distinguished from false, making it easy to switch the default behavior in the future.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Adv... | null |
updatecli__updatecli__7874 | updatecli/updatecli | 7,874 | defect | e47a681a16028af97b4c8482012ff0a085c21c81 | 772c83e2e624701192ddfca273c71805cfe5e428 | fix(file): don't output binary file content | - Add isBinaryContent() to detect binary files by null bytes
- Add truncateBinaryContent() to show friendly message
- Update target.go to check content before logging diffs
- Update condition.go to check content before logging diffs
- Add comprehensive unit tests for binary detection
When file resources ... | diff --git a/pkg/plugins/resources/file/condition.go b/pkg/plugins/resources/file/condition.go
index 5df7eeb71c..6361416f2a 100644
--- a/pkg/plugins/resources/file/condition.go
+++ b/pkg/plugins/resources/file/condition.go
@@ -149,10 +149,17 @@ func (f *File) condition(source string) (bool, error) {
logrus.Debug("At... | 7 | 6 | 1 | [{"id": "G0", "claim": "The source-comparison path in condition.go still calls text.Diff without the binary guard, so binary content can still be dumped to the console and the maintainer's .cnb test case still reproduces; the maintainer asks for a valid manifest to test against.", "category": "correctness", "verdict": ... | null |
updatecli__updatecli__8056 | updatecli/updatecli | 8,056 | defect | 14030e1715404209ea04981d3abd71c3765e806f | fe8c482d5e2cce90eac66e53aa972675796c6426 | feat(flux): support multiple yaml documents | Fix #6200
<!-- Describe the changes introduced by this pull request -->
## Test
To test this pull request, you can run the following commands:
```shell
cd pkg/plugins/autodiscovery/flux/
go test
```
## Additional Information
### Checklist
- [ ] <!-- If applicable,--> I have updated the document... | diff --git a/pkg/plugins/autodiscovery/flux/helmrelease.go b/pkg/plugins/autodiscovery/flux/helmrelease.go
index 0e3bae29ae..6c571c8169 100644
--- a/pkg/plugins/autodiscovery/flux/helmrelease.go
+++ b/pkg/plugins/autodiscovery/flux/helmrelease.go
@@ -1,48 +1,69 @@
package flux
import (
+ "bytes"
+ "encoding/json"
... | 6 | 3 | 1 | [{"id": "G0", "claim": "The debug log uses len(f.helmRepositories) (parsed HelmRepository objects, possibly several per file) while saying \"Flux file(s)\", so the count and wording are misleading; it should say \"HelmRepository definition(s)\" or track unique files.", "category": "maintainability", "verdict": "uncerta... | null |
updatecli__updatecli__8090 | updatecli/updatecli | 8,090 | defect | 9b2e87c62070481a2f7e50873f82eba8ca00fa95 | 9899fcbfddfaae4712671de903e040009da54780 | fix(json): disable HTML escaping when writing JSON files | Fix #8089
When the JSON target updates a key, the dasel v1 write path re-serializes the entire file through Go's `encoding/json` encoder, which defaults to `SetEscapeHTML(true)`. This causes `>`, `<`, and `&` in unrelated string values to be escaped to `\u003e`, `\u003c`, `\u0026`.
For example, updating `.volta.... | diff --git a/pkg/plugins/resources/json/target_test.go b/pkg/plugins/resources/json/target_test.go
index 4c1f3bf087..ab00b21028 100644
--- a/pkg/plugins/resources/json/target_test.go
+++ b/pkg/plugins/resources/json/target_test.go
@@ -1,6 +1,9 @@
package json
import (
+ "fmt"
+ "os"
+ "strings"
"testing"
"git... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment's spelling of 'behaviour' should be changed to the American spelling 'behavior' (as proposed in the suggestion block).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
updatecli__updatecli__8120 | updatecli/updatecli | 8,120 | defect | 5cce757bdfb9fea34bb5a1e282f34d198189ab9e | 35b222bc021847ba535c7880b085ca22c2e89f38 | feat(compose): add include parameter to compose file | Introduce the parameter `include` in Updatecli compose file to link other updatecli compose file
```
include:
- updatecli-compose.golang.yaml
- updatecli-compose.gha.yaml
```
## Test
To test this pull request, you can run the following commands:
```shell
pkg/core/compose/
go test
```
## Additi... | diff --git a/cmd/compose_apply.go b/cmd/compose_apply.go
index 414a2384e5..b39d8fac32 100644
--- a/cmd/compose_apply.go
+++ b/cmd/compose_apply.go
@@ -6,6 +6,7 @@ import (
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"github.com/updatecli/updatecli/pkg/core/compose"
+ "github.com/updatecli/updatecli/pkg/... | 9 | 5 | 1 | [{"id": "G0", "claim": "The error at the end of GetPolicies uses %s with a []error, which formats as %!s([]error=...), so callers cannot see the underlying policy errors; use errors.Join (or at least %v) instead.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1... | null |
updatecli__updatecli__8204 | updatecli/updatecli | 8,204 | defect | 882f26de82fba658d9a94dce356e7e9f48d2ef75 | 5c70ed0694f36fc95720b7d8a3c3edc3774a60d5 | feat(github): add client-side pull request merge option | Fix #2312
<!-- Describe the changes introduced by this pull request -->
Add a new `clientsidemerge` option to the GitHub action spec that allows updatecli to merge a pull request directly via the GitHub GraphQL API (`mergePullRequest` mutation), bypassing the need for server-side auto-merge which requires a paid plan... | diff --git a/pkg/plugins/scms/github/pullrequest.go b/pkg/plugins/scms/github/pullrequest.go
index a2174bd7281..ccc54b7ee0a 100644
--- a/pkg/plugins/scms/github/pullrequest.go
+++ b/pkg/plugins/scms/github/pullrequest.go
@@ -157,6 +157,21 @@ type ActionSpec struct {
// remark:
// * Please note that contrary to re... | 5 | 5 | 2 | [{"id": "G0", "claim": "The mutationMergePullRequest response should be a minimal struct (only url/number) instead of the full PullRequestApi to reduce GraphQL cost and rate-limit consumption.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "CreateAct... | null |
updatecli__updatecli__8246 | updatecli/updatecli | 8,246 | defect | 882f26de82fba658d9a94dce356e7e9f48d2ef75 | b0778bbe427a549910073178011d631f837c62c4 | feat: allow to filter compose policies based on policy id | Add a new policy parameter "id" such as
```
policies:
- name: Local Updatecli Policies
id: local
config:
- updatecli/updatecli.d/
values:
- updatecli/values.d/scm.yaml
```
which can then be filtered using either the cli flag `--ignored-policy-ids` or `--only-policy-ids` such as
... | diff --git a/cmd/compose_apply.go b/cmd/compose_apply.go
index 3602627388..98bc36be7b 100644
--- a/cmd/compose_apply.go
+++ b/cmd/compose_apply.go
@@ -15,6 +15,8 @@ var (
composeApplyPush bool
composeApplyCleanGitBranches bool
composeApplyExistingOnly bool
+ composeApplyOnlyPolicyIDs []string
+... | 2 | 1 | 1 | [{"id": "G0", "claim": "Comma-separated values passed to the CLI policy-ID flags are consumed as single IDs because the flags are StringArrayVar and the IDs are used unsplit, so they will not match; it suggests normalizing the inputs (split on commas and trim spaces) or switching the flags to StringSliceVar so comma-se... | null |
updatecli__updatecli__8291 | updatecli/updatecli | 8,291 | defect | 5a406961c08cc7a32a2f98a048ea1b68cba7a0a3 | 40b2d586cf88f5756acd6b2008cce3365baf1df2 | feat: source caching | ## Summary
Fix #8071
Implements a two-layer in-memory caching system to reduce redundant API calls during pipeline execution, as proposed in #8071.
### Layer 1: HTTP Response Cache (`pkg/core/httpclient/`)
A `cachingTransport` wrapping the existing HTTP transport chain caches successful (2xx) GET responses... | diff --git a/pkg/core/cache/source.go b/pkg/core/cache/source.go
new file mode 100644
index 0000000000..82f0337159
--- /dev/null
+++ b/pkg/core/cache/source.go
@@ -0,0 +1,103 @@
+package cache
+
+import (
+ "crypto/sha256"
+ "encoding/json"
+ "fmt"
+ "sync"
+
+ "github.com/sirupsen/logrus"
+ "github.com/updatecli/updat... | 7 | 4 | 2 | [{"id": "G0", "claim": "The concurrent-access test won't compile because `range` is used over int constants (`workers`/`opsPerWorker`), so classic indexed for loops should be used instead.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "On cache hi... | null |
upper__db__333 | upper/db | 333 | defect | 0c07ed7fb75e2dd5fa251283b25a60e1c2b32c64 | 0d424fdc45df48981f80383d045ca6ca3696daaa | postgres connection url should respect port | This PR allows user to pass in a `port` along with the host to uppers connection url parser. | diff --git a/postgresql/connection.go b/postgresql/connection.go
index 07c0fb54..a49dffdc 100644
--- a/postgresql/connection.go
+++ b/postgresql/connection.go
@@ -167,11 +167,16 @@ func ParseURL(s string) (u ConnectionURL, err error) {
u.Password = o.Get("password")
h := o.Get("host")
+ p := o.Get("port")
if ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The existing test case for a URL with no port should be kept as it was, with the port case covered by a separate new test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
upper__db__392 | upper/db | 392 | defect | c4f61b3b01e9eedbfab00572b0bd1aa3fc74025d | f1c1ac7bfb9b83a69c45c51950613f656caac362 | postgresql: use pq values instead of stringarray, int64array, etc. | This will deprecate stringarray, int64array. Users will need to move to
postgresql.StringArray, postgresql.Int64Array, etc. | diff --git a/lib/sqlbuilder/builder.go b/lib/sqlbuilder/builder.go
index 7594ee14..b8d4e51f 100644
--- a/lib/sqlbuilder/builder.go
+++ b/lib/sqlbuilder/builder.go
@@ -87,6 +87,10 @@ var (
sqlPlaceholder = exql.RawValue(`?`)
)
+var (
+ errDeprecatedTag = errors.New("Tag %v is deprecated, please use type %v instead"... | 6 | 1 | 1 | [{"id": "G0", "claim": "The README should document that this approach requires a fairly recent lib/pq version (initial array support ~10 months old, last bugfix round ~6 months old).", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The deprecated-ta... | null |
uppinote20__claude-dashboard__4 | uppinote20/claude-dashboard | 4 | defect | addac2d51c8c9def00b71a2c541bb1999ab2a346 | 2bd150d97b5be31e93be34246a175bb950ebfd51 | feat: add burnRate, depletionTime, cacheHit widgets and 7d reset time | ## Summary
- Add 3 new widgets: `burnRate`, `depletionTime`, `cacheHit`
- Add reset time display to 7d and 7d-Sonnet rate limit widgets
- Fix 3 existing test failures (graceful degradation behavior)
- Add 14 new tests for new widgets
## New Widgets
| Widget | Output | Description |
|--------|--------|-------------|
|... | diff --git a/dist/index.js b/dist/index.js
index d801917..0c22f5e 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -299,7 +299,10 @@ var en_default = {
claudeMd: "CLAUDE.md",
rules: "Rules",
mcps: "MCP",
- hooks: "Hooks"
+ hooks: "Hooks",
+ burnRate: "Rate",
+ cache: "Cache",
+ toLimit: "... | 15 | 9 | 5 | [{"id": "G0", "claim": "The depletionTime widget's calculation assumes all current utilization came from the current session, which can make estimates wildly inaccurate; the reviewer asks that this be addressed by removing the widget, documenting the approximation (comment and README disclaimer), or using actual utiliz... | null |
upstash__context7__2320 | upstash/context7 | 2,320 | defect | 58a36cea87ea887e7bb4850409f1f9ea58dae5e5 | 04c83ecee7cec9181b420aed2e0a1a8a21fbce55 | feat(setup): install rules alongside skills, update rule/skill content for better trigger rates | ## Summary
Based on invocation routing eval benchmarks (60 queries, 6 modes, clean + mid-session context):
- **Skill-only**: 66% recall
- **Skill + rule**: 96-98% recall
- **MCP + rule**: 98-100% recall
## Changes
1. **Rule templates updated** to be selective with explicit should/should-not examples and library nam... | diff --git a/.changeset/setup-rules-install.md b/.changeset/setup-rules-install.md
new file mode 100644
index 000000000..fd0618a69
--- /dev/null
+++ b/.changeset/setup-rules-install.md
@@ -0,0 +1,12 @@
+---
+"ctx7": patch
+---
+
+Install rules alongside skills in `ctx7 setup` for better trigger rates
+
+- CLI setup now... | 5 | 4 | 0 | [{"id": "G0", "claim": "The CLI rule's docs step should explain the format of the libraryId argument it tells the agent to pass.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CLI rule should suggest trying different queries when the docs fetc... | null |
upstash__redis-js__1080 | upstash/redis-js | 1,080 | defect | 427ace47f29e29b6d2dde455700905d1a752c2e8 | 786a72e42c1dd36755b90531c1955ebb212a725a | Fix Auto-pipeline Proxy Json Issue | ### Issue
Since json commands are called with redis.json.get, redis.json returned the proxy and redis.json.get simply called the json.get of the pipeline of auto pipeline executor.
as response to redis.json.get, we simply returned the pipeline of auto executor with json.get called. This also added a command to th... | diff --git a/pkg/auto-pipeline.test.ts b/pkg/auto-pipeline.test.ts
index f9b659a3..34120530 100644
--- a/pkg/auto-pipeline.test.ts
+++ b/pkg/auto-pipeline.test.ts
@@ -299,5 +299,37 @@ describe("Auto pipeline", () => {
// @ts-expect-error pipelineCounter is not in type but accessible
expect(redis.pipelineCount... | 1 | 1 | 0 | [{"id": "G0", "claim": "Replace the `@ts-ignore` with `@ts-expect-error` because ts-ignore suppresses every compiler error, including ones that reappear later.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
upstash__workflow-js__163 | upstash/workflow-js | 163 | defect | 6dfe7683274c0c2558ae8576849e761810e18de3 | 5e9584f41e4e8e66f4258dc14d3b13263f7c16aa | DX-2231: add unknown sdk feature | ## Handling Unknown SDK Versions in QStash Workflow Triggers
### Problem
When a user calls the `/trigger` endpoint to start a workflow, QStash doesn't know which SDK version the user is running or which feature sets are available in that SDK version.
### Solution Flow
1. **Initial Trigger Request**
- User... | diff --git a/examples/ci/app/ci/constants.ts b/examples/ci/app/ci/constants.ts
index afe8f7d7..d283226c 100644
--- a/examples/ci/app/ci/constants.ts
+++ b/examples/ci/app/ci/constants.ts
@@ -32,6 +32,11 @@ export const TEST_ROUTES: Pick<TestConfig, RouteConfigs>[] = [
// payload has unicode chars
route: "path... | 1 | 1 | 0 | [{"id": "G0", "claim": "The identifier `unkownSdk` (and the same misspelling in several other places) should be spelled `unknownSdk`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
upstash__workflow-js__3 | upstash/workflow-js | 3 | defect | 51005e69b6a9bc26a1a3f1b55aaf2a896b76b31a | e9ecc87a4aca013a05f1eab4cc3033e7b9fc00f9 | Add notify/wait | Changes:
- Adds Client for workflow which is able to:
- notify events
- cancel workflow runs
- check waiters
- Adds context.waitForEvent and context.notify steps | diff --git a/src/client/index.test.ts b/src/client/index.test.ts
new file mode 100644
index 00000000..f2493129
--- /dev/null
+++ b/src/client/index.test.ts
@@ -0,0 +1,47 @@
+import { describe, test } from "bun:test";
+import { MOCK_QSTASH_SERVER_URL, mockQStashServer } from "../test-utils";
+import { Client } from ".";... | 4 | 4 | 2 | [{"id": "G0", "claim": "The deduplicated field should be hidden from the user in the NotifyResponse type.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "context.Notify appears to be missing — the context has no notify method while the client has one.", "... | null |
upstash__workflow-js__31 | upstash/workflow-js | 31 | defect | b108d18fedc4f9e36e0eae18afa5a4b30230fe45 | 7bed6e1916442eec83e9c5772972ea3bff01ad87 | Add timeout parameter to context.call | Adds timeout parameter to context.call:
```ts
context.call("my-step", {
url,
body,
headers: { "my-header": "my-value" },
method: "PATCH",
retries: retries,
timeout: 30,
});
```
Also add an error when step name is undefined or empty string.
`getHeaders` method is becoming a little to crowde... | diff --git a/src/context/auto-executor.ts b/src/context/auto-executor.ts
index db41df8c..0534e9ec 100644
--- a/src/context/auto-executor.ts
+++ b/src/context/auto-executor.ts
@@ -374,7 +374,8 @@ export class AutoExecutor {
singleStep,
this.context.failureUrl,
this.context.retries,
- ... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add the unit (seconds) to the JSDoc of the new timeout parameter in context.call.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Make the empty-step-name error message clearer, wording it as \"A workflow step name cannot be... | null |
upstash__workflow-js__8 | upstash/workflow-js | 8 | defect | 33508f1adb4a4c04789961e7450372d16c4858b1 | 0ef8478f388eb7dd791ee32c3eb60982337709ab | context.cancel & rename errors & lazy fetch | ### context.cancel
added method for canceling a worklfow with its context:
```ts
await context.cancel()
```
workflow status will appear as `RUN_CANCELED` in Upstash Console.
### rename errors
renamed errors from QStashWorkflowAbort and QStashWorkflowError to WorkflowAbort and WorkflowError
### lazy ... | diff --git a/src/client/index.ts b/src/client/index.ts
index 82dc42dd..83045031 100644
--- a/src/client/index.ts
+++ b/src/client/index.ts
@@ -1,6 +1,6 @@
import { NotifyResponse, Waiter } from "../types";
import { Client as QStashClient } from "@upstash/qstash";
-import { makeGetWaitersRequest, makeNotifyRequest } f... | 3 | 2 | 0 | [{"id": "G0", "claim": "The reviewer asks whether `/v2/workflows/runs/ID` returns an empty response on successful cancellation, questioning why makeCancelRequest parses and returns a response at all.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
uptrace__bun__1085 | uptrace/bun | 1,085 | defect | 96baf25fb761d1dc12a4045d2a240aa3866920c1 | 815e11a023d2babf65d528a20ddffc7628636e7e | feat: allow to specify read-only replica for SELECTs | There are some minor API changes. Most notable of them is the removal of `GetConn() IConn` method, because the internal query `conn IConn` must be initialized to `nil` so Bun can resolve to a random read-only connect.
Overwriting the connection using `query.Conn(conn)` still works.
The usage should be like this:
... | diff --git a/db.go b/db.go
index c283f56bd..2797290b5 100644
--- a/db.go
+++ b/db.go
@@ -9,6 +9,7 @@ import (
"reflect"
"strings"
"sync/atomic"
+ "time"
"github.com/uptrace/bun/dialect/feature"
"github.com/uptrace/bun/internal"
@@ -26,32 +27,56 @@ type DBStats struct {
type DBOption func(db *DB)
+func ... | 6 | 5 | 3 | [{"id": "G0", "claim": "The read-only replica option should be a variadic function so multiple replicas can be set at once.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "DB.Close should return early when the DB is already closed (using closed.Swap) inst... | null |
uptrace__bun__1111 | uptrace/bun | 1,111 | defect | dbae5e64bc78256beacbdf363205c444dc9c441c | 702084631cc55b8e6be712186f8c42bbde418e9c | fix(pgdialect): postgres syntax errors for pointers and slices #877 | Addresses issue identified in #877.
New tests added for pointers to slice and slice of pointer elements including arrays of JSONB columns. | diff --git a/dialect/pgdialect/append.go b/dialect/pgdialect/append.go
index 18a1f9baf..adfc3c4a8 100644
--- a/dialect/pgdialect/append.go
+++ b/dialect/pgdialect/append.go
@@ -11,7 +11,8 @@ import (
)
var (
- driverValuerType = reflect.TypeFor[driver.Valuer]()
+ driverValuerType = reflect.TypeFor[driver.Valuer]()... | 5 | 4 | 2 | [{"id": "G0", "claim": "Using the `array` option together with `type:jsonb` looks unnecessary; PostgreSQL handles the JSONB type and only JSONB needs to be considered when inserting and reading data.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Appendi... | null |
uptrace__bun__1132 | uptrace/bun | 1,132 | defect | fc6a8942c5f44e3d129c73d028aeb103ebca1cb3 | b410e420ab888d87d2b6ebb014f13baae8fdc2b7 | fix: process embedded's struct field for table | Close #1125 | diff --git a/schema/table.go b/schema/table.go
index 13b989e4d..1dbf7db24 100644
--- a/schema/table.go
+++ b/schema/table.go
@@ -122,6 +122,7 @@ func (t *Table) processFields(typ reflect.Type) {
names := make(map[string]struct{})
embedded := make([]embeddedField, 0, 10)
+ ebdStructs := make(map[string]*structFiel... | 2 | 1 | 1 | [{"id": "G0", "claim": "The test asserts table.StructMap[\"foo_model\"] twice in a row, and the reviewer suspects the second check was meant to verify something else.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added `Model *Model` field in `Perm... | null |
uptrace__bun__1146 | uptrace/bun | 1,146 | defect | 48275db4d0e1021854b01b7f208c2bd63a485edd | 37971d7f83042ab83e52be1c122083f8a98a1efa | fix: relation join data race | Fix a potential data race condition that could occur during relation joins. The issue stemmed
from concurrent access to the `tableModel` during the join operation. To resolve this, the `clone()` method has been implemented for the `TableModel` interface and its concrete implementations (`hasManyModel`, `m2mModel`, `sl... | diff --git a/Makefile b/Makefile
index 255d0f7ee..0bbfb5653 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ test:
echo "go test in $${dir}"; \
(cd "$${dir}" && \
go test && \
+ env RACETEST=1 go test -race && \
env GOOS=linux GOARCH=386 TZ= go test && \
go vet); \
done
diff --git a/... | 2 | 1 | 0 | [{"id": "G0", "claim": "The PR should include a short description of where and why the race happens.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If the race test is not dialect-specific, it would be clearer as a separate test — or at least the ... | null |
uptrace__bun__1187 | uptrace/bun | 1,187 | defect | 04da1b6d1c6371a471d34822bf4d3bc429d57b1e | 6f0e3a1d33de5a61625d22ba6464bfe5da404a11 | feat(pgdriver): add overflow handler to listener channel | This PR enables handling overflow scenarios in PostgreSQL LISTEN/NOTIFY channels by introducing a custom overflow handler option.
### Changes
- Added `WithChannelOverflowHandler` option to configure custom handling of dropped messages
- Added `channelOverflowHandler` type for handling overflow notifications
- U... | diff --git a/driver/pgdriver/listener.go b/driver/pgdriver/listener.go
index 2a783e55c..5b631a817 100644
--- a/driver/pgdriver/listener.go
+++ b/driver/pgdriver/listener.go
@@ -237,12 +237,20 @@ type Notification struct {
type ChannelOption func(c *channel)
+type channelOverflowHandler func(n Notification)
+
func... | 3 | 2 | 2 | [{"id": "G0", "claim": "Export the new overflow-handler type by renaming channelOverflowHandler to ChannelOverflowHandler, since it is part of the package's public API.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a test case covering the new WithC... | null |
uptrace__bun__1190 | uptrace/bun | 1,190 | defect | 422a6c34f34df6d599732b059f66d0f35db3fbd6 | 5351f7ed4fe53662386e697cc551ba54487da018 | feat(automigrate): exclude tables using LIKE pattern | Related to #1166
This PR extends AutoMigrator / Inspector `ExcludeTables` option to allow patters that use LIKE-operator syntax.
```go
auto := migrate.NewAutoMigrator(db, migrate.WithExcludeTableLike("%-exclude-%"))
```
### Not in scope
Foreign keys are excluded based on their definition, not name, so Wi... | diff --git a/dialect/pgdialect/inspector.go b/dialect/pgdialect/inspector.go
index 07d2f2bc2..850c6771a 100644
--- a/dialect/pgdialect/inspector.go
+++ b/dialect/pgdialect/inspector.go
@@ -36,9 +36,9 @@ func (in *Inspector) Inspect(ctx context.Context) (sqlschema.Database, error) {
ForeignKeys: make(map[sqlschema.Fo... | 1 | 1 | 1 | [{"id": "G0", "claim": "The API should be reworked to keep using the existing WithExcludeTables (allowing both actual table names and wildcard patterns) instead of deprecating it in favour of a new ExcludeTablesLike option, so only the underlying implementation changes.", "category": "design", "verdict": "supported", "... | null |
uptrace__bun__1291 | uptrace/bun | 1,291 | defect | 9f8a5f38b8864a59e0cbf38d6382f0178ae4d7fa | 777c8e23cc25e9e97d929f98227332888ee2f654 | fix(query): skip UNION wrapping for SQLite | Skip parentheses for SQLite UNION queries. Other dialects unchanged.
Fixes https://github.com/uptrace/bun/issues/1281 | diff --git a/internal/dbtest/db_test.go b/internal/dbtest/db_test.go
index d0ee585d7..84a02e296 100644
--- a/internal/dbtest/db_test.go
+++ b/internal/dbtest/db_test.go
@@ -291,6 +291,8 @@ func TestDB(t *testing.T) {
{testScanRawMessage},
{testPointers},
{testExists},
+ {testUnion},
+ {testRecursiveCTEUnion}... | 4 | 4 | 0 | [{"id": "G0", "claim": "The PR will still produce invalid SQL when UNION is used in a FROM-clause on SQLite, because skipUnionWrapping is only set when inside the CTE.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The UNION wrapping logic should ... | null |
uptrace__bun__1350 | uptrace/bun | 1,350 | defect | 5de0fb9d7ec48c80fc216493ee0b2e07d3da9e49 | 93974c9c250610227d277af720d78226981990cd | fix: improve formatQuery in pgdriver for queries with apostrophes in comments | Fix for query error "there is no parameter $1 (SQLSTATE=42P02)" with pgdriver when there is apostrophe in comment.
Issue: #1349 | diff --git a/driver/pgdriver/format.go b/driver/pgdriver/format.go
index 103029a6c..dade062b4 100644
--- a/driver/pgdriver/format.go
+++ b/driver/pgdriver/format.go
@@ -53,6 +53,18 @@ func formatQuery(query string, args []driver.NamedValue) (string, error) {
} else {
dst = append(dst, '\'')
}
+ case '-':
... | 1 | 1 | 0 | [{"id": "G0", "claim": "A `LineComment` method should be added to `*parser` that checks if the next byte is `-` and handles the line comment logic accordingly, instead of keeping it inline in formatQuery.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
uptrace__bun__40 | uptrace/bun | 40 | defect | a275bc47932f95c6c849d26928b551037d7d80b9 | 214aa001eae73e450b5b4bdfe78c51aa0d3785de | Add sqliteshim package | This PR adds sqliteshim package that selects SQLite driver implementation (currently either [modernc.org/sqlite](https://pkg.go.dev/modernc.org/sqlite) or [github.com/mattn/go-sqlite3](https://pkg.go.dev/github.com/mattn/go-sqlite3)) based on the CGO_ENABLED/GOOS/GOARCH target.
| diff --git a/Makefile b/Makefile
index c498c3b86..2c9fa5813 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,7 @@ tag:
git tag dialect/mysqldialect/$(VERSION)
git tag dialect/sqlitedialect/$(VERSION)
git tag driver/pgdriver/$(VERSION)
+ git tag driver/sqliteshim/$(VERSION)
git tag dbfixture/$(VERSION)
git ta... | 2 | 2 | 1 | [{"id": "G0", "claim": "Replace the needsCgo/usesCgo constants and their combined expression with a single bool variable set in the appropriate per-build-target files.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Convert the exported package-l... | null |
uptrace__bun__565 | uptrace/bun | 565 | defect | 666a70e24c728aa6f4c739a498e0ec27ccf70dc5 | dc65edc42b24ea028930d8e2e00b0acadf9c9a26 | feat: "skipupdate" model field tag | Closes #508
- [x] Some new tests
- [ ] Documentation? | diff --git a/internal/dbtest/db_test.go b/internal/dbtest/db_test.go
index 4e620f119..495185582 100644
--- a/internal/dbtest/db_test.go
+++ b/internal/dbtest/db_test.go
@@ -12,6 +12,7 @@ import (
"runtime"
"strings"
"testing"
+ "time"
"github.com/uptrace/bun"
"github.com/uptrace/bun/dialect"
@@ -266,6 +267,... | 2 | 2 | 0 | [{"id": "G0", "claim": "Change the test so the original CreatedAt value is saved in a variable and then asserted unchanged with require.Equal, which reads a lot easier.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Perform the SkipUpdate check as early... | null |
uptrace__bun__632 | uptrace/bun | 632 | defect | 92b81c341b2908dd2dde344e20f3d7e816f63e2c | a757e78a27473ce04a36ccf1f74cdad5cca29664 | Fix/composite in | Closes #626 for me and doesn't fail any other tests. | diff --git a/dialect/feature/feature.go b/dialect/feature/feature.go
index 956dc4985..e311394d5 100644
--- a/dialect/feature/feature.go
+++ b/dialect/feature/feature.go
@@ -31,4 +31,5 @@ const (
UpdateFromTable
MSSavepoint
GeneratedIdentity
+ CompositeIn // ... WHERE (A,B) IN ((N, NN), (N, NN)...)
)
diff --git a... | 3 | 3 | 0 | [{"id": "G0", "claim": "The placeholder panic(\"asdfasdf\") in appendMultiValues should be removed or replaced with panic(\"not reached\").", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The table parameter of appendMultiValues should be renamed... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.