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
angular__components__14514
angular/components
14,514
defect
e5efd0acd71cdb9d0b3f3beb9c5594462dc0ba67
c7fbb4373b29cda2fb0cebdab32cbbc7ff841d2c
fix(material/progress-spinner): unable to change mode on spinner directive
Currently we have the `mat-spinner` directive which is a shortcut to a `mat-progress-spinner` with `mode="indeterminate"`. Since the spinner inherits all of the inputs from the progress spinner, there's nothing stoping people from changing the mode back to `determinate`, however the element will look half-broken becaus...
diff --git a/src/lib/progress-spinner/progress-spinner.spec.ts b/src/lib/progress-spinner/progress-spinner.spec.ts index 0f6aa23a362d..2ce79a522f27 100644 --- a/src/lib/progress-spinner/progress-spinner.spec.ts +++ b/src/lib/progress-spinner/progress-spinner.spec.ts @@ -22,6 +22,7 @@ describe('MatProgressSpinner', () =...
2
2
2
[{"id": "G0", "claim": "Rather than keeping the extra MatSpinner component, merge both selectors into one component and set the default mode from the element's nodeName.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `.mat-spinner` class, dropped whe...
null
angular__components__16020
angular/components
16,020
defect
3712b8fce9a19af9b157863276411b9f026b9d82
3a9fdba024632465d0f64e35ac876858f7bc67b5
fix(material/autocomplete): reopen panel on input click
Currently if the user clicks an autocomplete to open it, selects an option and then clicks again, the panel won't open, because we use `focus` and the input was focused already. These changes add an extra `click` listener so the panel can reopen. Fixes #15177.
diff --git a/src/material/autocomplete/autocomplete-trigger.ts b/src/material/autocomplete/autocomplete-trigger.ts index 9bd5e6d65ed2..17c06d451a66 100644 --- a/src/material/autocomplete/autocomplete-trigger.ts +++ b/src/material/autocomplete/autocomplete-trigger.ts @@ -115,6 +115,7 @@ export function getMatAutocomplet...
1
1
0
[{"id": "G0", "claim": "Move the `if (!this.panelOpen)` check into `openPanel()` and bind `(click)` directly to `openPanel()` instead of adding a separate `_handleClick()` method.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angular__components__20393
angular/components
20,393
defect
f0c7a25e0d58440029b4129188baa77d88ce5fc6
af206c225ff068ef350e9d77d8d1a515f6d57e7a
feat(material/tabs): add the ability to keep content inside the DOM while off-screen
Adds the `preserveContent` input which allows consumers to opt into keeping the content of off-screen tabs inside the DOM. This is useful primarily for edge cases like iframes and videos where removing the element from the DOM will cause it to reload. One gotcha here is that we have to set `visibility: hidden` on th...
diff --git a/src/material-experimental/mdc-tabs/tab-group.html b/src/material-experimental/mdc-tabs/tab-group.html index e7369ef899fd..834aafe56ba9 100644 --- a/src/material-experimental/mdc-tabs/tab-group.html +++ b/src/material-experimental/mdc-tabs/tab-group.html @@ -59,6 +59,7 @@ [position]="tab.pos...
4
2
1
[{"id": "G0", "claim": "Update the docs with a section and an example for the new `preserveContent` input.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider renaming the input to `preserveAfterLoad` to be slightly more explicit.", "category"...
null
angular__components__23609
angular/components
23,609
defect
2f655c9a1ae8670e09ceaf9f58962d619705e342
b603f10429a4cddd3a84ff3860fd871e8d702767
feat(material/sort): default arrow position in MatSortDefaultOptions
closes #23600
diff --git a/src/material/sort/sort-header.html b/src/material/sort/sort-header.html index cc575585a601..6d6067dfe085 100644 --- a/src/material/sort/sort-header.html +++ b/src/material/sort/sort-header.html @@ -10,7 +10,7 @@ --> <div class="mat-sort-header-container mat-focus-indicator" [class.mat-sort-header-s...
2
2
0
[{"id": "G0", "claim": "The getter/setter added for arrowPosition is unnecessary because the default is already set in the constructor and the types ensure the correct value is passed in, so it should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
angular__components__23638
angular/components
23,638
defect
f466a2b36d1470f8a7344a6b150a76fb4e170b01
41f6e077067fecaa11c7a6ef6bd131a645bdadc5
feat(material/icon): add default options
closes #23548
diff --git a/src/material/icon/icon.spec.ts b/src/material/icon/icon.spec.ts index c814b6de64e0..c320e69d38c9 100644 --- a/src/material/icon/icon.spec.ts +++ b/src/material/icon/icon.spec.ts @@ -1,12 +1,12 @@ -import {inject, waitForAsync, fakeAsync, tick, TestBed} from '@angular/core/testing'; +import {TestBed, fakeAs...
4
4
2
[{"id": "G0", "claim": "Fold the defaults-based initialization into the existing property declarations, e.g. `private _fontSet: string = this._defaults?.fontSet ?? ''`, instead of assigning the defaults in the constructor.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
angular__components__23691
angular/components
23,691
defect
7c16258cfb18c2d74b692e53e640e56b5d877e75
d9ed100162e33a6d424a9f358419359d5285366a
feat(material/tabs): label & body classes
closes #23685, #9290, #15997
diff --git a/src/material-experimental/mdc-tabs/tab-group.html b/src/material-experimental/mdc-tabs/tab-group.html index 8db3d19cd45b..a6d80567d9fa 100644 --- a/src/material-experimental/mdc-tabs/tab-group.html +++ b/src/material-experimental/mdc-tabs/tab-group.html @@ -15,10 +15,11 @@ [attr.aria-posinset]="i +...
6
6
0
[{"id": "G0", "claim": "Revert the extra indentation added to the mat-tab-body attribute block in the tab-group.html templates (MDC and non-MDC), because it makes it hard to rebase older PRs that add another attribute to the same element.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope...
null
angular__components__23831
angular/components
23,831
defect
a931de54a786597b34259e461c2cf3ab6edc590a
ddc3d1d7b99f933cc664dae4f360ce49b8e0d234
feat(google-maps): allow for info window focus behavior to be customized
Allows for the `shouldFocus` flag to be passed when opening the info window. Fixes #23829.
diff --git a/src/google-maps/map-info-window/map-info-window.spec.ts b/src/google-maps/map-info-window/map-info-window.spec.ts index c13c1741c8ca..3b14834cf611 100644 --- a/src/google-maps/map-info-window/map-info-window.spec.ts +++ b/src/google-maps/map-info-window/map-info-window.spec.ts @@ -129,7 +129,13 @@ describe...
2
1
1
[{"id": "G0", "claim": "The options of MapInfoWindow.open() would be more readable passed through an object literal (e.g. open({shouldFocus: false})) instead of positional parameters, especially as more options are added.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
angular__components__24054
angular/components
24,054
defect
a52da04a82f9394c832dfd0dfe9974858ecc761e
9e0a2adb1d07814250d325f2c7b64db79e3effa7
fix(material/paginator): allow readonly options (#24050)
Adds `readonly` support for paginator `pageSizeOptions`. closes #24050
diff --git a/src/material-experimental/mdc-paginator/paginator.spec.ts b/src/material-experimental/mdc-paginator/paginator.spec.ts index 73287748b1f0..1b584000606a 100644 --- a/src/material-experimental/mdc-paginator/paginator.spec.ts +++ b/src/material-experimental/mdc-paginator/paginator.spec.ts @@ -511,6 +511,13 @@ ...
2
1
1
[{"id": "G0", "claim": "Changing the pageSizeOptions getter to return `readonly number[]` is a breaking change for consumers who mutate the array (e.g. `paginator.pageSizeOptions.push(1000)`).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Even after the...
null
angular__components__24121
angular/components
24,121
defect
c5c994b5a045ba4407d77979330aedd01cc46b65
d4f9d3ee70676a2c43a9635cdb67593a74c3ee0e
fix(material/dialog): don't wait for animation before moving focus
For a long time we used to move focus into the dialog after the opening animation was finished, because it allowed for the content to settle in case something like an autocomplete needed to open. This approach has caused us accessibility issues in the past, because we've had to find ways to prevent the user from intera...
diff --git a/src/material-experimental/mdc-dialog/dialog.spec.ts b/src/material-experimental/mdc-dialog/dialog.spec.ts index dbe52a813f74..1846581eb6d4 100644 --- a/src/material-experimental/mdc-dialog/dialog.spec.ts +++ b/src/material-experimental/mdc-dialog/dialog.spec.ts @@ -2005,13 +2005,6 @@ describe('MDC-based Ma...
1
1
1
[{"id": "G0", "claim": "Moving focus immediately when a dialog opens caused 105 screenshot test failures in an internal test run, and in one questionable case the text of an input field is no longer highlighted when a dialog opens.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
angular__components__24440
angular/components
24,440
defect
bab3b989f9265c0798bdacee4d931828497ee3bc
40bce2cb4766163d6994dae31108f1defa815b4c
feat(material/form-field): add color to default options (#24438)
closes #24438
diff --git a/src/material-experimental/mdc-form-field/form-field.ts b/src/material-experimental/mdc-form-field/form-field.ts index fa4d7a3ec2eb..bae71cabd663 100644 --- a/src/material-experimental/mdc-form-field/form-field.ts +++ b/src/material-experimental/mdc-form-field/form-field.ts @@ -69,9 +69,18 @@ export type Su...
3
2
1
[{"id": "G0", "claim": "The new doc comment should say \"form field\" instead of \"form-field\" (no dash between the two words).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The color getter/setter is unnecessary; the default could be assigned i...
null
angular__components__32184
angular/components
32,184
defect
022dba9357c8e2875bc4a3bd5bbfeddacc6efa80
c7efa5672aebcdade35facef1c55c0393b5f98dd
feat(material/stepper): add a prefix section to the horizontal stepper header
Adds a prefix section to the header of the horizontal stepper header. <img width="1713" height="279" alt="Screenshot 2025-10-27 at 12 16 25 PM" src="https://github.com/user-attachments/assets/4191615e-a928-49ad-b844-e84dba95a4a6" /> <img width="598" height="510" alt="Screenshot 2025-10-27 at 3 51 49 PM" src="https:...
diff --git a/guides/theming.md b/guides/theming.md index 78a285cc62a3..71d106e4767c 100644 --- a/guides/theming.md +++ b/guides/theming.md @@ -458,6 +458,81 @@ structure and CSS classes are considered private implementation details that may change at any time. CSS variables used by the Angular Material components shou...
2
1
1
[{"id": "G0", "claim": "The headerPrefix input should be supported for both vertical and horizontal steppers, since users are able to switch the orientation dynamically.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The prefix could be solved with conte...
null
angular__components__32362
angular/components
32,362
defect
93bdd110363e8f004fbf095f459374627837f19c
eafc1a34b868346a05e905d152628f31cab64711
refactor(cdk/overlay): enhance popover insertion control with new inputs
This commit introduces two new inputs to the CDK overlay, providing more granular control over how popovers are inserted into the DOM: - `cdkCustomPopoverInsertionElement`: Allows specifying a custom element to be used as the host for the popover. The popover will be inserted after this element in the DOM. ...
diff --git a/goldens/cdk/overlay/index.api.md b/goldens/cdk/overlay/index.api.md index 855db513f679..17ec61c1dc47 100644 --- a/goldens/cdk/overlay/index.api.md +++ b/goldens/cdk/overlay/index.api.md @@ -297,6 +297,8 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy { withGrowAfterOpen(g...
2
2
1
[{"id": "G0", "claim": "The new withCustomPopoverHostElement API should not be introduced; controlling the popover insertion point through getPopoverInsertionPoint (e.g. having it return something like Element | null | {parent: Element, insertAs: 'child'}) was requested instead.", "category": "design", "verdict": "supp...
null
angular__components__32394
angular/components
32,394
defect
27309fd6b3542609ffd4281b271b1bb838728141
ee47476dfcec0e5af80dac6e2dd68abc2768fc74
refactor(multiple): eliminate usages of any type batch #4
Most important: - In `MatTableDataSource`: Require `T` to extend from `object`, so the filtering works correctly. Other changes should be harmless.
diff --git a/goldens/material/stepper/index.api.md b/goldens/material/stepper/index.api.md index 89debf3c8a63..c9661064d98e 100644 --- a/goldens/material/stepper/index.api.md +++ b/goldens/material/stepper/index.api.md @@ -50,14 +50,14 @@ export class MatStep extends CdkStep implements ErrorStateMatcher, AfterContentI ...
3
2
1
[{"id": "G0", "claim": "Narrowing MatTableDataSource's T constraint is a breaking change; keep `object | ArrayLike<unknown> | any` with a TODO saying the `any` should be removed in a breaking change.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The mes...
null
angular__components__32480
angular/components
32,480
defect
76f2603b0dfb213b75fa3bb3d53225db63458a69
d684ef6d23b2ab95076706f689910294abd0932e
fix(material/slide-toggle): Fix a11y issues by hiding label when it has no content.
Fixes a11y issues when no label is used, but the label wrapper (with an onclick) is still present. This can lead to an extra interactive tab-stop depending on the screen reader used. The label element is now set to `display: none` if it is empty.
diff --git a/goldens/material/slide-toggle/index.api.md b/goldens/material/slide-toggle/index.api.md index 4f42898e17b9..820554fd4f02 100644 --- a/goldens/material/slide-toggle/index.api.md +++ b/goldens/material/slide-toggle/index.api.md @@ -50,6 +50,7 @@ export class MatSlideToggle implements OnDestroy, AfterContentI...
2
1
0
[{"id": "G0", "claim": "The same label-hiding behaviour could be achieved with CSS (label:empty { display: none; }) instead of the @if (!hideLabel) template conditional the PR adds.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks why a m...
null
angular__components__32488
angular/components
32,488
defect
76f2603b0dfb213b75fa3bb3d53225db63458a69
0cf933934a0168284e31b6d7ccefade6f0f84d13
refactor(aria/listbox): avoid circular references at runtime
Reworks the Aria listbox to avoid a circular dependency between `Listbox` and `Option`.
diff --git a/goldens/aria/listbox/index.api.md b/goldens/aria/listbox/index.api.md index c7b3f0eb7dcb..0acc504032ce 100644 --- a/goldens/aria/listbox/index.api.md +++ b/goldens/aria/listbox/index.api.md @@ -12,7 +12,6 @@ import { ComboboxPattern } from '@angular/aria/private'; import { ComboboxTreeControls } from '@an...
2
1
0
[{"id": "G0", "claim": "The reviewer asks whether option.ts should import OptionPattern from '@angular/aria/private' instead of '../private', or whether that choice has no impact.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "listbox.ts should us...
null
angular__components__32496
angular/components
32,496
defect
52720a368855b1fd2baaab8263341060a77a7173
38f4e4f06fc6c855e6dff6355cd690e261fcea26
fix(material/schematics): combine style resets
Prior to #31522 we had two places with style resets, because the user could either use a custom theme or one of the pre-built ones. After the change all themes are "custom" so we don't need the extra branch in the logic. These changes combine the style resets into the theme and remove the wording around "custom" fro...
diff --git a/src/material/schematics/ng-add/index.spec.ts b/src/material/schematics/ng-add/index.spec.ts index 5af909f5ac03..58977ad01a32 100644 --- a/src/material/schematics/ng-add/index.spec.ts +++ b/src/material/schematics/ng-add/index.spec.ts @@ -4,7 +4,6 @@ import {SchematicTestRunner} from '@angular-devkit/schema...
2
1
0
[{"id": "G0", "claim": "The warning message added by the PR should read \"an Angular Material theme\" rather than \"a Angular Material theme\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should keep the explicit Map generic types on col...
null
angular__components__32682
angular/components
32,682
defect
e397ecbcfad4e85fde8d116faf5caa80dcddca45
da20fbcd02393f327b4d64ecba46958a7f234c6d
fix(cdk/table): throw when multiple row templates are used with virtual scrolling
Since we reuse rows when virtual scrolling is enabled, supporting multiple row templates is tricky. These changes throw an error and update the docs.
diff --git a/src/cdk/table/table.md b/src/cdk/table/table.md index db12c29f913f..fac5d5748349 100644 --- a/src/cdk/table/table.md +++ b/src/cdk/table/table.md @@ -173,6 +173,10 @@ If you're showing a large amount of data in your table, you can use virtual scro smooth experience for the user. To enable virtual scrollin...
2
2
0
[{"id": "G0", "claim": "Fix the typo in the thrown error message: 'then `when` input' should read 'the `when` input'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Leave a comment referencing #32670 as context saying the current logic doesn't sup...
null
angular__components__32728
angular/components
32,728
defect
977004bc126f7df07417b0c8d66570b75bbf0107
35c63051d122ac3b36a30706619f2cda44f159fd
fix(multiple): change aria keyboard manager to only handle repeated events in correct places
The angular-aria keyboard manager ignores the event.repeat parameter so holding down a key will cause it to loop even when that behavior is not desired. In general, repeated events should only be handled when navigating with arrow keys, and especially not when toggling (as then it just goes from off to on to off and so...
diff --git a/src/aria/private/accordion/accordion.ts b/src/aria/private/accordion/accordion.ts index 16cba8c90b5e..db6069399b61 100644 --- a/src/aria/private/accordion/accordion.ts +++ b/src/aria/private/accordion/accordion.ts @@ -74,8 +74,8 @@ export class AccordionGroupPattern { /** The keydown event manager for t...
1
1
0
[{"id": "G0", "claim": "The option should be named preventRepeat instead of handleRepeat, since the reviewer found handleRepeat unclear.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
angular__components__32845
angular/components
32,845
defect
b09504802e3fa27793ff2ef86d7e62fe22b67c7c
164083b6e81452190b9dee0cf30bc5aa2c0c0bd8
fix(material/menu): render backdrop for context menu if explicitly opted in
When we introduced context menus, we disabled backdrops on them in order to mimic the native behavior where right clicking somewhere else moves the menu there. This seems to not be desirable for some users so these changes add some logic to enable the backdrop if the user explicitly requested it. Fixes #32350.
diff --git a/src/material/menu/context-menu-trigger.spec.ts b/src/material/menu/context-menu-trigger.spec.ts index 8bf46c6651a1..a7c6243d3a36 100644 --- a/src/material/menu/context-menu-trigger.spec.ts +++ b/src/material/menu/context-menu-trigger.spec.ts @@ -1,4 +1,4 @@ -import {Component, signal} from '@angular/core';...
1
1
0
[{"id": "G0", "claim": "The line `overlayConfig.hasBackdrop = menu.hasBackdrop == null ? false : menu.hasBackdrop;` might be easier to read written as `overlayConfig.hasBackdrop = menu.hasBackdrop ?? false`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
angular__components__33031
angular/components
33,031
defect
1dc6b44a38321471417822023bd4cc784e7849d6
82b1b064ac36719d0ac873e93fc16fdc5b6a8cde
refactor(multiple): migrate Listbox and Tabs to ClickEventManager
Fixes #32915 #32971 Will also migrate other UI primitives in separate PRs.
diff --git a/goldens/aria/private/index.api.md b/goldens/aria/private/index.api.md index c8d4f271175d..b1b3712afc72 100644 --- a/goldens/aria/private/index.api.md +++ b/goldens/aria/private/index.api.md @@ -144,8 +144,8 @@ export class ComboboxListboxPattern<V> extends ListboxPattern<V> implements Comb last: () =>...
1
1
0
[{"id": "G0", "claim": "The click-event-manager should reuse the existing fake/real event detection logic from src/cdk/a11y/fake-event-detection.ts, copying it into `aria` rather than keeping the PR's own _isRealClick implementation.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "intro...
null
anholt__libepoxy__195
anholt/libepoxy
195
defect
a7439f9732128a73148551c667e0284b9bb4a903
9293f56e5efa99058226b4aea0f0424ca2aa15c1
test: Add unit tests for epoxy_gl_version() and epoxy_glsl_version().
Based on a bug report I got on IRC. I thought parsing might be broken on their strings, but it worked fine. Seems like a good test to have for future reports, though.
diff --git a/test/gl_version.c b/test/gl_version.c new file mode 100644 index 00000000..3f241b4b --- /dev/null +++ b/test/gl_version.c @@ -0,0 +1,92 @@ +/* + * Copyright © 2018 Broadcom + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation...
2
2
2
[{"id": "G0", "claim": "The test's epoxy/glx.h and glx_common.h includes are unnecessary and, if kept, would require putting the test under the GLX conditional; as written the pull request breaks non-GLX builds, and the CI is failing for non-GLX builds.", "category": "correctness", "verdict": "supported", "priority": "...
null
anikethsaha__mern__124
anikethsaha/mern
124
defect
7985844f95f419263a7eb51b297c0927aec7d358
627e29d3d3f598a5c56b7677b7bc53ce4375dfee
[Fix] : snapshot test
Fix false positive snapshot test and edit .prettierrc
diff --git a/.prettierrc b/.prettierrc index 9b976ff..577941c 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,6 +1,7 @@ { - "useTabs": true, - "tabWidth": 4, + "useTabs": false, + "tabWidth": 2, + "semi": true, "printWidth": 120, "singleQuote": true } diff --git a/src/client/router/__test__/AppSwitch.test...
1
1
0
[{"id": "G0", "claim": "The reviewer questions the .prettierrc changes (useTabs false, tabWidth 2, semi true) and asks for a strong reason for them.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
animir__node-rate-limiter-flexible__188
animir/node-rate-limiter-flexible
188
defect
af6dfd420fa1b2acd1cb7e3ef9634b5e90c61c67
70b476253fe06399d408ebc74390d5200e8b84b9
RateLimiterRedis: track redis connection state
Pass get() and consume() calls directly to insuranceLimiter if redis connection is not ready This PR is to fix [Issue 184](https://github.com/animir/node-rate-limiter-flexible/issues/184), and prevent slow response without falling back to insuranceLimiter if redis connection is lost
diff --git a/lib/RateLimiterRedis.js b/lib/RateLimiterRedis.js index 6f5f52e..d702eed 100644 --- a/lib/RateLimiterRedis.js +++ b/lib/RateLimiterRedis.js @@ -37,6 +37,25 @@ class RateLimiterRedis extends RateLimiterStoreAbstract { } } + /** + * Prevent actual redis call if redis connection is not ready. + ...
2
2
1
[{"id": "G0", "claim": "The 'Not connected' error message should be more self-descriptive, something like 'Redis connection is not ready', and the same for the error message below.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rejecting calls whenever t...
null
animir__node-rate-limiter-flexible__267
animir/node-rate-limiter-flexible
267
defect
8bd86e2be4f60e7577aeb4002ca4b5d7e162527e
df13398d3c70e05c0437dc8a9cfe7e42fe813d6c
fix(redis): throw error when passing points as non integer number
fixes https://github.com/animir/node-rate-limiter-flexible/issues/221
diff --git a/lib/RateLimiterStoreAbstract.js b/lib/RateLimiterStoreAbstract.js index 8a2cd48..30992d8 100644 --- a/lib/RateLimiterStoreAbstract.js +++ b/lib/RateLimiterStoreAbstract.js @@ -192,6 +192,10 @@ module.exports = class RateLimiterStoreAbstract extends RateLimiterAbstract { * @returns Promise<RateLimiterRe...
2
2
2
[{"id": "G0", "claim": "The new non-integer check added to RateLimiterStoreAbstract.consume may be a little destructive for existing users who pass points as floats or strings, and the common abstract base class is not a good place for it, so it should be moved into the _upsert function in RateLimiterRedis.", "category...
null
animir__node-rate-limiter-flexible__293
animir/node-rate-limiter-flexible
293
defect
d434cc6516183de9be9cbda027ecafae7f721f82
0f243d0679baeab1c4725ee96e40039877cf9bd9
feature(sqlite): atomic upsert support
@animir Hi, This extends the work that @no-on3 began in #291 to add SQLite support. I've implemented atomic upsert functionality and I've tested this implementation Let me know if you'd like any adjustments to the implementation.
diff --git a/index.js b/index.js index 2064766..834268a 100644 --- a/index.js +++ b/index.js @@ -12,6 +12,7 @@ const BurstyRateLimiter = require('./lib/BurstyRateLimiter'); const RateLimiterRes = require('./lib/RateLimiterRes'); const RateLimiterDynamo = require('./lib/RateLimiterDynamo'); const RateLimiterPrisma = ...
2
2
2
[{"id": "G0", "claim": "The constructor should call `cb(new Error(...))` when `cb` is a function instead of throwing, to enable better error handling.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The upsert's INSERT ... ON CONFLICT and subsequent ...
null
animir__node-rate-limiter-flexible__349
animir/node-rate-limiter-flexible
349
defect
af99f9c845a2c1ed08e7c92c7736d05b90f12326
a27644fdb5e0c170d0ce4f84771183bfa6ccd18e
Rethrow original error in _getSequelizeConnectionManager
In `_getSequelizeConnectionManager`, exceptions from `this.client.connectionManager` access were suppressed and replaced with a generic error message, obscuring the root cause when debugging Sequelize v7+ issues. ## Changes - Capture the original error when accessing `this.client.connectionManager` throws - Rethrow t...
diff --git a/lib/RateLimiterMySQL.js b/lib/RateLimiterMySQL.js index 61d6d0f..8f3a6e9 100644 --- a/lib/RateLimiterMySQL.js +++ b/lib/RateLimiterMySQL.js @@ -126,10 +126,12 @@ class RateLimiterMySQL extends RateLimiterStoreAbstract { _getSequelizeConnectionManager() { let connectionManager; + let originalEr...
1
1
1
[{"id": "G0", "claim": "When the caught original error is available, rethrow it directly instead of creating a new wrapped Error with cause.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
anitab-org__mentorship-backend__1030
anitab-org/mentorship-backend
1,030
defect
479f1c75a8a84a598612ef53f7bb7bc372e13f3e
fc537647ddafdcb08faf1310127786b0c625d47a
Error code changed BAD_REQUEST to FORBIDDEN
…tion_id/task/<task_id>/comments ### Description <!--- Include a summary of the change and relevant motivation/context. List any dependencies that are required for this change. ---> Fixes #636 ### Type of Change: <!--- **Delete irrelevant options.** ---> - Code: error code changed from BAD_REQUEST to ...
diff --git a/app/api/resources/task_comment.py b/app/api/resources/task_comment.py index 6cca3415a..e7dae3348 100644 --- a/app/api/resources/task_comment.py +++ b/app/api/resources/task_comment.py @@ -141,7 +141,7 @@ class TaskComments(Resource): ) @task_comment_ns.doc( responses={ - HTTPS...
2
2
1
[{"id": "G0", "claim": "The unaccepted-relation check in app/api/dao/task_comment.py still returns HTTPStatus.BAD_REQUEST; change it to FORBIDDEN too so the actual task-comment responses match the FORBIDDEN code the PR documents.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_exist...
null
anitab-org__mentorship-backend__158
anitab-org/mentorship-backend
158
defect
f46ece7165d291ad0eb7db4514a0bf3be449b388
772fe91963ea8a2c89ed179fc30fef456b398d6a
feat: Add /home API for user stats
This commit adds a /home endpoint which returns statistics regarding the current user. Fixes Issue #120. Tests have been added as well. ### Description I have added an endpoint in the User Resource. This endpoint triggers a scan of all the relations of the user, and counts the number of these relations in all of t...
diff --git a/app/api/dao/user.py b/app/api/dao/user.py index bb0fc6bdf..196ed1aec 100644 --- a/app/api/dao/user.py +++ b/app/api/dao/user.py @@ -2,6 +2,7 @@ from app.api.email_utils import confirm_token from app.database.models.user import UserModel +from app.utils.enum_utils import MentorshipRelationState from ap...
10
9
2
[{"id": "G0", "claim": "Use a list comprehension instead of filter with a lambda in UserDAO.get_achievements.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Avoid the lambda in the sorted() call of UserDAO.get_user_statistics, e.g. by using oper...
null
anitab-org__mentorship-backend__204
anitab-org/mentorship-backend
204
defect
7a4708fbb75d38f8f8462c6cee87e57f5ac6a7c1
17fb646f78d98b6eb68b485724891aa602b502de
Validating if a User has email verified before allowing any action using this user (updated)
Old PR reference: [190](https://github.com/systers/mentorship-backend/pull/190) ### Description Made a decorator to check if the user whose details will be updated has verified their email. Fixes #117 ### Type of Change: - Code **Code/Quality Assurance Only** - Bug fixed - Now a user's profile can only b...
diff --git a/app/api/dao/admin.py b/app/api/dao/admin.py index 9fefd2db8..fd216eb7e 100644 --- a/app/api/dao/admin.py +++ b/app/api/dao/admin.py @@ -1,10 +1,11 @@ from app.database.models.user import UserModel - +from app.utils.decorator_utils import email_verification_required class AdminDAO: """Data Access O...
5
5
2
[{"id": "G0", "claim": "The new email_verification_required decorator should return the existing message constants instead of hardcoded message strings, for both the unverified-email and the user-does-not-exist responses.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
anitab-org__mentorship-backend__205
anitab-org/mentorship-backend
205
defect
2df961ab171dab58aac600906e78b38f5b2bf9e8
367e6271a056073bad82742262470cdf5b5d76f8
Fix #206 : Add tests for Assigning/Revoking admin DAO
### Description ##### Added the following tests to existing admin tests: in `tests/admin/test_dao.py` - Assigning a user which is already an admin -> should receive a message saying that the user is already an admin - Assigning a user as an admin, when the current user is not an admin -> should receive an error mess...
diff --git a/app/api/dao/admin.py b/app/api/dao/admin.py index 2ad15f0d2..088e187f9 100644 --- a/app/api/dao/admin.py +++ b/app/api/dao/admin.py @@ -19,12 +19,21 @@ def assign_new_user(user_id, data): Returns: message: A message corresponding to the completed action. """ - new_ad...
4
4
1
[{"id": "G0", "claim": "The docstrings say \"wheather\" instead of \"whether\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The revoke docstring says \"priviledges\" instead of \"privileges\" and the self-assign docstring should be reworded."...
null
anitab-org__mentorship-backend__316
anitab-org/mentorship-backend
316
defect
9def7a357958e3f68bcda9e711fe3b72f4ab44c3
8d52e07808b7eb17d3d120576a58830e4804917d
Change password returns error if the current and the new password are equal
### Description - Chane password returns error if the current and the new password are equal - Added a new error message - Added a test for change password function when the new password and the current one are the same - Needed to change `test_user_password_change_request_password_superior_to_limit` and `test_user...
diff --git a/app/api/validations/user.py b/app/api/validations/user.py index 960f20cad..55704a866 100644 --- a/app/api/validations/user.py +++ b/app/api/validations/user.py @@ -173,8 +173,12 @@ def validate_new_password(data): if 'new_password' not in data: return messages.NEW_PASSWORD_FIELD_IS_MISSING ...
4
2
1
[{"id": "G0", "claim": "The new-password validation rejects when the current password is contained in the new one, but the intent (and the error message) is that the two should not be the same, so the check should use `==` instead of `in`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ...
null
anitab-org__mentorship-backend__350
anitab-org/mentorship-backend
350
defect
9def7a357958e3f68bcda9e711fe3b72f4ab44c3
01d0967b7a7c56083cd94fdf35e7d6b0e96d166c
[Program: GCI] feat: created cron job function which removes unverified users
### Description I added a scheduled function that removes unverified users from the database. I set the time interval to be 24 hours, because...why not? It is enough time for a user to click a link in the email. Fixes #115 ### Type of Change: - Code - Documentation **Code/Quality Assurance Only** - New fe...
diff --git a/app/schedulers/background_scheduler.py b/app/schedulers/background_scheduler.py index 3d04869b6..a4e1f40ce 100644 --- a/app/schedulers/background_scheduler.py +++ b/app/schedulers/background_scheduler.py @@ -1,8 +1,16 @@ from apscheduler.schedulers.background import BackgroundScheduler + from app.schedul...
6
6
2
[{"id": "G0", "claim": "The job must not delete an unverified account that was registered just before the cron ran, by also checking that the registration date is at least TIME_DELTA old.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The cron job s...
null
anitab-org__mentorship-backend__384
anitab-org/mentorship-backend
384
defect
9def7a357958e3f68bcda9e711fe3b72f4ab44c3
01885d0a13c269ab803f500a17eb8fab38d6f2d7
Fixed server error occuring when timestamp is invalid while sending mentorship relation request
### Description Include a summary of the change and relevant motivation/context. List any dependencies that are required for this change. Fixes #383 ### Type of Change: - Code - Quality Assurance **Code/Quality Assurance Only** - Bug fix (non-breaking change which fixes an issue) ### How Has This Been...
diff --git a/app/api/dao/mentorship_relation.py b/app/api/dao/mentorship_relation.py index b885aec7c..b39cae1a5 100644 --- a/app/api/dao/mentorship_relation.py +++ b/app/api/dao/mentorship_relation.py @@ -47,7 +47,10 @@ def create_mentorship_relation(self, user_id, data): if mentor_id == mentee_id: ...
1
1
0
[{"id": "G0", "claim": "The debug `print(result)` statement added in the new test was only used for testing and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anitab-org__mentorship-backend__391
anitab-org/mentorship-backend
391
defect
9def7a357958e3f68bcda9e711fe3b72f4ab44c3
4b0c98d30f351b148c60a1946b803c0402078a81
[Program: GCI] Add search query parameter to GET /users API
### Description - Added `search` query parameter to both `list_users` and `get_verified_users` functions - Added lambda for searching the users in DAO (both name and query are lowered and if the query is in the name, that user will be added to the list) - Added some tests Fixes #389 ### Type of Change: - Cod...
diff --git a/app/api/dao/user.py b/app/api/dao/user.py index 9c09ac817..8f88136ef 100644 --- a/app/api/dao/user.py +++ b/app/api/dao/user.py @@ -133,11 +133,12 @@ def get_user_by_username(username): return UserModel.find_by_username(username) @staticmethod - def list_users(user_id, is_verified=None):...
2
2
2
[{"id": "G0", "claim": "The search query parameter should be optional, so that a request without one still returns all users.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a test covering that search works with special characters.", "category":...
null
anitab-org__mentorship-backend__397
anitab-org/mentorship-backend
397
defect
9def7a357958e3f68bcda9e711fe3b72f4ab44c3
1f4c3034d795bf4f94f275acc578666763450eb1
[Program:GCI] Add user name search functionality in GET /users API
### Description User name search functionality added to GET /users endpoint. Term to search for is taken through query string parameters. Fixes #389 #### Working: 1. New query string parameter 'search' added for GET /users route. If 'search' is empty then show all users, otherwise search for the query. 2. **'...
diff --git a/.gitignore b/.gitignore index 3f6b593fe..bbd979185 100644 --- a/.gitignore +++ b/.gitignore @@ -113,3 +113,6 @@ venv.bak/ # aws-eb .elasticbeanstalk/ + +# whoosh search +whoosh/ diff --git a/app/api/dao/user.py b/app/api/dao/user.py index 9c09ac817..9d8827ab0 100644 --- a/app/api/dao/user.py +++ b/app/...
3
1
1
[{"id": "G0", "claim": "The PR should add a simple test showing that when you query with the new search the results returned are the ones intended.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the new search also supports par...
null
anitab-org__mentorship-backend__459
anitab-org/mentorship-backend
459
defect
ed86a81216ba1a5d0320201397d322b3d8ea002b
a37f3c8f5507e0381b625411778194950faef0ef
Create GET /admins endpoint
### Description Added admins/ API and tests for the same. Fixes #419 ### Type of Change: - Code - Documentation **Code/Quality Assurance Only** - New feature (non-breaking change which adds functionality pre-approved by mentors) ### How Has This Been Tested? Added unit tests. ![image](https://user...
diff --git a/app/api/dao/admin.py b/app/api/dao/admin.py index 0e46fbdb5..5ddd52d3b 100644 --- a/app/api/dao/admin.py +++ b/app/api/dao/admin.py @@ -87,3 +87,19 @@ def revoke_admin_user(user_id, data): return messages.USER_ADMIN_STATUS_WAS_REVOKED, 200 return messages.USER_DOES_NOT_EXIST, 404 + ...
4
4
2
[{"id": "G0", "claim": "Document the 403 error response (USER_IS_NOT_AN_ADMIN) that the get method returns, alongside the other documented responses.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a blank line at the end of app/api/dao/admin.p...
null
anitab-org__mentorship-backend__520
anitab-org/mentorship-backend
520
defect
52dd9137b860a6dcd5f1f5b481bd9603be3ba570
5c6ba65bfaa0204e588e8aa823dd38b98e4706e6
issue 507 user not involved in relationship check added along with unit tests
### Description A Check is implemented which validates if the user is either mentee or mentor for the relationship. Unit test case is also added Fixes # #507 ### Type of Change: - Code **Code/Quality Assurance Only** - Bug fix (non-breaking change which fixes an issue) ### How Has This Been Tested? R...
diff --git a/app/api/dao/task.py b/app/api/dao/task.py index 2fcfa19e5..a1a2d7cc2 100644 --- a/app/api/dao/task.py +++ b/app/api/dao/task.py @@ -39,6 +39,9 @@ def create_task(user_id: int, mentorship_relation_id: int, data: Dict[str, str]) if relation.state != MentorshipRelationState.ACCEPTED: ret...
3
3
0
[{"id": "G0", "claim": "The new USER_NOT_INVOLVED_IN_MENTORSHIP_RELATION message duplicates an existing one, so the PR should remove the 3 new lines in app/messages.py and reuse USER_NOT_INVOLVED_IN_THIS_MENTOR_RELATION instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introd...
null
anitab-org__mentorship-backend__74
anitab-org/mentorship-backend
74
defect
95928985c53e3631780c76d34f41210fdb8d090d
730e6fd4867d7f9292dd483ebf5ac802a3246b62
APIs to list previous, current and pending mentorship relations
### Description Created API for listing mentorship requests and relations. 3 Endpoints: - `GET mentorship_relations/past` - presents all mentorship relations and requests passed the current date - `GET mentorship_relations/current` - presents the relation in the `ACCEPTED` state - `GET mentorship_relati...
diff --git a/app/api/dao/mentorship_relation.py b/app/api/dao/mentorship_relation.py index 5a852f5c5..ae6d1fe95 100644 --- a/app/api/dao/mentorship_relation.py +++ b/app/api/dao/mentorship_relation.py @@ -205,3 +205,58 @@ def cancel_relation(user_id, relation_id): request.save_to_db() return {'messa...
1
1
0
[{"id": "G0", "claim": "Use one consistent term across the places this PR touches, changing 'previous' to 'past' in the endpoint, DAO, docs and tests, since the request uses 'previous' while other code says 'past'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anjlab__android-inapp-billing-v3__281
anjlab/android-inapp-billing-v3
281
defect
9efe9d9a23b3b4f1889a3eb5eea07fb98895a3f4
5d53c3c6c39649d7d70ecad252003667c732c502
Added missed information about subscriptions
There are some information about subscription which not presented in the SkuDetails at the moment Details on [In-app Billing Reference page](https://developer.android.com/google/play/billing/billing_reference.html)
diff --git a/library/build.gradle b/library/build.gradle index d0e82846..a5973e70 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -32,6 +32,7 @@ android { } dependencies { + compile 'joda-time:joda-time:2.9.9' androidTestCompile 'com.android.support.test:runner:0.5' androidTestCompile '...
4
3
2
[{"id": "G0", "claim": "Changing the public field priceValue from Double to double is a breaking change to the library's API and should be avoided unless there is a new major release.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The author is asked wha...
null
anjlab__android-inapp-billing-v3__286
anjlab/android-inapp-billing-v3
286
defect
2c9a7f57d33d7b8bc02cb8e2d06718ed9701b2ad
7dfd2c81b912f3b2d9099ae4f88adb1e4b60b7d1
remove joda dependency that was triggering an `UnsupportedOperationEx…
- Avoid to use joda dependency since: 1. it's an external dependency that can be incompatible with what other developers use: https://github.com/anjlab/android-inapp-billing-v3/issues/285 2. it leaves the developer the flexibility to use his own formatter 3. for how it is implemented it currently causes a crash `Uns...
diff --git a/library/build.gradle b/library/build.gradle index 7eb272a5..75a9567d 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -32,7 +32,6 @@ android { } dependencies { - compile 'joda-time:joda-time:2.9.9' androidTestCompile 'com.android.support.test:runner:0.5' androidTestCompile '...
2
2
2
[{"id": "G0", "claim": "The pull request drops the existing public haveTrialPeriod field from SkuDetails; the reviewer asked to avoid renaming existing fields and, on learning the field had been removed, that it be kept and its value determined via TextUtils.isEmpty(subscriptionFreeTrialPeriod).", "category": "design",...
null
anjlab__android-inapp-billing-v3__293
anjlab/android-inapp-billing-v3
293
defect
d364ab3321ae064f14568d996af642fcc3e3d1cb
346cf1f37043d60ecbf6a09128111d4dcfb1f8e3
Nullability and javadocs
This is to add some annotations and update some old or inexisting javadocs. Nullable and nonnull annotations help a lot for Kotlin users, where types allowing null values are distinguished. The ones I've added are in public methods where I tracked down a possible null response. Other parts may need your input. ...
diff --git a/library/build.gradle b/library/build.gradle index c0b6158e..b8f0a433 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -35,6 +35,7 @@ android { dependencies { androidTestCompile 'com.android.support.test:runner:0.5' androidTestCompile 'com.android.support.test:rules:0.5' + compi...
7
5
0
[{"id": "G0", "claim": "Building fails because sonatypeRepo is not defined, so the uploadArchives repository block should be guarded by a check for the property so other users can compile their forks.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "clai...
null
anjlab__android-inapp-billing-v3__414
anjlab/android-inapp-billing-v3
414
defect
5bf962076378f0a7aef6c1be47061cff729f0c01
a6709024b6603967b542387acda11f393379afe6
Support for GetPurchaseHistory
New API for BillingProcessor: isRequestBillingHistorySupported - to check if request purchase history supported getPurchaseHistory - to request purchase history
diff --git a/library/src/androidTest/java/com/anjlab/android/iab/v3/BillingHistoryRecordTest.java b/library/src/androidTest/java/com/anjlab/android/iab/v3/BillingHistoryRecordTest.java new file mode 100644 index 00000000..450eec4f --- /dev/null +++ b/library/src/androidTest/java/com/anjlab/android/iab/v3/BillingHistory...
3
2
0
[{"id": "G0", "claim": "Reviewer questions whether a local variable copying billingService is needed in isRequestBillingHistorySupported, implying it could be dropped.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Javadoc of isRequestBillingH...
null
ankitpokhrel__jira-cli__329
ankitpokhrel/jira-cli
329
defect
512e8ca979660836d57f54c986f75f11dea94340
61bacbbf5ff41474bb116440dff433a113995bcd
Feature: add support to read from netrc
## Description This PR includes a tiny new feature to support reading configs from .netrc file as suggested in this [issue](https://github.com/ankitpokhrel/jira-cli/issues/188) ## Changes * Create a .envrc reader under /pkg, credits to the folks from this [link](https://go.dev/src/cmd/go/internal/auth/netrc.go) *...
diff --git a/README.md b/README.md index 6f2ce0bcc..0391e7f91 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,7 @@ See [releases page](https://github.com/ankitpokhrel/jira-cli/releases) for more - If you are using personal access token (PAT), get the `token` from your jira profile and export it as a `JI...
4
2
2
[{"id": "G0", "claim": "The tool should rely on the standard .netrc protocol (borrowing Go's original netrc implementation with credit) instead of a custom envrc-style reader.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "pkg/netrc/reader.go should be k...
null
ankitpokhrel__jira-cli__483
ankitpokhrel/jira-cli
483
defect
3ac9347b1839c98b025fdc000282982e1009c4c0
8b44bcb7d26edeb490b739c6d0d07d3794a53db5
feat: add weblink to issue (#446)
PR adds the possibility to create a weblink for an issue. #446
diff --git a/internal/cmd/issue/issue.go b/internal/cmd/issue/issue.go index d667b7b6..6af47a1d 100644 --- a/internal/cmd/issue/issue.go +++ b/internal/cmd/issue/issue.go @@ -12,6 +12,7 @@ import ( "github.com/ankitpokhrel/jira-cli/internal/cmd/issue/link" "github.com/ankitpokhrel/jira-cli/internal/cmd/issue/list" ...
7
7
1
[{"id": "G0", "claim": "The command's help text and short description should say it adds a remote web link to an issue instead of \"Connects an issue to a web link.\" / \"Link an issue to a weblink\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": ...
null
ankitpokhrel__jira-cli__505
ankitpokhrel/jira-cli
505
defect
06f1037c96593ad0870ac18efeda8540ad1c9879
18630af6bd4183d2306120a701b8bf22f41061e7
feat: filter issues by the absence of label(s)
you can now do e.g. ``` jira issues list -l~cna -l~web-rca -l~status-board -l~app-interface ``` to list issues that have none of the labels above
diff --git a/internal/query/issue.go b/internal/query/issue.go index 052120511..d96c3907a 100644 --- a/internal/query/issue.go +++ b/internal/query/issue.go @@ -32,6 +32,19 @@ func NewIssue(project string, flags FlagParser) (*Issue, error) { }, nil } +func splitPositiveNegative(labels []string) ([]string, []string...
1
1
1
[{"id": "G0", "claim": "Add a test to make sure the NotIn method constructs a valid jql query.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ankitpokhrel__jira-cli__720
ankitpokhrel/jira-cli
720
defect
170c129cbabc7102dfa25f3eb34e990258abc12c
347a9d7db15b211b0a38403503488698f484e50c
feat(718): issue view: raw response option
https://github.com/ankitpokhrel/jira-cli/issues/718 Adding `--json` flag to the `jira issue view <KEY>` command so that the tool prints the issue contents as plain JSON if the flag is set. This feature allows users to process the issue information with their programs to support various automation scenarios. I've ...
diff --git a/internal/cmd/issue/view/view.go b/internal/cmd/issue/view/view.go index 1e6f161af..d484b2816 100644 --- a/internal/cmd/issue/view/view.go +++ b/internal/cmd/issue/view/view.go @@ -1,6 +1,8 @@ package view import ( + "os" + "github.com/spf13/cobra" "github.com/spf13/viper" @@ -16,7 +18,10 @@ const...
1
1
1
[{"id": "G0", "claim": "The view command should output the entire raw JSON response from the API instead of a hand-picked subset of fields, since there are usecases that require fields the curated response does not include.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ankitpokhrel__jira-cli__882
ankitpokhrel/jira-cli
882
defect
adab79ff71c7191d467818e50a84874102f4c78f
4426b086a0f2c724428e9192f7de3bb686dbaeec
fix: csv format priority
Then the pipe used, code ignored the CSV format and made output just like the Plain enabled (because output is not TTY) Example: ```sh jira issuse ls --csv >> output.csv cat output.csv ``` Prints the plain in the old version instead of CSV format.
diff --git a/internal/view/issues.go b/internal/view/issues.go index af9fdd2cc..0855bd8b2 100644 --- a/internal/view/issues.go +++ b/internal/view/issues.go @@ -40,6 +40,12 @@ type IssueList struct { // Render renders the view. func (l *IssueList) Render() error { + // Prioritize CSV format when explicitly requeste...
2
1
0
[{"id": "G0", "claim": "The comment on the new CSV-priority check should be expanded to explain why the change was necessary, noting that CSV format was previously ignored when output was redirected (not a TTY).", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
ankitpokhrel__jira-cli__892
ankitpokhrel/jira-cli
892
defect
544da1ad784732f621b0effbc9165463b072c093
fbdd94bf23eb77cb3d7f8542675fb304c4d4c33f
fix: Update deprecated endpoint
Fixes #891 > This PR is a work in progress > [!IMPORTANT] > - The [new API](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get) does not return the total number of entries anymore, so the total issue count is no longer displayed in the search resul...
diff --git a/api/client.go b/api/client.go index f8ff619e..683f4b16 100644 --- a/api/client.go +++ b/api/client.go @@ -138,7 +138,7 @@ func ProxySearch(c *jira.Client, jql string, from, limit uint) (*jira.SearchResu if it == jira.InstallationTypeLocal { issues, err = c.SearchV2(jql, from, limit) } else { - issu...
2
1
0
[{"id": "G0", "claim": "The commented-out debug lines (reading and printing the response body) in pkg/jira/search.go should be removed before merging to production.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The JQL query string construction...
null
anoma__taiga__225
anoma/taiga
225
defect
e6b867f0599bee64e35688b5dbb0f8efab1c12ac
d5fba2b5804eab6005a1f017f6581877d40f1f71
fix anchor generation
The normal note anchor is generated from the path and note leaf, while the dummy(padding or intent) note anchor is from an existing valid root.
diff --git a/taiga_halo2/benches/action_proof.rs b/taiga_halo2/benches/action_proof.rs index deba38ee..49b99e97 100644 --- a/taiga_halo2/benches/action_proof.rs +++ b/taiga_halo2/benches/action_proof.rs @@ -13,7 +13,7 @@ use taiga_halo2::{ ACTION_CIRCUIT_PARAMS_SIZE, ACTION_PROVING_KEY, ACTION_VERIFYING_KEY, S...
1
1
0
[{"id": "G0", "claim": "The anchor argument of InputNoteProvingInfo::new should be renamed to custom_anchor to make it clearer to the user that the standard anchor is calculated when no custom anchor is provided.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anoma__taiga__94
anoma/taiga
94
defect
1c99558cdb0373029dec8386ecbb3a59ba177bca
2f5002fd9fa9b1ff8b0037c309f97ae05c36e073
transaction and partial transaction
- [x] Add transaction and partial transaction structs and according APIs - [x] give an example(test) to create transaction - [x] params and action circuit keys(proving and verifying) pre-computation - [x] refactor and refine `ValidityPredicateCircuit` trait - [x] modify some basic structs and add some useful apis ...
diff --git a/taiga_halo2/Cargo.toml b/taiga_halo2/Cargo.toml index c3b2ed2a..18e3c345 100644 --- a/taiga_halo2/Cargo.toml +++ b/taiga_halo2/Cargo.toml @@ -13,6 +13,7 @@ group = "0.12" halo2_gadgets = {version = "0.2", features = ["test-dependencies"]} halo2_proofs = "0.2" bitvec = "1" +dyn-clone = "1.0" [dev-depe...
3
1
0
[{"id": "G0", "claim": "The get_spend_notes and get_output_notes methods should have a default implementation in the ValidityPredicateInfo trait instead of being implemented separately by every VP circuit.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A...
null
anomalyco__opencode__20039
anomalyco/opencode
20,039
defect
cdc7d5f2eafa62158a6305025d4c1b37d961c40f
790d181d8a5f6ac35114f5f6494f6dcd9354a71b
feat: refactor bash tool with shell-aware prompts for bash, pwsh+powershell, and cmd
renames bash tool to shell, keeps legacy bash calls working, and adds shell-specific prompts for pwsh/powershell/cmd so agents get the right instructions. also keeps the bash prompt effectively the same as before, aside from the tool rename.
diff --git a/packages/app/src/pages/session/composer/session-permission-dock.tsx b/packages/app/src/pages/session/composer/session-permission-dock.tsx index 06ff4f4aa715..bd1ecdffd3c2 100644 --- a/packages/app/src/pages/session/composer/session-permission-dock.tsx +++ b/packages/app/src/pages/session/composer/session-p...
5
2
2
[{"id": "G0", "claim": "The chainGuidance() default branch still tells the model to use a 'Bash call' (and references 'Write before Bash') while the tool is named `shell`, which will push agents to emit the wrong tool name in examples; update the wording to consistently refer to the Shell tool or interpolate it via the...
null
anomalyco__opencode__21114
anomalyco/opencode
21,114
defect
3a0e00dd7f9192730f6d0eeee37ae0a5fb023927
b28b36afa178885331ede3a3b42402ba58028891
fix(read): prevent unsupported image formats from being sending to provider
### Issue for this PR Closes #17772 Closes #15264 ### Type of change - [x] Bug fix - [ ] New feature - [ ] Refactor / code improvement - [ ] Documentation ### What does this PR do? This PR adds an allowlist of provider-supported image formats (JPEG, PNG, GIF, WebP) to the Read tool. Previously, any `image/*` MIME ...
diff --git a/packages/opencode/src/tool/read.ts b/packages/opencode/src/tool/read.ts index 0b44c7ad5a79..7e14fa59a2a5 100644 --- a/packages/opencode/src/tool/read.ts +++ b/packages/opencode/src/tool/read.ts @@ -150,8 +150,20 @@ export const ReadTool = Tool.defineEffect( const loaded = yield* instruction.resolve(...
1
1
1
[{"id": "G0", "claim": "Unsupported image formats should fall down to the text/byte path instead of failing with an error, as some other agents do.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
anomalyco__opencode__4007
anomalyco/opencode
4,007
defect
ba8bc1b8b488e10eec8c0b915a753f4810164343
9697dedfc59f2a661310e1818e7c3b1438c110e4
fix(lsp): handle optional requests to avoid MethodNotFound (-32601) with MATLAB Language Server
# Fix: Handle optional LSP requests to avoid `MethodNotFound` (-32601) crashing LSP server (`matlab-language-server`) Fixes #4003 ## Summary - Add no-op handlers for `client/registerCapability` and `client/unregisterCapability`. - Implement `workspace/workspaceFolders` response aligned with the initialize root. - Eli...
diff --git a/packages/opencode/src/lsp/client.ts b/packages/opencode/src/lsp/client.ts index 1a6e2cb71efc..d84716c8d858 100644 --- a/packages/opencode/src/lsp/client.ts +++ b/packages/opencode/src/lsp/client.ts @@ -62,6 +62,14 @@ export namespace LSPClient { // Return server initialization options return ...
1
1
0
[{"id": "G0", "claim": "Replace the `client/registerCapability` (and `client/unregisterCapability`) request handlers written as `async () => ({} as any)` with `async () => {}`, dropping the unnecessary `any` casts.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anomalyco__opencode__4724
anomalyco/opencode
4,724
defect
6d630901b6d8804ab2bd9429d7fb664c7d18106c
412716249caee1949579ee28684f32c89a0525d2
fix: merge plugin selections (resolves #4565)
Resolves #4565. I stumbled onto a version of 4565 myself while I was messing around editing opencode's source: when I launched opencode in it's own source directory, my bell plugin at `~/.config/opencode/plugin/bell.ts` (just plays a sound when the session idles, nothing fancy) stopped making noise. After poking aro...
diff --git a/.opencode/command/commit.md b/.opencode/command/commit.md index 9626f172cf98..2e3d759b654e 100644 --- a/.opencode/command/commit.md +++ b/.opencode/command/commit.md @@ -1,6 +1,5 @@ --- description: Git commit and push -subtask: true --- commit and push diff --git a/packages/opencode/src/cli/cmd/tui/...
3
3
1
[{"id": "G0", "claim": "Undo the pull request's change to .opencode/command/commit.md that removed `subtask: true` from the commit command's frontmatter.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Likewise undo the pull request's change to sessi...
null
anomalyco__opencode__6332
anomalyco/opencode
6,332
defect
76880dce0d67998c03f9dbb162f4f91f1a762a47
8a471d28730598ab8b44ec1f19f0f468970354a8
fix(bedrock): support region and bearer token configuration
Fixes #5812 Add support for configuring Amazon Bedrock provider region and bearer token through opencode.json and auth.json. ### Region Configuration The amazon-bedrock provider now respects the `region` option from config (opencode.json) with proper precedence: 1. `options.region` from opencode.json (highest p...
diff --git a/packages/opencode/src/provider/provider.ts b/packages/opencode/src/provider/provider.ts index 0fdf26392f62..7311ac15e412 100644 --- a/packages/opencode/src/provider/provider.ts +++ b/packages/opencode/src/provider/provider.ts @@ -165,29 +165,42 @@ export namespace Provider { } }, "amazon-b...
1
1
0
[{"id": "G0", "claim": "For consistency with the rest of the file, use the existing iife() helper instead of an inline immediately-invoked function to initialize awsBearerToken (the current code works fine).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anomalyco__opencode__6480
anomalyco/opencode
6,480
defect
3fe5d91372fdf859e09ed5a2aefe359e0648ed10
0a2a621f4bfd54c72699f29ba6bfa772c8368f91
fix(session): check for context overflow mid-turn in finish-step
## Summary - fixes #4845 - Check for context overflow during streaming in `finish-step` event handler using actual token counts from AI SDK - Break stream loop early and return `"compact"` when overflow detected - Handle `"compact"` return in prompt.ts to trigger `SessionCompaction.create` immediately ## Proble...
diff --git a/packages/opencode/src/session/processor.ts b/packages/opencode/src/session/processor.ts index 78871630c65b..567b9647934d 100644 --- a/packages/opencode/src/session/processor.ts +++ b/packages/opencode/src/session/processor.ts @@ -13,6 +13,7 @@ import { Plugin } from "@/plugin" import type { Provider } fro...
1
1
0
[{"id": "G0", "claim": "The explicit `continue` inside the `if (result === \"compact\")` block in SessionPrompt is redundant since execution reaches the outer `continue` anyway; consider removing it for cleaner flow (acknowledging it could also be kept for clarity).", "category": "maintainability", "verdict": "supporte...
null
anomalyco__opencode__7333
anomalyco/opencode
7,333
defect
9fb24074c8708096b15e719ff6116c805d50b47f
af0394bdcf07cb14fe1938ce79254f04bb029d59
feat: Add GitLab Duo Agentic Chat Provider Support
# Add GitLab Duo Provider Support ## Problem In-line with GitLab's open-core strategy, we want to officially integrate GitLab Duo with OpenCode as a supported provider, operable with both GitLab.com and self-hosted GitLab instances. To streamline our users' journey across tools and enable access to GitLab's AI ca...
diff --git a/bun.lock b/bun.lock index 73feecbbfa81..29ba40854de4 100644 --- a/bun.lock +++ b/bun.lock @@ -275,6 +275,9 @@ "@ai-sdk/vercel": "1.0.31", "@ai-sdk/xai": "2.0.42", "@clack/prompts": "1.0.0-alpha.1", + "@gitlab/gitlab-ai-provider": "3.0.9", + "@gitlab/opencode-gitlab-...
9
9
3
[{"id": "G0", "claim": "Rewrite the loadOpenCodeAuth helper in provider.ts per the style guide: use the Bun.file() API instead of the Node fs module, do not wrap the whole function body in try/catch, and prefer early returns over the nested if-else.", "category": "maintainability", "verdict": "supported", "priority": "...
null
anomalyco__opencode__8093
anomalyco/opencode
8,093
defect
a58d1be8226c749f015047c15c47950735cd9370
a23a946bebd9758cd4e17ede394fb6aeaf35d5c1
feat: add OPENCODE_DISABLE_PROJECT_CONFIG env var
Closes #7559 Adds environment variable to disable project-level config discovery for external tooling integration. ## Changes - Skip project config files when flag is set - Skip project `.opencode/` directories - Skip local rule files (AGENTS.md, CLAUDE.md, CONTEXT.md) - Relative instructions without OPENCODE_CONFI...
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts index 1574c644d322..9213d5123af2 100644 --- a/packages/opencode/src/config/config.ts +++ b/packages/opencode/src/config/config.ts @@ -72,10 +72,12 @@ export namespace Config { } // Project config has highest precede...
2
2
0
[{"id": "G0", "claim": "The relative-path handling for the new flag is written as messy inline hacks inside system.ts's listing loop even though it is specific to the \"instructions\" field, and should be cleaned up.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
anomalyco__opencode__8608
anomalyco/opencode
8,608
defect
253b7ea78403585db916dc2746d07f622015c597
9bf2c8ef496f0457f8e677b4db799fe51fd30e0c
Prettify retry duration display in TUI
The change is complete. Here's a summary of the formatting logic I added: **Duration formatting rules:** - **< 60 seconds**: Shows as `Xs` (e.g., `45s`) - **< 1 hour**: Shows minutes + seconds like `Xm Ys` (e.g., `5m 30s`, or `5m` if no remaining seconds) - **< 1 day**: Shows hours + minutes like `Xh Ym` (e.g., `2h 15...
diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx index 9ad85d08f0e1..88f37b456d9a 100644 --- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx +++ b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx @@ -1032,...
1
1
0
[{"id": "G0", "claim": "The inline formatDuration function in the TUI prompt should be made testable and covered by unit test cases.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anomalyco__opencode__8678
anomalyco/opencode
8,678
defect
216a2d87cfc6828546e60a14d8e90d1a9c066700
d558873ed352846fc3b98ffccb3e657fbc4368bf
fix(agent): default agent selection in acp and headless mode
## Summary Make ACP and headless mode respect `default_agent` config and properly handle agent modes and visibilities. Previously, subagents and hidden agents could be incorrectly selected as the default agent. Fixes #8680 ## Changes - Filter out subagents (`mode === "subagent"`) from defaultAgent candidates -...
diff --git a/packages/opencode/src/acp/agent.ts b/packages/opencode/src/acp/agent.ts index ebd65bb26da1..f8792393c608 100644 --- a/packages/opencode/src/acp/agent.ts +++ b/packages/opencode/src/acp/agent.ts @@ -731,6 +731,9 @@ export namespace ACP { const defaultAgentName = await AgentModule.defaultAgent() ...
1
1
1
[{"id": "G0", "claim": "defaultAgent() should throw an error when no primary visible agent is available instead of silently falling back to \"build\".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
anomalyco__opentui__441
anomalyco/opentui
441
defect
ca63835012d6506c7f5ee579ca1041699344b0a2
13167e7da833cce5a1af0d6e8f981dadb8b6c1bf
fix: hide terminal cursor when showCursor is false
When `showCursor` prop changes from `true` to `false`, the cursor was still visible because `renderCursor` just returned early without hiding the cursor. This fix calls `setCursorPosition(0, 0, false)` to hide the terminal cursor when `showCursor` is false or the component is not focused.
diff --git a/packages/core/src/renderables/EditBufferRenderable.ts b/packages/core/src/renderables/EditBufferRenderable.ts index f5367bb825..8280ddfc9e 100644 --- a/packages/core/src/renderables/EditBufferRenderable.ts +++ b/packages/core/src/renderables/EditBufferRenderable.ts @@ -279,6 +279,10 @@ export abstract clas...
2
1
1
[{"id": "G0", "claim": "The fix lacks test coverage: add a test verifying the cursor is properly hidden when showCursor is set to false on a focused component, and shown again when set back to true.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The exp...
null
anomalyco__opentui__539
anomalyco/opentui
539
defect
b4ec1d390e9ca5028e6b7e03c0c3441d20559a8a
54560b943a1de27ba239cc5f57d825af7ba81b08
feat(input): migrate to extend textarea
## Summary Refactor `InputRenderable` to extend `TextareaRenderable`, eliminating ~200 lines of duplication. **Key changes:** - Input now inherits text editing, cursor management, and key binding logic from Textarea - Action names aligned with Textarea conventions (`line-home`, `line-end`, `backspace`, `delete`...
diff --git a/packages/core/src/renderables/Input.test.ts b/packages/core/src/renderables/Input.test.ts index b175f34258..552ae803a9 100644 --- a/packages/core/src/renderables/Input.test.ts +++ b/packages/core/src/renderables/Input.test.ts @@ -281,9 +281,8 @@ describe("InputRenderable", () => { input.focus() ...
1
1
1
[{"id": "G0", "claim": "The PR should make the change breaking while the project is still officially in alpha and remove the deprecated cursorPosition getter/setter entirely, making sure downstream opencode uses the API correctly.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
anomalyco__opentui__557
anomalyco/opentui
557
defect
1dd63f06025db7103e91cf5c1e1a9efd079b4bb3
cd85aa54dd504b1d468d7538845026a825a72094
fix(core): prevent cursor to get stuck at virtual extmark
Fix cursor getting stuck when moving down over virtual extmarks at the beginning of lines.When moving vertically over a virtual extmark at the start of a line, the cursor would be forced backwards instead of allowing forward movement. This fix detects when the adjusted position would cause backward movement during down...
diff --git a/packages/core/src/lib/extmarks.test.ts b/packages/core/src/lib/extmarks.test.ts index c38f74cd1b..5855db37b4 100644 --- a/packages/core/src/lib/extmarks.test.ts +++ b/packages/core/src/lib/extmarks.test.ts @@ -1975,6 +1975,113 @@ Press ESC to return to main menu.` const isInsideExtmark = cursorAfter...
1
1
0
[{"id": "G0", "claim": "When moving the cursor down over a line-start virtual extmark in a column-preserving way, the repositioning to \"extmark start - 1\" places the cursor on the previous line of the extmark, so the down arrow fails to move the cursor downward.", "category": "correctness", "verdict": "supported", "p...
null
anomalyco__opentui__558
anomalyco/opentui
558
defect
506792ba6545fe3e4d3db8ac7ee383ff1a275873
2924e2ce1663605606c13e87961f7dfa2a8f46a1
Feat/select all textarea
- added ability to do select all (cmd+a / ctrl+a behaviour) for textareas #518 - browser-like arrow left/right [behaviour with selections](https://github.com/anomalyco/opentui/issues/518#issuecomment-3765306216) - added fix for #549
diff --git a/packages/core/src/console.test.ts b/packages/core/src/console.test.ts index e82571df6b..7570b784a0 100644 --- a/packages/core/src/console.test.ts +++ b/packages/core/src/console.test.ts @@ -146,7 +146,7 @@ describe("TerminalConsole", () => { terminalConsole.handleMouse(mouseEvent) expect(te...
2
2
1
[{"id": "G0", "claim": "The pull request's tests are failing and the author should fix them.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "ctx.updateSelection should trigger onSelectionChanged, so the extra block that fetches the selection, resets isDr...
null
anomalyco__opentui__574
anomalyco/opentui
574
defect
506792ba6545fe3e4d3db8ac7ee383ff1a275873
b35b422acbc1dd6e1e8b70f39f194e9f3ff0eca5
add captureSpans and getSpanLines for styled terminal output capture
Uses the same VTerm data structures from #440 to expose terminal buffer content as structured span data. Adds `getSpanLines()` to `OptimizedBuffer` and `captureSpans()` to test renderer. Use case: render opentui output to web pages or images. You can render a TUI in a test renderer, extract the spans, and serialize t...
diff --git a/packages/core/src/buffer.ts b/packages/core/src/buffer.ts index cef9d184df..66cb670bf4 100644 --- a/packages/core/src/buffer.ts +++ b/packages/core/src/buffer.ts @@ -3,10 +3,28 @@ import { RGBA } from "./lib" import { resolveRenderLib, type RenderLib } from "./zig" import { type Pointer, toArrayBuffer, p...
4
3
0
[{"id": "G0", "claim": "The `VTermData` type is imported into buffer.ts but never used there, adding noise, and the reviewer suggests removing it from the import list.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "buffer.ts redefines an inline ...
null
anomalyco__opentui__584
anomalyco/opentui
584
defect
1dd63f06025db7103e91cf5c1e1a9efd079b4bb3
3c988bbf8064cee6b4b8d1d308dceb817046f46f
feat: Auto-focus on click (browser-like behavior)
Fixes [Issue #576](https://github.com/anomalyco/opentui/issues/576) ## Problem Currently, clicking on a focusable element (input, scrollbox, etc.) doesn't automatically focus it. Users must manually handle `onMouseDown` to set focus state, which is different from browser behavior. ## Proposed Solution Add b...
diff --git a/packages/core/src/renderer.ts b/packages/core/src/renderer.ts index a52b8bfa8f..bda6fff5aa 100644 --- a/packages/core/src/renderer.ts +++ b/packages/core/src/renderer.ts @@ -1147,6 +1147,19 @@ export class CliRenderer extends EventEmitter implements RenderContext { this.lastOverRenderableNum = maybe...
3
3
3
[{"id": "G0", "claim": "Auto-focus on click should be cancelable with preventDefault: the default focus logic should run after the mouse event is dispatched so a renderable or global handler can call event.preventDefault and the logic can check event.defaultPrevented.", "category": "design", "verdict": "supported", "pr...
null
anomalyco__opentui__591
anomalyco/opentui
591
defect
9092e7c366ee04ceec208dddc74bd49efc632d2f
57664df7412d8dc084c492016a7ad861623756a0
fix(core): handle special char markers in getSpanLines
getSpanLines() now decodes special char markers (box-drawing, graphemes) correctly using getRealCharBytes().
diff --git a/packages/core/src/buffer.ts b/packages/core/src/buffer.ts index 87b7fd7c06..84f1bb1368 100644 --- a/packages/core/src/buffer.ts +++ b/packages/core/src/buffer.ts @@ -155,22 +155,27 @@ export class OptimizedBuffer { public getSpanLines(): CapturedLine[] { this.guard() - const { char, fg, bg, at...
3
2
2
[{"id": "G0", "claim": "Indexing lineChars by cell position x assumes a 1:1 mapping between character array indices and buffer cells, which breaks for multi-width characters (emojis, CJK, wide graphemes) and will produce incorrect character-to-cell mapping with span text misaligned with the per-cell styling for any con...
null
anomalyco__opentui__655
anomalyco/opentui
655
defect
e5ed449f3166abca73c12be80f4456d1d0f396b0
6ad52ec5b9418d31f01a075537ef668e409b28e5
fix(terminal): restore DEC private modes on focus-in to fix Windows Terminal mouse tracking
When Windows Terminal / ConPTY loses focus (alt-tab, minimize, tab switch), it silently strips DEC private mode escape codes even though the app's internal state still thinks they're enabled. Now we listen to the focus signal and resend the escape codes.
diff --git a/packages/core/src/examples/focus-restore-demo.ts b/packages/core/src/examples/focus-restore-demo.ts new file mode 100644 index 0000000000..c342adcdde --- /dev/null +++ b/packages/core/src/examples/focus-restore-demo.ts @@ -0,0 +1,310 @@ +#!/usr/bin/env bun + +// Interactive demo to test the focus restore f...
1
1
1
[{"id": "G0", "claim": "restoreTerminalModes re-pushes the kitty keyboard protocol using self.opts.kitty_keyboard_flags, which may not reflect the currently active flags (setKittyKeyboard does not persist them and enableKittyKeyboard does not update opts), so a focus-in restore can silently change the active kitty keyb...
null
anomalyco__opentui__676
anomalyco/opentui
676
defect
cf438dbb8bd2d8a6b2ab55b243fde224132709ac
bd1e82be9ef70c323ae87682ed317f3a6712e212
feat: Added HoverCursorStyle to APIs using OSC 22
Fixes: #611 Hi @kommander, Added Custom cursor styles for the openTUI API through MouseCursorStyle. Includes: pointer, disabled, crosshair, and move. Used OSC 22 and demo-ed on kitty terminal. I have added all of them for usage (and future usage) but I can remove them if needed. Child elements can over...
diff --git a/packages/core/src/Renderable.ts b/packages/core/src/Renderable.ts index d6a202fe65..76bf0b6c5b 100644 --- a/packages/core/src/Renderable.ts +++ b/packages/core/src/Renderable.ts @@ -21,7 +21,7 @@ import { } from "./lib/yoga.options" import { maybeMakeRenderable, type VNode } from "./renderables/compositi...
4
4
1
[{"id": "G0", "claim": "The OSC 22 mouse-pointer escape handling added in packages/core/src/ansi.ts should live on the zig side instead, with the option passed down.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The renderer should not automatically app...
null
anomalyco__opentui__680
anomalyco/opentui
680
defect
f774a9ff5368b100ad44694746a3c8a5a367fae1
85bd782b4cc8bf05a44f5555535e7891d712285c
fix(solid): handle ScrollBox parent mismatch in getParentNode
## Summary - ScrollBox delegates `add`/`remove` to its internal `content` wrapper (`scrollbox → wrapper → viewport → content`), so children report `content` as their parent. The reconciler passes `scrollbox` itself — causing the identity check in `cleanChildren` (`getParentNode(el) === parent`) to always fail, leaving...
diff --git a/packages/solid/src/renderer/universal.js b/packages/solid/src/renderer/universal.js index 1f3f5ec979..25dd15f1af 100644 --- a/packages/solid/src/renderer/universal.js +++ b/packages/solid/src/renderer/universal.js @@ -173,9 +173,8 @@ export function createRenderer({ for (let i = current.length - 1; ...
1
1
0
[{"id": "G0", "claim": "Add the ScrollBox special case in _getParentNode in packages/solid/src/reconciler.ts (around L145) instead of modifying cleanChildren in universal.js, keeping universal.js as intact as possible.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anomalyco__opentui__688
anomalyco/opentui
688
defect
526e2db8ea1bd4f5b7ef469914ba0864773e6ebe
fc2c13d8f8b2dbb5f483ae2a279b1edd235403bc
fix(buffer): prevent WrongGeneration panic when set() replaces grapheme with same ID
Fixes the GraphemePool WrongGeneration panic that crashes termcast e2e tests. **Root cause**: `OptimizedBuffer.set()` removes the old grapheme from the tracker (decref to 0 → slot freed) before adding the new one. When old and new cells share the same grapheme ID but different packed char values (different extent bits...
diff --git a/packages/core/src/buffer.test.ts b/packages/core/src/buffer.test.ts index c3ebba45f0..10604bcf07 100644 --- a/packages/core/src/buffer.test.ts +++ b/packages/core/src/buffer.test.ts @@ -253,4 +253,39 @@ describe("OptimizedBuffer", () => { expect(bgBuffer[3]).toBeLessThan(1.0) }) }) + + desc...
2
2
0
[{"id": "G0", "claim": "The pre-add comment's claim that it 'keeps refcount >= 1' is inaccurate because tracker.remove() still decrefs the refcount to 0 and briefly frees the slot, so the comment should be clarified to describe what actually happens (temporarily free the slot but re-incref before any other code can reu...
null
anomalyco__opentui__820
anomalyco/opentui
820
defect
24cc57e7c7023e8be2809fee9bd76149aa8d41a7
f66285c3cef2c69fa5d83ff5758e3a7e6b4b1d56
fix: Windows test support
## Summary - **Solid Windows loader fix**: `packages/solid/scripts/solid-plugin.ts` matched only forward-slash paths, so the interceptor that swaps `solid-js/dist/server.js` to the client runtime never ran on Windows. This made Solid tests run against the server runtime and broke reactivity. - **Deterministic tree-sit...
diff --git a/.github/workflows/build-core.yml b/.github/workflows/build-core.yml index ea1ba04fb9..c58d1a374b 100644 --- a/.github/workflows/build-core.yml +++ b/.github/workflows/build-core.yml @@ -51,7 +51,12 @@ jobs: platform: darwin-arm64 - os: ubuntu-latest platform: linux-x64 ...
1
1
1
[{"id": "G0", "claim": "The test's Windows branch assumes Z: is a non-existent drive; on machines or CI setups where Z: is mapped the directory may be created and client.initialize() may succeed, making the test non-deterministic, so use a path invalid on Windows regardless of drive mapping or probe A:-Z: for an unused...
null
anomalyco__sst__3035
anomalyco/sst
3,035
defect
0f6e6f5ddcc35e031a7840a1c8178ecc4ab7a143
19b884160e96b0a26ee5bc8f32f1e3205e37e860
feat: allow a secret to be encrypted with a custom KMS key
It's often a requirement in enterprise environments that secrets must be encrypted with a custom key, and not use the AWS default key in your environment. The reason is that destroying of the stack means all data encrypted with that key is also no longer accessible (if AWS really destroys the key). This also means I...
diff --git a/.changeset/nasty-rules-wash.md b/.changeset/nasty-rules-wash.md new file mode 100644 index 0000000000..74e07d1877 --- /dev/null +++ b/.changeset/nasty-rules-wash.md @@ -0,0 +1,5 @@ +--- +"sst": minor +--- + +feat: allow a secret to be encrypted with a custom KMS key diff --git a/packages/sst/src/constructs...
1
1
1
[{"id": "G0", "claim": "The added guard on `props.credentials` should not check `!props.credentials.secret` (a credential should not need both `secret` and `password`); the check should instead only throw when a plain `password` is supplied.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope"...
null
anomalyco__sst__3295
anomalyco/sst
3,295
defect
bcf82650fef1161178426881e8b8b86ebb81461a
8051299f911a29b1ae22406fb9dc6a1d3ca20831
NextJsSite: add support for open-next 2.2
This PR aims to add support for revalidate tags of open-next in NextJsSite. It also add experimental support for streaming.
diff --git a/packages/sst/src/constructs/NextjsSite.ts b/packages/sst/src/constructs/NextjsSite.ts index 58f96d9da7..e79cb1ad9f 100644 --- a/packages/sst/src/constructs/NextjsSite.ts +++ b/packages/sst/src/constructs/NextjsSite.ts @@ -1,7 +1,7 @@ import fs from "fs"; import path from "path"; import { Construct } fro...
5
3
0
[{"id": "G0", "claim": "The 14-minute timeout on the revalidation insert function is a typo (as the author confirms) and should be the intended value.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The revalidation DynamoDB table should be created o...
null
anp__moxie__228
anp/moxie
228
defect
dfca4be659c6d981269acd2432a2394abe6507a5
a2d11c52f21c25ca0e5857c59f4c8de0a613fc39
Reimplement `mox` with syn_rsx
Current implementation of the `mox` macro uses `snax` with `proc_macro_hack` crate. This causes rust-analyzer lining errors. For the reason of `snax` not being regularly supported i recommend to switch to the `syn_rsx` crate, which solves these problems and adds linting for the tags and attributes. - [x] Update docs...
diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..40b4376f5 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "rust-analyzer.cargo.loadOutDirsFromCheck": true, + "rust-analyzer.procMacro.enable": true +} \ No newline at end of file diff --git a/mox/Cargo...
5
5
2
[{"id": "G0", "claim": "CI is failing on this pull request: the `mox!` expansion in dom/tests/custom_component.rs raises error[E0618] (expected function, found `std::string::String`) and clippy emits 'unnecessary braces' warnings in the todo examples.", "category": "correctness", "verdict": "supported", "priority": "P0...
null
anp__moxie__260
anp/moxie
260
defect
b287ed9761852345ea1da9ff0f016351f13df0d2
b84fe54cd2501b213261bf2e0a80e087a805becb
Hyphenated element and attribute names
Fixes #233 `syn_rsx` doesn't support multiple consecutive dashes, so neither does this.
diff --git a/dom/tests/custom_component.rs b/dom/tests/custom_component.rs index 4e9d3fc66..e9127fd0f 100644 --- a/dom/tests/custom_component.rs +++ b/dom/tests/custom_component.rs @@ -18,7 +18,7 @@ impl moxie_dom::interfaces::node::Child for Counter { } } -fn counter() -> CounterBuilder { +fn custom_counter() ...
1
1
0
[{"id": "G0", "claim": "The types used in the dashes_to_underscores signature should be imported at the top of the file so the signature reads `Punctuated<Ident, Dash>` instead of being fully qualified.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ansible-collections__arista.eos__202
ansible-collections/arista.eos
202
defect
9b7727e56ff490c89e1d12e8d7e80d777419bb76
d6ef83cc76cf3de8a4eb14a44cc4fd1b53b6deb7
Support 'username sshkey' cli change in eos 4.23
Signed-off-by: GomathiselviS <gomathiselvi@gmail.com> Depends-On: https://github.com/ansible/ansible-zuul-jobs/pull/885 ##### SUMMARY <!--- Describe the change below, including rationale and design decisions --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> Fixes #189 Cli chang...
diff --git a/changelogs/fragments/sshkey_cli_change.yaml b/changelogs/fragments/sshkey_cli_change.yaml new file mode 100644 index 000000000..a73fac980 --- /dev/null +++ b/changelogs/fragments/sshkey_cli_change.yaml @@ -0,0 +1,3 @@ +--- +bugfixes: + - Add support to accomodate change in username config cli in latest eo...
1
1
1
[{"id": "G0", "claim": "The parsed version string should be split into a tuple of ints instead of hoping the string comparison (and later the float cast) will hold, since a float cast fails on three-part versions.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
ansible-collections__arista.eos__80
ansible-collections/arista.eos
80
defect
1c8c6b4b97b4cb703ab78115c11527eae0dc2176
12e644c2c9c420d4ec25d18cc3881bf5b17f3c06
Use regex to handle linkagg name
Fixes https://github.com/ansible-collections/arista.eos/issues/79
diff --git a/plugins/module_utils/network/eos/config/lag_interfaces/lag_interfaces.py b/plugins/module_utils/network/eos/config/lag_interfaces/lag_interfaces.py index a69df95c4..bfa8b0d1d 100644 --- a/plugins/module_utils/network/eos/config/lag_interfaces/lag_interfaces.py +++ b/plugins/module_utils/network/eos/config/...
2
2
0
[{"id": "G0", "claim": "Run tox -elinters under the collections folder to correct the lint errors and push the fix again.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add changelogs (a changelog fragment) for this fix.", "category": "documenta...
null
ansible-collections__azure__1311
ansible-collections/azure
1,311
defect
004d279e5a632deb4a412a4426f3109de35d461b
b09d0ffc07d0002370e03efb746e5cebb73ef84e
Add encryption to azure_rm_galleryimageversion
##### SUMMARY Add the parameter `encryption` to `target_regions` of the `azure_rm_galleryimageversion` module. Fixes #1290 ##### ISSUE TYPE <!--- Pick one below and delete the rest --> - Feature Pull Request ##### COMPONENT NAME azure_rm_galleryimageversion ##### ADDITIONAL INFORMATION This makes it po...
diff --git a/plugins/modules/azure_rm_galleryimageversion.py b/plugins/modules/azure_rm_galleryimageversion.py index dbe8235833..57e4ddb686 100644 --- a/plugins/modules/azure_rm_galleryimageversion.py +++ b/plugins/modules/azure_rm_galleryimageversion.py @@ -125,6 +125,62 @@ description: ...
4
2
2
[{"id": "G0", "claim": "Fix the module documentation errors reported by the validator: the DOCUMENTATION block for the new encryption options does not match the argument_spec (missing suboption docs, missing types, undocumented parameters such as securityProfile/confidential_vm_encryption_type entries, and data_disk_im...
null
ansible-collections__azure__2078
ansible-collections/azure
2,078
defect
ec8c3797e81aa2a329c5176db6d12efab6898902
51f752bf138ca63457924824f7d6ed81d90026eb
feat: added support for azure event hub
##### SUMMARY This PR adds support for azure_event_hub with the Microsoft Entra OAuth credentials. You would need to provide the following * azure_tenant_id * azure_client_id * azure_client_secret * azure_namespace * azure_event_hub_name ##### ISSUE TYPE - Feature Pull Request ##### COMPONENT NAME ...
diff --git a/extensions/eda/plugins/event_source/azure_event_hub.py b/extensions/eda/plugins/event_source/azure_event_hub.py new file mode 100644 index 0000000000..77955905ef --- /dev/null +++ b/extensions/eda/plugins/event_source/azure_event_hub.py @@ -0,0 +1,171 @@ +import asyncio +import json +import logging +from t...
4
3
0
[{"id": "G0", "claim": "There should be two blank lines here at the end of the REQUIRED_ARGS block; the current spacing fails ansible-test sanity.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The debug log uses f-string interpolation; logging calls shou...
null
ansible-collections__azure__2206
ansible-collections/azure
2,206
defect
1284c3afb20ccc228ec299294eec526041e60f6d
8f0db32e9205d734a255301a9be2a626ebd0083c
feat: add support for feedback queue
##### SUMMARY ansible-rulebook now has an optional event persistence feature which allows the source plugin to know that the inflight event has been stored in a database and if there is an outage the event wont be lost. The Azure source plugins now have 2 extra parameters * feedback: bool : default (False) * feedb...
diff --git a/extensions/eda/plugins/event_source/azure_event_hub.py b/extensions/eda/plugins/event_source/azure_event_hub.py index 67c2b46450..e87155794c 100644 --- a/extensions/eda/plugins/event_source/azure_event_hub.py +++ b/extensions/eda/plugins/event_source/azure_event_hub.py @@ -9,8 +9,8 @@ import logging from...
1
1
0
[{"id": "G0", "claim": "The args['eda_feedback_queue'] key, which the new feedback option relies on, should be described in the DOCUMENTATION block of extensions/eda/plugins/event_source/azure_event_hub.py and azure_service_bus.py like the rest of the possible args.", "category": "documentation", "verdict": "supported"...
null
ansible-collections__hetzner.hcloud__773
ansible-collections/hetzner.hcloud
773
defect
af3e9f4bf22dc88be343c02b391503feecdfec47
c9c29efcfbfbab80d27f91540a81bab78bdd8201
feat: deprecate datacenter in `primary ips` and `servers`
##### SUMMARY Deprecate datacenter in `primary ips` and `servers`. See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters.
diff --git a/changelogs/fragments/phasing-out-datacenters.yml b/changelogs/fragments/phasing-out-datacenters.yml new file mode 100644 index 00000000..07f34949 --- /dev/null +++ b/changelogs/fragments/phasing-out-datacenters.yml @@ -0,0 +1,32 @@ +release_summary: | + This release is phasing out datacenters in ``Primary...
1
1
1
[{"id": "G0", "claim": "The documentation states that both `location` and `datacenter` are required when no `server` is given and the Primary IP does not exist, which misstates the requirement (only one of them is needed).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ansible__ansible-lint__1809
ansible/ansible-lint
1,809
defect
ff90dd4a5b1f105028a4c4d5d70a9cd2bcb69bdb
29a96cfa2be932c59a28a8484f906c89a7811552
Recursively extract tasks from blocks
allow matchtask() to match embedded tasks ``` - block: - block: - template: src: ... ``` See for example: https://github.com/ansible-community/ansible-lint/blob/ff90dd4a5b1f105028a4c4d5d70a9cd2bcb69bdb/examples/roles/role_for_no_same_owner/tasks/fail.yml#L13-L19 The `no-same-owner` rule, ad...
diff --git a/src/ansiblelint/utils.py b/src/ansiblelint/utils.py index 83707408897..51c0f3ab019 100644 --- a/src/ansiblelint/utils.py +++ b/src/ansiblelint/utils.py @@ -637,7 +637,7 @@ def task_to_str(task: Dict[str, Any]) -> str: def extract_from_list( - blocks: AnsibleBaseYAMLObject, candidates: List[str] + ...
1
1
1
[{"id": "G0", "claim": "The pull request needs at least one test modified or added that verifies the fixed bug — one that fails without the change and passes with it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ansible__ansible-lint__1854
ansible/ansible-lint
1,854
defect
3a86d067c85e400d5926947ccbb2fe67f1ebf7e3
a557c857cf1108c6890bb1b7c975c8790cdfaf3f
Make FQCN import tasks include their relevant files for checking
Tasks can come in in either the short format or the FQCN format as this is called before noramlize_task functions.
diff --git a/src/ansiblelint/utils.py b/src/ansiblelint/utils.py index d6dcc7a099a..28a0c69d680 100644 --- a/src/ansiblelint/utils.py +++ b/src/ansiblelint/utils.py @@ -314,12 +314,16 @@ def play_children( "post_tasks": _taskshandlers_children, "block": _taskshandlers_children, "include": _in...
1
1
1
[{"id": "G0", "claim": "The tests should be updated to include a regression prevention measure — a change, even to an existing test covering the same functionality, that would fail if the fix were removed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ansible__ansible-lint__1860
ansible/ansible-lint
1,860
defect
ae2ba4c804c408c36809a439288ccbeb1b51f294
a4e3303c212e9f63ae3b2dd87d3052fe8a1703dc
Allow use without activation of virtualenv
Allow users to call ansible-lint with a full path even when it is installed inside an inactive virtualenv. This change also includes a fail-safe test that prevents future regressions. Fixes: #1507 Closes: #1866 (duplicate)
diff --git a/src/ansiblelint/__main__.py b/src/ansiblelint/__main__.py index 9e10a3bceb7..c94aa524239 100755 --- a/src/ansiblelint/__main__.py +++ b/src/ansiblelint/__main__.py @@ -32,11 +32,15 @@ from enrich.console import should_do_markup +# pylint: disable=unused-import +import ansiblelint._preimport # must be...
4
3
3
[{"id": "G0", "claim": "The PATH-splitting code should use os.pathsep instead of a hardcoded ':' separator.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "PATH injection should not run at import time; it should instead be exposed as a function and c...
null
ansible__ansible-lint__1884
ansible/ansible-lint
1,884
defect
6644299d4460ec195b57d45a4f33e3f55b67fce0
35b0c7d7817bb7f53a345ffcd9a8bb2fa8fb228b
Enable Lintables to be modified
We need a way to write files and keep track of how we've changed them. This prepares for formatting in transforms in #1828. Feedback from that PR suggests that we'll need at least a count of the files that have changed and possibly a diff view that shows how files have changed. This adds a setter for `Lintable.co...
diff --git a/src/ansiblelint/file_utils.py b/src/ansiblelint/file_utils.py index 962e5eac62..db35b31daa 100644 --- a/src/ansiblelint/file_utils.py +++ b/src/ansiblelint/file_utils.py @@ -147,7 +147,8 @@ def __init__( else: self.name = str(name) self.path = name - self._content ...
9
4
2
[{"id": "G0", "claim": "The streams behind `Lintable.writable` are never closed, which the reviewer warned will cause `ResourceWarning`s.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The content/writable API is confusing: rename `_content` to `ori...
null
ansible__ansible-lint__1943
ansible/ansible-lint
1,943
defect
842e05f88a7f04876bfbc0e5b5eb26759cbb47b1
804917d0df1a22e27de6e423ba088aefaf1e225f
Add support for reformatting YAML files
I want to introduce a feature to `ansible-lint`: It should be able to fix issues identified by rules. The feature in this PR is a pre-requisite to introducing that. In order to fix any issues identified by rules, we will have to read each YAML file with ruamel.yaml and then write it out. Reading/writing YAML files w...
diff --git a/docs/conf.py b/docs/conf.py index 8cebfe22db..f3d5e91f39 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -301,6 +301,10 @@ ("py:class", "ruamel.yaml.representer.RoundTripRepresenter"), ("py:class", "ruamel.yaml.scalarint.ScalarInt"), ("py:class", "ruamel.yaml.tokens.CommentToken"), + ("py...
4
3
2
[{"id": "G0", "claim": "When `yaml` is in the skip list, `--write` still reformats YAML files; the Transformer should respect the skip list and bypass any YAML formatting when the skip is present.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A var...
null
ansible__ansible-lint__2051
ansible/ansible-lint
2,051
defect
3738f6ad6c1fcdc80e4753140af9af61c7626a55
24776ae372965f5b66511575e0057ab1c2912e3c
--write: Optionally pass rule names to --write in cli
Allow users to control which transforms `ansible-lint --write` will run. Introduces `write_list` config file setting to complement the `--write` command line option. Each of these accept special keywords `all` and `none` as well as a list of rule ids and rule tags. - `--write` defaults to whatever is in the conf...
diff --git a/.ansible-lint b/.ansible-lint index c32b4d2f71..b9708d8e45 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -61,6 +61,13 @@ warn_list: - experimental # experimental is included in the implicit list # - role-name +# Some rules can transform files to fix (or make it easier to fix) identified +# erro...
3
2
1
[{"id": "G0", "claim": "In the --write thread, ssbarnea states that plain '--write' without arguments should behave as '--write=all' rather than as the 'none'/reformat-only behaviour the help text described.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ...
null
ansible__ansible-lint__2259
ansible/ansible-lint
2,259
defect
a5eb42a1b1dea0454dea0684b3c83638499841db
d3b4974d4572c2e41d5389d816bc7806588c3080
Rename var-spacing rule to jinja[spacing]
This change prepares for refactoring of jinja2 processing and will enable us to add other rules related to jinja2 template strings.
diff --git a/docs/rules.md b/docs/rules.md index e8e520f4379..2ae644c1ba0 100644 --- a/docs/rules.md +++ b/docs/rules.md @@ -80,10 +80,10 @@ If the rule is line-based, `# noqa [rule_id]` must be at the end of the particular line to be skipped ```yaml -- name: this would typically fire LineTooLongRule 204 and var-sp...
1
1
0
[{"id": "G0", "claim": "The jinja.md documentation reads \"Ins current\" where it should read \"The current\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ansible__ansible-lint__2295
ansible/ansible-lint
2,295
defect
ee342169355b5530ff26260fa693fabd318ec5e7
daf18ab715fbb483eb486be85e08beda5649f562
Raise name[play] for plays missing a name
From now on, we will be require plays to have names, same as tasks, as these are also displayed by Ansible and help documenting their purpose. Related: #2171
diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index fc3993b0e10..2a5e72c25aa 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -164,7 +164,7 @@ jobs: WSLENV: FORCE_COLOR:PYTEST_REQPASS:TOXENV:TOX_PARALLEL_NO_SPINNER # Number of expected test passes, safety meas...
6
4
1
[{"id": "G0", "claim": "The class docstring should read \"Rule for checking task and play names.\" instead of the ungrammatical \"Rule for checking tasks and plays names.\" added by the pull request.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
ansible__ansible-lint__2306
ansible/ansible-lint
2,306
defect
4b13f132c38bc1e019305ba8c612900edbc065ef
0b5b11971c909d7936f7ad7b52950fc0974ccaed
Reimplement jinja[spacing] to avoid use of regex
This change rewrites jinja2 rule to make it use jinaja lexer and avoid use of regexes for parsing, as they cause too many false positives. Fixes: #2301 Fixes: #2285 Fixes: #2241 Fixes: #2209 Fixes: #2208 Fixes: #2120
diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 231c521f6ae..8e3262389ca 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -165,7 +165,7 @@ jobs: WSLENV: FORCE_COLOR:PYTEST_REQPASS:TOXENV:TOX_PARALLEL_NO_SPINNER # Number of expected test passes, safety meas...
5
3
1
[{"id": "G0", "claim": "Remove the leftover commented-out `breakpoint()` debug line from the added whitespace-detection code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The details message should read \"Jinja2 template rewrite recommendation...
null
ansible__ansible-lint__2505
ansible/ansible-lint
2,505
defect
2792ba0f6c96277dd286c782df9e564b693364cc
b133648895797106fa61b8e1f5205ec930069684
Upgrade fqcn-builtins rule into fqcn
- rename tag from `fqcn-builtins` to `fqcn[action-core]` and add alias - update documentation with examples - add `fqcn[action]` for those that are not using known builtins - documented `fqcn[action-redirect]` for redirects (implementation in follow-up) - added the two new checks default `warn_list`
diff --git a/examples/playbooks/custom_module.yml b/examples/playbooks/custom_module.yml index df02af12db3..0db45c743db 100644 --- a/examples/playbooks/custom_module.yml +++ b/examples/playbooks/custom_module.yml @@ -5,5 +5,5 @@ tags: - "{{ foo }}" tasks: - - name: Run custom module + - name: Run custo...
3
3
0
[{"id": "G0", "claim": "The rule documentation should also be updated with FQCN wording/examples.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Renaming the rule's builtin check to 'action-internal' is confusing from a user perspective; the built...
null
ansible__ansible-lint__2615
ansible/ansible-lint
2,615
defect
aa1ed71a9e225b78c70753392c1862feaf69fa10
ec70ef69455ff8e0e38f3550a8051d64288a99e9
Add warning message about outdated linter version
Checks every 24h if current version is latest and prints warning message if so. If HTTP requests fails, no error is displayed.
diff --git a/src/ansiblelint/app.py b/src/ansiblelint/app.py index ad726f879e3..4f446eb9bf9 100644 --- a/src/ansiblelint/app.py +++ b/src/ansiblelint/app.py @@ -13,7 +13,7 @@ from ansiblelint import formatters from ansiblelint._mockings import _perform_mockings from ansiblelint.color import console, console_stderr, ...
5
2
1
[{"id": "G0", "claim": "The version check pings GitHub on every run with no way to disable it, and the reviewer asks that it be made optional for air-gapped and users who choose not to update, while agreeing it should stay enabled by default.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "i...
null
ansible__ansible-lint__2759
ansible/ansible-lint
2,759
defect
9da30ba879078702725e1d1d30aacde4d7789d84
0290360d7565fe2d9fee4d82078f527512acdcda
Refactor risky-octal and improve its messaging
Fixes: #2758 New errors looks like: ``` risky-octal: `mode: 600` is risky and possible wrong, rewrite it as a string such `mode: "01130" or use symbolic mode. risky-octal: `mode: 710` is risky and possible wrong, rewrite it as a string such `mode: "01306" or use symbolic mode. risky-octal: `mode: 123` is risky a...
diff --git a/examples/playbooks/rule-risky-octal-fail.yml b/examples/playbooks/rule-risky-octal-fail.yml new file mode 100644 index 00000000000..9e4a3bf3b1c --- /dev/null +++ b/examples/playbooks/rule-risky-octal-fail.yml @@ -0,0 +1,25 @@ +--- +- name: Fixture for testing risky-octal rule + hosts: hosts + vars: + ...
4
3
0
[{"id": "G0", "claim": "The parenthetical in the rule's documentation should be reworded to drop the parentheses, reading \"symbolic mode, such as `u+rwx` or `u=rw,g=r,o=r`\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The rule's documentation...
null
ansible__ansible-lint__2760
ansible/ansible-lint
2,760
defect
03092b5cf3ce2cafe6b29ea96867e927a78ef270
0741e3cbfb47d7c8c00ee8612ce789eb5c1b9fe4
Deprecate running under py38
Warn users about the pending raise of minimum required python to 3.9 or newer, same as ansible-core 2.14. We do not prevent installation of execution under py38 but next version will, so is better to warn users using the old py38.
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79694f430b..ce38459158 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,38 +9,26 @@ jobs: pypi: name: Publish to PyPI registry environment: release - runs-on: ubuntu-20.04 + runs-on: u...
1
1
0
[{"id": "G0", "claim": "Reword the banner to say ansible-lint \"will soon require 3.9\" and \"Do not report bugs\" instead of \"will require 3.9 very soon\" and \"Do not file bugs\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ansible__ansible-lint__2902
ansible/ansible-lint
2,902
defect
0cf5854aa2deae2b254f18e3896a8a6702a66ed4
3058c5ce3bd1aed5c22636740eab174e2728c7a8
Added tests for text.py
Signed-off-by: Ajinkya Udgirkar <audgirka@redhat.com>
diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 84b41dffded..93f04a6a3a0 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -69,7 +69,7 @@ jobs: WSLENV: FORCE_COLOR:PYTEST_REQPASS:TOXENV:GITHUB_STEP_SUMMARY # Number of expected test passes, safety measure fo...
2
2
2
[{"id": "G0", "claim": "The strip_ansi_escape test needs to pass a bytes object rather than a string, since as written it does not increase coverage of one of the two lines that needed covering.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The toident...
null
ansible__ansible-lint__3004
ansible/ansible-lint
3,004
defect
26a12aa70f949a02287ac56530d04f045ec07a81
16c0936e5370c4251c161d01ec1f8cc22c1307a8
Load rule ignores from external text file
Ansible-lint will load skip rules from `.ansible-lint-ignore` file that is adjacent to its config file. The file format is very simple, containing the filename and the rule to be ignored. It also supports comments starting with `#`. - Adds ability to load ignores from file - Implements `--generate-ignore` for dumpi...
diff --git a/.ansible-lint b/.ansible-lint index d6ade300f26..21c4f8de06a 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -44,7 +44,10 @@ use_default_rules: true # rulesdir: # - ./rule/directory/ -# Ansible-lint completely ignores rules or tags listed below +# Ansible-lint is able to recognize and load skip rul...
4
1
1
[{"id": "G0", "claim": "The commit message title contains a typo.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ignore file should not be placed in `tests/sanity/` or named `ignore.txt` (too close to ansible-test's same-named file with a diff...
null
ansible__ansible-lint__3431
ansible/ansible-lint
3,431
defect
b78abe554205eabb8e16c7e7daf1619679de49ec
e71a06ec8ad12b94d247843707adb8558f64ea65
Ensure that we also lint files from git submodules
Initial implementation based on git tracked files did not look into submodules. From now on, we would also look into submodules and report the outcomes.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 63c3d507e8..72108a8c4d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -151,6 +151,7 @@ repos: - cryptography>=39.0.1 - filelock - jinja2 + - pytest-mock - pytest>=7.2.2 ...
1
1
0
[{"id": "G0", "claim": "Could test_mockings.py avoid the newly added pytest-mock dependency by mocking with pytest itself (e.g. a locally defined function or a lambda)?", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ansible__ansible-lint__3679
ansible/ansible-lint
3,679
defect
4cc5b52b4d2c9d9153b4481d3ef5dd128f96c3ae
12bb5e087efbdedecac57c3de140c697d30c5e99
Use yaml.load_all for multiple yaml document
Fixes: https://github.com/ansible/ansible-lint/issues/3670
diff --git a/src/ansiblelint/yaml_utils.py b/src/ansiblelint/yaml_utils.py index 9fd1487448..8d159c818d 100644 --- a/src/ansiblelint/yaml_utils.py +++ b/src/ansiblelint/yaml_utils.py @@ -14,6 +14,7 @@ import ruamel.yaml.events from ruamel.yaml.comments import CommentedMap, CommentedSeq, Format +from ruamel.yaml.com...
1
1
1
[{"id": "G0", "claim": "The PR adds no tests, and at least one test should be added proving that the new code is able to deal with multi-document YAML files.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ansible__ansible-lint__3721
ansible/ansible-lint
3,721
defect
fc898ee7befba9ba93dbe7b24f896e76f46e085e
48710215f3ded81913f272a734a2e2de31f1db51
Add auto-fixing implementation for `no-jinja-when` rule
Related: https://github.com/ansible/ansible-lint/issues/3634
diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 296997080b..9db6e9dcc6 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -71,7 +71,7 @@ jobs: WSLENV: FORCE_COLOR:PYTEST_REQPASS:TOXENV:GITHUB_STEP_SUMMARY # Number of expected test passes, safety measure for ...
2
2
0
[{"id": "G0", "claim": "Assign the re.sub() result directly to the target instead of storing it in an intermediate processed_value variable, at the sites in both transform() and transform_for_roles().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null