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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tus__tusd__191 | tus/tusd | 191 | defect | ca36347384de6e5e9f73d172b3858bb29021b9a3 | c93a4f42788612793408072d1a527f3c85d5c483 | Add CORS support for Upload-Defer-Length header | This is a followup to #182 that adds the `Upload-Defer-Length` header to the `Access-Control-{Allow,Expose}-Headers` lists and addresses feedback from the earlier PR.
cc @Acconut @kvz | diff --git a/cors_test.go b/cors_test.go
index e7876e5bc..fd56f8044 100644
--- a/cors_test.go
+++ b/cors_test.go
@@ -21,7 +21,7 @@ func TestCORS(t *testing.T) {
},
Code: http.StatusOK,
ResHeader: map[string]string{
- "Access-Control-Allow-Headers": "Origin, X-Requested-With, Content-Type, Upload-Length, ... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the refactored Upload-Length handling in PatchFile, the error paths call sendError without an explicit return, so after sending the error the handler keeps executing the request (sending a second error, parsing the header, declaring the length and writing the chunk).", "category": "correctnes... | null |
tus__tusd__402 | tus/tusd | 402 | defect | c822a3afb1fcd644b161ecda8454c40236f4d8ad | 8d8046c853955f0c3dfb3b43118af88c23ed717d | S3Store: Concurrently write upload parts to S3 while reading from client | ## Overview
As discussed in #379, the throughput performance of S3Store can degrade when the S3 (or compatible) API has high or unpredictable latency. Currently, S3Store synchronously reads bytes from the client, writes them to disk, and then writes the file on disk to the S3 API. That approach is simple and reliabl... | diff --git a/pkg/s3store/s3store.go b/pkg/s3store/s3store.go
index d3f7224e0..7a2f57258 100644
--- a/pkg/s3store/s3store.go
+++ b/pkg/s3store/s3store.go
@@ -135,6 +135,11 @@ type S3Store struct {
// MaxObjectSize is the maximum size an S3 Object can have according to S3
// API specifications. See link above.
MaxO... | 8 | 7 | 2 | [{"id": "G0", "claim": "MaxBufferedParts should be an int64 to align with the rest of the configuration fields.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A default value for MaxBufferedParts (maybe 20) should be set in the New function as a safety n... | null |
tus__tusd__410 | tus/tusd | 410 | defect | 26b84bcb1c818f95ea236fbfe1c43e47c32574ab | 27d0e935aa9856ade2975a79feec7984d8f5fe99 | s3store: Increase default part size | This PR introduces a PreferredPartSize property to the S3Store which controls how big tusd should make the individual parts. The goal is to reduce the number of HTTP requests that must be made to AWS S3 (or S3 compatible storages).
With these changes the default part size would be increased from 5MB (the minimum pa... | diff --git a/pkg/s3store/s3store.go b/pkg/s3store/s3store.go
index d3f7224e0..e5ab00c98 100644
--- a/pkg/s3store/s3store.go
+++ b/pkg/s3store/s3store.go
@@ -128,6 +128,12 @@ type S3Store struct {
// in bytes. This number needs to match with the underlying S3 backend or else
// uploaded parts will be reject. AWS S3,... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment should read \"into parts\" instead of the typo \"into part\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The comment should say \"smaller than or equal to PreferredPartSize\" instead of \"smaller or equal Pr... | null |
tus__tusd__963 | tus/tusd | 963 | defect | 79f848e390d2201694cd6c1c89bf0b86fb161f67 | d6d6e020389fe81820f50515a74edc3095bec817 | Graceful shutdown | This PR implements a graceful shutdown for tusd. Once it receives a shutdown instruction, it will stop listening and try to close down all uploads properly, so that data stores and locker can properly clean up. It waits for a specific period after the first shutdown instructions. If the requests are not all closed down... | diff --git a/cmd/tusd/cli/serve.go b/cmd/tusd/cli/serve.go
index 7349b8455..ad6a0be7f 100644
--- a/cmd/tusd/cli/serve.go
+++ b/cmd/tusd/cli/serve.go
@@ -1,9 +1,13 @@
package cli
import (
+ "context"
"crypto/tls"
+ "errors"
"net"
"net/http"
+ "os"
+ "os/signal"
"strings"
"time"
@@ -115,62 +119,113 @@ fun... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment above the shutdown call says the timeout is user-specified, but it is hardcoded to 5 seconds; the shutdown timeout should be made configurable (or the comment corrected).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tusen-ai__naive-ui__2728 | tusen-ai/naive-ui | 2,728 | defect | ce18dd6cb016a5c588dcb5f0ffb71e8acf16f927 | d6a7019852f6932f6112463fced2c97b16cdd816 | feat(radio): add radio label | Closes [#2707](https://github.com/TuSimple/naive-ui/issues/2707)
<!--
!!! Please read the following content if this is your first pull request !!!
1. If you are working on docs, please set `docs` branch as the target branch.
2. If you are working on bug fixes or new features, please set `main` branch as the targe... | diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md
index 3428e6d6ac7..1eb06ba09a6 100644
--- a/CHANGELOG.en-US.md
+++ b/CHANGELOG.en-US.md
@@ -8,6 +8,7 @@
### Feats
+- `n-radio` add label prop, closes [#2707](https://github.com/TuSimple/naive-ui/issues/2707).
- `n-drawer` adds `on-after-enter` and `on-after-lea... | 4 | 3 | 0 | [{"id": "G0", "claim": "The English changelog entry should be reworded so the prop name is in backticks: \"add `label` prop\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Chinese changelog entry should be reworded to the suggested phrasing ... | null |
tusen-ai__naive-ui__2945 | tusen-ai/naive-ui | 2,945 | defect | 2e9bb563f4b1850a3dae4c043b67311406fa0988 | 29282e224cef74128b4a60fc8ea00810cab6f2f9 | feat(pagination): improve quickJump | <!--
!!! Please read the following content if this is your first pull request !!!
1. If you are working on docs, please set `docs` branch as the target branch.
2. If you are working on bug fixes or new features, please set `main` branch as the target branch.
For people who are working on 2, please add changelog... | diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md
index 23389dcab1b..49b582afcb9 100644
--- a/CHANGELOG.zh-CN.md
+++ b/CHANGELOG.zh-CN.md
@@ -4,6 +4,8 @@
### Fixes
+- 过滤 `n-pagination` 中快速跳转的输入字符为纯数字
+- `n-pagination` 快速跳转的页码超出范围时曲最大值/最小值
- 修复 `n-menu` 使用 `render-icon` 函数返回值为 true 时渲染不正确
- 修复 `n-tabs` 的 `tabF... | 4 | 2 | 0 | [{"id": "G0", "claim": "The CHANGELOG.zh-CN.md entries are not formatted like the other changelog entries (they should follow the 'fix description, close #issue' pattern) and the English changelog is missing equivalent entries.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
tusen-ai__naive-ui__3208 | tusen-ai/naive-ui | 3,208 | defect | fe2dafe3c383ea3a14e563e3ba95dec62c247f61 | f45fad27d1a0f37e5ec0f5d3eb72fb3e674b74ff | feat(popover): add `footer` slot and `footer-style` prop | close #3188
Signed-off-by: Sepush <sepush@outlook.com>
<!--
!!! Please read the following content if this is your first pull request !!!
1. If you are working on docs, please set `docs` branch as the target branch.
2. If you are working on bug fixes or new features, please set `main` branch as the target br... | diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md
index ca571506581..7e2da8d5bbf 100644
--- a/CHANGELOG.en-US.md
+++ b/CHANGELOG.en-US.md
@@ -1,5 +1,14 @@
# CHANGELOG
+## NEXT_VERSION
+
+### Fixes
+
+### Feats
+
+- `n-popover` adds `footer-style` prop.
+- `n-popover` adds `footer` slot, closes [#3188](https://git... | 3 | 3 | 0 | [{"id": "G0", "claim": "The demo documentation sentence \"`header` `footer`\" reads oddly and should have a conjunction (or other word) between the two slot names, in both the zhCN and the enUS slots demos.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
tusen-ai__naive-ui__3371 | tusen-ai/naive-ui | 3,371 | defect | 035611e9e9fed99cd6a89e43360c4c86e413e7b9 | dd0a29f1c643b659eed3664284b9b8c08380057f | feat(alert): add `bordered` prop | Signed-off-by: Sepush <sepush@outlook.com>
close #3358
<!--
!!! Please read the following content if this is your first pull request !!!
1. If you are working on docs, please set `docs` branch as the target branch.
2. If you are working on bug fixes or new features, please set `main` branch as the target br... | diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md
index 065ec83b227..2ce5ffa8007 100644
--- a/CHANGELOG.en-US.md
+++ b/CHANGELOG.en-US.md
@@ -1,5 +1,13 @@
# CHANGELOG
+## NEXT_VERSION
+
+### Fixes
+
+### Feats
+
+- `n-alert` adds `bordered` prop, closes [#3358](https://github.com/TuSimple/naive-ui/issues/3358).
+... | 2 | 2 | 0 | [{"id": "G0", "claim": "Since the css vars do not change with the bordered prop, the theme-class hash should just return props.type[0] instead of appending a bordered marker.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The bordered state shou... | null |
tusen-ai__naive-ui__3372 | tusen-ai/naive-ui | 3,372 | defect | 035611e9e9fed99cd6a89e43360c4c86e413e7b9 | 54899898d646ce0d5d0fb495755976762a8a79db | feat(menu): add `show` prop for option | <!--
!!! Please read the following content if this is your first pull request !!!
1. If you are working on docs, please set `docs` branch as the target branch.
2. If you are working on bug fixes or new features, please set `main` branch as the target branch.
For people who are working on 2, please add changelog... | diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md
index 065ec83b227..93275d51774 100644
--- a/CHANGELOG.en-US.md
+++ b/CHANGELOG.en-US.md
@@ -1,5 +1,13 @@
# CHANGELOG
+## NEXT_VERSION
+
+### Fixes
+
+### Feats
+
+- `n-menu` add `hidden` prop to set whether the Menu item is hidden, closes [#3334](https://github.co... | 4 | 4 | 1 | [{"id": "G0", "claim": "The new option prop should be named `show` with a default of `true` instead of `hidden`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "itemRenderer should `return null` instead of `return undefined` when the option should not be ... | null |
tusen-ai__naive-ui__3567 | tusen-ai/naive-ui | 3,567 | defect | d3a9af578111360d681e392207af1907f5ea1dcf | a36b737f36e470163d44c028f19823137998e079 | feat(rate): add clearable prop | <!--
!!! Please read the following content if this is your first pull request !!!
1. If you are working on docs, please set `docs` branch as the target branch.
2. If you are working on bug fixes or new features, please set `main` branch as the target branch.
For people who are working on 2, please add changelog... | diff --git a/src/rate/demos/zhCN/clearable.demo.vue b/src/rate/demos/zhCN/clearable.demo.vue
new file mode 100644
index 00000000000..14c247803a7
--- /dev/null
+++ b/src/rate/demos/zhCN/clearable.demo.vue
@@ -0,0 +1,7 @@
+<markdown>
+# 基础用法
+</markdown>
+
+<template>
+ <n-rate clearable allow-half />
+</template>
diff ... | 3 | 3 | 0 | [{"id": "G0", "claim": "The zh-CN clearable demo should be titled 重置 (Reset) instead of 基础用法 (Basic usage), since the demo demonstrates the reset interaction.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An English (enUS) clearable demo should b... | null |
tusen-ai__naive-ui__5598 | tusen-ai/naive-ui | 5,598 | defect | fce7b64ead4ba18d26b0115dc500303fdd70b3fc | 9a2250d0c2f009b7146aadd0446e14802319eadf | feat(auto-complete): adds append prop | [adds append prop for auto-complete](https://github.com/tusen-ai/naive-ui/issues/5591) | diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md
index 3d99b040e93..ea561dac17d 100644
--- a/CHANGELOG.en-US.md
+++ b/CHANGELOG.en-US.md
@@ -6,6 +6,10 @@
- Fix `n-tree`'s `override-default-node-click-behavior` prop may conflict with default switcher click or checkbox click behavior.
+### Features
+
+- `n-autoc... | 3 | 2 | 0 | [{"id": "G0", "claim": "The example demo does not open a select dropdown, so it does not demonstrate the append behaviour the reviewer expected.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The append row in the enUS and zhCN docs tables should li... | null |
tvheadend__tvheadend__1250 | tvheadend/tvheadend | 1,250 | defect | ceb82fc6961a725d7a77f5e8de1ffd4aefbde7e8 | bf4c6d158312105f187993670f9e5301f7278808 | Changes to make tvheadend work in a container while talking to HDHomerun | tvheadend relies on multicasting to communicate with the HDHomerun.
This presents problems when running tvheadend in a Docker container without enabling host networking in the container.
To solve this, I added 3 fields to the config -
1. hdhomerun_ip
2. local_ip
3. local_port
hdhomerun_ip is used during the... | diff --git a/src/config.c b/src/config.c
index 8aaf58ac99..479e56a71e 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1707,6 +1707,9 @@ config_boot
config.iptv_tpool_count = 2;
config.date_mask = strdup("");
config.label_formatting = 0;
+ config.hdhomerun_ip = strdup("");
+ config.local_ip = strdup("");
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The description of the new local_ip config field is wrong - it repeats the HDHomerun IP field's description instead of describing the local IP.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tvheadend__tvheadend__1347 | tvheadend/tvheadend | 1,347 | defect | 52b255940f9eb71904b9ac01c733cad090cd061a | 3d02d232c947a095a6e1bcc6859f82c8476b89e5 | iptv: new features for multicast, rtsp & rtcp (retransmission & remote time shift) | Dear all,
Attached some new features I implemented for IPTV. Looking forward to your comments.
- Implement RTCP Negative Acknowledge (a.k.a. Retransmission) support for RTP streams.
When packet loss is detected the client will send a RTCP Generic Feedback report to the server. The server can than resend thes... | diff --git a/src/channels.c b/src/channels.c
index 521a6e0f5b8..d06eacb23d2 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -542,6 +542,16 @@ const idclass_t channel_class = {
.list = channel_class_epg_running_list,
.opts = PO_EXPERT | PO_DOC_NLIST,
},
+#if ENABLE_TIMESHIFT
+ {
+ ... | 16 | 11 | 7 | [{"id": "G0", "claim": "Remote timeshift support should also be implemented for http/hls streams, whose providers expose timeshift via timestamped URLs.", "category": "feature", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The pull request causes segfaults at profile.c:644 (p... | null |
tvheadend__tvheadend__1378 | tvheadend/tvheadend | 1,378 | defect | ecd05a21de3075466476df97cf37ffd42c787e58 | b4041a562c4dbd16fcb216d6835bcd5801aca246 | Add ISDB-T support to HDHomeRun client | Adding support to the HDHomeRun client for HDHomeRub device HDHR4-2IS which is compatible with ISDB-T standard used in Brazil and other countries. | diff --git a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c
index 18068faf5d..db6e073826 100644
--- a/src/input/mpegts/tvhdhomerun/tvhdhomerun.c
+++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun.c
@@ -123,6 +123,7 @@ tvhdhomerun_device_class_override_enum( void * p, const char *lan... | 2 | 2 | 0 | [{"id": "G0", "claim": "The added DVB_TYPE_ISDB_T case in tvhdhomerun_frontend_tune duplicates the default branch's snprintf and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new `if (strstr(hd->hd_info.deviceModel, \"_is... | null |
tvheadend__tvheadend__1751 | tvheadend/tvheadend | 1,751 | defect | dd82541c4c4c372a5b6af15e3dc0477f75c1b1bd | a174261067f0a13d53a0b7d2f817f52933344c63 | iptv: allow to limit UDP ports for unicast inputs | Here is the associated feature request with explanations: #1738 | diff --git a/src/config.c b/src/config.c
index c5bd4ef4db..a8b853d453 100644
--- a/src/config.c
+++ b/src/config.c
@@ -2199,9 +2199,13 @@ const idclass_t config_class = {
.number = 6,
},
{
- .name = N_("Miscellaneous Settings"),
+ .name = N_("Ports settings"),
.numb... | 2 | 2 | 2 | [{"id": "G0", "claim": "The multicast detection added in udp_bind, which compares the bind address against the IPv4 prefix \"239.\" with strncmp, is not IPv6 ready.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When rtsp_udp_max_port is configured ... | null |
tvheadend__tvheadend__1845 | tvheadend/tvheadend | 1,845 | defect | ede23be0d25fc7d42f144fec551e4742f082a37c | e691ec9572b48df8d5d8b90c432981c068d0fc70 | New API Call to determine suitability for entering low-power mode and calculating a reawakening time. | When TVH is used as part of a DVR appliance configuration, it may be desirable to implement a low-power mode during periods of prolonged inactivity. Although this information is currently available, it requires multiple API calls and the interpretation of cron strings to obtain. This new API call simplifies and conso... | diff --git a/src/api/api_status.c b/src/api/api_status.c
index 9b8e5c99a9..cd48e88ba6 100644
--- a/src/api/api_status.c
+++ b/src/api/api_status.c
@@ -26,6 +26,8 @@
#include "api.h"
#include "tcp.h"
#include "input.h"
+#include "epggrab.h" //Needed to get the next EPG grab times
+#include "dvr/dvr.h" //Needed to g... | 2 | 2 | 0 | [{"id": "G0", "claim": "The decision to actually suspend the machine should be made system wide rather than based on tvheadend information alone, since relying on tvheadend info alone assumes tvheadend is the only thing running on the machine; exposing the information via the API is fine.", "category": "design", "verdi... | null |
tvheadend__tvheadend__2009 | tvheadend/tvheadend | 2,009 | defect | 67f98d620c03402b89f07cd0d96e843024a8ab86 | 87a85b89c7315e5469142c2907f02b8697feeab2 | Remove per-channel remote timeshift implementation | PRs #1393 and #1347 incorrectly implemented remote timeshift at the per-channel level. This removes that implementation.
## Changes
**Channel layer**
- Removed `ch_remote_timeshift` field from `channel_t` structure
- Removed remote_timeshift property from channel configuration
**HTSP server**
- Removed remote timesh... | diff --git a/src/channels.c b/src/channels.c
index d06eacb23d..521a6e0f5b 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -542,16 +542,6 @@ const idclass_t channel_class = {
.list = channel_class_epg_running_list,
.opts = PO_EXPERT | PO_DOC_NLIST,
},
-#if ENABLE_TIMESHIFT
- {
- .t... | 2 | 2 | 0 | [{"id": "G0", "claim": "In src/htsp_server.c the rewritten profile_chain_work call passes a bare 0 as the flags argument; the reviewer asks that PROFILE_WORK_NONE be used instead of 0.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The profile_w... | null |
tvheadend__tvheadend__2041 | tvheadend/tvheadend | 2,041 | defect | 4980ee4c9ea2ca5fd829ed5953278e27ef1029e3 | 487c6eb8c0c47150ada470aa12ba7134c17efea3 | make reset counters a global option; fix linuxdvb mux lock after failed tuning; other improvements | - linuxdvb: Fixes mux becoming unusable after editing its configuration due to EINVAL caused by incorrect tuning options.
- make the auto-reset counters option global, allowing the user to enable it on demand.
- fix several missing locks and memory leaks detected by Coverity (CID-352140, CID-470910, CID-551184) | diff --git a/src/channels.c b/src/channels.c
index 521a6e0f5b..6e9692b6d2 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -137,7 +137,7 @@ channel_class_autoname_set ( void *obj, const void *p )
s = channel_get_name(ch, NULL);
if (s) {
free(ch->ch_name);
- ch->ch_name = strdup(s);
+ ... | 3 | 2 | 1 | [{"id": "G0", "claim": "The `free(absolute_key_url)` inside the while loop can lead to a double free because the pointer is not cleared, so it should be set to NULL after being freed, or the free moved to after the loop.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id... | null |
tvheadend__tvheadend__351 | tvheadend/tvheadend | 351 | defect | d328f74497ed972f09c11fac2857bf062002aa19 | 7a66bfc18414969e3b9cb8a16c6293c040d04b9f | Fix the service <-> channel mapping editor | - the channel entry should be saved after unlink (not before)
- the service or channel entry should be notified about changes
to keep the channel / service grids in sync
| diff --git a/src/service.c b/src/service.c
index 5a250ef7d4..851512a5ba 100644
--- a/src/service.c
+++ b/src/service.c
@@ -83,7 +83,6 @@ static int
service_class_channel_set
( void *obj, const void *p )
{
- int save = 0;
service_t *svc = obj;
htsmsg_t *chns = (htsmsg_t*)p;
const char *str;
@@ -99,13 +98... | 4 | 3 | 2 | [{"id": "G0", "claim": "In service_mapper_link()/service_mapper_unlink0() the new idnode_notify_simple() call should be placed with the channel-save (inside if(save)/if(dosave)) and notify the channel id only, instead of firing on every link/unlink with a ternary that notifies the service on the no-save path.", "catego... | null |
tvheadend__tvheadend__397 | tvheadend/tvheadend | 397 | defect | 681899c9fb1f0b4f2a0958790a4ba7265a3b9ca8 | 2763659055a4c46ec5b98ce2a29eaa3079aa00db | Initial support for compiling on OS X | This is ready for 1st round of review.
uuid_t needs to be renamed as it clashes with system uuid_t definition on OS X.
As clang compiler is more restrictive than gcc, I had to disable some checks.
At some places i replaced size_t with ssize_t, as those variables are used for storing -1 value.
ESTRPIPE, EBADFD and EME... | diff --git a/Makefile b/Makefile
index 609a5a0bc30..7fc97b22837 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,16 @@ CFLAGS += -Wmissing-prototypes -fms-extensions
CFLAGS += -g -funsigned-char -O2
CFLAGS += -D_FILE_OFFSET_BITS=64
CFLAGS += -I${BUILDDIR} -I${ROOTDIR}/src -I${ROOTDIR}
-LDFLAGS += -lrt -ldl -lpt... | 3 | 1 | 1 | [{"id": "G0", "claim": "Revert the ssize_t type change of hc_csize and instead keep the field size_t, handling the 'unlimited' case with the (size_t)-1 sentinel and explicit '== (size_t)-1' comparisons in httpc.c, which is the proper fix for the -Wtautological-compare build error on OS X.", "category": "correctness", "... | null |
tvrzna__emptty__148 | tvrzna/emptty | 148 | defect | 2b8645a511d5fbfec2f189b9ab68fde8cdc7cfb7 | 328fdf5e972a2c5504fdebe17c5f6acd1154f7ac | Add IndentSelection | Closes #147

Not (yet) sure where I can find `Select [6]:` to also move it... | diff --git a/README.md b/README.md
index b895443..a9a64ca 100644
--- a/README.md
+++ b/README.md
@@ -55,6 +55,8 @@ __NOTE:__ to enable autologin DEFAULT_USER must be in group nopasswdlogin, other
`VERTICAL_SELECTION` Prints available WM/DE each on new line instead of printing on single line.
+`INDENT_SELECTION` Ho... | 5 | 5 | 3 | [{"id": "G0", "claim": "INDENT_SELECTION should be removed from the default res/conf file, because distros may overwrite users' configurations if that file changes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The INDENT_SELECTION documentatio... | null |
tweag__nickel__1028 | tweag/nickel | 1,028 | defect | 2578d67fa7cb7b72963b96e856f9ba8ab45b344e | 5fc9671c6aeb52bd17f58dbde264e584c7f4301f | [Fix] Do not panic on type path mismatch | Closes #1021
Before, the type path information encoded in a label and the original type/contract annotation had to match, by virtue of the Nickel implementation. We panicked if not the case.
Typically, if the implementation of builtin contracts called to `%go_dom%`, `%go_codom%` and `%go_array%` in this order, g... | diff --git a/src/error.rs b/src/error.rs
index 8ccc7b9c80..1fe209074a 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -11,9 +11,12 @@ use lalrpop_util::ErrorRecovery;
use crate::{
eval::callstack::CallStack,
identifier::Ident,
- label::{self, ty_path},
- parser,
+ label::{
+ self,
+ ty... | 5 | 5 | 1 | [{"id": "G0", "claim": "The stray extra spaces inside \"function\" and \"returns\" in the error-note text are a typo and should read \"A function\" and \"f returns\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment for last_arrow_el... | null |
tweag__nickel__1185 | tweag/nickel | 1,185 | defect | 8a7e19a68d6af9cf93f2917c8a9446688645d2e7 | 0e64fde918959ab868b74e085cdc95e380af5e8e | Merge diagnostics that show where a violated contract is bound and the violated contract | Currently, when there is a contract failure, the error message displays the actual contract violated and a note showing where the contract is bound separately.
As in, if we enter this in the Nickel REPL:
```
nickel> let x | { a : Number } = { a = "1" } in x
```
We would have the following error:
<details clos... | diff --git a/src/error.rs b/src/error.rs
index 1e5dbb6650..a7fe6e2ad4 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -1044,11 +1044,10 @@ mod blame_error {
pub fn build_diagnostic_labels(
evaluated_arg: Option<RichTerm>,
blame_label: &label::Label,
- path_label: Label<FileId>,
fi... | 6 | 6 | 1 | [{"id": "G0", "claim": "The broken subtype context should be part of the main contract diagnostic rather than a separate note.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The WithPos wrapper added around Forall in the Types rule should not be needed."... | null |
tweag__nickel__1473 | tweag/nickel | 1,473 | defect | 8f4c5103ff9a3d4e7d0a99fff3eee00087593017 | c27174441d2014c64fbd9620a9e610d60f13025c | Proper type instantiation discipline | Closes #584 #360 #1027
This PR is the last missing piece toward a reasonable bidirectional typechecking algorithm that properly handles higher-rank polymorphic types.
Until now, instantiation of polymorphic types has been sometimes ad-hoc and bizarrely limited. Simple programs such as:
```nickel
let r : { id ... | diff --git a/core/src/term/mod.rs b/core/src/term/mod.rs
index 983221ef63..8829614128 100644
--- a/core/src/term/mod.rs
+++ b/core/src/term/mod.rs
@@ -514,6 +514,7 @@ impl TypeAnnotation {
.collect::<Result<Vec<_>, _>>()
}
+ /// Set the `field_name` attribute of the labels of the type and contrac... | 3 | 3 | 0 | [{"id": "G0", "claim": "The doc comment should say '[A Quick Look at Impredicativity][quick-look], although we' instead of ', also we'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The code comment should read 'we can get away with eagerly insta... | null |
tweag__nickel__1583 | tweag/nickel | 1,583 | defect | be9269a44320a7d33d76415761d67ce386b0c58c | f888e9a5363535c42435d306a2ded0414af874e8 | Fix LSP regression | Closes #1574.
## Cause
After the bidirectional refactoring (better separating the rules between `infer` and `check`), the LSP was experiencing regressions, not showing hover information in some cases, in particular within statically typed blocks.
The separation between `infer` and `check` makes less clear whic... | diff --git a/core/src/typecheck/linearization.rs b/core/src/typecheck/linearization.rs
index 02651aa532..311d986481 100644
--- a/core/src/typecheck/linearization.rs
+++ b/core/src/typecheck/linearization.rs
@@ -79,6 +79,7 @@ impl LinearizationState for Uninit {}
pub trait Linearizer {
type Building: Linearization... | 7 | 6 | 0 | [{"id": "G0", "claim": "The `# Arguments` doc block on `check` describing `item_id` should be removed because it has been moved to `check_visited`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `add_term` doc should read \"location. In this... | null |
tweag__nickel__1610 | tweag/nickel | 1,610 | defect | b2459d31722dcb4f4ea50452c8c5b25ca3560114 | a7891be3b914f818db4177efb50116ae1e8c3122 | Move goto away from the linearizer | Rewrites goto definition and references to use the new machinery instead of the linearizer.
Fixes #881. | diff --git a/core/src/typ.rs b/core/src/typ.rs
index dde8d28023..15fac98917 100644
--- a/core/src/typ.rs
+++ b/core/src/typ.rs
@@ -854,20 +854,24 @@ impl RecordRows {
/// - path: `["a", "b"]`
/// - result: `Some(Number)`
pub fn row_find_path(&self, path: &[Ident]) -> Option<Type> {
+ self.row_find... | 1 | 1 | 0 | [{"id": "G0", "claim": "Since row_find_path has only two call sites, both in the error reporting code, remove the row_find_path wrapper added by this change, rename row_find_path_row to find_path, and inline the extraction of a Type from RecordRowF<&Type> into the error reporting code.", "category": "design", "verdict"... | null |
tweag__nickel__1611 | tweag/nickel | 1,611 | defect | f28797ebf03f720f27957728637e50d8989b4f6d | 91a3eea8ad3d7b7569f7bb0feec8dc01ab2b40bc | Testing Nickel snippets in the manual | Add a new test suite in `core/tests/manual` which parses the Markdown files in `doc/manual` to extract all Nickel code blocks and checks that they parse or evaluate correctly. For now, REPL sessions in the manual aren't evaluated during testing but only parsed.
To facilitate this, code blocks in the manual are annot... | diff --git a/core/tests/manual/main.rs b/core/tests/manual/main.rs
new file mode 100644
index 0000000000..de191be96d
--- /dev/null
+++ b/core/tests/manual/main.rs
@@ -0,0 +1,123 @@
+use std::{fs::File, io::read_to_string};
+
+use comrak::{
+ arena_tree::{Node, NodeEdge},
+ nodes::{Ast, AstNode, NodeCodeBlock, Nod... | 7 | 4 | 1 | [{"id": "G0", "claim": "The sentence added at the top of contracts.md ('Contracts can also be attached to identifiers in a definition. In let bindings, the following is equivalent to the previous example:') is awkward and should be reworded to 'Contracts can also be attached to identifiers in a let binding. The followi... | null |
tweag__nickel__1710 | tweag/nickel | 1,710 | defect | 28672ee45bfe78dc3dc828ac1fe4fa40f99965e9 | 0d85f1e438fffee020fbdf2e0576fcca912eec8e | Add suggestions when misspelling a record field | Closes #1708.
This pull request shows suggestions of similar field names when trying to access a non-existent field of a record.
This first implementation uses the Damerau-Levensthein distance. The choice of the algorithm is inspired from the Rust compiler, although they use a more involved and hand-written varia... | diff --git a/Cargo.lock b/Cargo.lock
index 8408a7a73b..c273a17eff 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1700,6 +1700,7 @@ dependencies = [
"similar",
"simple-counter",
"strip-ansi-escapes",
+ "strsim",
"termimad",
"test-generator",
"toml",
diff --git a/cli/tests/snapshot/inputs/errors/record_access_s... | 5 | 1 | 0 | [{"id": "G0", "claim": "The secondary label \"field `some_fild_nam` is missing here\" suggests the field was supposed to be present; something like \"this record lacks the field `some_fild_nam`\" would be clearer for a missing-field error.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope"... | null |
tweag__nickel__1712 | tweag/nickel | 1,712 | defect | 28672ee45bfe78dc3dc828ac1fe4fa40f99965e9 | e06d81221cbdabafdf404d0b2ed9760ff2432c71 | Add a `--field` argument to subcommands whenever it makes sense | Depends on #1709
Closes #1408
This PR is the last step toward closing #1408. It adds a `--field <FIELD_PATH>` parameter to several subcommands, to allow to act or to query only a specific subfield of the configuration. One of the usual motivating use case is to generate several configurations from the same Nickel f... | diff --git a/cli/src/customize.rs b/cli/src/customize.rs
deleted file mode 100644
index d853da9c18..0000000000
--- a/cli/src/customize.rs
+++ /dev/null
@@ -1,588 +0,0 @@
-use std::{
- collections::{BTreeMap, HashMap},
- ffi::OsString,
-};
-
-use clap::{parser::ValueSource, ArgAction, Command};
-use nickel_lang_co... | 3 | 2 | 0 | [{"id": "G0", "claim": "The reviewer asks whether there is any reason for the Customize::field accessor to return Option<&String> instead of Option<&str>.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "CustomizeMode duplicates the field argument declarat... | null |
tweag__nickel__1944 | tweag/nickel | 1,944 | defect | b4a3fd9ddb2a09a4d2912c753cd6147d68e99221 | 98877c30d7c426303b0bb0d53df88b51862e405c | Fix nls crash, and better refresh diagnostics. | In nls, if `main.ncl` imports `dep.ncl` and `dep.ncl` changes, we need
to invalidate some cached data about `main.ncl` and re-check it.
Previously we were simply resetting `main.ncl` to the "parsed" state in
the cache, but this isn't sufficient because our cached term for
`main.ncl` might depend on `dep.ncl`. Speci... | diff --git a/core/src/cache.rs b/core/src/cache.rs
index 5c535d428c..e4f1116c0c 100644
--- a/core/src/cache.rs
+++ b/core/src/cache.rs
@@ -1013,6 +1013,13 @@ impl Cache {
.map(|TermEntry { state, .. }| std::mem::replace(state, new))
}
+ /// Remove the cached term associated with this id.
+ ///... | 1 | 1 | 1 | [{"id": "G0", "claim": "`Cache::reset` only removes the cached term, which can leave the cache in an inconsistent state (related state such as imports/rev_imports is not cleared and reverse dependencies of the invalidated file stay stale), so the reviewer prefers the invalidation of reverse dependencies to happen insid... | null |
tweag__nickel__2077 | tweag/nickel | 2,077 | defect | 00dfa7b97878f04f7901eb7637ab396ad85509f5 | 99c5290e0ab216667e6db06b6eb8cb46ee2b7c46 | Strict typechecking mode | This adds a `--strict-typechecking` flag that starts the typechecker in "checking" mode, equivalent to wrapping each file in `(...) : _`.
A couple of points I was unsure of:
- this PR does it for every file, but maybe we only want it at the top level?
- I noticed while testing that despite the "strict" in the name... | diff --git a/cli/src/cli.rs b/cli/src/cli.rs
index 80a49ea18a..97ab0350ca 100644
--- a/cli/src/cli.rs
+++ b/cli/src/cli.rs
@@ -7,7 +7,7 @@ use crate::{
pprint_ast::PprintAstCommand, query::QueryCommand, typecheck::TypecheckCommand,
};
-use nickel_lang_core::error::report::ErrorFormat;
+use nickel_lang_core::{co... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new `strict: bool` typechecker parameter should be replaced by the existing `TypecheckMode` enum, hoisted from the pattern code up into the `typecheck` module, to avoid boolean blindness.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
tweag__nickel__2120 | tweag/nickel | 2,120 | defect | bbaa956e52d34462240e059fd00c2f4b34ac181a | d8e18b441eaf984146281263ddf47c27a4aa36ec | Add `filter_map`, `dedup` and some variants to the stdlib | Closes #1958. Adds `filter_map`, `dedup`, as well as two variants of `dedup` that avoid the quadratic behavior of the purely equality-based vanilla version, `sort_dedup` and `hash_dedup`. | diff --git a/cli/tests/snapshot/snapshots/snapshot__eval_stderr_subcontract_nested_custom_diagnostics.ncl.snap b/cli/tests/snapshot/snapshots/snapshot__eval_stderr_subcontract_nested_custom_diagnostics.ncl.snap
index 7b26d4abc6..7fda7501f1 100644
--- a/cli/tests/snapshot/snapshots/snapshot__eval_stderr_subcontract_nest... | 2 | 2 | 1 | [{"id": "G0", "claim": "`hash_dedup` should not ship as is: its \"hash\" function must always map distinct elements to distinct strings or dedup gives wrong answers, and the documentation's framing that collisions only matter \"with very high probability\" is misleading.", "category": "correctness", "verdict": "support... | null |
tweag__nickel__2234 | tweag/nickel | 2,234 | defect | 752b5198d26efc1453d59f7afff3e083d4df09f3 | ccf92b3d3916fc0ba83f8ee63cbf3607c9823805 | Improved error message when subtyping an inhomogeneous record as a dict | Fixes #2231. | diff --git a/core/src/error/mod.rs b/core/src/error/mod.rs
index 081e0ac20e..d8c969063c 100644
--- a/core/src/error/mod.rs
+++ b/core/src/error/mod.rs
@@ -451,6 +451,15 @@ pub enum TypecheckError {
/// The position of the expression that was being typechecked as `type_var`.
pos: TermPos,
},
+ ... | 3 | 3 | 0 | [{"id": "G0", "claim": "The comment added in subtyping.rs reads 'trigger a type mismatch with it tries' and should say 'when it tries'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new diagnostic note says 'Found a record with a fields of ty... | null |
tweag__nickel__2315 | tweag/nickel | 2,315 | defect | daae9a7057f1387c5d4e718b3d8db28c967c922a | 68472a50e7b178ac2fffd7bd9bd13af12cda0e7b | Allow index packages to live in subdirectories of the repo | Fixes #2292 | diff --git a/cli/src/package.rs b/cli/src/package.rs
index 88edaf43e8..a5772a44e8 100644
--- a/cli/src/package.rs
+++ b/cli/src/package.rs
@@ -43,7 +43,7 @@ pub enum Command {
#[arg(long)]
index: PathBuf,
- /// The package id (like "github/nickel-lang/json-schema-lib") that you
+ /// T... | 6 | 4 | 2 | [{"id": "G0", "claim": "The std.package.PackageId documentation wrongly states that owner and repo are arbitrary strings that don't contain slashes, when in fact they are constrained.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The subdirectory... | null |
tweag__nickel__2435 | tweag/nickel | 2,435 | defect | e10d2f362d0d184593aad07552b036a008240a56 | 1de69b9b290a3643049b2e4f913e1e9e58c4ac78 | Allow the input format of stdin to be specified in the CLI | Closes #2426.
As discussed on that issue, I opted to make the flag only valid on inputs from stdin, and made its usage when providing positional file arguments an error. I used the flag name ```--stdin-format``` to make it clear that it's not applicable to other types of inputs.
Here's an example usage:
```
$ e... | diff --git a/Cargo.lock b/Cargo.lock
index 50815210ff..63d5867bc0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3673,6 +3673,7 @@ version = "0.1.0"
dependencies = [
"assert_matches",
"bumpalo",
+ "clap",
"codespan",
"codespan-reporting 0.13.1",
"indexmap",
diff --git a/cli/src/doc.rs b/cli/src/doc.rs
index 52... | 2 | 1 | 0 | [{"id": "G0", "claim": "The InputFormatOptions trait and its following items could have short documentation explaining why they exist and which arguments they correspond to.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new stdin integration ... | null |
tweag__nickel__376 | tweag/nickel | 376 | defect | 269ead2a58ded6b1939e70dcd23550e92304277f | d05eea64eb448797e35a24d581135d6d9d24a633 | Fix dynamic fields not having access to recursive fields | Depend on #374. Fix #298.
Previously, the parser was elaborating a record with fields defined dynamically as a static record followed by a sequence of dynamic extension:
```
let x = "foo" in
let y = "bar" in
{ "#{x}" = 1, "#{y}" = 2, baz = 3}
// Rewritten at parsing time as
{baz = 3} $[ x = 1] $[ y = 2 ]
... | diff --git a/src/cache.rs b/src/cache.rs
index b69678c54c..42f2edeadd 100644
--- a/src/cache.rs
+++ b/src/cache.rs
@@ -391,7 +391,7 @@ impl Cache {
/// # Preconditions
///
/// - the entry must syntactically be a record (`Record` or `RecRecord`). Otherwise, this
- /// function panic
+ /// function p... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test block added at tests/pass/record-defs.ncl:34 is identical to the test above it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tweag__nickel__393 | tweag/nickel | 393 | defect | 97eef556d43b936d4335e4e916fdaa4c710147b0 | 9b0df940d8941a4a93545ea3bc8b71d223e9389b | Perform imports resolution before typechecking to be able to typecheck the imported files also | fixes #316
Split imports resolution and program transformations. In eval.rs, cache.rs and repl.rs perform the imports before typeschecking | diff --git a/src/cache.rs b/src/cache.rs
index c4241f1a49..6893922091 100644
--- a/src/cache.rs
+++ b/src/cache.rs
@@ -90,6 +90,8 @@ pub struct NameIdEntry {
pub enum EntryState {
/// The term have just been parsed.
Parsed,
+ /// The term has been parsed and the imports resolved
+ ImportsResolved,
... | 4 | 3 | 1 | [{"id": "G0", "claim": "Using `contains` on a two-element array is overkill; prefer the explicit `*state == EntryState::Parsed || *state == EntryState::ImportsResolved`, or simply `*state >= EntryState::Parsed` since `EntryState` implements `Ord`.", "category": "maintainability", "verdict": "supported", "priority": "P3... | null |
tweag__nickel__397 | tweag/nickel | 397 | defect | da4de0b3b2e3ed1360bbf31dcf9c9fc4f456461f | c9435a4c9b20b28171b99df916ece6d6cf9b992e | Check for unbound type variables at parsing time | Fixes #384
A test fails, unsure if I actually found a bug with the PR or if my code is buggy. | diff --git a/src/error.rs b/src/error.rs
index 0bdba50496..19a34e047c 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -212,6 +212,8 @@ pub enum ParseError {
String, /* error message */
Option<RawSpan>,
),
+ /// Unbound type variable
+ UnboundTypeVariables(Vec<Ident>)
}
/// An error occu... | 5 | 5 | 2 | [{"id": "G0", "claim": "The new check_unbound function should be documented.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The bound_set is superfluous; keep only the unbound_set (free variables) and remove the variable bound by the forall from t... | null |
tweag__nickel__432 | tweag/nickel | 432 | defect | c8d608de9649f955f7c5e121b92ac96f01cfa568 | 4861a2f439ad28b633a5909b24a3d71692f53556 | Fix looping typechecking of cyclic imports | Fix #409.
Do not make `type_check` functions transitively typecheck imports anymore. They now just peek at the toplevel node of the imports to see the apparent type, in order to be able to decide the type of an expression `import "foo.ncl"`, but they restrain from recursing inside `foo.ncl`.
It is now the respons... | diff --git a/src/cache.rs b/src/cache.rs
index 54750bd26b..6d92ed8f9e 100644
--- a/src/cache.rs
+++ b/src/cache.rs
@@ -1,7 +1,6 @@
//! Source cache.
use crate::error::{Error, ImportError, ParseError, TypecheckError};
-use crate::identifier::Ident;
use crate::parser::lexer::Lexer;
use crate::position::TermPos;
us... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the new recursive cache operations the entry's final state (Typechecked/Transformed/ImportsResolved) is set before its transitive imports are processed, so a failure while typechecking or resolving a deep import would leave the entry wrongly marked as done, and the reviewer asks whether it wo... | null |
tweag__nickel__479 | tweag/nickel | 479 | defect | 6af1f7d7f801712fda1f8077e4e91ac1a9c33c05 | 7c1110fcede099e46115c3241ee712b8d02034bd | can use arbitrary Str in enums deffinitions | impl and close #460 | diff --git a/src/grammar.lalrpop b/src/grammar.lalrpop
index 290aa07216..492a0e7aec 100644
--- a/src/grammar.lalrpop
+++ b/src/grammar.lalrpop
@@ -183,7 +183,7 @@ Atom: RichTerm = {
Bool => RichTerm::from(Term::Bool(<>)),
StrChunks,
Ident => RichTerm::from(Term::Var(<>)),
- "`" <Ident> => RichTerm::fr... | 4 | 4 | 0 | [{"id": "G0", "claim": "Rename the new grammar nonterminal `EnumField` to `EnumTag` at its definition and at all three use sites, per the suggested blocks.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rename of the enum-tag bindings from `... | null |
tweag__nickel__737 | tweag/nickel | 737 | defect | 24bdbde6bc34d99c046a01744413f1152d3a9b4c | c17647dcb71a7304559bd73b90cc02d2d7431cb8 | Syntax: allow ' in identifers | Resolves #708. | diff --git a/doc/manual/syntax.md b/doc/manual/syntax.md
index 3fcf596976..ef99d73538 100644
--- a/doc/manual/syntax.md
+++ b/doc/manual/syntax.md
@@ -4,6 +4,10 @@ slug: syntax
# Nickel Syntax
+## Identifiers
+
+Nickel identifiers start with an alphabetic character, followed by alphanumeric characters in addition ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new Identifiers paragraph in doc/manual/syntax.md should be reworded as suggested to describe the grammar as an alphabetic character followed by zero or more alphanumeric characters, `_` (underscores) or `'` (single quotes), and the example sentence should read `this-isn't-invalid` is a vali... | null |
tweag__nickel__808 | tweag/nickel | 808 | defect | 397247109ef103c882161da4177dd684deca59e0 | 3e2f3224843978919403e3abe4c93e8e63d27efa | Handle and report parse errors that cause trouble during evaluation. | Fixes #799.
Here's a suggested fix. What do you think about this?
The following commands
```
nickel -f main.ncl
nickel -f lib.ncl
```
now both report the same error message:
```
error: unexpected token
┌─ /Users/tor/projects/work/nickel/lib.ncl:2:19
│
2 │ name = "Nickel",,
│ ... | diff --git a/src/error.rs b/src/error.rs
index 23f6616c07..00931d9e2e 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -52,6 +52,8 @@ pub enum EvalError {
/* position of the original unevaluated expression */ TermPos,
/* evaluated expression */ RichTerm,
),
+ /// A wrapped parse error that caus... | 5 | 3 | 1 | [{"id": "G0", "claim": "Checking for ParseError only in the StaticAccess branch of process_unary_operation misses cases, since Nickel imports are not necessarily behind a StaticAccess (e.g. a top-level string import), so the evaluator escapes the check; the reviewer suggests checking for parse error terms in eval_closu... | null |
tweag__nickel__847 | tweag/nickel | 847 | defect | 2e708011ccdb03d298113da65d606e41feb451a8 | fd1fee4ac518bef4318ce16c523f86c040893427 | Don't panic when a row mismatch occurs while unifying row tails | When unifying the tails of row types, we only handle a subset of all
possible unification errors. Previously row mismatches were not handled,
however in certain cases (such as the included test case here) we end up
trying to unify a row tail with a unification variable which resolves to
a type which doesn't match, ... | diff --git a/src/typecheck/mod.rs b/src/typecheck/mod.rs
index e7fefaa851..44ac65b544 100644
--- a/src/typecheck/mod.rs
+++ b/src/typecheck/mod.rs
@@ -1494,19 +1494,22 @@ pub fn unify_rows(
// cases, so we delegate the work. However it returns `UnifError` instead of
// `RowUnifError`, ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the typo \"deteministic\" in the regression test's comment, which should read \"deterministic\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tweag__nickel__940 | tweag/nickel | 940 | defect | b529181f62c722115655436beea640cfcb377d4b | b5818dd517209024e8edc446bd35c1895d1c46c7 | Revertible thunks as function II: fix recursive overriding | # Revertible thunks are functions
Closes #908.
Follow-up of #924: bring the presentation of revertible thunks as just functions memoization devices to its logical conclusion by providing helper to explicitly rebuild the represented function and apply it. This explicit application was required to fix recursive ov... | diff --git a/src/eval/fixpoint.rs b/src/eval/fixpoint.rs
index e5ad8530dc..86760eca2a 100644
--- a/src/eval/fixpoint.rs
+++ b/src/eval/fixpoint.rs
@@ -33,7 +33,8 @@ pub fn rec_env<'a, I: Iterator<Item = (&'a Ident, &'a RichTerm)>>(
}
/// Update the environment of the content of a recursive record field by extending... | 18 | 18 | 0 | [{"id": "G0", "claim": "The doc comments above the Revertible accessors read 'a revertible thunks' and should read 'a revertible thunk'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The saturate doc says 'a memoization mechanism)' with a stray c... | null |
tweag__nickel__975 | tweag/nickel | 975 | defect | dbf782d411af4bdb96ff9a439b72a1f764632f42 | 8df86eab15fdfe0f27f579bd48d1be457cd542d9 | Raise an error when functions are compared with `==` | This commit raises a new `EvalError::EqError` variant if either argument to an equality evaluates to a function term. This is true even if both arguments evaluate to the exact same function term. Previously this would just return `false`.
Merging this will close #921. | diff --git a/src/error.rs b/src/error.rs
index c733100b3d..0fb94a4bd7 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -100,6 +100,8 @@ pub enum EvalError {
label: label::Label,
call_stack: CallStack,
},
+ /// A non-equatable term was compared for equality.
+ EqError { eq_pos: TermPos, term:... | 5 | 2 | 0 | [{"id": "G0", "claim": "The `<unevaluated>` fallback in the EqError diagnostic covers a case that should be impossible because arguments to `==` are always evaluated, and the reviewer asks whether a debug_assert (or an unwrap) would be better than unwrap_or_else there.", "category": "design", "verdict": "opposed", "pri... | null |
tweepy__tweepy__1282 | tweepy/tweepy | 1,282 | defect | 514775e85cedb3097659855ad6ea29a9d870b1d5 | 1194b9bee601d16414f320e5b6c31b17f801b069 | Implement lists/ownerships | This PR exposes the ``lists/ownerships`` API endpoint currently missing from tweepy. | diff --git a/cassettes/testlistsownerships.json b/cassettes/testlistsownerships.json
new file mode 100644
index 000000000..6a1130c57
--- /dev/null
+++ b/cassettes/testlistsownerships.json
@@ -0,0 +1,99 @@
+{
+ "version": 1,
+ "interactions": [
+ {
+ "request": {
+ "method": "GET",... | 7 | 7 | 1 | [{"id": "G0", "claim": "The method signature in the docs should be reordered to API.lists_ownerships([user_id], [screen_name], [count], [cursor]).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The method's doc description should be reworded: say ... | null |
tweepy__tweepy__187 | tweepy/tweepy | 187 | defect | aa6a31d54b48338e2954daa7e34e9cc655a7ee78 | 5bf88f263a1e64111865ca5fc820259c99115fb6 | Trivially add support for retweeted_by_user | This API call: https://dev.twitter.com/docs/api/1/get/statuses/retweeted_by_user has the advantage that one does not need to be authenticated to retrieve retweets of a given user. Support for this was added trivially by adding the necessary function.
| diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 1232cbca6..6812fe3c4 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -25,3 +25,4 @@ Wayne Moore
Will McCutchen
gilles
Can Duruk
+Jan Schaumann (@jschauma)
diff --git a/setup.py b/setup.py
index edd4e3e49..83bc79c0b 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
f... | 3 | 3 | 2 | [{"id": "G0", "claim": "Please do not bump the package version (to 1.9.1) in setup.py and __version__ in tweepy/__init__.py in a pull request.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test calls a misspelled method retweeted_bye_us... | null |
tweepy__tweepy__403 | tweepy/tweepy | 403 | defect | 4d7ba301173031f3b90767a377f090251092dfff | 3ec42435680d590f109c0fb9bbabe7db48fe1500 | added multiple list members operation api methods(re-PR) | Sorry, I had missed the reply.
https://github.com/tweepy/tweepy/pull/265
Multiple list members operation api so was like not yet implemented, I push again after rebase.
| diff --git a/tests/test_api.py b/tests/test_api.py
index ab5c4c78b..1d31c7fed 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -280,6 +280,19 @@ def assert_list(l):
sleep(3)
assert_list(self.api.remove_list_member(**params))
+ def testaddremovelistmembers(self):
+ params = {
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "According to the Twitter docs for POST lists/members/create_all, the keyword arguments should be named `user_id` and `screen_name` (singular), not `user_ids` and `screen_names`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
twentyhq__twenty__14688 | twentyhq/twenty | 14,688 | defect | ff3467c18ef425fa37394ba0c068ee3fe8e844a7 | f3a093f987986aa994e3a212b2c7d57b70917b86 | Integrate IMAP and SMTP clients for message sending | Implement functionality to send messages using both IMAP and SMTP clients, allowing for message storage in the Sent folder.
Closes #14379 | diff --git a/packages/twenty-server/src/modules/messaging/message-import-manager/services/messaging-send-message.service.ts b/packages/twenty-server/src/modules/messaging/message-import-manager/services/messaging-send-message.service.ts
index 04b70eeaa26dc..73170b5e98435 100644
--- a/packages/twenty-server/src/modules/... | 8 | 4 | 3 | [{"id": "G0", "claim": "Use object destructuring in the send call for better readability (style).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "If the Sent-folder lookup or append fails (network error, permissions), the message is sent but not ... | null |
twentyhq__twenty__14895 | twentyhq/twenty | 14,895 | defect | ec317bd3d097b0a74149bb7e270f26360b967876 | 64f421f7b3648be352789ccd9c6653a1999a672a | Fix Admin control to disable workspace creation for non-admin users | fix #13460
| diff --git a/packages/twenty-server/src/engine/core-modules/auth/auth.resolver.ts b/packages/twenty-server/src/engine/core-modules/auth/auth.resolver.ts
index 36dfb3c3a9193..5cb73530f69b4 100644
--- a/packages/twenty-server/src/engine/core-modules/auth/auth.resolver.ts
+++ b/packages/twenty-server/src/engine/core-modul... | 5 | 4 | 1 | [{"id": "G0", "claim": "The method name isWorkspaceCreationAllowed misleads readers because it looks like a boolean query although it validates permissions and throws; it should be named to say so (e.g. checkWorkspaceCreationIsAllowedOrThrow).", "category": "maintainability", "verdict": "supported", "priority": "P2", "... | null |
twentyhq__twenty__15349 | twentyhq/twenty | 15,349 | defect | 822b4d75a4f8ea5faad9b55ead1f3b161a7f5fc5 | da47cbb38c02cb7d87f7bc12e6310eeaddd85772 | fix(mcp): Remove jsonSchema wrapper from tool inputSchema for MCP compatibility | ## Description
Fixes #15348
The Vercel AI SDK serializes tool schemas with a `jsonSchema` wrapper (`{ jsonSchema: {...} }`), but the Model Context Protocol specification expects the schema directly (`{ type: 'object', properties: {...} }`).
This was causing MCP clients like Claude Desktop to silently reject all tool... | diff --git a/packages/twenty-server/src/engine/core-modules/ai/services/mcp.service.ts b/packages/twenty-server/src/engine/core-modules/ai/services/mcp.service.ts
index 44644228489e4..ce1eefd95715b 100644
--- a/packages/twenty-server/src/engine/core-modules/ai/services/mcp.service.ts
+++ b/packages/twenty-server/src/en... | 1 | 1 | 1 | [{"id": "G0", "claim": "The existing test mcp.service.spec.ts:333 still expects the old wrapped jsonSchema() format and was not updated, so tests will likely fail against the new unwrapped inputSchema output.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
twentyhq__twenty__15616 | twentyhq/twenty | 15,616 | defect | 05a28a8ec2de4dc4afdb15a953e291f2adc264e7 | 7aa8dced6673b25b05a3a0641e4ffafabfae27ab | fix: minor color changes | Closes #15597
The `color` of `OnBoardingModalCircularIcon` was set to `gray`. Now it is set to `inverted` and it is displayed properly. I couldn't figure out how to reach the onboarding screen, so I created a temporary path and rendered the element there to verify the changes. Attaching screenshots of the same.
<im... | diff --git a/packages/twenty-front/src/modules/onboarding/components/OnboardingModalCircularIcon.tsx b/packages/twenty-front/src/modules/onboarding/components/OnboardingModalCircularIcon.tsx
index 61e378e6f1f83..8b8af0cdf481e 100644
--- a/packages/twenty-front/src/modules/onboarding/components/OnboardingModalCircularIc... | 2 | 2 | 0 | [{"id": "G0", "claim": "The 1px border should be applied directly on the shared ColorSample component in twenty-ui instead of the local StyledColorSample wrapper, because all ColorSample instances need the same border.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"... | null |
twentyhq__twenty__16360 | twentyhq/twenty | 16,360 | defect | 56e66315cd866f545e6f62318f0d8cca826d0bf1 | 8dc783e49753b2dcfee795a5e90d660206cfbbca | fix: improve CRON schedule validation and display | Fixes multiple issues with CRON schedule input validation and execution time display.
### Issues Fixed
1. **UTC label placement** - Added "UTC" suffix to specific times (e.g., "at 09:30 UTC") but not to interval descriptions (e.g., "every hour")
2. **Upcoming execution time calculation** - Fixed incorrect exec... | diff --git a/packages/twenty-front/src/modules/workflow/workflow-trigger/components/CronExpressionHelper.tsx b/packages/twenty-front/src/modules/workflow/workflow-trigger/components/CronExpressionHelper.tsx
index 0816fbf1bfe51..ec42032ff394d 100644
--- a/packages/twenty-front/src/modules/workflow/workflow-trigger/compo... | 5 | 4 | 0 | [{"id": "G0", "claim": "Six-field CRON expressions are incorrectly normalized: parts.slice(1).join(' ') drops the seconds field and shifts the remaining fields, so schedules can be misinterpreted, inconsistently with parseCronExpression.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "i... | null |
twentyhq__twenty__16387 | twentyhq/twenty | 16,387 | defect | 3e57aa14d3901ce25a0654170248bab09450eb97 | 33bec7599db268736afe9c17f72fef78b7a52d4a | fix(http-request-action): pretty-print JSON errors in test HTTP requeset hook | Before:
<img width="415" height="319" alt="Screenshot from 2025-12-08 09-00-48" src="https://github.com/user-attachments/assets/bd99cf74-d278-4344-a3c2-e7740d7d058b" />
After:
<img width="399" height="371" alt="Screenshot from 2025-12-08 08-59-05" src="https://github.com/user-attachments/assets/5c75bded-1632-4a9a-... | diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/hooks/useTestHttpRequest.ts b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/hooks/useTestHttpRequest.ts
index 68fca289265fa..aa1879c804735 100644
--- a/packages/tw... | 2 | 2 | 0 | [{"id": "G0", "claim": "Use parseJson from twenty-shared instead of the hand-rolled try/catch around JSON.parse when pretty-printing error messages.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use !isDefined (from twenty-shared) instead of th... | null |
twentyhq__twenty__16450 | twentyhq/twenty | 16,450 | defect | 7b98804ec16f5032da9d29f9f48539fb53c73919 | 0cdd55d7fb174037e3f1ed5077d06e59cc0242cf | fix(CSV export): update the csv export format for multi-select and arrray fields to match the import template format | Closes #16432
Multi-Select and Array fields were exported in an incompatible format:
**Before**: {"0":"VALUE1","1":"VALUE2"} (object with numeric keys)
**After**: ["VALUE1","VALUE2"] (JSON array)
This prevented exported CSV files from being re-imported successfully.
### Changes
Modified useExportProcessReco... | diff --git a/packages/twenty-front/src/modules/object-record/object-options-dropdown/hooks/__tests__/useExportProcessRecordsForCSV.test.ts b/packages/twenty-front/src/modules/object-record/object-options-dropdown/hooks/__tests__/useExportProcessRecordsForCSV.test.ts
index b9461af41c0fc..8c955653ef7f4 100644
--- a/packa... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new tests should cover the empty-field edge case, adding records with empty tags/skills arrays (e.g., tags: [], skills: []) and verifying these fields serialize as '[]' both in the processed records and in the CSV output.", "category": "testing", "verdict": "supported", "priority": "P2", "sc... | null |
twentyhq__twenty__17264 | twentyhq/twenty | 17,264 | defect | 39470b74a4ad5e19188a133847a53ba2b112546e | c2e06531ef32f04632afaba6bcb384b7e7e4416c | fix: implement polymorphic relation detach when selecting 'No {Field}' | Fixes #17253
When clicking 'No {Field}' in a polymorphic relation picker, the relation was not being cleared. This commit implements the missing detach logic:
- RecordDetailMorphRelationSectionDropdownManyToOne: Call onSubmit with newValue: null when no item is selected
- MorphRelationManyToOneFieldInput: Call p... | diff --git a/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailMorphRelationSectionDropdownManyToOne.tsx b/packages/twenty-front/src/modules/object-record/record-field-list/record-detail-section/relation/components/RecordDetailMorphRelationSectionDro... | 3 | 3 | 1 | [{"id": "G0", "claim": "The handleSubmit function in RecordDetailMorphRelationSection incorrectly throws a CustomError when newValue is null, which happens when a user tries to detach a polymorphic relation, causing a runtime error that prevents detaching.", "category": "correctness", "verdict": "supported", "priority"... | null |
twentyhq__twenty__17428 | twentyhq/twenty | 17,428 | defect | 23b1b7914aa754b2c6b7a2b4108127a251941c6e | 7e2ee9e734f4b0f670c4aa0398a15047ce0b007c | IMAP fix edge case of nested folder filtering of unwanted folders | Fixes this edge case I saw on a customer's account, where INBOX was the parent folder of standard folders
<img width="580" height="634" alt="edge case folders" src="https://github.com/user-attachments/assets/c715e5c6-8d37-45a8-a962-16da2bf38ced" />
| diff --git a/packages/twenty-server/src/modules/messaging/message-folder-manager/drivers/imap/services/imap-get-all-folders.service.ts b/packages/twenty-server/src/modules/messaging/message-folder-manager/drivers/imap/services/imap-get-all-folders.service.ts
index b8eb1ecd834b8..f2a0c1a374c6d 100644
--- a/packages/twen... | 1 | 1 | 0 | [{"id": "G0", "claim": "get-sent-folder-candidates-by-regex.util.ts calls getStandardFolderByRegex with folder.path instead of folder.name, so it may have the same nested-folder detection issue fixed here and should be updated to use folder.name.", "category": "correctness", "verdict": "supported", "priority": "P1", "s... | null |
twentyhq__twenty__17530 | twentyhq/twenty | 17,530 | defect | 5c1c998b97b5c5419a9a7b9fe8c7334979a436d1 | b69babe4e98a2b5d6fe13b94454ad8f54a452a04 | Refactor `delete` `objectMetadata` action type and handler to be workspace agnostic | # Introduction
Refactoring the delete and update field to use cached flatEntitty.__universal.objectMetadataUniversalIdentifier to infer related object | diff --git a/packages/twenty-server/src/engine/core-modules/application/application.resolver.ts b/packages/twenty-server/src/engine/core-modules/application/application.resolver.ts
index a4c01a9da6c22..6bb68815a4fa5 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application.resolver.ts
+++ b/pa... | 1 | 1 | 0 | [{"id": "G0", "claim": "The delete-field action handler's missing-universal-identifier check throws a generic `Error`, whereas the equivalent check in update-field-action-handler.service.ts throws `WorkspaceMigrationActionExecutionException`; for codebase consistency it should use the same exception type with an approp... | null |
twentyhq__twenty__17573 | twentyhq/twenty | 17,573 | defect | 69c53c7dffd2308cb524f9c267100560e7b566ca | 9b10caf6d82c3c5b8a2aae4b8b76a75aa7133175 | [GroupBy] Fix order by date granularity | https://discord.com/channels/1130383047699738754/1466472357496623165/1466472357496623165
before
<img width="1262" height="598" alt="image" src="https://github.com/user-attachments/assets/e6fb9a13-58c0-408d-b3e9-a486ec04c33c" />
after
<img width="670" height="267" alt="image" src="https://github.com/user-attachm... | diff --git a/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/graphql-query-parsers/graphql-query-order/graphql-query-order-group-by.parser.ts b/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/graphql-query-parsers/graphql-query-order/graphql-query-order-group-by.parser.ts
index 484... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new handling of cyclical date granularities in compareDimensionValues (returning 0) may need updating; the author was unsure what should be done there and left the update to bosiraphael.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1",... | null |
twentyhq__twenty__17629 | twentyhq/twenty | 17,629 | defect | 84deb8067de59838a1cf80757c7269f2911e36d6 | 6fd0e6db8d93672356ca446035cdf08332840791 | Improve qualification of rest errors | Will help close [sentry](https://twenty-v7.sentry.io/issues/6827612895/?environment=prod&environment=prod-eu&project=4507072499810304&query=is%3Aunresolved%20%21issue.type%3A%5Bperformance_consecutive_db_queries%2Cperformance_consecutive_http%2Cperformance_file_io_main_thread%2Cperformance_db_main_thread%2Cperformance_... | diff --git a/packages/twenty-server/src/engine/api/rest/utils/workspace-query-runner-rest-api-exception-handler.util.ts b/packages/twenty-server/src/engine/api/rest/utils/workspace-query-runner-rest-api-exception-handler.util.ts
index 14d3f504aa5a0..e7be96f8f90b2 100644
--- a/packages/twenty-server/src/engine/api/rest/... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new `/column .+ does not exist` message check misclassifies errors that are usually on our end (e.g. metadata out of sync or migration issues) as INVALID_INPUT, so they may return 400 instead of 500; such cases should be caught separately or distinguished from user-supplied column names.", "... | null |
twentyhq__twenty__17696 | twentyhq/twenty | 17,696 | defect | c18f574aeec45400c16c8836cfd20859b148b039 | 6bef374a60d5cd635f4f00b9fc802f495a665256 | Fix twenty sdk build | - add twenty-ui in dist/vendor folder
- fix ts issue due to react version mismatch | diff --git a/packages/create-twenty-app/package.json b/packages/create-twenty-app/package.json
index 5855086898a5d..48dac4f763896 100644
--- a/packages/create-twenty-app/package.json
+++ b/packages/create-twenty-app/package.json
@@ -1,6 +1,6 @@
{
"name": "create-twenty-app",
- "version": "0.4.0",
+ "version": "0.... | 1 | 1 | 0 | [{"id": "G0", "claim": "The twenty-sdk package imports from twenty-shared without declaring it as a dependency in its package.json, which will cause runtime import errors for consumers of the SDK.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
twentyhq__twenty__17754 | twentyhq/twenty | 17,754 | defect | 955c1b49161fef90c1faf0981d81f6381af389ae | 54dfcc6ddd846ef81d8eb64e2b9d98c44f69e1bc | Fix CSV preview duplicate key warning (#10920) | Fix issue #10920
<img width="1264" height="630" alt="image" src="https://github.com/user-attachments/assets/d7a00e4f-85cb-49e1-aa38-4c807f1e1b69" />
The root cause is that `@cyntler/react-doc-viewer`'s CSV renderer uses **cell values as React keys** instead of indices.
### There are two approaches:
1. **patch... | diff --git a/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx b/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx
index 53be3e97d6a84..eba705ab849e3 100644
--- a/packages/twenty-front/src/modules/activities/files/components/DocumentViewer.tsx
+++ b/packages... | 9 | 3 | 0 | [{"id": "G0", "claim": "The effect calling fetchCsvPreview has no .catch/error handling, so a failed fetch or parse leaves the CSV view stuck on 'Loading csv ...' with an unhandled rejection (and it can also set stale state when documentUrl changes quickly).", "category": "correctness", "verdict": "uncertain", "priorit... | null |
twentyhq__twenty__17825 | twentyhq/twenty | 17,825 | defect | 2d42b0a7262e5ef754f3d9073fcffd09d1853374 | 9d62f43b1020cc11e62b78b9bcb200ab09e347ca | Add wildcard documentation for like/ilike/containsIlike filters | Add documentation for issue #16602
After discussing with the team (Thomas), https://discord.com/channels/1130383047699738754/1443986309436936212 we decided that updating the documentation.
The issue is In compute-where-condition-parts.ts, the like/ilike cases pass values directly to SQL without adding % wildcards fo... | diff --git a/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/utils/compute-where-condition-parts.ts b/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/utils/compute-where-condition-parts.ts
index 8fb4d9af4b161..d8a0027735eb2 100644
--- a/packages/twenty-server/src/engine/api/graphql... | 9 | 5 | 1 | [{"id": "G0", "claim": "The `startsWith` and `endsWith` operators don't escape SQL wildcard characters (`%`, `_`) in user input, so a `startsWith` filter for \"100%\" generates the parameter value `100%%` and matches any string starting with \"100\" instead of the literal string.", "category": "correctness", "verdict":... | null |
twentyhq__twenty__18006 | twentyhq/twenty | 18,006 | defect | e3fcff00b06b2c4d15081d7f176cd377aa7bf497 | 79e9673576d3db5122f3009575364dda9d394f98 | Move secure HTTP client IP validation to connection level | ## Summary
- Refactors SSRF protection from a request-level adapter to connection-level agents, validating resolved IPs in `createConnection` + socket `lookup` events
- Sets both `httpAgent` and `httpsAgent` so validation applies regardless of protocol switches during redirects
- Caps `maxRedirects` to 10 as defense in... | diff --git a/packages/twenty-server/src/engine/core-modules/secure-http-client/__tests__/secure-http-client.service.spec.ts b/packages/twenty-server/src/engine/core-modules/secure-http-client/__tests__/secure-http-client.service.spec.ts
index 8358e390a4f46..eb33179eb7c07 100644
--- a/packages/twenty-server/src/engine/c... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `options: any` and `oncreate: any` parameters of the `createConnection` override bypass TypeScript's type checking on a security-critical code path; they should be given at least a minimal type such as `{ host?: string }` for `options`.", "category": "maintainability", "verdict": "supported"... | null |
twentyhq__twenty__18015 | twentyhq/twenty | 18,015 | defect | 163c1175cbd2e16cbe299ce67e9d34e2e4fb10ff | 29963df34c125a58c841a3f2391def5f5dec04d6 | fixes: loosen up front validation, add resolveEntityRelationUniversalIdentifiers to update and restore | closes https://github.com/twentyhq/private-issues/issues/419 | diff --git a/packages/twenty-front/src/modules/command-menu/pages/page-layout/types/PieChartConvertibleFields.ts b/packages/twenty-front/src/modules/command-menu/pages/page-layout/types/PieChartConvertibleFields.ts
index 9196403d0060a..77c079db2de5c 100644
--- a/packages/twenty-front/src/modules/command-menu/pages/page... | 7 | 2 | 1 | [{"id": "G0", "claim": "The existing tests for convertBarOrLineChartConfigToPieChart do not assert the newly added aggregateFieldMetadataId mapping and should be updated to verify it is correctly mapped from configuration.aggregateFieldMetadataId.", "category": "testing", "verdict": "supported", "priority": "P1", "scop... | null |
twentyhq__twenty__18081 | twentyhq/twenty | 18,081 | defect | db9636bd9e2c97b380eff7d0cfaec2aac20fbeab | 97b089b6f8c1fb1805ea5d38dedd2cf2c1ec6265 | Remove non positive integer constraint on Nav Menu Item | To fit with position typed field logic + Ease favorite to nav menu item migration (which have negative and float position) | diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-navigation-menu-item-validator.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-navigation-me... | 1 | 1 | 1 | [{"id": "G0", "claim": "The validation for flatNavigationMenuItem.position was relaxed to accept any finite number, including floats, while the database schema defines the position column as an integer, so float values the API now permits would be truncated or error out when stored.", "category": "correctness", "verdic... | null |
twentyhq__twenty__18118 | twentyhq/twenty | 18,118 | defect | 3bc887e12eb1ed8b6e5c809eeaa762fa3f8afbe2 | 0bb2281b6924381183305254290634854c47486f | [Feat] : add source to actor fields | fixes #18099
Simple implementation of the matchingSourceValues to be searched in the ACTOR case in turnRecordFilterIntoRecordGqlOperationFilter
<img width="1239" height="494" alt="Screenshot 2026-02-20 at 5 21 14 PM" src="https://github.com/user-attachments/assets/20ee076e-dccd-4747-a1ab-38d649f6591e" />
| diff --git a/packages/twenty-shared/src/utils/filter/turnRecordFilterIntoGqlOperationFilter.ts b/packages/twenty-shared/src/utils/filter/turnRecordFilterIntoGqlOperationFilter.ts
index e41bb4b1dff8d..73857257b752d 100644
--- a/packages/twenty-shared/src/utils/filter/turnRecordFilterIntoGqlOperationFilter.ts
+++ b/packa... | 3 | 3 | 3 | [{"id": "G0", "claim": "The new ACTOR source-filtering logic lacks tests covering CONTAINS matching a source, DOES_NOT_CONTAIN excluding a source, and the edge cases of no matching source values and multiple matching source values.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"... | null |
twentyhq__twenty__18289 | twentyhq/twenty | 18,289 | defect | def5ea5764b5a243a7689f1f238da348ef2e37b7 | 51620f4555a547c59f4c65105d0891b820a3addc | feat : Added "Quarter" as a time unity to filter on date | fixes #16674
Simply added the Quarter functionality to the existing filter code with months amount multiplied by 3.
<img width="1258" height="760" alt="Screenshot 2026-02-27 at 11 59 26 AM" src="https://github.com/user-attachments/assets/30648259-2b72-480a-b8fa-55ed88d9ebf3" />
| diff --git a/packages/twenty-front/src/modules/ui/input/components/internal/date/constants/RelativeDateUnitSelectOptions.ts b/packages/twenty-front/src/modules/ui/input/components/internal/date/constants/RelativeDateUnitSelectOptions.ts
index 3072341639cbd..6b896130930ef 100644
--- a/packages/twenty-front/src/modules/u... | 4 | 2 | 2 | [{"id": "G0", "claim": "The evaluateThisDirection function is missing a case for 'QUARTER', so 'THIS QUARTER' filters fall through to the default and always fail (returning false, or throwing via assertUnreachable once it was added).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "intro... | null |
twentyhq__twenty__18297 | twentyhq/twenty | 18,297 | defect | cfad24da48d7763fab68cedaa67c77eb7e29d354 | 8d826e6b9654b3a242b464edee0e8c061c7675fc | fix: [Note] Title not filled by default #13838 | Fixes #13838
When creating a note from the command menu side panel (e.g. clicking "Add Note" in a related notes section on an Opportunity/company/people page), the title field was not auto-focused — focus point went to body instead.
## Root Cause
When a record opens in the side panel, there is no page navigatio... | diff --git a/packages/twenty-front/src/modules/command-menu/hooks/__tests__/useOpenRecordInCommandMenu.test.tsx b/packages/twenty-front/src/modules/command-menu/hooks/__tests__/useOpenRecordInCommandMenu.test.tsx
index bb2181970e1e0..9876ed28e58c3 100644
--- a/packages/twenty-front/src/modules/command-menu/hooks/__test... | 3 | 3 | 2 | [{"id": "G0", "claim": "DEBUG_FOCUS_STACK is set to true, enabling verbose focus-stack debug logging in production, and should be kept false by default or gated behind a dev-only flag.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test should a... | null |
twentyhq__twenty__18308 | twentyhq/twenty | 18,308 | defect | 159bb9d70af450974e4aa75afe5603b7af513cf6 | c29ee5e42a5becc825eb0bc5cd13f1ce33f7ce71 | feat: remember original URL and redirect after login | ## Summary
- Implement a return-to-path mechanism that preserves the user's intended destination across authentication flows (login, magic link, cross-domain redirects)
- Uses layered persistence: Jotai atom (in-memory), sessionStorage with TTL (tab-switch resilience), URL query parameter (cross-domain propagation)
- ... | diff --git a/packages/twenty-front/src/hooks/__tests__/usePageChangeEffectNavigateLocation.test.ts b/packages/twenty-front/src/hooks/__tests__/usePageChangeEffectNavigateLocation.test.ts
index a404aebe334dd..01a4e7e1ae51e 100644
--- a/packages/twenty-front/src/hooks/__tests__/usePageChangeEffectNavigateLocation.test.ts... | 6 | 5 | 4 | [{"id": "G0", "claim": "Validate the return-to-path read from sessionStorage before returning it, otherwise a tampered entry can bypass the path whitelist/exclusion logic.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "decodeURIComponent can throw on m... | null |
twentyhq__twenty__18315 | twentyhq/twenty | 18,315 | defect | 1db2a409612d8e4de0148f7b6bdf8d62535002fd | 3c8870885aa3680a3b7d3cd5080930fbbd51a5ed | Fix E2E tests broken by redesigned navigation menu | ## Summary
- **Settings selector**: The Settings navigation item is now rendered as a `<button>` (via `NavigationDrawerItem` with `onClick`) instead of an `<a>` link (with `to`). Updated `leftMenu.ts` POM and `create-kanban-view.spec.ts` to use `getByRole('button', { name: 'Settings' })`.
- **create-record URL field**:... | diff --git a/packages/twenty-e2e-testing/lib/pom/leftMenu.ts b/packages/twenty-e2e-testing/lib/pom/leftMenu.ts
index c58c3f7f1a02e..ee5d2ddc3fe0a 100644
--- a/packages/twenty-e2e-testing/lib/pom/leftMenu.ts
+++ b/packages/twenty-e2e-testing/lib/pom/leftMenu.ts
@@ -22,7 +22,7 @@ export class LeftMenu {
this.workspa... | 2 | 1 | 0 | [{"id": "G0", "claim": "The click() call on the 'Performance Rating' field label is missing an await, which can cause a race condition and intermittent failures in the e2e test.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The .click() call on l... | null |
twentyhq__twenty__18334 | twentyhq/twenty | 18,334 | defect | ae291c99ba5da35ea4acc73b1576a560663507dd | fb23df8db26c8fa738a260df3c77b7313ec47306 | fix: validate input before formatting in MultiItemFieldInput | Reorder validateInput to run before formatInput to prevent parsePhoneNumber from throwing INVALID_COUNTRY on bad input.
Fixes TWENTY-FRONT-5RQ
/closes https://github.com/twentyhq/twenty/issues/17670 | diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/MultiItemFieldInput.tsx
index f22ff019a3d2e..cc4a630d40826 100644
--- a/packages/twenty-front/src... | 3 | 3 | 1 | [{"id": "G0", "claim": "No unit tests were added to cover the validate-before-format regression scenario, so nothing prevents the ordering from being accidentally reverted.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The try-to-cast-then-validate log... | null |
twentyhq__twenty__18351 | twentyhq/twenty | 18,351 | defect | b1107c823a16eaee679a23a088d64956c85f1405 | f3de2fa95c2dce03041614cce75291322a86fe7c | `[SDK]` Execute logic function e2e test | # Introduction
Creating an e2e test covering the execute logic function public operation | diff --git a/packages/twenty-sdk/src/cli/__tests__/apps/function-execute-app/__e2e__/function-execute.e2e-spec.ts b/packages/twenty-sdk/src/cli/__tests__/apps/function-execute-app/__e2e__/function-execute.e2e-spec.ts
new file mode 100644
index 0000000000000..9d5c8434310b5
--- /dev/null
+++ b/packages/twenty-sdk/src/cli... | 4 | 1 | 0 | [{"id": "G0", "claim": "The beforeAll timeout budget is tight for appBuild in slow CI, and a vi.waitFor timeout reports only the generic assertion failure instead of the actual result.error details; consider exposing the failure details and optionally increasing the beforeAll timeout.", "category": "testing", "verdict"... | null |
twentyhq__twenty__18405 | twentyhq/twenty | 18,405 | defect | 228865bd9491090a516b49df8056bbc7f6897fd4 | 1abc4ad648b3a10d5e680969d251497a1f8a2992 | fix: auto-retry Microsoft OAuth on AADSTS650051 race condition | ## Summary
Fixes #13008
Azure AD has a [known bug](https://learn.microsoft.com/en-us/answers/questions/5570899/our-adminconsent-url-always-fails-with-aadsts65005) where the first consent attempt for a multi-tenant app fails with `AADSTS650051` because the service principal is mid-provisioning in the target tenant. Mi... | diff --git a/packages/twenty-server/src/engine/core-modules/auth/guards/microsoft-oauth.guard.ts b/packages/twenty-server/src/engine/core-modules/auth/guards/microsoft-oauth.guard.ts
index 0e3f2d78cc8b9..315a93907d262 100644
--- a/packages/twenty-server/src/engine/core-modules/auth/guards/microsoft-oauth.guard.ts
+++ b... | 4 | 4 | 2 | [{"id": "G0", "claim": "The msRetry counter is not included in the OAuth state, so it always reads as zero on the redirect callback, the retry cap is never enforced, and a persistent AADSTS650051 error causes an infinite redirect loop.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int... | null |
twentyhq__twenty__18518 | twentyhq/twenty | 18,518 | defect | ae122f4bb1be62f7019478933e8646a90c4835d1 | acb23c23613c40c4bc77c6fecc325a592948abca | Improve SSRF IP validation and add protocol allowlist | ## Summary
- Replace regex-based private IP detection in `isPrivateIp` with Node.js `net.BlockList` for CIDR-based range checking, which properly handles all IPv4-mapped IPv6 representations (both dotted-decimal and hex forms)
- Add missing non-routable IP ranges: carrier-grade NAT (`100.64.0.0/10`), IANA special purp... | diff --git a/packages/twenty-server/src/engine/core-modules/secure-http-client/__tests__/secure-http-client.service.spec.ts b/packages/twenty-server/src/engine/core-modules/secure-http-client/__tests__/secure-http-client.service.spec.ts
index 5bbe6b039fe86..c886990e32204 100644
--- a/packages/twenty-server/src/engine/c... | 1 | 1 | 1 | [{"id": "G0", "claim": "The protocol allowlist can be bypassed when `requestConfig.url` is an empty string because validation is skipped before checking `baseURL` (`??` does not fall through for '').", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
twentyhq__twenty__18533 | twentyhq/twenty | 18,533 | defect | c73a660e46c0fa5f6fc64dfe8f163830981bf3b2 | 0754477a83a7acede92e6bd5109a88fbb386637a | Fix PDF Upload edge case | we were using an older version of `file-type` which has limited support for PDF as it's a complex spec
Updated to latest version which includes support for plugins and added `@file-type/pdf` which has extensive spec compliant detection approach
fixes TWENTY-SERVER-FAN | diff --git a/packages/twenty-server/package.json b/packages/twenty-server/package.json
index 329955a793520..3306b05e214d8 100644
--- a/packages/twenty-server/package.json
+++ b/packages/twenty-server/package.json
@@ -38,6 +38,7 @@
"@envelop/on-resolve": "4.1.0",
"@esbuild-plugins/node-modules-polyfill": "^0.2... | 2 | 1 | 1 | [{"id": "G0", "claim": "After the PR upgrades file-type to v21, file-core-picture.service.ts still uses the old default-export API, which will cause a runtime crash (TypeError reading 'fromBuffer') when uploading images from a URL.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introdu... | null |
twentyhq__twenty__18611 | twentyhq/twenty | 18,611 | defect | 1cb4c98cb3528597f20e1479952c00631f35c3a6 | f29cd6d017fb16119483b51a1f98df0f36841867 | fix: accept production enterprise keys in development environment | ## Problem
When `NODE_ENV` is development, the server was only using the dev public key to verify enterprise JWTs. Production keys are signed with the production private key, so they failed verification with the dev public key, resulting in "Invalid enterprise key" errors.
## Solution
Try both production and dev publi... | diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/services/__tests__/enterprise-plan.service.spec.ts b/packages/twenty-server/src/engine/core-modules/enterprise/services/__tests__/enterprise-plan.service.spec.ts
index 558cdedde3166..76469e28cb6a1 100644
--- a/packages/twenty-server/src/engine/core-... | 1 | 1 | 1 | [{"id": "G0", "claim": "The mocked crypto.verify always returns true, so the new test passes for any key and does not actually verify the development fallback behavior introduced by the PR.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
twentyhq__twenty__18798 | twentyhq/twenty | 18,798 | defect | 66be7c3ef4fa13374f10305431f375e2ce35c5a2 | 834f61fed6790b86ac31c0a4fab132453563834d | fix: add missing LEFT JOIN for relation fields in groupBy orderByForRecords | ## Summary
Fixes "missing FROM-clause entry for table" SQL error when using `orderByForRecords` with a relation field (e.g. `{ company: { name: "AscNullsFirst" } }`) in a `groupBy` query.
### Root cause
This is a regression from #18005 (Feb 17). That PR correctly removed a duplicate `applyOrderToBuilder()` call on t... | diff --git a/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/graphql-query-parsers/graphql-query.parser.ts b/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/graphql-query-parsers/graphql-query.parser.ts
index e01e9bd87eecf..05d117fe7f0c1 100644
--- a/packages/twenty-server/src/engi... | 1 | 1 | 1 | [{"id": "G0", "claim": "The added leftJoin loop for orderByForRecords relation joins can fail with duplicate-JOIN errors when the query builder already has a join with the same alias (e.g. from groupBy relation fields), so it should guard against duplicate aliases before calling leftJoin.", "category": "correctness", "... | null |
twentyhq__twenty__18814 | twentyhq/twenty | 18,814 | defect | 2a1d22d8706d4b99c3c988fda5f0b13d14a3e644 | 1b0cf1ca6cda4b3a9e0d1a4f2aa2301916c144ac | fix: prevent FIND_RECORDS from silently dropping unresolved filter variables | ## Summary
Fixes #18744 — The workflow FIND_RECORDS action silently drops filter conditions when a variable resolves to null/empty, causing the query to return **all records** instead of erroring.
**Root cause (three compounding layers):**
1. **`variable-resolver.ts`** — `resolveString` returns `undefined` whe... | diff --git a/packages/twenty-server/src/modules/workflow/workflow-executor/workflow-actions/record-crud/find-records.workflow-action.ts b/packages/twenty-server/src/modules/workflow/workflow-executor/workflow-actions/record-crud/find-records.workflow-action.ts
index 96a12d05b4e76..36e6b941c4d06 100644
--- a/packages/tw... | 2 | 2 | 2 | [{"id": "G0", "claim": "The OPERANDS_WITHOUT_VALUE array is missing ViewFilterOperand.IS_NOT_NULL, causing workflows using an 'is not null' filter to fail validation and crash at runtime.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The validation... | null |
twentyhq__twenty__18927 | twentyhq/twenty | 18,927 | defect | 96f3ff0e9051002d2fb04e6b513c1d34fe02ed0c | 9b06ad628d98b21a2d1c7073fef7189f33c064fb | Unify auth context → role permission config resolution into a single pure utility | ## Summary
- Consolidates duplicated auth-context-to-role-ID resolution logic (previously in `PermissionsService.resolveRolePermissionConfigFromAuthContext` and `CommonBaseQueryRunnerService.getRoleIdOrThrow`) into a single pure utility function `resolveRolePermissionConfig` in the ORM layer
- The utility is synchrono... | diff --git a/packages/twenty-server/src/engine/api/common/common-query-runners/common-base-query-runner.service.ts b/packages/twenty-server/src/engine/api/common/common-query-runners/common-base-query-runner.service.ts
index 3fa32e0f06327..989eee3c07ce5 100644
--- a/packages/twenty-server/src/engine/api/common/common-q... | 2 | 2 | 1 | [{"id": "G0", "claim": "In NavigationMenuItemRecordIdentifierService, when resolveRolePermissionConfig returns null (e.g. for an API key without an assigned role), the result is coalesced to { shouldBypassPermissionChecks: true }, granting the key unrestricted access instead of rejecting the request as CommonBaseQueryR... | null |
twentyhq__twenty__18969 | twentyhq/twenty | 18,969 | defect | 13ea3ec75c3bea2c129fbecf22f4b87053cd0a62 | 482e13e4267354dfafbb2b090c99755183f31545 | Fix create new with filters | Fixes https://github.com/twentyhq/twenty/issues/18949
## Problem
- Creating a record from filters with DATE_TIME fields produced empty objects instead of dates — `isPlainObject` from `twenty-shared` treats `Date` instances as plain objects, so `mergeCompositeValues` spread them into `{}`
- `buildRecordInputFromFil... | diff --git a/packages/twenty-front/src/modules/object-record/record-table/utils/__tests__/mergeCompositeValues.test.ts b/packages/twenty-front/src/modules/object-record/record-table/utils/__tests__/mergeCompositeValues.test.ts
new file mode 100644
index 0000000000000..758f2fef0b5df
--- /dev/null
+++ b/packages/twenty-f... | 5 | 4 | 1 | [{"id": "G0", "claim": "The IS_BEFORE date adjustment added in buildRecordInputFromFilter only handles DATE_TIME fields, not DATE fields, so records created from a DATE IS_BEFORE filter may not satisfy the strict less-than filter and may not appear in the view.", "category": "correctness", "verdict": "uncertain", "prio... | null |
twentyhq__twenty__19049 | twentyhq/twenty | 19,049 | defect | 7f1814805deb332ff69a42370cbcba9b07812d5e | 9b47755878563bb6a88483208e5e4b32f2307744 | Fix INDEX view showing labelPlural instead of resolved view name in nav | ## Summary
- Navigation sidebar was displaying "Notes" instead of "All Notes" for INDEX views
- `getNavigationMenuItemLabel` had a special case for INDEX views that returned `objectMetadataItem.labelPlural` instead of the already-resolved `view.name`
- Since `viewsSelector` already resolves `{objectLabelPlural}` tem... | diff --git a/packages/twenty-front/src/modules/navigation-menu-item/display/utils/__tests__/getNavigationMenuItemLabel.test.ts b/packages/twenty-front/src/modules/navigation-menu-item/display/utils/__tests__/getNavigationMenuItemLabel.test.ts
new file mode 100644
index 0000000000000..6376cfbc03bc8
--- /dev/null
+++ b/p... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new test should import NavigationMenuItemType and ViewKey from the shared/view-layer re-exports (twenty-shared/types and @/views/types/ViewKey) instead of ~/generated-metadata/graphql, to keep tests consistent and decoupled from GraphQL codegen output.", "category": "maintainability", "verdi... | null |
twentyhq__twenty__19121 | twentyhq/twenty | 19,121 | defect | 0b2f435b3e55c6c680e827e814cc2764a40f693b | 2c8910a3daae8aea7be1c4ff7f99db4d5b3da51e | Fix - Remove signFileUrl method | `signFileUrl` is the old way to resolve file url. Replaced by `signFileByIdUrl` which needs `FileFolder` and `fileId`.
Fix also avatar for person and workspaceMember. To be continued with imageIdentifier refactor.
Fix :
- https://discord.com/channels/1130383047699738754/1486723854910099576
- https://discord.... | diff --git a/packages/twenty-server/src/engine/api/common/common-result-getters/common-result-getters.service.ts b/packages/twenty-server/src/engine/api/common/common-result-getters/common-result-getters.service.ts
index b0eb84d0d90cd..c0321483f056f 100644
--- a/packages/twenty-server/src/engine/api/common/common-resul... | 4 | 2 | 2 | [{"id": "G0", "claim": "For workspaceMember records the util passes the full avatarUrl string to the signUrl callback, which now expects a file ID, so workspace member avatar images break in navigation menus (with the wrong file folder, FilesField, used for these avatars).", "category": "correctness", "verdict": "suppo... | null |
twentyhq__twenty__19131 | twentyhq/twenty | 19,131 | defect | 61a27984e8d9b5c319ae4d168c854a7a9b1990a6 | 5d833656eb454c1130fdc5c7d845c9b146bd27f8 | Fallback to field metadata | Rely on the field metadata items to always display all object's fields in the fields widget configuration editor. If fields are missing in the returned view fields, we add the missing fields through object metadata.
https://github.com/user-attachments/assets/3c4d45e8-05d0-4943-be4b-bcf1e310155c
| diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index df6d8f2b91584..d38c62963e798 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema... | 7 | 3 | 2 | [{"id": "G0", "claim": "A payload providing neither viewFieldId nor fieldMetadataId passes DTO validation (@IsOptional short-circuits the ValidateIf/IsNotEmpty checks), so the upsert can silently perform no action while returning success; validation should enforce that at least one of the two IDs is provided.", "catego... | null |
twentyhq__twenty__19174 | twentyhq/twenty | 19,174 | defect | 5bde41ebbb97e42b275e4c086c05de082c421982 | b2674a694ccb3a8c98bb10e96d440330ede73da0 | Improve app errors logs at sync | 1. Fix scrollbar
Before
https://github.com/user-attachments/assets/29792a71-b2dd-49f6-bb90-9d15feeb95aa
After
https://github.com/user-attachments/assets/939a000a-b787-4ea5-a9f0-61fbac886025
2. Introduce verbose vs non-verbose
verbose = what we have today (very detailed)
non-verbose = summarized (with a log t... | diff --git a/packages/twenty-sdk/src/cli/utilities/dev/ui/components/dev-ui-application-panel.tsx b/packages/twenty-sdk/src/cli/utilities/dev/ui/components/dev-ui-application-panel.tsx
index 026664d0f2c93..7253acf6e6421 100644
--- a/packages/twenty-sdk/src/cli/utilities/dev/ui/components/dev-ui-application-panel.tsx
++... | 3 | 3 | 3 | [{"id": "G0", "claim": "The re-render gating uses snapshot.events.length as the only signal for event-log changes, and because OrchestratorState caps events at MAX_EVENT_COUNT = 200 the array length stays constant once full, so new events will no longer trigger forceRender() when the pipeline status is not active; trac... | null |
twentyhq__twenty__19255 | twentyhq/twenty | 19,255 | defect | a303d9ca1b96abe11149321f80911955058eaeab | 81caa8e236a93ef978061d25bb8793427b8bf13c | Fix maintenance mode banner button color, timezone and date picker UX | ## Summary
- Set `accent="blue"` on InformationBanner action button so it renders blue instead of default gray
- Add Banner storybook stories for all color × variant combinations (BluePrimary, BlueSecondary, DangerPrimary, DangerSecondary)
- Use `useUserTimezone()` in `SettingsDatePickerInput` instead of browser tim... | diff --git a/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx b/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx
index 2078444a24eb1..a1345e41987d7 100644
--- a/packages/twenty-front/src/modules/information-banner/components/InformationBanner.tsx... | 3 | 2 | 2 | [{"id": "G0", "claim": "Navigating months or years in the date picker incorrectly triggers the onChange callback, causing unintended and excessive backend saves before a final date is chosen.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Selecting ... | null |
twentyhq__twenty__19413 | twentyhq/twenty | 19,413 | defect | 653180d10f34cefa94dbe73210998e40a94fa539 | 806175c8634adba4d2846477ab8c0f9a6dbf4129 | Add twenty sync command | Add one shot app synchronisation `twenty sync command` command
Complementary with `twenty app dev` command which is watch mode
Fixes https://discord.com/channels/1130383047699738754/1489644493106839663 | diff --git a/packages/create-twenty-app/package.json b/packages/create-twenty-app/package.json
index 5fc011902b5ad..7fc93acd2c12e 100644
--- a/packages/create-twenty-app/package.json
+++ b/packages/create-twenty-app/package.json
@@ -1,6 +1,6 @@
{
"name": "create-twenty-app",
- "version": "0.8.0",
+ "version": "0.... | 2 | 1 | 1 | [{"id": "G0", "claim": "The verbose flag logic is inverted: when --verbose is used, errorEvents is set to null so fewer error details are shown, which is the opposite of the expected behavior; the ternary should be `verbose ? formatSyncErrorEvents(syncResult.error) : null`.", "category": "correctness", "verdict": "unce... | null |
twentyhq__twenty__19427 | twentyhq/twenty | 19,427 | defect | 80264512206c16539f2734d34c6c9897de0f2d12 | 761034ef025f3dca2fd1388ffb6b08e8ac7936dc | Fix AI model registry staleness on self-hosted instances | ## Summary
Fixes #19422.
Self-hosted users hitting "No AI models are available" after configuring API keys via the admin panel were victims of a stale `AiModelRegistryService` cache. Only the four `addAiProvider` / `removeAiProvider` / `addModelToProvider` / `removeModelFromProvider` mutations called `refreshRegistry... | diff --git a/packages/twenty-server/src/engine/core-modules/admin-panel/admin-panel.resolver.ts b/packages/twenty-server/src/engine/core-modules/admin-panel/admin-panel.resolver.ts
index 70894bc31e268..9c932ad41b899 100644
--- a/packages/twenty-server/src/engine/core-modules/admin-panel/admin-panel.resolver.ts
+++ b/pa... | 4 | 3 | 1 | [{"id": "G0", "claim": "The underscore-prefixed private field names (_modelRegistry, _modelConfigCache, _providerModelDefCache) don't follow the project's naming convention and should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
twentyhq__twenty__19481 | twentyhq/twenty | 19,481 | defect | 5874fb5f39c1ba97f499ab5a80b32cab3a6203a5 | 329605c555968ef025b8549cae5298b3bdcb2fc9 | Fix install and deploy commands | - disable publish with existing version
- disable installation of app version already installed | diff --git a/packages/twenty-docs/developers/extend/apps/publishing.mdx b/packages/twenty-docs/developers/extend/apps/publishing.mdx
index 4adb676cc52bc..bc9fdf52e5249 100644
--- a/packages/twenty-docs/developers/extend/apps/publishing.mdx
+++ b/packages/twenty-docs/developers/extend/apps/publishing.mdx
@@ -66,12 +66,1... | 6 | 4 | 2 | [{"id": "G0", "claim": "The docs overstate deploy validation: they say the server enforces a semver bump on every deploy, when the enforcement is conditional (only when updating an already deployed app).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
twentyhq__twenty__19584 | twentyhq/twenty | 19,584 | defect | 2413af0ba93ad8edf25ce82ea3b4cd9f358e59db | bb1017bb845c25bca5457993cdd802c0786cc9d7 | `upgrade:status` command | ## Introduction
Introducing a new command in order to determine the curent twenty instance and workspaces status as it's not stored in database but a derivation of each current curors
## `upgrade:status` all healthy
<img width="1376" height="1202" alt="image" src="https://github.com/user-attachments/assets/e90d6... | diff --git a/packages/twenty-server/src/database/commands/database-command.module.ts b/packages/twenty-server/src/database/commands/database-command.module.ts
index 31d898e0b450e..94452fc091f9f 100644
--- a/packages/twenty-server/src/database/commands/database-command.module.ts
+++ b/packages/twenty-server/src/database... | 3 | 1 | 1 | [{"id": "G0", "claim": "Calling .toISOString() on createdAt returned as a string by getRawMany() will throw a TypeError and crash the upgrade:status command on any workspace with migration history.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "getW... | null |
twentyhq__twenty__19679 | twentyhq/twenty | 19,679 | defect | edc47bd4582fa2c8e773c987d1b5dedbfabf002c | 3b530d0e7924451b024810f49658bf7fbfce9c4e | fix: add missing LayoutRenderingProvider in SettingsApplicationCustomTab | ## Summary
- `SettingsApplicationCustomTab` renders `FrontComponentRenderer` which calls `useFrontComponentExecutionContext` → `useLayoutRenderingContext()`, but the settings page never provided a `LayoutRenderingProvider`
- Every other render site (side panel, command menu, record pages) wraps `FrontComponentRenderer... | diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCustomTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCustomTab.tsx
index 122b30dce850f..b5cd692cad42c 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplic... | 2 | 2 | 1 | [{"id": "G0", "claim": "A new `PageLayoutType` `APPLICATION_SETTINGS` should be created and used instead of `PageLayoutType.DASHBOARD` for the settings custom tab's LayoutRenderingProvider.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`FrontComponentRe... | null |
twentyhq__twenty__19767 | twentyhq/twenty | 19,767 | defect | 64470baa1e1caeec703064032ab73e5b988d6e19 | 458e2bbcc6cac528f40ca711a9d630064a900a25 | Validate `universalIdentifier` uniqueness among application and its dependencies | # Introduction
Gracefully validating that when creating an entity its `universalIdentifier` is available within the all application metadata maps context ( current app + twenty standard, currently the only managed dependencies ) | diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/workspace-migration-build-orchestrator.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/workspace-migration-build-orchestrator.service.ts
index fbeba76af463f..9ca7348e76209 100644
-... | 3 | 2 | 0 | [{"id": "G0", "claim": "The pull request added stray empty lines in the workspace-migration-build-orchestrator.service.ts builder calls that should not be there.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "When creating entities of different ... | null |
twentyhq__twenty__19770 | twentyhq/twenty | 19,770 | defect | 2df32f7003f107d00d93e394c74d143ef5ec956b | 4116adfb6513209e91600356aa9915792d9a0a5e | Fix slow db query issue | https://github.com/twentyhq/twenty/pull/19586#discussion_r3074136617 | diff --git a/packages/twenty-server/src/engine/core-modules/billing/crons/enforce-usage-cap.job.ts b/packages/twenty-server/src/engine/core-modules/billing/crons/enforce-usage-cap.job.ts
index 53ece0ed54a39..ae3fd57863bb0 100644
--- a/packages/twenty-server/src/engine/core-modules/billing/crons/enforce-usage-cap.job.ts... | 3 | 1 | 1 | [{"id": "G0", "claim": "The TypeORM find query filters on the workspace relation without including workspace in the relations option, so the nested suspendedAt condition will likely be ignored and subscriptions from suspended workspaces would not be filtered out.", "category": "correctness", "verdict": "supported", "pr... | null |
twentyhq__twenty__19775 | twentyhq/twenty | 19,775 | defect | bf410ae4382ed39a0c4f3e75fb3208f91384942d | 1e0336582005848014a71f02b5263fc1efd429f7 | fix(server): normalize empty composite phone sub-fields to NULL | Fixed using Opus 4.7, I wanted to test this model out and in this repo I know you guys care about quality, pls let me know if this is good code. It looks good to me
Fixes #19740.
## Summary
PostgreSQL UNIQUE indexes treat two `''` values as duplicates but two `NULL`s as distinct. `validateAndInferPhoneInput` w... | diff --git a/packages/twenty-server/src/engine/core-modules/record-transformer/utils/__tests__/transform-phones-value.util.spec.ts b/packages/twenty-server/src/engine/core-modules/record-transformer/utils/__tests__/transform-phones-value.util.spec.ts
new file mode 100644
index 0000000000000..e824b6844f5fc
--- /dev/null... | 4 | 3 | 1 | [{"id": "G0", "claim": "Empty `callingCode` is not normalized in the number-inference path: `callingCode ?? undefined` passes `''` through when `number` is non-empty, so `''` can still be persisted as `primaryPhoneCallingCode` and can break parsing; empty strings should be normalized to `undefined` before calling `vali... | null |
twentyhq__twenty__19787 | twentyhq/twenty | 19,787 | defect | ba1195d92e41c567caed3d45c373ad7a14b4bc90 | f559482d1b01b96cca47e25be6986aa25acdc374 | Surface structured validation errors during application install | ## Summary
- Add `WorkspaceMigrationGraphqlApiExceptionInterceptor` to `MarketplaceResolver` and `ApplicationInstallResolver` so validation failures during app install return `METADATA_VALIDATION_FAILED` with structured `extensions.errors` instead of generic `INTERNAL_SERVER_ERROR`
- Update SDK `installTarballApp()` ... | diff --git a/packages/twenty-sdk/src/cli/commands/install.ts b/packages/twenty-sdk/src/cli/commands/install.ts
index 359f3349bb488..ac3d70f002bbd 100644
--- a/packages/twenty-sdk/src/cli/commands/install.ts
+++ b/packages/twenty-sdk/src/cli/commands/install.ts
@@ -1,5 +1,6 @@
import { appInstall } from '@/cli/operatio... | 6 | 4 | 1 | [{"id": "G0", "claim": "Guard nested `extensions.errors` values before iterating; malformed payloads can crash the formatter instead of returning structured error output.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added `@UseIntercepto... | null |
twentyhq__twenty__19829 | twentyhq/twenty | 19,829 | defect | 13b32a22b6d9d24b486675bdfab9f4aa21284f09 | 87a392b50a2c1447ea945d056457be896b2d4703 | fix oauth permission check | was regressed due to https://github.com/twentyhq/twenty/pull/19441 | diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500012000-migrate-messaging-infrastructure-to-metadata.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/1-21/1-21-workspace-command-1775500012000-migrate-messaging-infrastru... | 1 | 1 | 1 | [{"id": "G0", "claim": "The services should not bypass permission checks on the workspaceMember repository lookup; keep authorization enforcement (or pass the available user context) on that path.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
twentyhq__twenty__19963 | twentyhq/twenty | 19,963 | defect | 710e3e2dfe411dcf3716dbc39f874243ee1dbb08 | d641fe56fae9dc94011b22d03930f3f049654c82 | ssrf hardening | Hardened CalDav with new approach of wrapping axios ssrf http agent to fetch via `@lifeomic/axios-fetch` because `tsdav` only accept `fetch` override.
Also Hardened test endpoint | diff --git a/package.json b/package.json
index a12d889736ea1..dee3ea9f70f62 100644
--- a/package.json
+++ b/package.json
@@ -3,6 +3,7 @@
"dependencies": {
"@apollo/client": "^4.0.0",
"@floating-ui/react": "^0.24.3",
+ "@lifeomic/axios-fetch": "^3.1.0",
"@linaria/core": "^6.2.0",
"@linaria/reac... | 3 | 1 | 0 | [{"id": "G0", "claim": "Passing the IP address returned by getValidatedHost() as the host to ImapFlow and Nodemailer discards the original hostname and breaks TLS/SNI, so certificate validation would fail; the original hostname should be preserved (e.g. via the servername option or the createSsrfSafeFetch approach).", ... | null |
twentyhq__twenty__19974 | twentyhq/twenty | 19,974 | defect | 710e3e2dfe411dcf3716dbc39f874243ee1dbb08 | e312b800d03e64b9fe18853b73ed5ccb22aa698e | [Command Menu] Refactor layout customization conditional availability [Warning] | closes https://discord.com/channels/1130383047699738754/1494312529286004837 | diff --git a/packages/twenty-front/src/modules/app/hooks/useExecuteTasksOnAnyLocationChange.ts b/packages/twenty-front/src/modules/app/hooks/useExecuteTasksOnAnyLocationChange.ts
index 2ddb570cf27e0..983a555c5598e 100644
--- a/packages/twenty-front/src/modules/app/hooks/useExecuteTasksOnAnyLocationChange.ts
+++ b/packa... | 1 | 1 | 1 | [{"id": "G0", "claim": "Use the workspace custom application identifier instead of the standard app identifier in the call to validateBuildAndRunWorkspaceMigration.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
twentyhq__twenty__19989 | twentyhq/twenty | 19,989 | defect | 2a5d5b36db4c694b29cb8f6798800a8224024aa7 | 384d938ed82b1434a93cbc52056f0251e4498c92 | gmail extract body from deeply nested MIME parts |
/closes #19879 | diff --git a/packages/twenty-server/src/modules/messaging/message-import-manager/drivers/gmail/utils/__tests__/get-body-data.spec.ts b/packages/twenty-server/src/modules/messaging/message-import-manager/drivers/gmail/utils/__tests__/get-body-data.spec.ts
new file mode 100644
index 0000000000000..5ae5178a6382f
--- /dev/... | 2 | 1 | 0 | [{"id": "G0", "claim": "Remove the unused `de` import from parse-gmail-message.util.ts, as it is never used and triggers a CodeQL warning.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Avoid creating a new HTML-to-text converter per message; re... | null |
twentyhq__twenty__20000 | twentyhq/twenty | 20,000 | defect | 77f5b9d7c87e0daaa5d305e93e998defc47551b5 | 06e92b2752360a60ba3beb7a57d3f69482103b08 | optimize workspace export command | - Use `COPY` instead of `INSERT` for workspace tables, 40x faster imports
- Multi value statements, 2x smaller file size
- Bump Batch size to 10K , remove COUNT query
- Add `formatPgCopyField` utility with unit tests | diff --git a/packages/twenty-server/src/database/commands/workspace-export/utils/__tests__/format-copy-value.util.spec.ts b/packages/twenty-server/src/database/commands/workspace-export/utils/__tests__/format-copy-value.util.spec.ts
new file mode 100644
index 0000000000000..30fe9947562f5
--- /dev/null
+++ b/packages/tw... | 4 | 3 | 2 | [{"id": "G0", "claim": "Use isEmptyArray instead of bare length checks like `rows.length === 0`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Primitive array elements in formatPgCopyField are not escaped for COPY-special characters like tabs, ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.