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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
succinctlabs__sp1__2046 | succinctlabs/sp1 | 2,046 | defect | 00b087dd874c1e5a8246e66013cc396f630fd34d | 5e5afe8bc79d3a19b69d713e305ed2690e57b489 | feat(ci): patch ci cycle check | This PR adds a CI workflow to compare cycle counts if there are changes to `patch-testing/*`.
Note: Some tests are non deterministic in their cycle count. | diff --git a/.github/workflows/patch-testing-cycles.yml b/.github/workflows/patch-testing-cycles.yml
new file mode 100644
index 0000000000..96a535fc73
--- /dev/null
+++ b/.github/workflows/patch-testing-cycles.yml
@@ -0,0 +1,53 @@
+name: Patch Testing Cycles
+
+on:
+ pull_request:
+ branches: [main, dev]
+ paths... | 5 | 4 | 1 | [{"id": "G0", "claim": "End the '// Get all comments on the PR' comment with a period.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "End the '// Look for an existing comment from our bot' comment with a period.", "category": "documentation", "ver... | null |
succinctlabs__sp1__2723 | succinctlabs/sp1 | 2,723 | defect | 40a3d61934388db3b3b4dc366b1c17a3e7cf65ca | 958e987b01d1f4d1e999d27e85bc4087d306e865 | feat(worker): memory-bounded shard-permit backpressure gate | Related PR: https://github.com/succinctlabs/sp1-cluster/pull/89 | diff --git a/crates/perf/src/executor.rs b/crates/perf/src/executor.rs
index 81cca75cac..11dc0a48c1 100644
--- a/crates/perf/src/executor.rs
+++ b/crates/perf/src/executor.rs
@@ -9,9 +9,9 @@ use sp1_hypercube::{septic_digest::SepticDigest, MachineVerifyingKey};
use sp1_primitives::{Elf, SP1Field};
use sp1_prover::{
... | 1 | 1 | 1 | [{"id": "G0", "claim": "schedule_release should check the actual task status returned: only release the permit for Succeeded and FailedFatal, and for FailedRetryable, Pending, Running and UnspecifiedStatus keep holding it and wait again.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i... | null |
sudo-project__sudo__19 | sudo-project/sudo | 19 | defect | c592470dbd2aa83cbb2dfee49a14525381d120aa | ad737d4f109c8e3a03c89998321139e9e3f6b62c | Python tests | Some characteristic tests written to the python plugin support.
Also contains a fix for IO plugin validate() call, which I have found during the testing.
And adds a little example script on how to generate code coverage. | diff --git a/MANIFEST b/MANIFEST
index f775c29e43..6760e4c13e 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -321,6 +321,11 @@ plugins/python/sudo_python_debug.c
plugins/python/sudo_python_debug.h
plugins/python/sudo_python_module.c
plugins/python/sudo_python_module.h
+plugins/python/regress/check_python_examples.c
+plugin... | 4 | 4 | 4 | [{"id": "G0", "claim": "The existing (empty) check target in plugins/python/Makefile.in must be removed, now that the pull request adds a real check target.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Linking the check_python_examples test execut... | null |
sudo-project__sudo__20 | sudo-project/sudo | 20 | defect | 161750fc56f10e1df0332616decbda8cce5994c0 | 84f27cc75326cf8ef013c6bfe9184c7823aade58 | Client/Server Identity validation for the audit server | This PR implements hostname/IP validation in SSL certificates.
- On client side, the server certificate's SAN field (GEN_DNS, GEN_IPADD) or CN field is compared to the server's name/address
- On server side, if tls_checkpeer option is set in sudo_logsrvd.conf, the client's certificate's SAN/CN field is compared to ... | diff --git a/MANIFEST b/MANIFEST
index f775c29e43..acb7a5f6d2 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -79,6 +79,7 @@ include/compat/sha2.h
include/compat/stdbool.h
include/log_server.pb-c.h
include/protobuf-c/protobuf-c.h
+lib/iolog/hostcheck.h
include/sudo_compat.h
include/sudo_conf.h
include/sudo_debug.h
@@ -95... | 7 | 7 | 2 | [{"id": "G0", "claim": "The new files include/hostcheck.h and lib/iolog/hostcheck.c should carry a copyright notice at the top, in the same form as other sudo files but with the current year and the author's name.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
sudo-project__sudo__287 | sudo-project/sudo | 287 | defect | bced0a7786426c662216d9875f0d5e57f858fbfb | e265a7ee26c4a3fc48bd38ea5f81199beba469e3 | Give every printf-like function restrict qualifiers | The format value has to be a string literal, every time.
Otherwise, you are not using these functions correctly. To reinforce this fact, I putrestrict over every non-contrib example of this I could find. | diff --git a/include/sudo_compat.h b/include/sudo_compat.h
index 9361ff4224..856f379f67 100644
--- a/include/sudo_compat.h
+++ b/include/sudo_compat.h
@@ -422,32 +422,32 @@ sudo_dso_public int sudo_futimens(int fd, const struct timespec *times);
# define futimens(_a, _b) sudo_futimens((_a), (_b))
#endif /* HAVE_FUTIM... | 1 | 1 | 1 | [{"id": "G0", "claim": "The return-type changes in lib/eventlog/logwrap.c and the restructured hunks in plugins/sudoers/ldap_util.c (the sudo_ldap_role_to_priv conversion and the sudo_ldap_value_dup reorder) are unrelated to adding restrict qualifiers and should not be part of this PR.", "category": "design", "verdict"... | null |
sudo-project__sudo__37 | sudo-project/sudo | 37 | defect | 982c003b8dd80798bd53ad1ea35bc4d1b5f01da3 | 277d226cf40ec4b7f51850e0d3bee24c3d260d32 | No python interpreter deinit | We only deinit the python interpreters when sudo unlinks our plugin so we can avoid issues with python modules which do not support the interpreter reload use case (eg. datetime.strptime).
Also restores python inittab, so the "sudo" module entry (with the module's init function) can not remain there as garbage (notice... | diff --git a/plugins/python/pyhelpers.c b/plugins/python/pyhelpers.c
index aae1eb0715..d7b48f8483 100644
--- a/plugins/python/pyhelpers.c
+++ b/plugins/python/pyhelpers.c
@@ -63,10 +63,7 @@ _sudo_printf_default(int msg_type, const char *fmt, ...)
struct PythonContext py_ctx = {
- &_sudo_printf_default,
- NUL... | 1 | 1 | 1 | [{"id": "G0", "claim": "_save_inittab() should check for malloc failure and return a value so that _python_plugin_register_plugin_in_py_ctx() can recover on malloc failure.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sudo-project__sudo__40 | sudo-project/sudo | 40 | defect | 5635c22f6b1f007adffbbdc5cabf5ed30b72e914 | 9e9e0c66a4ba39559bfe93527522afebe6b855c5 | Python make things easier | Some improvements to make writing/using python plugins easier:
- "ClassName" became optional and "ModulePath" can be relative as well, so you do not have to write such long line to register a python plugin. Also the possible "ClassName"s will be printed out in the error message to make it easier to choose.
- Pyth... | diff --git a/MANIFEST b/MANIFEST
index 18c35dc7ea..078bcdcd0e 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -318,6 +318,7 @@ plugins/python/pyhelpers_cpychecker.h
plugins/python/python_baseplugin.c
plugins/python/python_convmessage.c
plugins/python/python_importblocker.c
+plugins/python/python_loghandler.c
plugins/python... | 1 | 1 | 1 | [{"id": "G0", "claim": "asprintf() does not set plugin_ctx->plugin_path to NULL on failure, so the return value should be checked and plugin_ctx->plugin_path cleared on failure just to be safe.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sukumo28__vscode-audio-preview__54 | sukumo28/vscode-audio-preview | 54 | defect | 9691397c3f35f068b75d7d0bacb21e60903557d5 | 2c5bd7af6590589eea8864dc15f0eac8b9490e8f | Improve Formatting of Units in Information Table | This pull request introduces changes to enhance the formatting of the units in the information table.
## Purpose of Change
* Improve visibility and readability of the information table.
## Changes
* Numbers are now formatted with commas for thousands and all units are shown in a consistent manner.
![pr_info_... | diff --git a/src/test/webview/ui/infoTableComponent.test.ts b/src/test/webview/ui/infoTableComponent.test.ts
index 13dca6e..f5b9611 100644
--- a/src/test/webview/ui/infoTableComponent.test.ts
+++ b/src/test/webview/ui/infoTableComponent.test.ts
@@ -20,26 +20,26 @@ describe('infoTable', () => {
test('show number ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new duration format is locale-dependent (e.g. '12,3 s' under German), but since Jest runs with 'en-US' the tests will not fail; multi-language display testing would require modification, though it is not currently planned so it is left as is.", "category": "testing", "verdict": "supported", ... | null |
sukumo28__vscode-audio-preview__55 | sukumo28/vscode-audio-preview | 55 | defect | a709a3694b4a1944a33247b59eb92e706a1a1947 | 5ffccdcf34281acb7f049649cd7488185fac12f7 | Improve Player Usability | This pull request introduces changes to enhance player usability.
## Purpose of Change
* To improve player usability.
## Changes
* Add displays for volume and playback position.
* This allows users to easily confirm their current status.
* Moving the volume bar immediately affects the volume, without waiting... | diff --git a/README.md b/README.md
index 8740134..c4ee792 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,32 @@ You can analyze audio automatically when you open it.
"WavPreview.autoAnalyze": true
```
+You can configure default value of player settings like example below.
+```jsonc
+"WavPreview.playerDefault": ... | 5 | 5 | 1 | [{"id": "G0", "claim": "The default value of the volumeUnitDb setting should be false (linear scale) instead of true (dB scale), because dB is unusual in web UI.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In the new playerSettingsService tests, the r... | null |
sukumo28__vscode-audio-preview__61 | sukumo28/vscode-audio-preview | 61 | defect | cddd7405a1d23288a2e035d30f11fcaaa4cfc077 | 85c98120b240bf964c8b5b57b528b2bb9a0a74ee | Feature player filter | This PR introduces a filter function for the player.
## Purpose of Change
* To allow the user to preview the audio more precisely.
* For audio recording use cases, the user can focus on or remove unwanted noise.
* For music listening use cases, the user can focus on a specific instrument or vocal.
## C... | diff --git a/README.md b/README.md
index 1e74766..1a8878e 100644
--- a/README.md
+++ b/README.md
@@ -87,6 +87,41 @@ You can configure default value of player settings like example below.
default: true
*/
"enableSeekToPlay": true,
+
+ /*
+ Enable high-pass filter on playback.
+ true: enable high-... | 6 | 5 | 2 | [{"id": "G0", "claim": "Unify the String() conversion to the ${} template-literal style used elsewhere in the file, since there is no particular reason for the difference.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rename the hpfFrequency/lp... | null |
sumerc__yappi__107 | sumerc/yappi | 107 | defect | 58c876b52740aa7120daa7446543d2f0928b9623 | 73f419c2eb2b557687fdcaf86defdd3284daa153 | Python `3.11` fixes | Fixes https://github.com/sumerc/yappi/issues/104, https://github.com/sumerc/yappi/issues/103.
And add `3.11`to CI. | diff --git a/tests/test_asyncio.py b/tests/test_asyncio.py
index b547674..8e9e631 100644
--- a/tests/test_asyncio.py
+++ b/tests/test_asyncio.py
@@ -5,20 +5,18 @@
from utils import YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io
-@asyncio.coroutine
-def async_sleep(sec):
- yield from asyncio.sleep(sec)
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Python 3.11 should be added to the GitHub Actions CI matrix.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
summer-rs__summer-rs__16 | summer-rs/summer-rs | 16 | defect | 248e2ebc04c539d193f1c6a088ba8436372866c9 | dca119b3ca23455a22dbe5b0435cf16ccbb2dd8a | Integrate OpenDAL | ref: https://github.com/spring-rs/spring-rs/issues/13
- [x] ~Try using the build script dynamic set OpenDAL feature~
- ❌ using `CARGO_RUSTC_CURRENT_DIR` to parse the config file and then get the feature
- ✅ using env specific feature
- ❌ using `rustc-cfg=feature` (all based on this)
> https://doc.rust-lang.o... | diff --git a/Cargo.toml b/Cargo.toml
index ffd327f..1c65462 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,9 +12,10 @@ members = [
"spring-actuator",
"spring-mail",
"examples/*",
+ "spring-opendal"
]
default-members = ["spring", "spring-*"]
-exclude = ["examples/*"]
+exclude = ["/examples"]
[wor... | 4 | 3 | 1 | [{"id": "G0", "claim": "The pull request should also provide documentation for the new spring-opendal plugin.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It is preferable to disable OpenDAL's SQLite support for the time being rather than adding... | null |
summernote__summernote__1632 | summernote/summernote | 1,632 | defect | 8f3297c8c6652fb3e6c4a27d0a77451590168688 | 4615ea7094780c3684c82693770d0013858d3a14 | fixed current color setting | #### What does this PR do?
- fixed setting for current color
#### Where should the reviewer start?
- start on the src/base/Context.js
- src/bs3/module/Buttons.js
#### How should this be manually tested?
- click http://summernote.easylogic.co.kr/tree/bugfix/%231630/
#### Any background context you want to provide?
- t... | diff --git a/plugin/specialchars/summernote-ext-specialchars.js b/plugin/specialchars/summernote-ext-specialchars.js
index 0362e702f..41a08a211 100644
--- a/plugin/specialchars/summernote-ext-specialchars.js
+++ b/plugin/specialchars/summernote-ext-specialchars.js
@@ -241,7 +241,7 @@
return;
... | 2 | 2 | 0 | [{"id": "G0", "claim": "Please remove the `/* jshint unused: false */` line from test/unit/bs3/module/Buttons.spec.js.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Please place a space between `$,` and `bootstrap` in the define callback sign... | null |
summernote__summernote__2474 | summernote/summernote | 2,474 | defect | f84949752f2f37f47eb28904d04173427a717ec0 | 22c998ec0dcb7e53f1e1acbde9a54413c5d2c8d6 | add custom style for style dropdown | #### What does this PR do?
- modify style dropdown for bs4
- apply custom className in formatBlock command
#### Where should the reviewer start?
- start on the src/js/base/module/Editorjs
#### How should this be manually tested?
#### Any background context you want to provide?
- Perhaps we need ... | diff --git a/src/js/base/module/Editor.js b/src/js/base/module/Editor.js
index a647917ca..41c0fec16 100644
--- a/src/js/base/module/Editor.js
+++ b/src/js/base/module/Editor.js
@@ -452,14 +452,26 @@ define([
if (onApplyCustomStyle) {
onApplyCustomStyle.call(this, $target, context, this.onFormatBlock);
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The custom-class logic seems to work only with the bodycontainer type (e.g. blockquote), and if multiple blocks are selected, the className will be applied only to the first block element; hackerwins asks for a test covering multiple paragraphs.", "category": "correctness", "verdict": "supported... | null |
summernote__summernote__2980 | summernote/summernote | 2,980 | defect | 9d0d9dadacb562c4f28014943de7a15997a89ed8 | 7307020f12cd6bb572a8f9dd6237b8717438920b | Use class instead of id for "open in new window" checkbox to avoid duplicate ids | #### What does this PR do?
- Fixes https://github.com/summernote/summernote/issues/2734 by using class instead of id for "open in new window" checkbox to avoid duplicate ids
#### Where should the reviewer start?
- start on the src/js/base/module/LinkDialog.js
#### How should this be manually tested?
- ch... | diff --git a/MAINTAIN.md b/MAINTAIN.md
index 3266849bd..807f8cce1 100644
--- a/MAINTAIN.md
+++ b/MAINTAIN.md
@@ -31,7 +31,6 @@ Publish on npm
```bash
npm publish
```
-```
### 05. Update summernote.github.io
Update summernote version in _config.yml.
diff --git a/src/js/base/Context.js b/src/js/base/Context.js
ind... | 6 | 4 | 1 | [{"id": "G0", "claim": "With the checkbox's id replaced by a class, labels can no longer target the input via their for attribute, so the PR should keep an id as well — e.g. by injecting a random id to separate multiple instances.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
summernote__summernote__3005 | summernote/summernote | 3,005 | defect | a9e3b114ce69c48a39da8ef9fb8c30f006858f75 | 632c924246ec26007a22c447a0e63e0dda41d318 | Fix merge conflict #1574 (for better blockquote breaking) | #### What does this PR do?
- #1410 was fixed by @hackerwins by 4878906
- But #1574 has better options for various usages.
- So I fixed conflicts.
#### Where should the reviewer start?
- start on the `src/js/base/editing/Typing.js`
#### How should this be manually tested?
- Press enter on single or doub... | diff --git a/src/js/base/core/dom.js b/src/js/base/core/dom.js
index 1776187bd..a4b8cb8c2 100644
--- a/src/js/base/core/dom.js
+++ b/src/js/base/core/dom.js
@@ -733,11 +733,17 @@ function fromOffsetPath(ancestor, offsets) {
* @param {Object} [options]
* @param {Boolean} [options.isSkipPaddingBlankHTML] - default: f... | 1 | 1 | 0 | [{"id": "G0", "claim": "The declaration of isSkipPaddingBlankHTML in splitNode should use `let` instead of `var`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
summernote__summernote__3319 | summernote/summernote | 3,319 | defect | cae115aad96bc5a83d3a6b11afb84d15d8482331 | 34d17666f8abbdc9211352680f93dfac80121617 | Add inheritPlaceholder option | #### What does this PR do?
- This adds `inheritPlaceholder`option.
#### Where should the reviewer start?
- `_initialize` of `src/js/base/Context.js`
#### How should this be manually tested?
- Set `inheritPlaceholder` as `true` and put `placeholder` attribute on the original element.
#### What are the ... | diff --git a/src/js/base/Context.js b/src/js/base/Context.js
index 44195e4ab..27c22733d 100644
--- a/src/js/base/Context.js
+++ b/src/js/base/Context.js
@@ -54,6 +54,11 @@ export default class Context {
}
_initialize() {
+ // apply original placeholder
+ if (this.options.inheritPlaceholder && this.$note.a... | 3 | 1 | 1 | [{"id": "G0", "claim": "The PR should not add a new option; it should automatically pick up the placeholder attribute when the placeholder option is not provided.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The placeholder-inheritance logic should liv... | null |
summernote__summernote__3361 | summernote/summernote | 3,361 | defect | 306f70be0a9f14595e8ac0af99ce4823e762895f | 646c85c729716e0bc55e05bd19520f02cc853451 | Resolve #3313 - Add checkbox to use protocol | the original setting that add protocol automatically is usually comfortable.
But this checkbox can allow to use url not including protocol for some cases.
#### What does this PR do?
- add checkbox that allows to use url not including protocol
#### Where should the reviewer start?
- start on the src/summ... | diff --git a/src/js/base/module/Editor.js b/src/js/base/module/Editor.js
index becafba54..607ef2541 100644
--- a/src/js/base/module/Editor.js
+++ b/src/js/base/module/Editor.js
@@ -190,6 +190,7 @@ export default class Editor {
let linkUrl = linkInfo.url;
const linkText = linkInfo.text;
const isNewW... | 2 | 1 | 0 | [{"id": "G0", "claim": "It would be better to pull the hardcoded 'http://' in Editor.js out into settings.js as a configurable option such as defaultLinkProtocol.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "linkInfo does not contain a check... | null |
summernote__summernote__600 | summernote/summernote | 600 | defect | 98d43349d35d08f90e81d9d5b8ba1597ae219d8c | c488609095dfc38d2592b3e96af99cd5a57060ca | Feature/history in a line | I reduced dual undo stack into one with stackOffset.
This patch also fixes wrong bookmark implementation.
And changed recording undo stack timing from 'before modifying text' to 'after modifying text'. The first undo stack is recorded while initiating summernote.
| diff --git a/dist/summernote.js b/dist/summernote.js
index be154f814..a76491a82 100644
--- a/dist/summernote.js
+++ b/dist/summernote.js
@@ -6,7 +6,7 @@
* Copyright 2013 Alan Hong. and outher contributors
* summernote may be freely distributed under the MIT license./
*
- * Date: 2014-09-09T10:33Z
+ * Date: 2014-0... | 5 | 2 | 0 | [{"id": "G0", "claim": "The reviewer asks whether there was a reason for removing `list.initial` from `makeOffsetPath`, noting that `offsetPath` was originally meant to locate the node's position from `ancestor`, which is why `ancestor` was included by `listAncestor` and then stripped.", "category": "correctness", "ver... | null |
summernote__summernote__846 | summernote/summernote | 846 | defect | c0ca913a60d7b1399fc2fcfd602e7824540520b2 | 66c671a54cc99aa1fbf1edc959448f63fa65e32c | #841 fixed web image drag on chrome and firefox | web image is can drag in editor area on chrome and firefox
| diff --git a/dist/summernote.css b/dist/summernote.css
index 1d43fee6b..d429249ae 100644
--- a/dist/summernote.css
+++ b/dist/summernote.css
@@ -1 +1 @@
-.note-editor{position:relative;border:1px solid #a9a9a9}.note-editor .note-dropzone{position:absolute;z-index:1;display:none;color:#87cefa;background-color:white;bord... | 1 | 1 | 1 | [{"id": "G0", "claim": "The changed offset handling in `wrapBodyInlineWithPara` is unexplained and untested, so unit tests should be implemented for this code.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sumup-oss__circuit-ui__1651 | sumup-oss/circuit-ui | 1,651 | defect | 76f22f122ac5cb76e9d2d6d2de1743184fc8f015 | 81b11ca899baf6715a27cb9fd67d5eb5219ae738 | Make all Selectors in a SelectorGroup the same height | Fixes #1582.
## Purpose
Currently, when SelectorGroup items have different amount of text lines, they are rendered with different Height
## Approach and changes
CSS changes in SelectorGroup and Selector components.
### Before
();
diff --git a/packages/circuit-ui/.huskyrc.js b/packages/circuit-ui/.... | 13 | 13 | 5 | [{"id": "G0", "claim": "The new prop should be named `description` instead of `helperText`, to keep the naming consistent with the `description` prop on the Toggle and Selector components.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "All Foundry-relate... | null |
sumup-oss__circuit-ui__2655 | sumup-oss/circuit-ui | 2,655 | defect | dc091d4b3911c8521d8c1d5af3e2118ba8d725e7 | 8777b4ddb19df5f5133997ba82d236a4b217b197 | feat(circuit-ui): Add experimental ColorInput component | [Work in progress]
Add experimental `ColorInput` component.
<img width="333" alt="Screenshot 2024-08-23 at 09 33 54" src="https://github.com/user-attachments/assets/27d64aa5-4bf9-4c25-a629-d9ed642cf581">
<img width="295" alt="Screenshot 2024-08-23 at 09 34 10" src="https://github.com/user-attachments/assets/4e... | diff --git a/packages/circuit-ui/components/ColorInput/ColorInput.mdx b/packages/circuit-ui/components/ColorInput/ColorInput.mdx
new file mode 100644
index 0000000000..b852fba8c8
--- /dev/null
+++ b/packages/circuit-ui/components/ColorInput/ColorInput.mdx
@@ -0,0 +1,13 @@
+import { Meta, Status, Props, Story } from '..... | 2 | 2 | 0 | [{"id": "G0", "claim": "The useEffect that sets the color display's background color is redundant because the color is already applied as an inline style, and a better approach should be found.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documenta... | null |
sumup-oss__circuit-ui__2687 | sumup-oss/circuit-ui | 2,687 | defect | 9d3ce2e7a23d98518be36fc8da82e4bd55c878f7 | d8364e090f7ee4d1d27212714eea0419e7def043 | fix(circuit-ui): ColorInput paste and change events | Improve ColorInput, specifically:
- handle default value and value props properly
- ensure color picker and hex color input are always synchronized
- handle properly paste events with hex color
| diff --git a/.changeset/beige-planes-shave.md b/.changeset/beige-planes-shave.md
new file mode 100644
index 0000000000..bc3e15fc50
--- /dev/null
+++ b/.changeset/beige-planes-shave.md
@@ -0,0 +1,5 @@
+---
+"@sumup/circuit-ui": patch
+---
+
+Fix event and values handling for the experimental ColorInput component.
diff -... | 7 | 6 | 2 | [{"id": "G0", "claim": "By convention the changeset description should use past tense ('Fixed' instead of 'Fix').", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "userEvent should be imported from the project test-utils module ('../../util/test-util... | null |
sumup-oss__circuit-ui__2737 | sumup-oss/circuit-ui | 2,737 | defect | 70f3ab80d460b06fb58c812a2b075c24631a62d4 | e0f520e62adcc9336cd3da174d9f218d2168884f | Safely access environment variables | ## Purpose
Vite throws an error when accessing environment variables on `process` (except for `process.env.NODE_ENV` which is treated as a special case).
I tried to add support for `import.meta.env` as a fallback for `process.env`, however, Vite replaces it and inlines the environment variables when building Circ... | diff --git a/.changeset/chilly-scissors-remember.md b/.changeset/chilly-scissors-remember.md
new file mode 100644
index 0000000000..16a34568d4
--- /dev/null
+++ b/.changeset/chilly-scissors-remember.md
@@ -0,0 +1,5 @@
+---
+"@sumup-oss/circuit-ui": patch
+---
+
+Fixed safely accessing environment variables in environme... | 1 | 1 | 0 | [{"id": "G0", "claim": "The function should be named `getEnvVariable` instead of `getEnv`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sumup-oss__circuit-ui__2822 | sumup-oss/circuit-ui | 2,822 | defect | 36f621746eb60d9a7912528b5b41b1c98b22f82e | b5be0df0f8689bb97dc2f8022d350825f63537e3 | Add Timestamp component | Addresses [DSCB-33](https://sumupteam.atlassian.net/browse/DSCB-33).
## Purpose
We often display time stamps to users to communicate when an event took place. New web APIs such as the [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) and ... | diff --git a/package-lock.json b/package-lock.json
index 810e2b8ec8..d342b504f9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -41674,7 +41674,7 @@
},
"packages/circuit-ui": {
"name": "@sumup-oss/circuit-ui",
- "version": "9.3.2",
+ "version": "9.4.0",
"license": "Apache-2.0",
"dependen... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new Timestamp props are declared with placeholder 'TODO: Write description' doc comments instead of real descriptions.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The stories build their datetimes from Temporal.Now, ... | null |
sumup-oss__circuit-ui__2906 | sumup-oss/circuit-ui | 2,906 | defect | cd7ebc13a9176620aa7c73bb4edfd01f11799c49 | 65890eacd7c5c82a146708aa01d8b800b8f90812 | Remove profile menu | Addresses [DSYS-909](https://sumupteam.atlassian.net/browse/DSYS-909)
## Purpose
The `profileMenu` prop was deprecated in [v8.6](https://github.com/sumup-oss/circuit-ui/blob/main/packages/circuit-ui/CHANGELOG.md#860) in favour of passing custom components to the `links` prop of the TopNavigation.
## Approach a... | diff --git a/.changeset/angry-ears-train.md b/.changeset/angry-ears-train.md
new file mode 100644
index 0000000000..867f3fa3b4
--- /dev/null
+++ b/.changeset/angry-ears-train.md
@@ -0,0 +1,5 @@
+---
+"@sumup-oss/circuit-ui": minor
+---
+
+Removed the deprecated `profileMenu` prop from the TopNavigation component.
diff ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `user` prop, which was only used for the profile menu, should be removed from TopNavigation as well.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
sumup-oss__circuit-ui__2985 | sumup-oss/circuit-ui | 2,985 | defect | e6a7322e2eb453e8bd42c39e9626776c3adca229 | f4ff8f6f012903c080cb104a4d92f7395c6ec5ed | fix keyboard interaction bug for the rows of the Table component | Addresses [DSYS-977](https://sumupteam.atlassian.net/browse/DSYS-977)
## Description
There are interactive table rows that receive focus when navigating the page using a keyboard. However, it cannot be
activated using Enter or Space.
As such, keyboard users may not be able to operate those interactive elements.
... | diff --git a/.changeset/poor-peas-hunt.md b/.changeset/poor-peas-hunt.md
new file mode 100644
index 0000000000..4009368cfb
--- /dev/null
+++ b/.changeset/poor-peas-hunt.md
@@ -0,0 +1,5 @@
+---
+"@sumup-oss/circuit-ui": patch
+---
+
+Fixed a bug on the Table component to allow table rows to be activated using Enter or S... | 1 | 1 | 1 | [{"id": "G0", "claim": "The keyboard test should pass the key from the it.each test matrix to userEvent.keyboard instead of the hard-coded '{Enter}', so the space case actually presses Space.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sumup-oss__circuit-ui__2988 | sumup-oss/circuit-ui | 2,988 | defect | 6281a897e4f0d03d30e250ed10149d360cda9fda | 08d7182c7978bd3d5618344cf64ce555342af7bd | Improve accessibility of the Anchor component for external links | Addresses [DSYS-978](https://sumupteam.atlassian.net/browse/DSYS-978)
## Purpose
There are link elements that would open a new browser window on the page. However, the link elements lack a visual cue and state to communicate the behaviour. Users may not be aware and may be disoriented when the window context chan... | diff --git a/.changeset/gentle-seahorses-press.md b/.changeset/gentle-seahorses-press.md
new file mode 100644
index 0000000000..e1fd238a52
--- /dev/null
+++ b/.changeset/gentle-seahorses-press.md
@@ -0,0 +1,5 @@
+---
+"@sumup-oss/circuit-ui": minor
+---
+
+Added two new props `isExternal` and `externalLabel` to the An... | 3 | 3 | 2 | [{"id": "G0", "claim": "The separate `isExternal` prop is unnecessary — the presence of `target=\"_blank\"` or the `externalLabel` prop (or a check for `rel=\"external\"`) should be enough to identify a link as external — so the prop should be removed.", "category": "design", "verdict": "supported", "priority": "P1", "... | null |
sumup-oss__circuit-ui__3011 | sumup-oss/circuit-ui | 3,011 | defect | 83f549ce45ab79a5b82fdf78134c2da738aaae5b | 891fb066060185544e04133ae6a2a8d3cf91c028 | remove isExternal prop from SideNavigation | Addresses [DSYS-1002](https://sumupteam.atlassian.net/browse/DSYS-1002)
## Purpose
Simplify the API of PrimaryLinks of the SideNavigation component when handling external links.
## Approach and changes
- Remove isExternalprop and rely on the externalLabel along with the target/rel properties to handle exte... | diff --git a/.changeset/happy-carrots-vanish.md b/.changeset/happy-carrots-vanish.md
new file mode 100644
index 0000000000..34a26bf245
--- /dev/null
+++ b/.changeset/happy-carrots-vanish.md
@@ -0,0 +1,5 @@
+---
+"@sumup-oss/circuit-ui": major
+---
+
+Updated the Anchor and the SideNavigation components to throw an acce... | 2 | 2 | 0 | [{"id": "G0", "claim": "The changeset's last line is a stray ``` fence and its text should be rewritten to name SideNavigation, as the suggestion block proposes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Three rogue backticks remain at the en... | null |
sumup-oss__circuit-ui__3274 | sumup-oss/circuit-ui | 3,274 | defect | f93dac63f473439566fa32d30cf1007af9b43c34 | f7b1dd5b8ed156a037de87e28628b4a573820045 | Tabs redesign | Addresses [DSYS-1160](https://sumupteam.atlassian.net/browse/DSYS-1160)
## Purpose
The current tab component lacks a consistent visual treatment according to our current design language and in light of the new dashboard navigation we would like to improve how it looks so that it fits visually into the new layout.... | diff --git a/.changeset/hip-phones-sleep.md b/.changeset/hip-phones-sleep.md
new file mode 100644
index 0000000000..2630d0fb72
--- /dev/null
+++ b/.changeset/hip-phones-sleep.md
@@ -0,0 +1,5 @@
+---
+"@sumup-oss/circuit-ui": minor
+---
+
+Updated the styles of the Tabs component to align with the updated design system ... | 5 | 4 | 4 | [{"id": "G0", "claim": "The tab list's bottom border is 2px tall but the Figma design specifies 1px, so it should use var(--cui-border-width-kilo).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The glider indicator sits at bottom: 0, i.e. on top of... | null |
sundowndev__phoneinfoga__1072 | sundowndev/phoneinfoga | 1,072 | defect | d7e6e849762d92885fae1c38b5454b7c8e357003 | 94ee66776091e3e4d4c871b2a66184ad9b4f5dd1 | Update the request for numverify scan | Previously, the API endpoint to perform a numverify scan was as follows.
```javascript
GET https://apilayer.net/api/validate?access_key=access_key&number=phone_number
```
This has been changed to the following.
```javascript
GET https://api.apilayer.com/number_verification/validate?number=phone_number
apikey: ... | diff --git a/lib/remote/suppliers/numverify.go b/lib/remote/suppliers/numverify.go
index 7558165e4..0c7e4867a 100644
--- a/lib/remote/suppliers/numverify.go
+++ b/lib/remote/suppliers/numverify.go
@@ -4,9 +4,10 @@ import (
"encoding/json"
"errors"
"fmt"
- "github.com/sirupsen/logrus"
"net/http"
"os"
+
+ "gith... | 2 | 2 | 2 | [{"id": "G0", "claim": "The tests still need to be updated for this change (the reviewer asks the author to fix the tests before merging).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The tests should match the header key as \"Apikey\" (capital A), be... | null |
sundowndev__phoneinfoga__1196 | sundowndev/phoneinfoga | 1,196 | defect | 77baa695ce8f67a7c19882031f17c460f74d33e7 | be05cde1186097b61d1bef486e47b0da08bf4258 | Add error to printed message when plugin fails to open | When a plugin fails to open, print the error from the open call to aid in debugging why your custom scanner wont work. | diff --git a/lib/remote/scanner.go b/lib/remote/scanner.go
index 465ef009d..5532eef0f 100644
--- a/lib/remote/scanner.go
+++ b/lib/remote/scanner.go
@@ -2,9 +2,10 @@ package remote
import (
"fmt"
- "github.com/sundowndev/phoneinfoga/v2/lib/number"
"os"
"plugin"
+
+ "github.com/sundowndev/phoneinfoga/v2/lib/num... | 1 | 1 | 1 | [{"id": "G0", "claim": "The tests in scanner_test.go must be updated as well, since the PR changed the error message that Test_ValidatePlugin_Errors asserts.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
sunfishcode__mustang__64 | sunfishcode/mustang | 64 | defect | fe8c262b76fbfcce63507fe7c0c4d434902e1400 | db871b95ef5270534347e7bdacde9d2ee1a08712 | restore unwinding support for aarch64 and riscv64 | the version of `gimli` needed has been released and `unwinding` has been updated to use it | diff --git a/c-scape/src/lib.rs b/c-scape/src/lib.rs
index 6dc86aa8..29877405 100644
--- a/c-scape/src/lib.rs
+++ b/c-scape/src/lib.rs
@@ -12,8 +12,7 @@ mod use_libc;
mod data;
mod error_str;
// Unwinding isn't supported on 32-bit arm yet.
-// On aarch64 and riscg64 unwinding currently depends on a pre-release gimli... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `unwinding` dependency in mustang/Cargo.toml should reference a newer version number, so the build is sure to pull in the crate version carrying the updated gimli.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sunfishcode__mustang__65 | sunfishcode/mustang | 65 | defect | fe8c262b76fbfcce63507fe7c0c4d434902e1400 | 4216905e476db34c1d15a9e13c55586a1d04de25 | Add tests for process | fixes #34, since this is the last step mentioned.
the cause of the failure in `smoke_failure` and `test_process_output_fail_to_start` is unrelated to mustang, wriiten https://github.com/rust-lang/rust/issues/90825 for that
it also seems that test commands that don't include `--target=specs/x86_64-mustang-linux-g... | diff --git a/README.md b/README.md
index aac59074..d43d80b8 100644
--- a/README.md
+++ b/README.md
@@ -110,7 +110,6 @@ set the environment variable `CC_i686-mustang-linux-gnu` to
Known limitations in `mustang` include:
- - Support for spawning processes (`std::process::*`) is not implemented yet ([#34]).
- No su... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a reference to rust-lang/rust#90825 to the NOTE(mustang) comment on the smoke_failure test, and to the one on test_process_output_fail_to_start below.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sunng87__handlebars-rust__577 | sunng87/handlebars-rust | 577 | defect | 27a9a9a1ee015056a3f803b28f4b1d1e68f048de | b81328840634eba80e7344677a5592830a6e7fca | Fix parameter passing for single-quoted string literals | Addresses issue https://github.com/sunng87/handlebars-rust/issues/575.
I added some more checks to the `test_string_no_escape_422` function, because it seemed to be testing closely related behavior. But if you want I could put them in a new `575` function instead. | diff --git a/src/template.rs b/src/template.rs
index 8cffb9297..45aa2c7ce 100644
--- a/src/template.rs
+++ b/src/template.rs
@@ -288,11 +288,26 @@ impl Template {
Parameter::Path(Path::new(param_span.as_str(), path_segs))
}
Rule::literal => {
- let s = param_spa... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `unwrap()` on `Json::from_str(&double_quoted)` could panic, so a TemplateError should be raised instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sunng87__handlebars-rust__654 | sunng87/handlebars-rust | 654 | defect | 3504412d70b2f7f3dc609a09e9333402429ab2b5 | 16109f659582510d2a46072933106b731332eec8 | Fix indent v2 | This is my second attempt at fixing the more involved indenting issues first brought up in #650 .
It turns out that the `Indent` node is simply not powerful enough to handle all cases :(.
We will unfortunately have to dynamically track whether a partial ended on a newline or not.
This PR does exactly that.
He... | diff --git a/src/helpers/mod.rs b/src/helpers/mod.rs
index 36c491691..7968dfb4f 100644
--- a/src/helpers/mod.rs
+++ b/src/helpers/mod.rs
@@ -3,7 +3,7 @@ use crate::error::{RenderError, RenderErrorReason};
use crate::json::value::ScopedJson;
use crate::output::Output;
use crate::registry::Registry;
-use crate::render... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new `indent_before_write` fields on `HelperTemplate` and `DecoratorTemplate` should not be fully public; make them private or crate-visible.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The merged indentation fix still leave... | null |
sunnypilot__sunnypilot__1026 | sunnypilot/sunnypilot | 1,026 | defect | cdf990c1b11ba87f1ec357e92bdbb29bbe2ac3f9 | 0f76670b5887b66d4f980fe88e58820304330821 | DEC: Kalman and the Magic Mode Switcheroo | This PR brings the magic of Kalman filtering to the mode switching party! Now with super-smooth signal wizardry and a snazzy mode transition manager, the DEC can elegantly dance between 'acc' and 'blended' modes without tripping over noisy data or sudden stops.
Expect less flapping, smarter urgency detection, and em... | diff --git a/sunnypilot/selfdrive/controls/lib/dec/constants.py b/sunnypilot/selfdrive/controls/lib/dec/constants.py
index 48f4203e934..d0708ab8e84 100644
--- a/sunnypilot/selfdrive/controls/lib/dec/constants.py
+++ b/sunnypilot/selfdrive/controls/lib/dec/constants.py
@@ -1,25 +1,23 @@
class WMACConstants:
- LEAD_WIN... | 1 | 1 | 0 | [{"id": "G0", "claim": "The commented-out alternative tuning curves for the slow down distance breakpoints in WMACConstants should be removed from constants.py.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sunnypilot__sunnypilot__1197 | sunnypilot/sunnypilot | 1,197 | defect | 43c12ae7b3106e668efd41a7c306d0e8c7f816e8 | ae5f4fcc647baddddfe8efdf5f002fc096f21b30 | modeld_v2: desire rename and add many parts from thneed modeld | ...
## Summary by Sourcery
Centralize and automate model metadata management, rename and generalize desire input handling, and enhance buffer update logic and coverage in tests
New Features:
- Add MODEL_METADATA lookup module with CLI tools for parsing and inserting model metadata
Enhancements:
- Introduce FrameMet... | diff --git a/sunnypilot/modeld_v2/model_metadata_lookup.py b/sunnypilot/modeld_v2/model_metadata_lookup.py
new file mode 100644
index 00000000000..91a03b9307c
--- /dev/null
+++ b/sunnypilot/modeld_v2/model_metadata_lookup.py
@@ -0,0 +1,310 @@
+"""
+Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other cont... | 7 | 4 | 0 | [{"id": "G0", "claim": "The inline comment on the `continue` line should use proper spacing (a single space before the `#`) for consistency.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `key == 'desire' or key.startswith('desire')` conditi... | null |
sunnypilot__sunnypilot__1411 | sunnypilot/sunnypilot | 1,411 | defect | c85b6a0d1c62537fd7e8341d7cf884deb359f504 | 78b209821b8731b1cf1b5133c4799fe21fee1a9e | version: a new beginning | <!-- Please copy and paste the relevant template -->
<!--- ***** Template: Fingerprint *****
**Car**
Which car (make, model, year) this fingerprint is for
**Route**
A route with the fingerprint
-->
<!--- ***** Template: Car Bugfix *****
**Description**
A description of the bug and the fix. Also l... | diff --git a/.github/workflows/sunnypilot-build-prebuilt.yaml b/.github/workflows/sunnypilot-build-prebuilt.yaml
index 00ae1e28bf5..f7719709aec 100644
--- a/.github/workflows/sunnypilot-build-prebuilt.yaml
+++ b/.github/workflows/sunnypilot-build-prebuilt.yaml
@@ -79,7 +79,7 @@ jobs:
is_stable_branch="$(ec... | 15 | 14 | 1 | [{"id": "G0", "claim": "The changelog's list of temporarily disabled features should also account for the speedometer-hiding feature, which is still allowed though not in its previous form, and the author says they will not tackle this until after the raylib rewrite.", "category": "documentation", "verdict": "uncertain... | null |
sunnypilot__sunnypilot__1494 | sunnypilot/sunnypilot | 1,494 | defect | bea05d4624671927b7e1a203e4daa0eb6d5b74a3 | f2b8714776db1d4fa4e7d0e4d08d47e646e9b380 | ui: sunnylink panel | <img width="1397" height="730" alt="image" src="https://github.com/user-attachments/assets/e8a05337-c3af-4c6b-816d-d97228371d81" /> | diff --git a/selfdrive/ui/sunnypilot/layouts/settings/sunnylink.py b/selfdrive/ui/sunnypilot/layouts/settings/sunnylink.py
index b1e12c17ab9..f3062994713 100644
--- a/selfdrive/ui/sunnypilot/layouts/settings/sunnylink.py
+++ b/selfdrive/ui/sunnypilot/layouts/settings/sunnylink.py
@@ -4,27 +4,324 @@
This file is part o... | 8 | 6 | 3 | [{"id": "G0", "claim": "The panel is missing the texts at the top reminding that a sponsorship is not required to back up or restore.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sunnylink panel uses the wrong icon; it should be the wifi one.", "ca... | null |
sunnypilot__sunnypilot__1591 | sunnypilot/sunnypilot | 1,591 | defect | 5578b7e7540e194b36e78a8033aa7964875d3af7 | b96f682cf182d14bf4ab9e231dc7c824b74712c7 | sunnylink: block remote modification of SSH key parameters | This PR introduces an security safeguard to the `saveParams` method sunnylink uses. The main change prevents certain sensitive parameters from being remotely modified, helping to protect against unauthorized access.
### Security improvements:
* Added a `BLOCKED_PARAMS` set to the `saveParams` method to block remo... | diff --git a/sunnypilot/sunnylink/athena/sunnylinkd.py b/sunnypilot/sunnylink/athena/sunnylinkd.py
index 3aeacf6a397..b97e5af3a6b 100755
--- a/sunnypilot/sunnylink/athena/sunnylinkd.py
+++ b/sunnypilot/sunnylink/athena/sunnylinkd.py
@@ -247,7 +247,17 @@ def getParams(params_keys: list[str], compression: bool = False) -... | 4 | 2 | 1 | [{"id": "G0", "claim": "Consider moving BLOCKED_PARAMS to module level as a constant, consistent with other constants in this file, instead of recreating the set on every saveParams call.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider a... | null |
sunnypilot__sunnypilot__1693 | sunnypilot/sunnypilot | 1,693 | defect | 4bd60cd3cd0743c4fac042c8b0461e20823655ea | ad1d362e963a53d445340742914084290c777e94 | Controls: Support for Torque Lateral Control v0 Tune | <!-- Please copy and paste the relevant template -->
<!--- ***** Template: Fingerprint *****
**Car**
Which car (make, model, year) this fingerprint is for
**Route**
A route with the fingerprint
-->
<!--- ***** Template: Car Bugfix *****
**Description**
A description of the bug and the fix. Also l... | diff --git a/common/params_keys.h b/common/params_keys.h
index dba07422683..cb2c787837b 100644
--- a/common/params_keys.h
+++ b/common/params_keys.h
@@ -268,6 +268,8 @@ inline static std::unordered_map<std::string, ParamKeyAttributes> keys = {
{"EnforceTorqueControl", {PERSISTENT | BACKUP, BOOL}},
{"LiveTorqu... | 2 | 1 | 1 | [{"id": "G0", "claim": "initialize_lateral_control fetches TorqueControlTuneVersions (a dict param) and compares it against 0.0 instead of the user-selected float stored in TorqueControlTune, so the comparison always fails and the v0 torque controller can never be initialized.", "category": "correctness", "verdict": "s... | null |
sunnypilot__sunnypilot__1717 | sunnypilot/sunnypilot | 1,717 | defect | 082cf39d736ad10a10ca33c7ba3f01f12e0a9f00 | ad7c84f3dbcb550e627c4dd2448a7fdb756beee8 | soundd: trigger timeout warning during MADS lateral-only | Found this while investigating the `steer_limited_by_safety` MADS gate issue in #1716 — similar pattern where a check assumes `selfdriveState.enabled` covers all active steering scenarios, but misses MADS lateral-only mode.
## What's happening
`soundd` plays a `warningImmediate` alert if `selfdriveState` messages sto... | diff --git a/selfdrive/ui/soundd.py b/selfdrive/ui/soundd.py
index c41fec2676b..8bac6a718f2 100644
--- a/selfdrive/ui/soundd.py
+++ b/selfdrive/ui/soundd.py
@@ -65,7 +65,7 @@ def check_selfdrive_timeout_alert(sm):
ss_missing = time.monotonic() - sm.recv_time['selfdriveState']
if ss_missing > SELFDRIVE_STATE_TIM... | 2 | 2 | 2 | [{"id": "G0", "claim": "The test file should include a test case for MADS lateral-only mode (selfdriveState.enabled False but selfdriveStateSP.mads active) to verify the timeout warning triggers in that scenario.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl... | null |
sunnypilot__sunnypilot__598 | sunnypilot/sunnypilot | 598 | defect | 837eea06a4a33f0b962a29a0be6ede3270821f6b | 3ca254a24db65a1c3df9e23fabd9d0ed46906b9e | Events: Migrate sunnypilot onroad events to its own cereal | <!-- Please copy and paste the relevant template -->
<!--- ***** Template: Fingerprint *****
**Car**
Which car (make, model, year) this fingerprint is for
**Route**
A route with the fingerprint
-->
<!--- ***** Template: Car Bugfix *****
**Description**
A description of the bug and the fix. Also l... | diff --git a/cereal/custom.capnp b/cereal/custom.capnp
index f95e0bf810f..f288c374e0c 100644
--- a/cereal/custom.capnp
+++ b/cereal/custom.capnp
@@ -10,6 +10,28 @@ $Cxx.namespace("cereal");
# DO rename the structs
# DON'T change the identifier (e.g. @0x81c2f05a394cf4af)
+struct OnroadEventSP {
+ name @0 :EventName... | 7 | 1 | 0 | [{"id": "G0", "claim": "Merge the nested if conditions around the events_sp.add calls in sunnypilot/mads/mads.py update_events (the silentLkasEnable, lkasEnable and manualLongitudinalRequired blocks).", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"... | null |
sunnypilot__sunnypilot__617 | sunnypilot/sunnypilot | 617 | defect | c392b2b26955561852f93c10cbc5b38526df92f9 | c44d78ab193341aea106aad232dcde2a03e7fd3a | ui: Vehicle panel in settings | <!-- Please copy and paste the relevant template -->
<!--- ***** Template: Fingerprint *****
**Car**
Which car (make, model, year) this fingerprint is for
**Route**
A route with the fingerprint
-->
<!--- ***** Template: Car Bugfix *****
**Description**
A description of the bug and the fix. Also l... | diff --git a/.github/workflows/ui_preview.yaml b/.github/workflows/ui_preview.yaml
index 140240dc9ce..8a017536878 100644
--- a/.github/workflows/ui_preview.yaml
+++ b/.github/workflows/ui_preview.yaml
@@ -86,7 +86,7 @@ jobs:
run: >-
sudo apt-get install -y imagemagick
- scenes="homescreen... | 4 | 1 | 1 | [{"id": "G0", "claim": "VehiclePanel is an empty widget; add a basic QVBoxLayout structure (following panels like TripsPanel) and implement panel functionality before requesting review.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The setup_settings_ve... | null |
sunnypilot__sunnypilot__623 | sunnypilot/sunnypilot | 623 | defect | 3abe1c9168463be68257a472b04a7c1496e5fc12 | c5a7a558328669617106e4a3d920272cf7a7d655 | ui: Display default driving model name | <!-- Please copy and paste the relevant template -->
<!--- ***** Template: Fingerprint *****
**Car**
Which car (make, model, year) this fingerprint is for
**Route**
A route with the fingerprint
-->
<!--- ***** Template: Car Bugfix *****
**Description**
A description of the bug and the fix. Also l... | diff --git a/common/model.h b/common/model.h
new file mode 100644
index 00000000000..4444601f339
--- /dev/null
+++ b/common/model.h
@@ -0,0 +1 @@
+#define DEFAULT_MODEL "Notre Dame (Default)"
diff --git a/selfdrive/ui/sunnypilot/qt/offroad/settings/software_panel.cc b/selfdrive/ui/sunnypilot/qt/offroad/settings/softwar... | 2 | 1 | 0 | [{"id": "G0", "claim": "The RuntimeError raised in get_git_ref should use `from e` so it explicitly chains from the CalledProcessError.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default model name should be moved to a configuration file... | null |
sunnypilot__sunnypilot__628 | sunnypilot/sunnypilot | 628 | defect | 977b164dd3f171c67193dd08f31c73bf2a917be5 | 353e5801498ca1763e856dbf5588941d56499591 | MADS: Properly handle gear events | <!-- Please copy and paste the relevant template -->
<!--- ***** Template: Fingerprint *****
**Car**
Which car (make, model, year) this fingerprint is for
**Route**
A route with the fingerprint
-->
<!--- ***** Template: Car Bugfix *****
**Description**
A description of the bug and the fix. Also l... | diff --git a/sunnypilot/mads/mads.py b/sunnypilot/mads/mads.py
index 5846dc4fda0..5699f6945e8 100644
--- a/sunnypilot/mads/mads.py
+++ b/sunnypilot/mads/mads.py
@@ -111,7 +111,7 @@ def replace_event(old_event: int, new_event: int):
transition_paused_state()
if not (self.pause_lateral_on_brake_toggle... | 5 | 1 | 0 | [{"id": "G0", "claim": "The nested if conditions in the silent-LKAS branch of MADS should be merged into a single condition so the paused-state check is not nested.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The state machine tests should ... | null |
sunnypilot__sunnypilot__721 | sunnypilot/sunnypilot | 721 | defect | e15974345bd41b6f9577afc03cc670280275a0b3 | 27ff521d68462b2c93b6eb299a24a8efbf589b7c | car: abstract sunnypilot interfaces | Method abstracting radar tracks in interfaces.py. This makes the code more maintainable for future implementations to this file
## Summary by Sourcery
Refactor and abstract radar track initialization methods in the car interfaces module to improve code maintainability
New Features:
- Added separate methods for initi... | diff --git a/sunnypilot/selfdrive/car/interfaces.py b/sunnypilot/selfdrive/car/interfaces.py
index cd0d0780360..f17c9e514df 100644
--- a/sunnypilot/selfdrive/car/interfaces.py
+++ b/sunnypilot/selfdrive/car/interfaces.py
@@ -47,7 +47,7 @@ def initialize_neural_network_lateral_control(CP: structs.CarParams, CP_SP: stru
... | 4 | 2 | 0 | [{"id": "G0", "claim": "The name 'initialize_radar_tracks' is inconsistent with the file's other initialization functions and ambiguous next to 'enable_radar_tracks'; consider renaming it (e.g. 'configure_radar_tracks') to emphasize that it configures radar track parameters.", "category": "maintainability", "verdict": ... | null |
sunnypilot__sunnypilot__826 | sunnypilot/sunnypilot | 826 | defect | 4c8ed8030447948d33e3178b112d73009f14afb5 | 987aa55bc0465195a9caf759f823f582eafa17c5 | bugfix: Auto lane change - Add mode to disable lane changes | @sourcery-ai
## Summary by Sourcery
Add a mode to disable auto lane changes completely
New Features:
- Introduce an OFF mode for auto lane changes that prevents any automatic lane change from being initiated
Enhancements:
- Extend the AutoLaneChangeController to support a new mode that completely prevents lane chan... | diff --git a/selfdrive/controls/lib/desire_helper.py b/selfdrive/controls/lib/desire_helper.py
index 34ea4ff1bb6..8401a80c7b0 100644
--- a/selfdrive/controls/lib/desire_helper.py
+++ b/selfdrive/controls/lib/desire_helper.py
@@ -1,7 +1,7 @@
from cereal import log
from openpilot.common.conversions import Conversions a... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add a test to the Auto Lane Change test suite verifying that auto lane change is never allowed when AutoLaneChangeMode is OFF.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Move the OFF-mode check into desire_helper's top-level ... | null |
sunnypilot__sunnypilot__889 | sunnypilot/sunnypilot | 889 | defect | 5c9ce2a042a20d4c058525bc73b00045fb947921 | 3bd8b8f106b780ec3b05b9b429e2c5fe27da5a19 | Longitudinal: Custom ACC setpoint increments support | ## Summary by Sourcery
Enable customizable ACC speed adjustment increments by adding new settings, UI controls, helper logic, and corresponding tests.
New Features:
- Allow users to configure custom short and long press increments for adaptive cruise (ACC) speed adjustments
- Add toggle and numeric controls for... | diff --git a/cereal/custom.capnp b/cereal/custom.capnp
index 10fc83eb013..9a35300d6c8 100644
--- a/cereal/custom.capnp
+++ b/cereal/custom.capnp
@@ -152,6 +152,7 @@ struct CarParamsSP @0x80ae746ee2596b11 {
safetyParam @1 : Int16; # flags for sunnypilot's custom safety flags
neuralNetworkLateralControl @2 :Neur... | 6 | 6 | 3 | [{"id": "G0", "claim": "Add logic to disable the custom ACC toggle when openpilot longitudinal control is not enabled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Drop the new cereal definitions (CustomAccControl in cereal/custom.capnp) and inste... | null |
sunnypilot__sunnypilot__919 | sunnypilot/sunnypilot | 919 | defect | 5c9ce2a042a20d4c058525bc73b00045fb947921 | 543c0050cee286f16f87333dacfb92c0a338d2b7 | ui: visuals panel | ## Summary by Sourcery
New Features:
- Introduce a new Visuals panel in the offroad settings menu with a placeholder layout | diff --git a/selfdrive/assets/offroad/icon_visuals.png b/selfdrive/assets/offroad/icon_visuals.png
new file mode 100644
index 00000000000..3cc9c3b1454
--- /dev/null
+++ b/selfdrive/assets/offroad/icon_visuals.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3ecaac6fb687fcab3300d1fe2dfea96fb49... | 4 | 3 | 1 | [{"id": "G0", "claim": "Remove the placeholder list-widget/layout scaffolding from VisualsPanel; it can be added back as widgets are added.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer left an image-only comment on visuals_panel.h... | null |
sunnypilot__sunnypilot__956 | sunnypilot/sunnypilot | 956 | defect | 21b86c4f2b503c7f40833f048c62844a51ebfb34 | e1d0b9dc6c0e56cbaa019455c9ff350ff650542c | ui: models panel | ## Summary by Sourcery
Add a new Models panel to the offroad settings UI, wiring up the stub widget in the menu with its icon, update the build to include the new panel source and asset, and adjust UI tests to cover the new panel and revised layout coordinates.
New Features:
- Add a stub ModelsPanel widget for the ne... | diff --git a/selfdrive/ui/sunnypilot/SConscript b/selfdrive/ui/sunnypilot/SConscript
index d189751843f..b5d18c5b916 100644
--- a/selfdrive/ui/sunnypilot/SConscript
+++ b/selfdrive/ui/sunnypilot/SConscript
@@ -24,6 +24,7 @@ qt_src = [
"sunnypilot/qt/offroad/settings/lateral_panel.cc",
"sunnypilot/qt/offroad/settin... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new models_panel.cc should end with a trailing newline (removing the redundant blank line at the end), per the reviewer's suggestion.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
sunpy__ablog__121 | sunpy/ablog | 121 | defect | e3967f6f9b22d538554a35337d6733b28ece5d85 | 4ba2d51f4aef09f5f3caa998ba332dc3ff6b7b34 | add classes to post elements | ### Description
It's difficult to get consistent styling between `.. postlist::` and the archive pages. This PR adds classes to each part of a post to help with styling.
There was also a difference between how `.. postlist::` rendered the expand vs the archive pages. The archive now follows `.. postlist::` | diff --git a/ablog/blog.py b/ablog/blog.py
index b6b39f2f..2f768230 100644
--- a/ablog/blog.py
+++ b/ablog/blog.py
@@ -435,8 +435,11 @@ def to_html(self, pagename, fulltext=False, drop_h1=True):
else:
doctree.append(deepcopy)
else:
+ excerpt_container = nodes.container(... | 2 | 2 | 1 | [{"id": "G0", "claim": "The PR's new post-element classes changed the rendered postlist HTML, so the expected string in test_postlist_date_format_conf needs updating or the test fails.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The long single-line ... | null |
sunpy__ablog__299 | sunpy/ablog | 299 | defect | c17d644a8cd255bff3ed652595acf1d67e84ed9a | 6622e319a0afe9fbaec1a18b1d8f78a505df273d | Ablog is NOT safe for parallel read | ## PR Description
fixes #297 | diff --git a/roots/test-parallel/conf.py b/roots/test-parallel/conf.py
new file mode 100644
index 00000000..9fefc4cd
--- /dev/null
+++ b/roots/test-parallel/conf.py
@@ -0,0 +1 @@
+extensions = ["ablog"]
diff --git a/roots/test-parallel/index.rst b/roots/test-parallel/index.rst
new file mode 100644
index 00000000..6512a... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new test test_not_safe_for_parallel_read fails on GitHub Actions because the built postlist.html it asserts on does not exist there.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The test should write its sphinx-build ou... | null |
sunpy__ablog__93 | sunpy/ablog | 93 | defect | a6bdcc5412f60cc4c1fd076906e74b5bea2f0ab3 | d27ff71bc0515a2535915003485b90a9c7a34dd2 | feat(feeds): Add entry element template support | Syndication feeds are often used to interact with external services. [Planet
Venus](http://intertwingly.net/code/venus/docs/index.html), for example, aggregates
multiple feeds into one topical 'Planet Foo' type site. Various other services consume
syndication feeds to automatically make social media posts when new en... | diff --git a/ablog/blog.py b/ablog/blog.py
index 8210d7b8..6813e729 100644
--- a/ablog/blog.py
+++ b/ablog/blog.py
@@ -101,6 +101,7 @@ def verify_fn(key, value, config):
("blog_feed_fulltext", False, True),
("blog_feed_subtitle", None, True),
("blog_feed_titles", None, False),
+ ("blog_feed_templates"... | 3 | 2 | 1 | [{"id": "G0", "claim": "Rendering the conf template in ablog/start.py's generate() (conf_text = ABLOG_CONF % d) crashes with \"TypeError: not enough arguments for format string\" on CI (make test3 -> Error 1), and the PR author cannot reproduce it locally.", "category": "correctness", "verdict": "supported", "priority"... | null |
sunpy__ablog__97 | sunpy/ablog | 97 | defect | 85d04509350431007a8c4bbf1f7b993242f7f0d7 | 267f1395be8fc901b53f6e2170bcd61bc9741c74 | fix(feeds): Feed validation, templates regression | Fixes for #96, the feed entry excerpt/summary/description regression I introduced that's
more "correct", less of the workaround. My apologies.
Also fixes #91, the W3c validation errors. I just tested by publishing a build to [my
blog](https://www.rpatterson.net/blog/atom.xml) and it passes validation now. | diff --git a/ablog/post.py b/ablog/post.py
index b6be6c88..d8e1bcf4 100644
--- a/ablog/post.py
+++ b/ablog/post.py
@@ -709,7 +709,7 @@ def generate_atom_feeds(app):
feed.title(feed_title)
feed.link(href=url)
feed.subtitle(blog.blog_feed_subtitle)
- feed.link(href=feed_url)
+ fee... | 2 | 1 | 1 | [{"id": "G0", "claim": "Questions whether the refactored summary computation (the unguarded join that replaced the `if post.excerpt:` guard) would error when `post.excerpt` is empty.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether `rel` ... | null |
supabase-community__postgres-language-server__169 | supabase-community/postgres-language-server | 169 | defect | 20ee92b627c7a3448b31e34bc419af3f4fc13f17 | c9cc2e04bd4f06599b6f881db82df6a2a4bc68c6 | migrate typechecker to new lsp | migrates the typechecker to the new infrastructure.
- I did not introduce caching yet (despite it being possible) because it's fast enough imo.
- using `run_async` requires static lifetimes, so we need to clone all params - me not likey likey but fixing this probably requires a larger refactor. UPDATE: this is impr... | diff --git a/Cargo.lock b/Cargo.lock
index f36aea5e1..3292d0979 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2690,14 +2690,17 @@ dependencies = [
name = "pg_typecheck"
version = "0.0.0"
dependencies = [
- "async-std",
- "pg_base_db",
+ "insta",
+ "pg_console",
+ "pg_diagnostics",
"pg_query_ext",
"pg_schema_cache... | 5 | 4 | 1 | [{"id": "G0", "claim": "Remove the commented-out TypecheckParams field stubs left at the top of the new typecheck.rs file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the stale comment \"If there's no error, return an empty vector\" th... | null |
supabase-community__postgres-language-server__214 | supabase-community/postgres-language-server | 214 | defect | bc762f35fd4f939016e9936d397ad927b3f6a9b9 | e90533d9faa710239e03a4d6becee4789194c28b | chore(pglt_lsp): add lifecycle test | adds a basic lifecycle test to the lsp server. will expand on it later. maybe we can even have a "recording" of the users actions via logs, parse these recordings and replay them. | diff --git a/Cargo.lock b/Cargo.lock
index 68ee4c3f4..1f3e9680d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2488,6 +2488,7 @@ dependencies = [
"serde_json",
"text-size",
"tokio",
+ "tower",
"tower-lsp",
"tracing",
]
@@ -4023,8 +4024,10 @@ dependencies = [
"futures-util",
"pin-project",
"pin-project-li... | 4 | 2 | 0 | [{"id": "G0", "claim": "The use statements are formatted oddly, one import per line, instead of a normal grouped/rustfmt-style import block.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The generic notify helper bails with the shutdown-specifi... | null |
supabase-community__postgres-language-server__286 | supabase-community/postgres-language-server | 286 | defect | 69b21e6923aafdc8b317533c1879aa82c63828d1 | 6e6cfb2f538e70a13ffab335ed1ed540874e8c08 | fix: use byte indices | closes #281
we need to use byte indices
| diff --git a/crates/pgt_lsp/tests/server.rs b/crates/pgt_lsp/tests/server.rs
index d911b50d8..4a5655e65 100644
--- a/crates/pgt_lsp/tests/server.rs
+++ b/crates/pgt_lsp/tests/server.rs
@@ -818,9 +818,8 @@ async fn test_execute_statement() -> Result<()> {
result.unwrap().exists.unwrap()
};
- assert_eq... | 1 | 1 | 0 | [{"id": "G0", "claim": "The duplicated byte-index-to-slice logic in change.rs could be extracted into a `get_affected_content(content: &'a str, range: Range) -> &'a str` helper method.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
supabase-community__postgres-language-server__366 | supabase-community/postgres-language-server | 366 | defect | 6469ce368aa4f42c38e16b9561c3f8d6680c7fca | 733c8f276ee28c5f0ba8567702d75b2f6e4e5918 | fix: sql fn params | the idea is to replace the fn params with a default value based on their type:
```sql
create or replace function users.select_no_ref (user_id int4) returns table (
first_name text
) language sql security invoker as $$
select
first_name
FROM
users_hidden.users
where
id = user_id;
$$;
```
... | diff --git a/Cargo.lock b/Cargo.lock
index 72ba810f6..ffdbff923 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2865,6 +2865,7 @@ dependencies = [
"pgt_schema_cache",
"pgt_test_utils",
"pgt_text_size",
+ "pgt_treesitter_queries",
"sqlx",
"tokio",
"tree-sitter",
diff --git a/crates/pgt_completions/src/context.r... | 11 | 4 | 2 | [{"id": "G0", "claim": "Using unwrap() on node.arg_type can panic if the function parameter has no arg_type; replace it with proper error handling as suggested.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The second capture's expected path in the... | null |
supabase-community__postgres-language-server__449 | supabase-community/postgres-language-server | 449 | defect | c06ab001f9112ab14f312213cf3d6b4c3ad48eab | 47344e8e37a3546a8e3f7c853e753cdc8b3001b2 | chore: expose schema_cache & file_context in lint rules | - The `Analyser::run` now takes `Vec<AnalysableStatement>` and an `Option<&SchemaCache>`
- it also initializes an `AnalysedFileContext`
- the `SchemaCache` and the `AnalysedFileContext` are passed into each linting rule.
This should roughly match how the [eugene](https://github.com/kaaveland/eugene) code base does... | diff --git a/Cargo.lock b/Cargo.lock
index 4da985a37..16b1de5e6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2693,6 +2693,7 @@ dependencies = [
"pgt_console",
"pgt_diagnostics",
"pgt_query_ext",
+ "pgt_schema_cache",
"pgt_text_size",
"rustc-hash 2.1.0",
"schemars",
@@ -2708,7 +2709,9 @@ dependencies = [
"... | 2 | 2 | 1 | [{"id": "G0", "claim": "The schema_cache and AnalysedFileContext parameters should not be added to every Rule::run signature but exposed on RuleContext instead, since they are context info from an API standpoint.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
supabase-community__postgres-language-server__484 | supabase-community/postgres-language-server | 484 | defect | 7cca8f449575b3b06485bd2f72bfbfa626ebafe9 | 8151d995dc6a05a19c1e4eb1806953e78b3d5754 | feat: provide additional search_path patterns for typechecking | Adds a `linter.searchPathPatterns` option where a user can add glob-patterns for additional schemas to be searched when typechecking.
<img width="1123" height="478" alt="Screenshot 2025-08-30 at 07 54 00" src="https://github.com/user-attachments/assets/8c5cc16b-4974-4812-a4bd-d909d6aaef04" />
<img width="1033" he... | diff --git a/Cargo.lock b/Cargo.lock
index be7eacb75..c085f8449 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3176,7 +3176,9 @@ dependencies = [
name = "pgt_typecheck"
version = "0.0.0"
dependencies = [
+ "globset",
"insta",
+ "itertools 0.14.0",
"pgt_console",
"pgt_diagnostics",
"pgt_query",
diff --git a/cra... | 5 | 4 | 1 | [{"id": "G0", "claim": "Remove the stray blank line this PR added to crates/pgt_schema_cache/Cargo.toml before [dev-dependencies].", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the stray blank line this PR added inside impl SchemaCache in crates/p... | null |
supabase__auth__1278 | supabase/auth | 1,278 | defect | 40aed622f24066b2718e4509a001026fe7d4b76d | 6a88cf481d6f917422b7ed74cf8535e540e3dc63 | feat: add idempotent refresh token algorithm | Modifies the refresh token algorithm to support a limited form of idempotency. The lack of this behavior is documented to cause loss of session.
**Problem**
GoTrue, so far, assumes that clients calling the `POST /token?grant_type=refresh_token` endpoint are guaranteed to at least save the result of the response. ... | diff --git a/internal/api/token_refresh.go b/internal/api/token_refresh.go
index 09f3199e5c..cc1d73b652 100644
--- a/internal/api/token_refresh.go
+++ b/internal/api/token_refresh.go
@@ -86,7 +86,7 @@ func (a *API) RefreshTokenGrant(ctx context.Context, w http.ResponseWriter, r *h
var newTokenResponse *AccessTokenRe... | 4 | 3 | 2 | [{"id": "G0", "claim": "The result of FindCurrentlyActiveRefreshToken should be checked with `terr` instead of `err` (fix the wrong variable in the error check).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Fetch the activeRefreshToken only when t... | null |
supabase__auth__1286 | supabase/auth | 1,286 | defect | 23852122f842dcb34ae47cc95fe28467d031bc70 | 6cf5d009b424c25a72abd71d19adab2ed7159fc4 | feat: add time-boxed sessions | Adds time-boxed sessions. These sessions time-out after a fixed amount of time configured via the `GOTRUE_SESSIONS_TIMEBOX` property (if set). | diff --git a/internal/api/api.go b/internal/api/api.go
index a55df2733f..d4379ce1ba 100644
--- a/internal/api/api.go
+++ b/internal/api/api.go
@@ -31,6 +31,16 @@ type API struct {
db *storage.Connection
config *conf.GlobalConfiguration
version string
+
+ overrideTime func() time.Time
+}
+
+func (a *API) Now... | 6 | 5 | 0 | [{"id": "G0", "claim": "Question why the new overrideTime clock override on API is necessary and prefer avoiding the extra property (a leaky abstraction) by testing with a timebox of milliseconds or 0 instead.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
supabase__auth__1311 | supabase/auth | 1,311 | defect | 8565d264014557f721b6d12afa3171a25a38b905 | 48b99d5d679b4f629cf56610cf66a035622aa89d | feat: update primary key for identities table | ## What kind of change does this PR introduce?
* We need to be able to have a consistent identifier to fetch an identity from the database. The current approach for using a composite primary key isn't sufficient and not ideal for exposing through the API.
* Remove the composite primary key on (`auth.identities.id`, `... | diff --git a/internal/api/admin_test.go b/internal/api/admin_test.go
index c3f5615f6e..204a14eb89 100644
--- a/internal/api/admin_test.go
+++ b/internal/api/admin_test.go
@@ -438,7 +438,7 @@ func (ts *AdminTestSuite) TestAdminUserUpdate() {
for _, identity := range u.Identities {
// for email & phone identities,... | 2 | 2 | 0 | [{"id": "G0", "claim": "The newly added internal/api/identity.go with the IdentityDelete handler appears to be WIP and is not used anywhere, so it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The migration's 'drop constraint... | null |
supabase__auth__1337 | supabase/auth | 1,337 | defect | 9194ffc72d68ca45dfb18dc1b0eb7ce64e62592c | 778c5b028609a45c6e2f24fd9f63a39f22f34a5d | feat: split validation and population of hook name | ## What kind of change does this PR introduce?
Currently, the HookName is not properly populated which leads to improper invocation of the function. The `HookName` was not set on the global config but was set locally on hook config.
To fix this we split out `Validation` and `Population` into 2 separate steps and ... | diff --git a/internal/api/mfa_test.go b/internal/api/mfa_test.go
index 16449b7bb0..d664e07715 100644
--- a/internal/api/mfa_test.go
+++ b/internal/api/mfa_test.go
@@ -623,7 +623,7 @@ func (ts *MFATestSuite) TestVerificationHooks() {
ts.T().Run(c.desc, func(t *testing.T) {
ts.Config.Hook.MFAVerificationAttempt.En... | 1 | 1 | 1 | [{"id": "G0", "claim": "Do not make the hook configuration (MFA verification attempt, password verification attempt, custom access token flags) public through the settings endpoint; the settings endpoint needs rethinking as it is not useful.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "... | null |
supabase__auth__1371 | supabase/auth | 1,371 | defect | 5ad703bddc6ec74f076cbe6ce1f942663343d47a | edd4540ded8c54f7f9fc7ad0d2cfb93a3cc2d522 | feat: clean up expired factors | ## What kind of change does this PR introduce?
Currently, unverified MFA factors can build up in the database quickly. Supabase developers can toggle Maximum unverified factors ( `Maximum number of per-user MFA factors`) via the dashboard but developers will have to look for the toggle. Developers can also call `un... | diff --git a/internal/api/mfa.go b/internal/api/mfa.go
index 434a7117c7..f30a050658 100644
--- a/internal/api/mfa.go
+++ b/internal/api/mfa.go
@@ -89,25 +89,33 @@ func (a *API) EnrollFactor(w http.ResponseWriter, r *http.Request) error {
issuer = params.Issuer
}
- // Read from DB for certainty
factors, err := ... | 2 | 2 | 2 | [{"id": "G0", "claim": "Iteratively destroying each expired factor with a.db.Destroy inside EnrollFactor can take a very long time and suck performance out of the system; delete expired factors with a SQL query in the database instead, one that could also be reused in the cleanups that run on other tables.", "category"... | null |
supabase__auth__1446 | supabase/auth | 1,446 | defect | 1ea56b62d47edb0766d9e445406ecb43d387d920 | cc68f710e3f80c6ec4a20f124456ee027d8ec50f | feat: refactor PKCE FlowState to reduce duplicate code | ## What kind of change does this PR introduce?
- Removes `NewFlowStateWithUserID` - it is sufficient to have one method to create a flow state
- Compresses some of the PKCE checks into a single function
| diff --git a/internal/api/external.go b/internal/api/external.go
index a47d201dc2..b3db67ab31 100644
--- a/internal/api/external.go
+++ b/internal/api/external.go
@@ -84,10 +84,7 @@ func (a *API) GetExternalProviderRedirectURL(w http.ResponseWriter, r *http.Requ
if err != nil {
return "", err
}
- flowState, ... | 3 | 3 | 0 | [{"id": "G0", "claim": "The duplicated flow-state-setup blocks at the call sites can probably be grouped into a function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "Consider whether creating the flow state in the db should also be included i... | null |
supabase__auth__1467 | supabase/auth | 1,467 | defect | fa21244fa929709470c2e1fc4092a9ce947399e7 | cf06cf2ecd6c401a775ace8863d79d7debabd373 | feat: HTTP Hook - Add custom envconfig decoding for HTTP Hook Secrets | ## What kind of change does this PR introduce?
We represent HTTP Hooks as a `|` separated list, similar to what we do with required password characters. Asymmetric keys are separated by `:` like: `v1a,whpk_mypublickey|whsk_mysecretkey:v1,whsec_mysymettrickey`
We opt for `:` and `|` as they are not part of the bas... | diff --git a/internal/conf/configuration.go b/internal/conf/configuration.go
index b3a5b96138..f7c71d840d 100644
--- a/internal/conf/configuration.go
+++ b/internal/conf/configuration.go
@@ -452,11 +452,25 @@ type HookConfiguration struct {
CustomSMSProvider ExtensibilityPointConfiguration `json:"custom_sms... | 2 | 1 | 1 | [{"id": "G0", "claim": "With ':' separating keys and ';' joining keypairs, typos would be very hard to differentiate, and the comment's example includes no instance using ':'.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The character class [A-Za-z0-9+... | null |
supabase__auth__1474 | supabase/auth | 1,474 | defect | 311cde8d1e82f823ae26a341e068034d60273864 | 98ffa35770ce7139e22941089a903c2ee9afa13d | feat: add custom sms hook | ## What kind of change does this PR introduce?
Allows devs to use a Custom SMS Provider via a HTTP Hook. SQL Hooks are not supported at this time as it requires significantly more effort to invoke a Hook via `pg_net` and handle errors as compared to using HTTP/HTTPS.
HTTP Hook invocation is done via the [standard... | diff --git a/go.mod b/go.mod
index b39aac6db0..7369942c4e 100644
--- a/go.mod
+++ b/go.mod
@@ -70,6 +70,7 @@ require (
github.com/fatih/structs v1.1.0
github.com/gobuffalo/pop/v6 v6.1.1
github.com/jackc/pgx/v4 v4.17.2
+ github.com/standard-webhooks/standard-webhooks/libraries v0.0.0-20240303152453-e0e82adf1721
... | 27 | 22 | 5 | [{"id": "G0", "claim": "The webhook signature logic (the SymmetricSignaturePrefix handling and generateSignatures) should be extracted into a function in the crypto package - ideally one that creates a verifier object - instead of living inline in hooks.go.", "category": "maintainability", "verdict": "supported", "prio... | null |
supabase__auth__1497 | supabase/auth | 1,497 | defect | 2843dbea64d35799a157f23b0d7a9701f0f85599 | 4e530f8d5c75a8b3475cbdf826d2b0125eb8ec49 | fix: add cleanup statement for anonymous users | ## What kind of change does this PR introduce?
* Adds a cleanup statement to delete anonymous users older than 30 days
* Runs only if anonymous sign-ins are enabled
* Move cleanup struct creation into Setup function | diff --git a/internal/api/api.go b/internal/api/api.go
index 02c3f53321..8d535f92a3 100644
--- a/internal/api/api.go
+++ b/internal/api/api.go
@@ -112,13 +112,7 @@ func NewAPIWithVersion(ctx context.Context, globalConfig *conf.GlobalConfigurati
r.Use(recoverer)
if globalConfig.DB.CleanupEnabled {
- cleanup := &m... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new anonymous-user cleanup statement matches anonymous users regardless of age, and the reviewer asks whether the 30-day interval should be included, suggesting filtering on created_at < now() - interval '30 days'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope... | null |
supabase__auth__1529 | supabase/auth | 1,529 | defect | bd8b5c41dd544575e1a52ccf1ef3f0fdee67458c | 840b30cba5f13e4dff2bd50502a56b4fb39b28a2 | feat: add timeout middleware | A new middleware is introduced that enforces a strict timeout by using `context.WithTimeout()`. When the timeout is reached, a 504 JSON error with the `request_timeout` error code is sent. Anything that depends on the context is cancelled. | diff --git a/internal/api/api.go b/internal/api/api.go
index 32a3d28fe1..9c60dbe7e1 100644
--- a/internal/api/api.go
+++ b/internal/api/api.go
@@ -98,6 +98,11 @@ func NewAPIWithVersion(ctx context.Context, globalConfig *conf.GlobalConfigurati
logger := observability.NewStructuredLogger(logrus.StandardLogger(), global... | 2 | 1 | 0 | [{"id": "G0", "claim": "The explicit w.WriteHeader(http.StatusOK) added to SAMLMetadata is unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The reviewer asks why the new conditions in HandleResponseError silently... | null |
supabase__auth__1580 | supabase/auth | 1,580 | defect | ed2b4907244281e4c54aaef74b1f4c8a8e3d97c9 | 027fa34721e010603e0d095bc81be0be856965c4 | fix: sms verify should update is_anonymous field | ## What kind of change does this PR introduce?
* verifying the phone number of a user should update the `is_anonymous` field to false
* add test to prevent any future regression | diff --git a/internal/api/anonymous_test.go b/internal/api/anonymous_test.go
index 1260774e3d..3fe6df59bb 100644
--- a/internal/api/anonymous_test.go
+++ b/internal/api/anonymous_test.go
@@ -12,6 +12,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
"github.com/supabase/auth/... | 1 | 1 | 0 | [{"id": "G0", "claim": "The phone test case in TestConvertAnonymousUserToPermanent is mislabelled with the desc \"convert anonymous user to permanent user with email\" and should read \"convert anonymous user to permanent user with phone\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco... | null |
supabase__auth__1585 | supabase/auth | 1,585 | defect | 39ca026035f6c61d206d31772c661b326c2a424c | 7d2b27bd30c2bfcd3e326f7170953b2b4a7a2a06 | feat: upgrade otel to v1.26 | ## What kind of change does this PR introduce?
Spiritual successor to #1305 where we attempt to bump the OTEL version from v1.10.0 to v1.26.0 which has a few breaking changes
## How this was tested
We used a local setup with honeycomb with tracing and metrics enabled. We then triggered
- a cleanup to test ... | diff --git a/go.mod b/go.mod
index 2feeaebfb4..ed5094f1b9 100644
--- a/go.mod
+++ b/go.mod
@@ -28,9 +28,9 @@ require (
github.com/sethvargo/go-password v0.2.0
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.6.1
- github.com/stretchr/testify v1.8.4
+ github.com/stretchr/testify v1.9.0
golang.org/x/cr... | 6 | 3 | 0 | [{"id": "G0", "claim": "It is unclear whether the histogram distribution selector from the old controller setup is used/needed after the migration to the new metrics SDK.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Why does the Prometheus HTTP serv... | null |
supabase__auth__1593 | supabase/auth | 1,593 | defect | cbcab16cfe5d20e8435e9f11eff569bd9a73a590 | 243cceb65b85e4b2fe6af5d42d73f184ef68669f | feat: encrypt sensitive columns | Adds support for encrypting sensitive columns like the MFA secret and password hash.
The goal with this encryption mechanism is to add yet another layer of security on top of the database permissions provided by Postgres. In the event that the database leaks or is accessed by malicious users or the database permissi... | diff --git a/hack/test.env b/hack/test.env
index f4f3d0e6e5..4099403142 100644
--- a/hack/test.env
+++ b/hack/test.env
@@ -114,3 +114,7 @@ GOTRUE_SAML_ENABLED="true"
GOTRUE_SAML_PRIVATE_KEY="MIIEowIBAAKCAQEAszrVveMQcSsa0Y+zN1ZFb19cRS0jn4UgIHTprW2tVBmO2PABzjY3XFCfx6vPirMAPWBYpsKmXrvm1tr0A6DZYmA8YmJd937VUQ67fa6DMyppBYTj... | 5 | 3 | 0 | [{"id": "G0", "claim": "The repeated encrypt/re-encrypt logic in VerifyFactor (and nearby code) should be extracted into a function with a semantic name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The configuration field should be called `En... | null |
supabase__auth__1643 | supabase/auth | 1,643 | defect | 2cb97f080fa4695766985cc4792d09476534be68 | 18b215bacc48960c7dcf462ac7f97b1a3227b3cb | fix: return proper error message when invalid email_change token is passed in | ## What kind of change does this PR introduce?
Currently, when `SECURE_EMAIL_CHANGE` is enabled and a dev invokes `verifyOtp({type:'email_change', token:'<some-token>', email:'<some-wrong-email>'})` an internalServerError and panic is returned. After this change a 403 is returned as expected.
This is because whe... | diff --git a/internal/models/one_time_token.go b/internal/models/one_time_token.go
index c5a2049024..99e704e8d4 100644
--- a/internal/models/one_time_token.go
+++ b/internal/models/one_time_token.go
@@ -250,7 +250,7 @@ func FindUserByEmailChangeNewAndAudience(tx *storage.Connection, email, token, a
if ott == nil {
... | 1 | 1 | 0 | [{"id": "G0", "claim": "A better fix would probably be to check whether one of the two one-time tokens was found instead of returning on any error from the second lookup.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
supabase__auth__1693 | supabase/auth | 1,693 | defect | fdff1e703bccf93217636266f1862bd0a9205edb | 6790dd938d3fd11ad7e017169bacb8869b9975a3 | fix: enforce uniqueness on verified phone numbers | ## What kind of change does this PR introduce?
With this change:
- Multiple verified phone mfa factors can exist so long as they have distinct phone numbers (see discussion below)
- Enrolling a factor with a number that is the same as the existing verified factor will result in a 422 status code
- Enrolling a fac... | diff --git a/internal/api/errorcodes.go b/internal/api/errorcodes.go
index 9038dc25d5..fabed940c9 100644
--- a/internal/api/errorcodes.go
+++ b/internal/api/errorcodes.go
@@ -82,4 +82,6 @@ const (
ErrorCodeMFAPhoneVerifyDisabled ErrorCode = "mfa_phone_verify_not_enabled"
ErrorCodeMFATOTPEnrollDisabled ... | 5 | 4 | 3 | [{"id": "G0", "claim": "The two new enroll-phone-factor behaviours are untested and tests should be added: an error when an existing verified phone factor is present, and deletion of existing unverified phone factors with the same phone number when a new factor with that number is enrolled.", "category": "testing", "ve... | null |
supabase__auth__1714 | supabase/auth | 1,714 | defect | 499f6fca024260c4457ec1d9cae32726804e92d3 | 0ca3f7d300bce61764e9a32d011ef26cb3cfb986 | fix: add twilio verify support on mfa | ## What kind of change does this PR introduce?
As per title, we need to add a separate check when `verify` with Twilio Verify as the OTP is stored with Twilio verify and not stored by Supabase Auth. Supabase Auth will need to make a HTTP request to Twilio, via `VerifyOTP` and have Twilio tell it whether the code was... | diff --git a/internal/api/mfa.go b/internal/api/mfa.go
index 35bdd193e6..4c19477eeb 100644
--- a/internal/api/mfa.go
+++ b/internal/api/mfa.go
@@ -589,11 +589,23 @@ func (a *API) verifyPhoneFactor(w http.ResponseWriter, r *http.Request, params *
}
return unprocessableEntityError(ErrorCodeMFAChallengeExpired, "MFA... | 1 | 1 | 1 | [{"id": "G0", "claim": "The error from sms_provider.GetSmsProvider is dropped (`smsProvider, _ :=`), so a failed provider lookup yields a nil smsProvider that panics on the `(*sms_provider.TwilioVerifyProvider)` type assertion; the call should handle the error (the reviewer suggests hoisting it above and checking an op... | null |
supabase__auth__1757 | supabase/auth | 1,757 | defect | 2ad07373aa9239eba94abdabbb01c9abfa8c48de | 2c6d31f301fe1f283857c70b2aa4ac693a61dbb9 | feat: add authorized email address support | Adds support for authorized email addresses, useful when needing to restrict email sending to a handful of email addresses. In the Supabase platform use case, this can be used to allow sending of emails on new projects only to the project's owners or developers, reducing email abuse.
To enable it, specify `GOTRUE_EX... | diff --git a/internal/api/admin.go b/internal/api/admin.go
index 0e5ae0cd93..45b08f0415 100644
--- a/internal/api/admin.go
+++ b/internal/api/admin.go
@@ -150,7 +150,7 @@ func (a *API) adminUserUpdate(w http.ResponseWriter, r *http.Request) error {
}
if params.Email != "" {
- params.Email, err = validateEmail(pa... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new email_address_not_authorized error code still needs to be added to the reference spec, which J0 said he would follow up with a PR for after this is merged.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In validateE... | null |
supabase__auth__1766 | supabase/auth | 1,766 | defect | 9d419b400f0637b10e5c235b8fd5bac0d69352bd | f48924958024846b871018a8b3dde9a760632429 | fix: update aal requirements to update user | ## What kind of change does this PR introduce?
If a user has verified factors (mfa enabled) we should require an AAL2 session in order to proceed with any operation
We restrict phone, email, and password from updates as we consider those as sensitive fields
Context: https://supabase.slack.com/archives/C02AK916... | diff --git a/internal/api/mfa_test.go b/internal/api/mfa_test.go
index 25a5d47b80..557b0ab139 100644
--- a/internal/api/mfa_test.go
+++ b/internal/api/mfa_test.go
@@ -295,6 +295,68 @@ func (ts *MFATestSuite) TestDuplicateTOTPEnrollsReturnExpectedMessage() {
require.Contains(ts.T(), errorResponse.Message, expectedErro... | 4 | 3 | 1 | [{"id": "G0", "claim": "HasMFAEnabled could be simplified to return true as soon as a verified factor is found instead of counting verified factors first.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The AAL2 condition mixes && and || without ... | null |
supabase__auth__1769 | supabase/auth | 1,769 | defect | 9d419b400f0637b10e5c235b8fd5bac0d69352bd | fb1a58c3ca0845285da6fb6f91f11b8ddbd311bd | fix: magiclink failing due to passwordStrength check | ## What kind of change does this PR introduce?
Bug fix
## What is the current behavior?
https://github.com/supabase/auth/issues/1761
## What is the new behavior?
Now the password should generate secure enough with the necessary password requirements specified in environment variables.
## Additional context
Basic... | diff --git a/internal/api/magic_link.go b/internal/api/magic_link.go
index 44f9fc88fd..36840da0a9 100644
--- a/internal/api/magic_link.go
+++ b/internal/api/magic_link.go
@@ -8,9 +8,9 @@ import (
"net/http"
"strings"
- "github.com/sethvargo/go-password/password"
"github.com/supabase/auth/internal/models"
"git... | 4 | 4 | 2 | [{"id": "G0", "claim": "The parameter should be referenced directly instead of copying it through the parseGroups helper, since the slice is not mutated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The allChars character set should be declare... | null |
supabase__auth__1785 | supabase/auth | 1,785 | defect | 2c13a7fe82ebc917f83dc7edc3f6fdb525c805dc | 9fd5f160a1fbf1d8b8040bdfbd8bff4619d41975 | fix: bypass check for token & verify endpoints | ## What kind of change does this PR introduce?
* Allow requests to skip check for authorized email addresses for /token and /verify endpoints
## What is the current behavior?
Please link any relevant issues here.
## What is the new behavior?
Feel free to include screenshots if it includes visual changes.
... | diff --git a/internal/api/middleware.go b/internal/api/middleware.go
index 3b56f59d1b..0f83e92352 100644
--- a/internal/api/middleware.go
+++ b/internal/api/middleware.go
@@ -176,8 +176,11 @@ var emailLabelPattern = regexp.MustCompile("[+][^@]+@")
func (a *API) isValidAuthorizedEmail(w http.ResponseWriter, req *http.R... | 1 | 1 | 1 | [{"id": "G0", "claim": "Move the regexp object (containsNonEmailSendingPath) out of the per-request function into a global variable, because regexp compilations are very slow.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
supabase__auth__1831 | supabase/auth | 1,831 | defect | 4614dc54ab1dcb5390cfed05441e7888af017d92 | 0295bda0db7dcd26362eda645d25eb14249f9ae6 | fix: default to files:read scope for Figma provider | Closes #1827 by defaulting to `files:read` oAuth scope for Figma as per the issue. | diff --git a/internal/api/external_figma_test.go b/internal/api/external_figma_test.go
index ccd59b1ff4..6e119b9ec6 100644
--- a/internal/api/external_figma_test.go
+++ b/internal/api/external_figma_test.go
@@ -27,7 +27,7 @@ func (ts *ExternalTestSuite) TestSignupExternalFigma() {
ts.Equal(ts.Config.External.Figma.Re... | 1 | 1 | 0 | [{"id": "G0", "claim": "The stale comment \"// Figma only provides the \\\"file_read\\\" scope.\" above the oauthScopes slice in internal/api/provider/figma.go can probably be deleted.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
supabase__auth__1868 | supabase/auth | 1,868 | defect | 9fe5b1eebfafb385d6b5d10196aeb2a1964ab296 | be64d0a270b408abc684a1b5be7428647a7cc4dc | fix: email_verified field not being updated on signup confirmation | ## What kind of change does this PR introduce?
* Addresses https://github.com/supabase/auth/issues/1620
| diff --git a/internal/api/verify.go b/internal/api/verify.go
index c4e8fa2523..c9d7ebf6f9 100644
--- a/internal/api/verify.go
+++ b/internal/api/verify.go
@@ -328,6 +328,19 @@ func (a *API) signupVerify(r *http.Request, ctx context.Context, conn *storage.C
if terr = user.Confirm(tx); terr != nil {
return interna... | 3 | 2 | 2 | [{"id": "G0", "claim": "signupVerify should return an error when len(user.Identities) == 0 instead of silently skipping, rather than only guarding the slice access.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "signupVerify should return an error when the... | null |
supabase__auth__1971 | supabase/auth | 1,971 | defect | 5eec9145c26c8c87fcf4d733ad505a2ef2817bdd | 20a05688ccaff407c667135e24b43cad5e7bc6f3 | feat: Block specific outgoing mail servers | ## What kind of change does this PR introduce?
Feature that gives configuration option to block an email address event if the mx server of the domain is on a blocklist
## What is the current behavior?
Existing behavior only checks for syntax issues and single email addresses against a message stream.
## Wha... | diff --git a/internal/mailer/validate.go b/internal/mailer/validate.go
index 182746699e..f3967be3df 100644
--- a/internal/mailer/validate.go
+++ b/internal/mailer/validate.go
@@ -61,6 +61,14 @@ var invalidHostMap = map[string]bool{
"email.com": true,
}
+var blockedMXRecords = map[string]bool{
+ "mail.wallywatt... | 4 | 3 | 3 | [{"id": "G0", "claim": "The blocked MX list should live in configuration like the other mailer settings, and blockedMXRecords should be a field on the EmailValidator struct built in newEmailValidator instead of a hardcoded package-level map.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "in... | null |
supabase__auth__2021 | supabase/auth | 2,021 | defect | 88bb2c0638863f94f9f0d7f4ca88ba04929dfd55 | fd9429e5d921c8d4bce6c4f03a61674e1bf651fe | feat: add support packages for end-to-end testing | Added 3 new packages in the "e2e" directory to make writing tests that needed an API server, hook server or both easier. Also added some simple helpers for config and connection loading from within unit tests.
The packages:
- Package e2e provides a few utilities for use in unit tests.
- Package e2eapi provides uti... | diff --git a/internal/e2e/e2e.go b/internal/e2e/e2e.go
new file mode 100644
index 0000000000..820bd7b8ea
--- /dev/null
+++ b/internal/e2e/e2e.go
@@ -0,0 +1,62 @@
+// Package e2e provides a few utilities for use in unit tests.
+package e2e
+
+import (
+ "path/filepath"
+ "runtime"
+
+ "github.com/supabase/auth/internal/... | 1 | 1 | 1 | [{"id": "G0", "claim": "Ensure the package's init() cannot accidentally run in the main executable, for example by guarding it so it only runs in tests.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
supabase__auth__2028 | supabase/auth | 2,028 | defect | d758acc568cae8ef6dbaa25653e7b0b4aa100e0d | bd37fe23cb784939a81f782b533e4fe0247283f5 | feat: hooks round 3 - begin adding the Before and After user created hooks | ## Hooks Round 3
This PR will contain a series of commits preparing for the implementation of before & after user created hooks. It takes the feedback from https://github.com/supabase/auth/pull/2012 into consideration.
### Summary
Begin adding the Before and After user created hooks:
* update pkg `internal/co... | diff --git a/internal/conf/configuration.go b/internal/conf/configuration.go
index c9b7aff585..5cb2f50a4e 100644
--- a/internal/conf/configuration.go
+++ b/internal/conf/configuration.go
@@ -640,6 +640,9 @@ type HookConfiguration struct {
CustomAccessToken ExtensibilityPointConfiguration `json:"custom_acces... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new input structs' metadata field should be named `Metadata` with json tag `metadata` instead of `Header`/`header`, so the field name matches its type.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new typed Mana... | null |
supabase__auth__2044 | supabase/auth | 2,044 | defect | b53f6b0d0e056bf3e84884847ab4608ffc9efd61 | cfcbd8b191a3869588cc50b3d1549937b7bd3bc6 | fix: send-email hook - bug in email change verification | This change sets EmailData.Token to the new OTP when the secure email change setting is set to true.
This should fix:
https://github.com/supabase/auth/issues/1744
https://github.com/supabase/auth/issues/2042
Note:
I am fixing this bug in a way that is consistent with what I view to be the current bug. I believ... | diff --git a/internal/api/e2e_test.go b/internal/api/e2e_test.go
index 8902a7c069..207491fe2f 100644
--- a/internal/api/e2e_test.go
+++ b/internal/api/e2e_test.go
@@ -18,23 +18,31 @@ import (
"github.com/stretchr/testify/require"
"github.com/supabase/auth/internal/api"
"github.com/supabase/auth/internal/conf"
+ "... | 2 | 1 | 0 | [{"id": "G0", "claim": "The BUG(cstockton) comment at internal/api/mail.go:659 should be reworded to explain what needs to be considered in the future.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The public docs should be updated as part of thi... | null |
supabase__auth__2105 | supabase/auth | 2,105 | defect | 3b666f51f56db778848730d74ac140f02b0cb522 | 2863bf9b73f4e1e46d543339423762e32f90d811 | feat: implements email-less accounts with oauth | If you set `GOTRUE_EXTERNAL_<PROVIDER>_EMAIL_OPTIONAL=true` then OAuth, OIDC sign-in with that provider will no longer enforce that an `email` address is present.
Adds some fixes to the Snapchat provider per internal discussions. | diff --git a/internal/api/context.go b/internal/api/context.go
index 3047f3dd6a..01a60149f0 100644
--- a/internal/api/context.go
+++ b/internal/api/context.go
@@ -15,22 +15,24 @@ func (c contextKey) String() string {
}
const (
- tokenKey = contextKey("jwt")
- inviteTokenKey = contextKey("inv... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new AllowNoEmail configuration field should be renamed (e.g. requireEmail or emailOptional) to avoid the confusing double negative.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The debug fmt.Printf printing the mars... | null |
supabase__auth__2159 | supabase/auth | 2,159 | defect | 86b7de45c9432ea6ee9bd7c7e9cfe96e038fe2bc | 0af1495452ea7b930fe060d88cfaa14e1ec3f695 | feat(oauth2): add `/oauth/token` endpoint | ## Summary
This PR completes the OAuth2 server implementation by adding the `/token` endpoint, enabling full OAuth2 authorization code flow & refresh token support.
## Key Features Added:
### OAuth Token Endpoint (POST /oauth/token) supporting:
- `authorization_code` grant type for exchanging authorization codes ... | diff --git a/internal/api/api.go b/internal/api/api.go
index 24cecc40f7..1d7af7772f 100644
--- a/internal/api/api.go
+++ b/internal/api/api.go
@@ -93,11 +93,6 @@ func NewAPIWithVersion(globalConfig *conf.GlobalConfiguration, db *storage.Conne
version: version,
}
- // Only initialize OAuth server if enabled
- if ... | 5 | 2 | 1 | [{"id": "G0", "claim": "The token response may need to include the `user` field, since client libraries require it when returning a session.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Supporting `application/json` request bodies should be droppe... | null |
supabase__auth__2232 | supabase/auth | 2,232 | defect | cf39a8ae2cc386f2672f0ecbb8d84dd77f04e56f | a132e8860b1149728f1fabdaedb26e0f0303f64a | feat(oauthserver): add authorization list and revoke endpoints | ## Summary
This PR adds user-facing endpoints that allow users to view and revoke their OAuth 2.1 client authorizations. This will allow users control over which applications have access to their accounts.
## Changes
### New Endpoints
#### `GET /user/oauth/authorizations`
Lists all OAuth clients th... | diff --git a/internal/api/api.go b/internal/api/api.go
index cc20808cdc..4243df7aa5 100644
--- a/internal/api/api.go
+++ b/internal/api/api.go
@@ -261,6 +261,14 @@ func NewAPIWithVersion(globalConfig *conf.GlobalConfiguration, db *storage.Conne
r.Get("/authorize", api.LinkIdentity)
r.Delete("/{identity_id}", ... | 6 | 2 | 0 | [{"id": "G0", "claim": "The RevokeOAuthSessions DELETE runs on the sessions table and should be checked against the existing sessions_oauth_client_id_idx index so the delete is not slow.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "As an option to... | null |
supabase__auth__2239 | supabase/auth | 2,239 | defect | b276d0bcf4d1ee08fce8c2f7146423e9aaf34dfb | a45a774f5ac667d864c06d4ab329416d8e05d4af | feat: async, concurrent index creation for users table | Introduces an asynchronous index worker for creating database indexes in the background.
- Creates indexes only when `GOTRUE_INDEX_WORKER_ENSURE_USER_SEARCH_INDEXES_EXIST` is enabled
- Config watcher notifies the worker when the config has changed to decide whether to create the indexes or not
- Non-blocking index... | diff --git a/cmd/create_indexes_cmd.go b/cmd/create_indexes_cmd.go
new file mode 100644
index 0000000000..7a713b7cc8
--- /dev/null
+++ b/cmd/create_indexes_cmd.go
@@ -0,0 +1,274 @@
+package cmd
+
+import (
+ "fmt"
+ "log"
+ "net/url"
+ "strings"
+ "time"
+
+ "github.com/gobuffalo/pop/v6"
+ "github.com/sirupsen/logrus"
... | 5 | 4 | 2 | [{"id": "G0", "claim": "The user-count threshold should start at a low number initially (e.g. 5k) rather than 1,000,000.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cleanup query may drop an in-progress CREATE INDEX CONCURRENTLY (an unfinished bui... | null |
supabase__auth__2241 | supabase/auth | 2,241 | defect | cc640b277989d57b39f3805cd9433ef4fe16bf83 | 7fb633bc7fa628315f9ed809fcd54e74c9691fa7 | fix: hostname can be empty with redirect urls | Oops. In in-app URLs like `com.app://` hostname is empty, but the regex expects at least one char. | diff --git a/internal/api/verify_test.go b/internal/api/verify_test.go
index 82d16c88ce..dae1b2664b 100644
--- a/internal/api/verify_test.go
+++ b/internal/api/verify_test.go
@@ -671,6 +671,13 @@ func (ts *VerifyTestSuite) TestVerifySignupWithRedirectURLContainedPath() {
requestredirectURL: "http://japanese。.examp... | 2 | 2 | 1 | [{"id": "G0", "claim": "Only allow the empty-hostname exemption for custom schemes - not for http or https, since those schemes require a hostname.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Match the scheme by exact equality (http or https) instea... | null |
supabase__auth__2274 | supabase/auth | 2,274 | defect | c6b8caa6cb24a43223c6f5c7cbe33af33ec59abd | 8ffca8c699108954a9533de5f343c028e9159fe4 | feat: allow amr claim to be array of strings or objects | ## Summary
This PR loosens the validation for the `amr` (Authentication Method Reference) claim in custom access token hooks to accept both array of strings and array of objects, instead of only array of objects.
- **Test Coverage**: Added two new test cases:
- Modify amr to be array of strings - Verifies that... | diff --git a/internal/api/token_test.go b/internal/api/token_test.go
index e3390c94e2..356edc0da3 100644
--- a/internal/api/token_test.go
+++ b/internal/api/token_test.go
@@ -741,6 +741,43 @@ end; $$ language plpgsql;`,
"user_metadata": nil,
},
shouldError: false,
+ }, {
+ desc: "Modify amr to be array ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The schema change now allows `amr` as an array of strings, but `AccessTokenClaims.AuthenticationMethodReference` still expects `[]models.AMREntry`, so parsing such tokens via `ParseWithClaims(&AccessTokenClaims{})` would fail JSON unmarshalling and cause authentication requests using these token... | null |
supabase__auth__2282 | supabase/auth | 2,282 | defect | 7f36eb053286038d01ba1650dd48a15508550ce0 | 8a17b6cbff13493add6a1cdf27f862a6233006d4 | feat: Treat rate limit header value as comma-separated list | ## What kind of change does this PR introduce?
This PR updates `performRateLimiting` to treat the rate limit header value as a comma-separated list and enforce rate limiting based on the first value in that list.
## What is the current behavior?
Certain HTTP headers, such as `X-Forwarded-For` and other headers... | diff --git a/internal/api/middleware.go b/internal/api/middleware.go
index e41ae80c30..9ddb749668 100644
--- a/internal/api/middleware.go
+++ b/internal/api/middleware.go
@@ -62,18 +62,47 @@ func (f *FunctionHooks) UnmarshalJSON(b []byte) error {
var emailRateLimitCounter = observability.ObtainMetricCounter("gotrue_em... | 2 | 1 | 1 | [{"id": "G0", "claim": "Instead of returning an error when the first rate limit header value is empty, it would be safer to log a warning and allow the request to pass through.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Wanted confirmation that ... | null |
supabase__auth__2295 | supabase/auth | 2,295 | defect | d9de0af3a173ae3e9ab0219c07652675f8be1761 | ed48e73456f5667c7ff4f3827bb047ecedd990d4 | feat: Add Sb-Forwarded-For header and IP-based rate limiting | ## What kind of change does this PR introduce?
This PR adds support for IP address forwarding using a new header, `Sb-Forwarded-For`, optionally gated by `GOTRUE_SECURITY_SB_FORWARDED_FOR_ENABLED`. When this feature is enabled, both `utilities.GetIPAddress` and rate limiting will use the first value of the `Sb-Forwa... | diff --git a/internal/api/api.go b/internal/api/api.go
index a728251c30..1dd3457a29 100644
--- a/internal/api/api.go
+++ b/internal/api/api.go
@@ -185,6 +185,7 @@ func NewAPIWithVersion(globalConfig *conf.GlobalConfiguration, db *storage.Conne
r.Route("/callback", func(r *router) {
r.Use(api.isValidExternalHost)... | 4 | 4 | 1 | [{"id": "G0", "claim": "When the custom forwarded-IP-header feature is enabled, the user-controllable header feeds MFA IP validation and IP-based rate limiting, so attackers can spoof its value to bypass those checks; the feature should not be used for security-critical operations without trusted-proxy safeguards.", "c... | null |
supabase__auth__2300 | supabase/auth | 2,300 | defect | d9de0af3a173ae3e9ab0219c07652675f8be1761 | 46de2428b6c665b63615812846ec105a8ce34631 | feat(oauth-server): store and enforce token_endpoint_auth_method | ## Problem
I noticed there was a TODO for storing the `token_endpoint_auth_method` value. While integrating with Claude.ai's OAuth flow, we discovered that returning `client_secret_basic` for all clients (regardless of their actual registration) was breaking the authentication flow. Claude.ai strictly validates the au... | diff --git a/internal/api/middleware.go b/internal/api/middleware.go
index ab28a8c588..8b025041fe 100644
--- a/internal/api/middleware.go
+++ b/internal/api/middleware.go
@@ -123,18 +123,18 @@ func (a *API) limitHandler(lmt *limiter.Limiter) middlewareHandler {
func (a *API) requireOAuthClientAuth(w http.ResponseWrite... | 4 | 4 | 2 | [{"id": "G0", "claim": "The manual validity loop in Validate should use slices.Contains to be consistent with the rest of the codebase.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TokenEndpointAuthMethod struct field's json/db tag alignme... | null |
supabase__auth__2301 | supabase/auth | 2,301 | defect | 607da43b697b0af1de0da5f966f5b63ff033fefb | 84dcb02ed6ae2d74cd754ae6b72293fde77e5b60 | fix(indexworker): remove pg_trgm extension | Removes dependency on the `pg_trgm` extension in the indexworker. This simplifies the rollout process related to extension creation and permissions at the cost of more restricted query patterns (i.e.: no contains queries on name and email `%term%`. | diff --git a/internal/indexworker/indexworker.go b/internal/indexworker/indexworker.go
index bed42f47fd..85af8dc77a 100644
--- a/internal/indexworker/indexworker.go
+++ b/internal/indexworker/indexworker.go
@@ -2,7 +2,6 @@ package indexworker
import (
"context"
- "database/sql"
"errors"
"fmt"
"log"
@@ -11,7 ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The DB URL is parsed twice — once conditionally and a second time non-conditionally without checking the error — and the reviewer asks whether this fails the same way for all input states, requesting the parsing be cleaned up.", "category": "correctness", "verdict": "supported", "priority": "P1"... | null |
supabase__auth__2330 | supabase/auth | 2,330 | defect | 1a1545b13465e5266f09eb2606cd424b8e3bfd85 | d42a5416646f96c8c30c1ca1a38219cad410842e | chore: Add http_route label to HTTP server metrics | ## What kind of change does this PR introduce?
This PR adds the `http_route` label to standard HTTP server metrics collected by the otelhttp package. This enables users to collect HTTP metrics per route.
Because `WithMetricAttributesFn` is only available in newer versions of otelhttp, this commit also upgrades th... | diff --git a/go.mod b/go.mod
index 88ed5cf408..0b48b4e2fd 100644
--- a/go.mod
+++ b/go.mod
@@ -27,7 +27,7 @@ require (
github.com/sethvargo/go-password v0.2.0
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.8.1
- github.com/stretchr/testify v1.10.0
+ github.com/stretchr/testify v1.11.1
golang.org/x/... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new addMetricAttributes calls chi.RouteContext(ctx).RoutePattern() without a nil check or panic recovery, so an unmatched route (e.g. /metrics) can panic and crash the server during metric collection.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.