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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
thu-ml__tianshou__367 | thu-ml/tianshou | 367 | defect | b5c3ddabfa1e0fd92fa722c29e201d9da2c0bc6a | 8b694542fd480a0729dc4f291cd7212aeb789ce5 | Add discrete Critic Regularized Regression | - Add discrete Critic Regularized Regression
- Reference: [paper](https://arxiv.org/pdf/2006.15134.pdf) and [code](https://github.com/Kmeco/offline-rl)
- Note that CRR itself does not seem to work well on Atari tasks but adding CQL loss/regularizer helps. | diff --git a/README.md b/README.md
index 41935f176..4c2a0af08 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,7 @@
- Vanilla Imitation Learning
- [Discrete Batch-Constrained deep Q-Learning (BCQ-Discrete)](https://arxiv.org/pdf/1910.01708.pdf)
- [Discrete Conservative Q-Learning (CQL-Discrete)](https://arxiv.org... | 5 | 4 | 3 | [{"id": "G0", "claim": "The test calls policy.set_eps(args.eps_test), but DiscreteCRRPolicy has no set_eps attribute, so test/discrete/test_il_crr.py crashes with ModuleAttributeError.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The docstring say... | null |
thu-ml__tianshou__371 | thu-ml/tianshou | 371 | defect | 655d5fb14fe85ea9da86b441456286fa1f078384 | f436e6f4592614a01646ca5d4d7408ced427d742 | Add Implicit Quantile Network | - Add Implicit Quantile Network
- Reference: [paper](https://arxiv.org/pdf/1806.06923.pdf) and [code](https://github.com/ku2482/fqf-iqn-qrdqn.pytorch)
I will try to get some results over the weekend but our GPU machines are a bit busy recently. | diff --git a/examples/atari/atari_iqn.py b/examples/atari/atari_iqn.py
new file mode 100644
index 000000000..164f717e4
--- /dev/null
+++ b/examples/atari/atari_iqn.py
@@ -0,0 +1,180 @@
+import os
+import torch
+import pprint
+import argparse
+import numpy as np
+from torch.utils.tensorboard import SummaryWriter
+
+from... | 5 | 5 | 2 | [{"id": "G0", "claim": "The K/N/N_prime parameter names are cryptic and should be given better, more descriptive names.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The IQN critic network should not live in tianshou/utils/net/discrete.py (the ... | null |
thu-ml__tianshou__376 | thu-ml/tianshou | 376 | defect | f3169b4c1fb972d0673fd20951508d2650fe977b | 9d28ea3a56a23e59161d90403297f276e82a3ab0 | Add Fully-parameterized Quantile Function | - Add Fully-parameterized Quantile Function
- Reference: [paper](https://arxiv.org/pdf/1911.02140.pdf) and [code](https://github.com/ku2482/fqf-iqn-qrdqn.pytorch)
- Note:
- For some reason, in my experiments, I encountered mode collapse (entropy of taus goes to zero; fraction loss skyrockets; quantile loss goes to... | diff --git a/README.md b/README.md
index 8f442e212..295ca96db 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,7 @@
- [Categorical DQN (C51)](https://arxiv.org/pdf/1707.06887.pdf)
- [Quantile Regression DQN (QRDQN)](https://arxiv.org/pdf/1710.10044.pdf)
- [Implicit Quantile Network (IQN)](https://arxiv.org/pdf/18... | 4 | 3 | 0 | [{"id": "G0", "claim": "The model parameter of FQFPolicy.__init__ should be typed as FullQuantileFunction instead of the generic torch.nn.Module.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test setup in test_fqf is messy and could be simplified, ... | null |
thu-ml__tianshou__391 | thu-ml/tianshou | 391 | defect | ebaca6f8da91e18e0192184c24f5d13e3a5d0092 | 92e84416467f415574633597081cf727a90ef87f | add env_id in preprocess fn | close #390 | diff --git a/tianshou/data/collector.py b/tianshou/data/collector.py
index f9fede557..6b24b9080 100644
--- a/tianshou/data/collector.py
+++ b/tianshou/data/collector.py
@@ -115,7 +115,8 @@ def reset_env(self) -> None:
"""Reset all of the environments."""
obs = self.env.reset()
if self.preproc... | 1 | 1 | 1 | [{"id": "G0", "claim": "Update the Collector docstring to state that preprocess_fn receives 'obs' and 'env_id' when the collector resets the environment and six keys including 'env_id' on a normal env step.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
thu-ml__tianshou__441 | thu-ml/tianshou | 441 | defect | fc251ab0b85bf3f0de7b24c1c553cb0ec938a9ee | 32b3507eee41ec6b05d72ec73bba4fb287087437 | W&B: add artifacts support | - [x] I have marked all applicable categories:
+ [ ] exception-raising fix
+ [ ] algorithm implementation fix
+ [ ] documentation modification
+ [x] new feature
- [x] I have reformatted the code using `make format` (**required**)
- [x] I have checked the code using `make commit-checks` (**required... | diff --git a/examples/atari/atari_dqn_wandb.py b/examples/atari/atari_dqn_wandb.py
new file mode 100644
index 000000000..eb5c9c2a1
--- /dev/null
+++ b/examples/atari/atari_dqn_wandb.py
@@ -0,0 +1,216 @@
+import argparse
+import os
+import pprint
+
+import numpy as np
+import torch
+from atari_network import DQN
+from a... | 5 | 3 | 0 | [{"id": "G0", "claim": "The WandbLogger __init__ redundantly re-assigns train_interval, test_interval and update_interval, which super().__init__ already sets; remove them (reviewer's suggestion block).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
thu-ml__tianshou__503 | thu-ml/tianshou | 503 | defect | a2d76d1276bef334bba537a355a5ea12f4279410 | a457c491e5fd29bb62c2671036c116a6bf839b58 | Add Intrinsic Curiosity Module | - [x] I have marked all applicable categories:
+ [ ] exception-raising fix
+ [ ] algorithm implementation fix
+ [ ] documentation modification
+ [x] new feature
- [x] I have reformatted the code using `make format` (**required**)
- [x] I have checked the code using `make commit-checks` (**required... | diff --git a/README.md b/README.md
index 13cfc191f..345947826 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,7 @@
- [Prioritized Experience Replay (PER)](https://arxiv.org/pdf/1511.05952.pdf)
- [Generalized Advantage Estimator (GAE)](https://arxiv.org/pdf/1506.02438.pdf)
- [Posterior Sampling Reinforcement Lear... | 5 | 5 | 2 | [{"id": "G0", "claim": "The copied forward docstring's action-masking example and eps description should be removed (empty suggestion block).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The forward docstring must be rewritten instead of kept as... | null |
thu-ml__tianshou__613 | thu-ml/tianshou | 613 | defect | 7f23748347d6bf4aebce3931f7e57291012cd98d | f0c5945c7a9ee6b24bc813067defba5dd4d041be | Upgrade gym | - [x] I have marked all applicable categories:
+ [ ] exception-raising fix
+ [ ] algorithm implementation fix
+ [x] documentation modification
+ [ ] new feature
- [x] I have reformatted the code using `make format` (**required**)
- [x] I have checked the code using `make commit-checks` (**required... | diff --git a/README.md b/README.md
index aaf610549..0849ce75d 100644
--- a/README.md
+++ b/README.md
@@ -191,7 +191,7 @@ import tianshou as ts
Define some hyper-parameters:
```python
-task = 'CartPole-v0'
+task = 'CartPole-v1'
lr, epoch, batch_size = 1e-3, 10, 64
train_num, test_num = 10, 100
gamma, n_step, targ... | 5 | 5 | 3 | [{"id": "G0", "claim": "The PR switched tests and docs from CartPole-v0 to CartPole-v1 but kept the v0 reward threshold of 195 (CartPole-v1 is 475), and the reviewer recommends keeping v0 so the configs stay the same as before.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"... | null |
thu-ml__tianshou__660 | thu-ml/tianshou | 660 | defect | 9ce0a554dcafeb5372c8d3faa1a53bc8c84935b3 | a42bee13d91503ec89e0c7b9cda757b3e2ab7337 | implement TD3+BC for offline RL | - [x] I have marked all applicable categories:
+ [ ] exception-raising fix
+ [ ] algorithm implementation fix
+ [ ] documentation modification
+ [x] new feature
- [x] I have reformatted the code using `make format` (**required**)
- [x] I have checked the code using `make commit-checks` (**required... | diff --git a/README.md b/README.md
index a39da242e..1b2db82ca 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,7 @@
- Vanilla Imitation Learning
- [Batch-Constrained deep Q-Learning (BCQ)](https://arxiv.org/pdf/1812.02900.pdf)
- [Conservative Q-Learning (CQL)](https://arxiv.org/pdf/2006.04779.pdf)
+- [Twin Delaye... | 2 | 2 | 0 | [{"id": "G0", "claim": "The function name `normalize_obs` should be more specific, like `normalize all obs in replay buffer`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The norm-obs on/off benchmark results should be added to examples/offlin... | null |
thu-ml__tianshou__664 | thu-ml/tianshou | 664 | defect | df35718992824287182d12811a138beeae6f0571 | 6e86a0bed7d1117c5ad6a421b483b45a6adfe336 | MultiDiscrete to discrete gym action space wrapper | - [ ] I have marked all applicable categories:
+ [ ] exception-raising fix
+ [ ] algorithm implementation fix
+ [ ] documentation modification
+ [X] new feature
- [X] I have reformatted the code using `make format` (**required**)
- [X] I have checked the code using `make commit-checks` (**required... | diff --git a/tianshou/env/gym_wrappers.py b/tianshou/env/gym_wrappers.py
index f63bc9e2e..b2e6d5223 100644
--- a/tianshou/env/gym_wrappers.py
+++ b/tianshou/env/gym_wrappers.py
@@ -26,3 +26,28 @@ def __init__(self, env: gym.Env, action_per_branch: int) -> None:
def action(self, act: np.ndarray) -> np.ndarray:
... | 3 | 3 | 2 | [{"id": "G0", "claim": "The wrapper should support a different number of actions per dimension instead of asserting all nvec entries are equal, computing per-dimension bases in __init__ and converting the action by looping over those bases.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "int... | null |
thu-ml__tianshou__751 | thu-ml/tianshou | 751 | defect | ea36dc5195ce7e13c3b7817a2d6475deac8281f6 | f330a00eb40f390eac5dd722aeede220982a5cc8 | Added support for new PettingZoo API | Maybe someone who really knows PZ should do a sanity check here. I simply changed `step` to be compatible with both the old and the new step API. Removal of seeding was seemingly already anticipated in the existing code. | diff --git a/test/pettingzoo/test_pistonball.py b/test/pettingzoo/test_pistonball.py
index 9e9c8bdb2..4a6c59655 100644
--- a/test/pettingzoo/test_pistonball.py
+++ b/test/pettingzoo/test_pistonball.py
@@ -1,10 +1,8 @@
import pprint
-import pytest
from pistonball import get_args, train_agent, watch
-@pytest.mark... | 3 | 2 | 0 | [{"id": "G0", "claim": "In pettingzoo_env.py, use explicit labeled tuple unpacking as in Tianshou, Gym and PZ (`observation, _, _, _, info = self.env.last(self)`, `(obs, self.rewards, truncation, termination, info)`) instead of positional indexing into `last_return`.", "category": "design", "verdict": "opposed", "prior... | null |
thu-ml__tianshou__753 | thu-ml/tianshou | 753 | defect | 0181fe79a5915791a8d22112dfedc905b6169cf8 | 5aba1260bb721a97b404b872e9c97913103c71f7 | Hindsight Experience Replay as a replay buffer | - [x] I have marked all applicable categories:
+ [ ] exception-raising fix
+ [x] algorithm implementation fix
+ [x] documentation modification
+ [x] new feature
- [x] I have reformatted the code using `make format` (**required**)
- [x] I have checked the code using ~~`make commit-checks`~~ `make c... | diff --git a/README.md b/README.md
index d23a21f49..7319d4346 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,7 @@
- [Generalized Advantage Estimator (GAE)](https://arxiv.org/pdf/1506.02438.pdf)
- [Posterior Sampling Reinforcement Learning (PSRL)](https://www.ece.uvic.ca/~bctill/papers/learning/Strens_2000.pdf)
... | 9 | 9 | 3 | [{"id": "G0", "claim": "The new HER replay buffer should also be listed in docs/index.rst, not only in README.md.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The compute_reward_fn docstring should mention the size/shape of its arguments, i.e. w... | null |
thu-ml__tianshou__903 | thu-ml/tianshou | 903 | defect | 864ee3df2fad9fa29c8bee2407bc5f72c15daf57 | b9cfafc26db55d3cb5953a65525bdfda2222d669 | Custom keys support in ReplayBuffer | - [X] I have marked all applicable categories:
+ [ ] exception-raising fix
+ [ ] algorithm implementation fix
+ [ ] documentation modification
+ [X] new feature
- [X] I have reformatted the code using `make format` (**required**)
- [X] I have checked the code using `make commit-checks` (**required... | diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt
index 7eaf69004..1a831d75c 100644
--- a/docs/spelling_wordlist.txt
+++ b/docs/spelling_wordlist.txt
@@ -166,3 +166,13 @@ isort
yapf
pydocstyle
Args
+tuples
+tuple
+Multi
+multi
+parameterized
+Proximal
+metadata
+GPU
+Dopamine
+builtin
diff --git a... | 1 | 1 | 1 | [{"id": "G0", "claim": "The add() docstring (e.g. L223-L224, possibly other places) still says the batch's keys must belong to the input keys and that certain keys are required, and should be updated to match the new behaviour of iterating over all of batch.keys().", "category": "documentation", "verdict": "supported",... | null |
thumbor__thumbor__1167 | thumbor/thumbor | 1,167 | defect | 558ccdd6e3bc29e1c9ee3687372c4b3eb05ac607 | f74b8bd00e59c39f0259bb0fbbfab1e8ddf473b5 | Replace Raven with new Sentry SDK | Sentry says they are [phasing out Raven](https://github.com/getsentry/raven-python) for a new unified [SDK](https://github.com/getsentry/sentry-python). We wanted to start with the new SDK for our Thumbor server so we created the new error handler used in this PR. For our use it seems to provide more data and the reque... | diff --git a/setup.py b/setup.py
index fd4551fbf..02b925b6c 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@
"redis>=2.4.9,<3.0.0",
"coverage>=4.4.1",
"mock>=1.0.1,<3.0.0",
- "raven",
+ "sentry-sdk",
"nose",
"nose-focus",
"colorama",
diff --git a/tests/error_handlers/test_sentr... | 1 | 1 | 0 | [{"id": "G0", "claim": "The RuntimeError message in thumbor/error_handlers/sentry.py has to stay as it was, referring to thumbor.error_handlers.sentry instead of the renamed thumbor.error_handlers.sentry_python.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
thumbor__thumbor__1210 | thumbor/thumbor | 1,210 | defect | 37c360246dded4faa2c934b9c67018e490939afa | 200fa6ebcf2ce6dd11088a52cb695ebbf5e50f5f | Replace piexif with custom orientation-only exif reader/writer | Fixes #1204
Closes #1209
(please see both for discussions)
Replacing piexif dependency with simple orientation-only reader. It ignores all other exif tags and does not traverse through IFDs other then IFD0 where orientation supposed to be.
| diff --git a/setup.py b/setup.py
index fd4551fbf5..1326553ff5 100644
--- a/setup.py
+++ b/setup.py
@@ -100,7 +100,6 @@ def run_setup(extension_modules=[]):
"pycurl>=7.19.0,<7.44.0",
"Pillow>=4.3.0,<6.0.0",
"derpconf>=0.2.0",
- "piexif>=1.0.13,<2.0.0",
"stat... | 6 | 5 | 0 | [{"id": "G0", "claim": "The `fp` attribute holding the EXIF byte buffer has an obscure name and should be renamed to something descriptive such as `exif_buffer`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The opaque `ifh` variable should get... | null |
thumbor__thumbor__1393 | thumbor/thumbor | 1,393 | defect | c622deacca28ef1fb0cd6fce26db472f3850502e | 8d8a2ae6493aca5bc3020a4b0477316c79c88a80 | Smarter thumbor doctor | Now users can pass their thumbor.conf file in. If thumbor.conf has been passed in we validate some of the modules, like storage, result storage and loader. We can definitely add more as time goes by.
An example of output with an invalid filter in thumbor.conf can be seen in the test snapshot at tests/snapshots/snap_... | diff --git a/flake8 b/.flake8
similarity index 100%
rename from flake8
rename to .flake8
diff --git a/Makefile b/Makefile
index 013a51f2b..741065a31 100644
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,7 @@ format:
@black .
flake:
- @flake8 --config flake8
+ @flake8 --config .flake8
pylint:
@pylint thumbor tests... | 3 | 2 | 0 | [{"id": "G0", "claim": "The instruction to send the thumbor-doctor output should be documented in the GitHub issue template instead of in the README.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pycurl entry's message is formatted as a neste... | null |
thumbor__thumbor__1423 | thumbor/thumbor | 1,423 | defect | 14da1ee11226e94186a671cd699a3b73345d26cb | a56a31683e9bc4ffb9af9d9ce7778c2e1f9da8c5 | Moving gifv to thumbor-plugins | The Gifv code was moved to https://github.com/thumbor/thumbor-plugins/blob/master/thumbor_plugins/optimizers/gifv/__init__.py
We can remove the dependency on the next major release, and install it by default to keep it compatible with the current release. | diff --git a/setup.py b/setup.py
index 27dffaf07..732a54cf9 100644
--- a/setup.py
+++ b/setup.py
@@ -137,6 +137,7 @@ def run_setup(extension_modules=None):
"tornado==6.*,>=6.0.3",
"webcolors==1.*,>=1.10.0",
"colorful==0.*,>=0.5.4",
+ "thumbor-plugins-gifv==0.*,>=0.1.2",... | 2 | 2 | 0 | [{"id": "G0", "claim": "The opening quote of the deprecation warning should sit on the logger.warning line, i.e. apply the suggestion block `logger.warning(\\n \"\"\"`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The closing triple-quote s... | null |
thunderbird-conversations__thunderbird-conversations__1625 | thunderbird-conversations/thunderbird-conversations | 1,625 | defect | a7f969dc7a256506f4cce6e651b2dd9460ef1378 | 6b8c1c48166ac9334ca248de4d0b0bbbfc2ef937 | Rework compose page to share the component with quick reply | This is something I've just started working on to allow the compose component to be used with quick reply as well. There's still a lot to do to get this working good enough to land and tidied up, but working towards it is a good next step for quick reply. | diff --git a/addon/compose/compose-render.js b/addon/compose/compose-render.js
index ff12b0a22..99a3adf5c 100644
--- a/addon/compose/compose-render.js
+++ b/addon/compose/compose-render.js
@@ -4,7 +4,8 @@
import React from "react";
import ReactDOM from "react-dom";
-import { Main, actions, store } from "./compose.j... | 7 | 6 | 0 | [{"id": "G0", "claim": "The dev frame does not handle the compose reducer's actions (typing in the form calls composeActions.setValue() but the call into composeSlice.reducers.setFromDetails() never happens), so at least one reducer — the compose one — should be hooked up to the dev frame.", "category": "correctness", ... | null |
thunderbird__thunderbolt__285 | thunderbird/thunderbolt | 285 | defect | 708f51f82a81ad7aa471a27e58172ce4ba27cd7e | f41996b0d9cc86124b14aee571ee8510ef5120fd | THU-207: The metadata times for each tool call / total response are showing up as 0 | …f part.metadata
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Tracks timing for reasoning and tool calls during streaming and surfaces per-step and total durations in the chat UI.
>
> - **AI streaming (backend)**:
> - Add `createMessageMetadata` to track durations for `reasoning` and `tool` events; emit `usage` and `re... | diff --git a/src/ai/fetch.ts b/src/ai/fetch.ts
index 29052cd44..b0ae9bf7e 100644
--- a/src/ai/fetch.ts
+++ b/src/ai/fetch.ts
@@ -195,13 +195,6 @@ export const aiFetchStreamingResponse = async ({
const maxSteps = 20
const maxAttempts = 2
- const messageMetadata = ({ part }: { part: { type: string; usage?:... | 3 | 1 | 1 | [{"id": "G0", "claim": "The totalDuration calculation sums the timing of the whole message's reasoningTime map, so when a message has multiple reasoning groups each group displays the combined duration of all groups' parts instead of only the duration of its own parts.", "category": "correctness", "verdict": "uncertain... | null |
thunderbird__thunderbolt__382 | thunderbird/thunderbolt | 382 | defect | 702cab7e01bccf0780c8c7ca5b34bff7052568f4 | 2ee66aeef40d039ff140dc9ea14915812592b0a7 | THU-307: Reduce input box footprint on mobile | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Mostly UI/layout changes, but it alters `useIsMobile` initialization (reads `window` immediately) and removes the prior `isReady` guard, which could introduce SSR/hydration or runtime issues if the hook is ever used outside a browser-only context.
>
> **Overview**
... | diff --git a/src/components/chat/chat-prompt-input.tsx b/src/components/chat/chat-prompt-input.tsx
index bb23b6c51..facd41595 100644
--- a/src/components/chat/chat-prompt-input.tsx
+++ b/src/components/chat/chat-prompt-input.tsx
@@ -113,7 +113,9 @@ export const ChatPromptInput = forwardRef<ChatPromptInputRef, ChatPromp... | 5 | 2 | 2 | [{"id": "G0", "claim": "PromptInput calling useIsMobile() directly hardcodes mobile detection for all consumers and creates a second, non-injectable mobile-detection source alongside the parent's useSidebar-derived isMobile, so parent and child can disagree (e.g. in tests where useSidebar is mocked as mobile).", "categ... | null |
thunderbird__thunderbolt__404 | thunderbird/thunderbolt | 404 | defect | 9bd735c36b035093c95130348093e12883415bfa | 9834db0789a82a38f5e7c91c14f618f89540bfd9 | THU-314: Verification failed error message displays before navigating away | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Touches OTP verification/sign-in flows and React Query settings caching, which can affect authentication UX and session initialization if regressions occur.
>
> **Overview**
> Improves sign-in verification stability by preventing `MagicLinkVerify` from re-submittin... | diff --git a/src/components/magic-link-verify.tsx b/src/components/magic-link-verify.tsx
index 2c3d38298..94ad7db24 100644
--- a/src/components/magic-link-verify.tsx
+++ b/src/components/magic-link-verify.tsx
@@ -1,7 +1,7 @@
'use client'
import { AlertCircle, CheckCircle2, Loader2 } from 'lucide-react'
-import { us... | 4 | 3 | 2 | [{"id": "G0", "claim": "The hasAttempted boolean ref is set on first mount and never reset, so when a user clicks a new magic link from the same tab (same route, new query params) the effect re-fires, hits the guard, and the second OTP is never submitted — track the last attempted email+otp pair instead so only re-subm... | null |
thunderbird__thunderbolt__427 | thunderbird/thunderbolt | 427 | defect | 279fbad572550b7fc252df9525c90acd56dc604e | efaffbccf62874489231a07c4f586892cc2f8e0d | ⚡ THU-273: Refactor backend to use DAL pattern like frontend | ## Summary
- Extracted all direct Drizzle database queries from route handlers into a dedicated `backend/src/dal/` directory
- Created DAL modules for users, sessions, devices, waitlist, and PowerSync operations
- Updated 4 route files (account, powersync, auth, waitlist) to use DAL functions instead of inline queries
... | diff --git a/backend/src/api/account.ts b/backend/src/api/account.ts
index 3db949ac3..80aba0de2 100644
--- a/backend/src/api/account.ts
+++ b/backend/src/api/account.ts
@@ -1,8 +1,6 @@
import type { Auth } from '@/auth/elysia-plugin'
+import { deleteUser, revokeDevice } from '@/dal'
import type { db as DbType } from ... | 2 | 2 | 0 | [{"id": "G0", "claim": "toSchemaRecord is exported from the DAL barrel index.ts but never imported by anything outside the DAL module, so the unnecessary public export should be removed and the function kept private.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
thunderbird__thunderbolt__435 | thunderbird/thunderbolt | 435 | defect | 83d95d8aa88510fea1969353c41321b76a8dadb5 | 36d5596b2f9b72c838db0544efd0071380969b26 | ⚡ THU-333: Fix Enter sending on mobile web | ## Summary
- On mobile web, pressing Enter was sending the message instead of creating a newline
- `isPlatformMobile()` only detects native Tauri iOS/Android, returning `false` on mobile web browsers
- Added viewport-based `isMobile` check to also disable submit-on-enter for mobile web users
## Linear
[THU-333](https:... | diff --git a/src/components/chat/chat-prompt-input.test.tsx b/src/components/chat/chat-prompt-input.test.tsx
index 57d516fc0..8fcdf7c54 100644
--- a/src/components/chat/chat-prompt-input.test.tsx
+++ b/src/components/chat/chat-prompt-input.test.tsx
@@ -190,6 +190,27 @@ describe('ChatPromptInput', () => {
})
})
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The isMobile / isPlatformMobile style flags are getting confusing; make it clearer what the difference between them all is so the code stops being a footgun.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
thunderbird__thunderbolt__441 | thunderbird/thunderbolt | 441 | defect | 4b0242ee67cdc98e11be7f8030502e2ba2532158 | 796ab9a7bf25dd0caf38cb249ce9d9af45f4fe35 | ⚡ THU-331: Persist prompt input draft per chat thread | ## Summary
- Adds `useDraftInput` hook that persists chat prompt text to localStorage (debounced, keyed per chat thread)
- On submit, the draft is cleared immediately
- Restores draft when navigating back to a chat thread
## Linear
[THU-331](https://linear.app/mozilla-thunderbolt/issue/THU-331/persist-prompt-input-to-... | diff --git a/src/components/chat/chat-prompt-input.tsx b/src/components/chat/chat-prompt-input.tsx
index 2082b4e36..063262fec 100644
--- a/src/components/chat/chat-prompt-input.tsx
+++ b/src/components/chat/chat-prompt-input.tsx
@@ -7,6 +7,7 @@ import { cn } from '@/lib/utils'
import { trackEvent as trackEvent_default... | 3 | 3 | 2 | [{"id": "G0", "claim": "The useEffect cleanup cancels the pending debounce timer without flushing it to localStorage, so a draft typed within the 300ms window is silently lost on thread switch or unmount; cleanup should flush the pending write.", "category": "correctness", "verdict": "supported", "priority": "P1", "sco... | null |
thunderbird__thunderbolt__451 | thunderbird/thunderbolt | 451 | defect | a1adf84f04efa90c09e4d2de92d3cbde6ac45d52 | ee36c3193815d858d6fc20ef0daf8f93f9c60153 | THU-311: Link preview + citation widget bugs | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Touches chat rendering for citations/widgets and popover positioning; regressions could affect message formatting or citation UX, but changes are scoped and covered by added tests.
>
> **Overview**
> Fixes chat rendering when **`[N]` citations appear alongside `<wi... | diff --git a/src/ai/widget-parser.test.ts b/src/ai/widget-parser.test.ts
index c662a5470..f237e1a48 100644
--- a/src/ai/widget-parser.test.ts
+++ b/src/ai/widget-parser.test.ts
@@ -801,4 +801,51 @@ describe('parseContentParts', () => {
expect(result).toEqual([{ type: 'text', content: 'Normal text without any bra... | 2 | 1 | 1 | [{"id": "G0", "claim": "The index-based key on the deduplicated widget list makes React remount the wrong widget (replaying its re-entry animation) when deduplicateLinkPreviews drops a duplicate mid-stream and the list shrinks; use the widget URL as a stable key instead.", "category": "correctness", "verdict": "support... | null |
thunderbird__thunderbolt__452 | thunderbird/thunderbolt | 452 | defect | b82a40d0531c51f237d926d1aff51dc40134f7f5 | 60ae9b26f474a82c159e0f795dbebe0204b0ab0d | Simplify DAL: remove mapModel and introduce DrizzleQueryWithPromise type | ## Summary
- Remove `mapModel` function and use Drizzle rows as the `Model` type directly across components (automation form, chat hydration, model settings)
- Introduce `DrizzleQueryWithPromise<T>` type in `src/types.ts` for consistent, awaitable Drizzle query returns
- Update DAL functions (models, tasks, settin... | diff --git a/src/automations/automation-form-modal.tsx b/src/automations/automation-form-modal.tsx
index 844e984f3..9e10a2518 100644
--- a/src/automations/automation-form-modal.tsx
+++ b/src/automations/automation-form-modal.tsx
@@ -19,7 +19,6 @@ import {
getAllTriggersForPrompt,
getAvailableModels,
getSelecte... | 3 | 2 | 0 | [{"id": "G0", "claim": "The type imports in src/dal/models.ts should use the @/types alias, as already done on line 8 for DrizzleQueryWithPromise, instead of the relative '../types' path.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pre-ex... | null |
thunderbird__thunderbolt__466 | thunderbird/thunderbolt | 466 | defect | 54fea9ddc04589c781c79518f9ce380ea7bccbac | 31449a162734ff7d9ed17841ff67694baf36e6ce | THU-349: Copy and paste button for messages | ## Summary
Adds a copy-to-clipboard button to both user and assistant messages in the chat interface:
- **Assistant messages**: Copy button is always visible below message content
- **User messages**: Copy button appears on hover
Reuses the existing copy pattern from the internal browser sidebar (Copy → Check i... | diff --git a/src/components/chat/assistant-message.tsx b/src/components/chat/assistant-message.tsx
index 993b4d93e..51c4bc0e0 100644
--- a/src/components/chat/assistant-message.tsx
+++ b/src/components/chat/assistant-message.tsx
@@ -5,11 +5,13 @@ import {
groupMessageParts,
type ReasoningGroupUIPart,
} from '@/l... | 2 | 1 | 0 | [{"id": "G0", "claim": "useCopyToClipboard is missing a JSDoc comment, which CLAUDE.md requires on new utility/hook exports.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The copy button sits too close to the message text, as noticed on the weath... | null |
thunderbird__thunderbolt__483 | thunderbird/thunderbolt | 483 | defect | 32c9c969f6c7c1d7d909ad27633b19a1bed94c1b | 32c5e91479b232d72ee3467846fef7b7efc4c1b5 | Rename chat fix for Safari/Chrome/Mobile keyboard | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Moderate UI-behavior change: renaming flow is reworked and introduces new state/optimistic title handling in `ChatListItem`, which could affect navigation and render timing across browsers.
>
> **Overview**
> Sidebar chat renaming is refactored to use a new modal `... | diff --git a/src/layout/sidebar/chat-list-item.tsx b/src/layout/sidebar/chat-list-item.tsx
index f93077a6a..a2f9206cc 100644
--- a/src/layout/sidebar/chat-list-item.tsx
+++ b/src/layout/sidebar/chat-list-item.tsx
@@ -38,6 +38,7 @@ export const ChatListItem = ({
setEditValue,
displayTitle,
inputRef,
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The onCloseAutoFocus callback reads the isEditing state variable, which is likely stale when the callback fires, so focusInput() may never be called and the rename input may not receive focus; a ref-based signal should be used instead.", "category": "correctness", "verdict": "supported", "priori... | null |
thunderbird__thunderbolt__529 | thunderbird/thunderbolt | 529 | defect | ee1f0a7a3f7e3c2f32a8e59a0aac23f9eb31d52e | 6c610bc9bd772add824e406888d4d491b0123f95 | THU-296: Add authentication for inference routes | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Adds mandatory session checks to previously unauthenticated backend endpoints (`/chat` and `/pro`), which can break clients that aren’t sending auth headers and affect core AI/pro functionality.
>
> **Overview**
> **Adds a shared authentication gate for backend rou... | diff --git a/backend/src/index.ts b/backend/src/index.ts
index ce7b4db75..359cf3599 100644
--- a/backend/src/index.ts
+++ b/backend/src/index.ts
@@ -81,7 +81,7 @@ export const createApp = async (deps?: AppDeps) => {
.use(createGoogleAuthRoutes(fetchFn))
.use(createMicrosoftAuthRoutes(fetchFn))
.use... | 2 | 2 | 1 | [{"id": "G0", "claim": "The mock in routes.test.ts always returns a valid session, so the onBeforeHandle auth guard added by this PR is never exercised; a test where getSession returns null should assert a 401 response.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G... | null |
thunderbird__thunderbolt__552 | thunderbird/thunderbolt | 552 | defect | 949fd42e86ddefa6f5664962bac67b22763a337c | 91b18c90da08b22c21b162b40723ee08d4872156 | fix(security): prevent cross-origin PowerSync data injection via CORS and Origin validation | Tighten the default CORS regex from matching any localhost port (http://localhost:\d+) to only the known dev frontend port (http://localhost:1420). Add defense-in-depth server-side Origin header validation on PowerSync /token and /upload endpoints to block cross-origin requests even if CORS middleware is misconfigured.... | diff --git a/backend/src/api/powersync.test.ts b/backend/src/api/powersync.test.ts
index 918ff6ed7..349ae9873 100644
--- a/backend/src/api/powersync.test.ts
+++ b/backend/src/api/powersync.test.ts
@@ -1,7 +1,7 @@
import type { Settings } from '@/config/settings'
import { createBetterAuthPlugin } from '@/auth/elysia-p... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new cross-origin injection test suite covers PUT /upload origin rejection thoroughly but does not include a parallel test for GET /token origin rejection.", "category": "testing", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The four new `const set... | null |
thunderbird__thunderbolt__553 | thunderbird/thunderbolt | 553 | defect | 949fd42e86ddefa6f5664962bac67b22763a337c | 807033c050f1b63e075c20cebafe31ec50e5438b | fix(security): Vite Development Server Allow List | ## Summary
- Add `server.fs.strict: true` and `server.fs.allow` allowlist to `vite.config.ts`, restricting the Vite dev server's `@fs` endpoint to only serve frontend directories (`src/`, `shared/`, `public/`, `node_modules/`, `dist-isolation/`, `.storybook/`)
- Add matching `server.fs` allowlist to Storybook's `viteF... | diff --git a/vite.config.test.ts b/vite.config.test.ts
new file mode 100644
index 000000000..64a118fea
--- /dev/null
+++ b/vite.config.test.ts
@@ -0,0 +1,72 @@
+import { beforeAll, describe, expect, it } from 'bun:test'
+import path from 'path'
+import { createServer, loadConfigFromFile } from 'vite'
+
+const ROOT = pa... | 6 | 4 | 3 | [{"id": "G0", "claim": "`server.fs.allow` expects directory paths, so the `index.html` file-path entry is incorrect and redundant and the line should be removed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should also assert that `src-ta... | null |
thunderbird__thunderbolt__555 | thunderbird/thunderbolt | 555 | defect | 5e111d4d2589a423f3c155cd93680f5bcbd5a369 | a8ca2ae3d69fc5bac3d0ee1ebddf280bd57f019c | fix(security): mitigate OTP brute-force via waitlist rate limiting and resend hardening | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Touches authentication flow and rate-limiting configuration, so misconfiguration (e.g., missing `TRUSTED_PROXY` or multi-instance deployments) could weaken protections or block sign-ins. Changes are contained and covered by new integration tests around OTP resend/at... | diff --git a/backend/src/auth/auth.ts b/backend/src/auth/auth.ts
index ab18e6854..67863bc94 100644
--- a/backend/src/auth/auth.ts
+++ b/backend/src/auth/auth.ts
@@ -2,7 +2,7 @@ import { approveWaitlistEntry, createWaitlistEntry, getUserByEmail, getWaitlistB
import type { db as DbType } from '@/db/client'
import * as ... | 5 | 5 | 4 | [{"id": "G0", "claim": "Better Auth's built-in rate limiter configured here defaults to in-memory storage, so in a horizontally-scaled deployment each instance keeps its own counter and an attacker can spread requests across instances to evade the limit; wire a shared secondary storage or at least acknowledge the limit... | null |
thunderbird__thunderbolt__558 | thunderbird/thunderbolt | 558 | defect | 3d51956117bc0c93df8b7df27af0a3cd40ac873c | 6381b13755d873ab899b998ecf5b0e4a539b40a5 | chore: add configurable Swagger/OpenAPI documentation via SWAGGER_ENABLED | ## Summary
This PR adds a new `SWAGGER_ENABLED` environment variable to control whether the Swagger/OpenAPI documentation is exposed at the `/v1/swagger` endpoint. Previously, Swagger was automatically enabled in non-production environments. Now it's disabled by default and must be explicitly enabled via configuration.... | diff --git a/backend/.env.example b/backend/.env.example
index 024b20841..af2cd4627 100644
--- a/backend/.env.example
+++ b/backend/.env.example
@@ -77,6 +77,10 @@ POWERSYNC_JWT_SECRET=powersync-dev-secret-change-in-production
POWERSYNC_JWT_KID=powersync-dev
POWERSYNC_TOKEN_EXPIRY_SECONDS=3600
+# Swagger / OpenAPI ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The unconditional static import of @elysiajs/swagger loads the swagger module and its transitive dependencies in every process even when swaggerEnabled is false, and the previous conditional dynamic import inside the if (settings.swaggerEnabled) block should be restored to keep loading lazy.", "... | null |
thunderbird__thunderbolt__559 | thunderbird/thunderbolt | 559 | defect | 1dcd3caf2012c3d355a9f085b3481b6027d7748b | 6bacb8200b9b581f0b3f0f76dd09693351047cbb | chore(security): signature requirement for bearer token authentication | ## Summary
Enhanced security for bearer token authentication by requiring signature validation on all bearer token requests.
## Key Changes
- Modified the `bearer()` plugin configuration to enforce signature verification by setting `requireSignature: true`
- This applies to all Authorization: Bearer token requests use... | diff --git a/backend/src/auth/auth.ts b/backend/src/auth/auth.ts
index 1edac2436..c01a44802 100644
--- a/backend/src/auth/auth.ts
+++ b/backend/src/auth/auth.ts
@@ -132,7 +132,7 @@ export const createAuth = (database: typeof DbType) => {
}),
},
plugins: [
- bearer(), // Enables Authorization: Bear... | 4 | 2 | 2 | [{"id": "G0", "claim": "The `requireSignature` option passed to `bearer()` may not be supported by the installed better-auth@1.5.6 and could be silently ignored, so no signature validation would be enforced despite the PR's stated security intent.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "... | null |
thunderbird__thunderbolt__571 | thunderbird/thunderbolt | 571 | defect | f4886b41f6e2b4cda60b153f4663a8a84aadfd5b | 6289a18f8cd939b90069265ee3736a85c4e78dc4 | refactor: extract OTP magic strings into shared constants | - Add CHALLENGE_TOKEN_HEADER and OTP_LENGTH constants to both frontend (src/lib/constants.ts) and backend (otp-constants.ts)
- Replace all hardcoded 'x-challenge-token' header strings and magic number 8 with constant references
- Fix computed property syntax for header constant in all call sites
- Use process.cwd() ... | diff --git a/backend/src/auth/auth.test.ts b/backend/src/auth/auth.test.ts
index 30bb08883..06530fb7a 100644
--- a/backend/src/auth/auth.test.ts
+++ b/backend/src/auth/auth.test.ts
@@ -20,6 +20,7 @@ mock.module('@/waitlist/utils', () => ({
import { user } from '@/db/auth-schema'
import { waitlist } from '@/db/schem... | 5 | 3 | 0 | [{"id": "G0", "claim": "Migrations will silently fail to find the drizzle folder if the compiled binary is ever invoked from a CWD other than backend/, so the entrypoint should be confirmed to always set CWD to backend/ or an env-var override like MIGRATIONS_DIR should be added as a safety net.", "category": "correctne... | null |
thunderbird__thunderbolt__576 | thunderbird/thunderbolt | 576 | defect | 3b5f7810beee0976afe969210dfab75c147bdc55 | 9af5d1e9658b67a77ff33ae7058100247b810b17 | fix: reject weak PowerSync JWT secrets and invalid token expiry values | ## Summary
- Enforce `powersyncJwtSecret` minimum length of 32 characters when `powersyncUrl` is configured — prevents trivially weak JWT signing secrets in production
- Reject zero, negative, and non-integer values for `powersyncTokenExpirySeconds` — prevents tokens that expire immediately or have undefined behavior
-... | diff --git a/backend/src/config/settings.test.ts b/backend/src/config/settings.test.ts
index 985248481..f129b569f 100644
--- a/backend/src/config/settings.test.ts
+++ b/backend/src/config/settings.test.ts
@@ -418,14 +418,14 @@ describe('Config Settings', () => {
it('should read PowerSync values from env when set',... | 2 | 2 | 1 | [{"id": "G0", "claim": "In Zod v3 the `too_small` issue passed to `ctx.addIssue` must use a `type` field rather than `origin`; with `origin: 'string'` the issue's `type` is undefined for any downstream code reading it and TypeScript may error under strict excess-property checks.", "category": "correctness", "verdict": ... | null |
thunderbird__thunderbolt__590 | thunderbird/thunderbolt | 590 | defect | 1b1ff09002b7b340cc2e8c22dd2996d55087e355 | 449ae7a0922116562689f246047600f1e954c73f | fix: replace GPL-licensed tauri-plugin-m3 with native Tauri commands | ## Summary
- **Removes `tauri-plugin-m3`** (GPL-3.0-only), which is incompatible with our MPL-2.0 license
- We only used 2 of its 4 APIs (`getInsets` for Android safe area padding, `setBarColor` for status/nav bar theming) — neither of which requires a third-party plugin
- Replaces them with native Tauri `invoke()` co... | diff --git a/package.json b/package.json
index 415c06ad1..dd53dd2b7 100644
--- a/package.json
+++ b/package.json
@@ -114,7 +114,7 @@
"remark-gfm": "^4.0.1",
"tailwind-merge": "^3.3.1",
"tailwindcss-animate": "^1.0.7",
- "tauri-plugin-m3": "^0.2.2",
+
"uuid": "^11.1.0",
"web-haptics": "^0.0.6... | 5 | 5 | 3 | [{"id": "G0", "claim": "get_android_insets is a placeholder that unconditionally returns None on all platforms including Android, so Android safe-area padding regresses (M3.getInsets() previously returned real values and the CSS env() fallback is unreliable on edge-to-edge Android) until the Kotlin bridge is wired up."... | null |
thunderbird__thunderbolt__591 | thunderbird/thunderbolt | 591 | defect | 1b1ff09002b7b340cc2e8c22dd2996d55087e355 | 5cf72b99486996bd97e3ecb7dd438768e1bfb5cd | chore: code quality cleanup — dead code, deprecated APIs, fragile checks | ## Summary
- **Remove unused streaming-parser middleware** — `streaming-parser.ts` (290 lines) had zero importers; `toolCallsMiddleware` is the active parser
- **Replace deprecated `escape()`/`unescape()`** — replaced with modern `TextEncoder`/`TextDecoder` + `Uint8Array` in Google utils; added Unicode round-trip tests... | diff --git a/backend/.env.example b/backend/.env.example
index a1f012b2f..8afdc41bb 100644
--- a/backend/.env.example
+++ b/backend/.env.example
@@ -1,5 +1,4 @@
# API Keys
-FIREWORKS_API_KEY=
EXA_API_KEY=
# Health Check Configuration
diff --git a/src/ai/middleware/streaming-parser.ts b/src/ai/middleware/streaming-... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new HTML-detection regex /<[a-z][\\s\\S]*?>/i wrongly flags plain-text email addresses in angle brackets (e.g. <support@example.com>) and similar input as HTML, and no test covers that case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":... | null |
thunderbird__thunderbolt__628 | thunderbird/thunderbolt | 628 | defect | edd5e15fa1ad383a4fd24783ff9b6773756bf537 | 43202b405613378e01033f9a67b0bfcaec6bc05d | THU-412: Add PostHog sync diagnostics for iOS sync bug | ## Summary
Adds 12 PostHog sync diagnostic events to track why iOS stops syncing while auth still works. All tracking is isolated in a new `sync-tracker.ts` module.
- Instruments connect, disconnect, reconnect, visibility change, credential refresh, and upload flows
- Tracks `connected`↔`disconnected` transitions to ... | diff --git a/TELEMETRY.md b/TELEMETRY.md
index e66363403..b82966e1f 100644
--- a/TELEMETRY.md
+++ b/TELEMETRY.md
@@ -76,6 +76,23 @@ Events follow the pattern: `<feature>_<action>`
- `ui_sidebar_open` - Sidebar opens
- `ui_sidebar_close` - Sidebar closes
+#### Sync Diagnostics (`sync_*`)
+
+Diagnostic events for deb... | 6 | 4 | 4 | [{"id": "G0", "claim": "When connectToSync fails internally and swallows the error, _isConnected stays false and no exception propagates, so reconnect emits sync_reconnect_start with no matching sync_reconnect_success or sync_reconnect_error completion event.", "category": "correctness", "verdict": "supported", "priori... | null |
thunderbird__thunderbolt__632 | thunderbird/thunderbolt | 632 | defect | d29f7a98e011808f141cbb6863ff7eafc2841983 | 5efb1bb323e97f35e215f9202c589098d849965a | THU-430: Missing canary proof-of-CK-possession on device revocation enables E2EE state reset | ## Summary
- **Security fix**: Device revocation (`POST /account/devices/:id/revoke`) now requires canary proof-of-CK-possession when E2EE is active, closing an attack vector where a stolen session could reset all encryption state
- **Defense-in-depth**: First-device bootstrap path now verifies canary against existing... | diff --git a/backend/src/api/account.test.ts b/backend/src/api/account.test.ts
index 4e678976f..5c4c9bb24 100644
--- a/backend/src/api/account.test.ts
+++ b/backend/src/api/account.test.ts
@@ -1,7 +1,8 @@
import { createAuth } from '@/auth/auth'
import { session as sessionTable, user } from '@/db/auth-schema'
-import... | 2 | 1 | 1 | [{"id": "G0", "claim": "revokeDeviceWithProof unconditionally calls extractCanarySecret, which throws for pre-E2EE users (fetchCanary 404), so device revocation fails before reaching the revoke endpoint; the canary extraction should be guarded so the revoke falls through without canary proof.", "category": "correctness... | null |
thunderbird__thunderbolt__753 | thunderbird/thunderbolt | 753 | defect | 346293eeb64e71131dcf1008e5464c84135fa516 | cc2a716f412820045c6601ca04da5f9f81913630 | chore: update all fronted + backend deps | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Moderate risk due to major dependency upgrades (notably `openai` v6 and `@posthog/ai`/LangChain stack) plus DB lifecycle changes that could affect runtime behavior and tests.
>
> **Overview**
> Upgrades backend dependencies across DB, AI, telemetry, and lint toolin... | diff --git a/backend/bun.lock b/backend/bun.lock
index 2c2efc83a..01e223e29 100644
--- a/backend/bun.lock
+++ b/backend/bun.lock
@@ -5,16 +5,16 @@
"": {
"name": "thunderbolt-backend-elysia",
"dependencies": {
- "@electric-sql/pglite": "^0.3.14",
+ "@electric-sql/pglite": "0.4.4",
... | 5 | 4 | 2 | [{"id": "G0", "claim": "Upgrading @posthog/ai from v6 to v7 splits the openai SDK into two versions, so the instanceof checks in routes.ts against the project's openai v5 error classes always return false and connection errors bypass the specific handlers, leaking unsanitized internal error details to clients.", "categ... | null |
thunderbird__thunderbolt__764 | thunderbird/thunderbolt | 764 | defect | b90ca83f5e3a29f4e6a6a7333a5d49306ac9d098 | 09589fb645c1e841b53b74f6371160d9c4bdf761 | test: use exact hostname matching in mock fetch handlers | Replace loose `url.includes(...)` / `url.startsWith(...)` in backend test mock fetch handlers with proper hostname parsing via `new URL(url).hostname`. Fixes 10 CodeQL `js/incomplete-url-substring-sanitization` alerts (#21–#30).
## Test plan
- [x] `bun tsc --noEmit` (backend) clean
- [x] `bun test --rerun-each 5` on ... | diff --git a/backend/src/api/routes.test.ts b/backend/src/api/routes.test.ts
index 4df7714f0..b9ccc10a2 100644
--- a/backend/src/api/routes.test.ts
+++ b/backend/src/api/routes.test.ts
@@ -10,7 +10,8 @@ describe('Main Routes', () => {
const mockFetch = mock((input: RequestInfo | URL, _init?: RequestInit) => {
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The isPosthogRequest helper duplicated across test files should be extracted into a shared test utility to avoid duplication.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
thymikee__jest-preset-angular__3741 | thymikee/jest-preset-angular | 3,741 | defect | 3bbb3818269f0a8061c860bad3beb37af88b1d97 | d6770be41c16c16ef192e8afe7aa4722a5f39a67 | fix: correct the condition to detect ng 21 when patching module resolution | The method `_isAngularExportsOnly` was renamed to `_isAnguar21ExportOnly` and its return logic was corrected (`!resolvedModule` → `!!resolvedModule`), but the unit tests were still referencing the old method name via `jest.spyOn`.
## Changes
- Updated all three `jest.spyOn` usages in `src/compiler/ng-jest-compiler.sp... | diff --git a/examples/example-app-monorepo/tsconfig.base.json b/examples/example-app-monorepo/tsconfig.base.json
index 7e3e673f28..4e7f4ba422 100644
--- a/examples/example-app-monorepo/tsconfig.base.json
+++ b/examples/example-app-monorepo/tsconfig.base.json
@@ -7,7 +7,6 @@
"noImplicitReturns": true,
"noFallt... | 4 | 1 | 1 | [{"id": "G0", "claim": "The unit tests still target the old method name `_isAngularExportsOnly` and must be fixed to adapt to the rename to `_isAnguar21ExportOnly`.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The private helper name `_isAnguar21Expor... | null |
ti-community-infra__tichi__190 | ti-community-infra/tichi | 190 | defect | df8de6fbdf74dd2ae6c1ad001883a12ed713fd3f | 05eb3823cdc3953d454c6fe81ed2d0834554dedf | refactor: move the label and label preifx constants to label.go | resolves #153 | diff --git a/internal/pkg/externalplugins/label.go b/internal/pkg/externalplugins/label.go
new file mode 100644
index 000000000..66c367c79
--- /dev/null
+++ b/internal/pkg/externalplugins/label.go
@@ -0,0 +1,12 @@
+package externalplugins
+
+const (
+ // LabelPrefix is the name of the lgtm label applied by the lgtm plu... | 4 | 4 | 1 | [{"id": "G0", "claim": "The label prefix constant would be better named LgtmLabelPrefix rather than the generic LabelPrefix.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The prefix constant and the label constant should be defined in two separ... | null |
ti-community-infra__tichi__194 | ti-community-infra/tichi | 194 | defect | 5b97cfd25fbdbf42f870a4a6a473f88704505fd4 | a6f3e07f126792e1b72e0adbaf197693bc8b9f7f | refactor: improve the response sentences | Signed-off-by: Andy Lok <andylokandy@hotmail.com>
Some improvement in response texts. | diff --git a/configs/prow-dev/config/external_plugins_config.yaml b/configs/prow-dev/config/external_plugins_config.yaml
index c76990cae..bfd1f8f68 100644
--- a/configs/prow-dev/config/external_plugins_config.yaml
+++ b/configs/prow-dev/config/external_plugins_config.yaml
@@ -31,6 +31,8 @@ ti-community-autoresponder:
... | 13 | 10 | 5 | [{"id": "G0", "claim": "The pull request's changes break CI (the build/tests fail on the current head).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The welcome template change is unnecessary since the welcome only applies to tidb-community-bots, ... | null |
ti-community-infra__tichi__210 | ti-community-infra/tichi | 210 | defect | 4dfd75e8edd68e3a18ba0609e24b62afb5224062 | 39a670f3f121460dc67ed55d9926bb177f1d7c3e | feat: support setting multiple trusted teams and required LGTM for branches | Part of #188, #168
- [x] update the documation
- [ ] ~~update the config file~~ (update after release) | diff --git a/configs/prow-dev/config/external_plugins_config.yaml b/configs/prow-dev/config/external_plugins_config.yaml
index 334846fae..e111f3f9a 100644
--- a/configs/prow-dev/config/external_plugins_config.yaml
+++ b/configs/prow-dev/config/external_plugins_config.yaml
@@ -15,6 +15,15 @@ ti-community-owners:
... | 8 | 8 | 1 | [{"id": "G0", "claim": "Revert the prow-dev external_plugins_config.yaml changes (trusted_teams/branchs) and only update the config after the plugin release.", "category": "process", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The branches row of the config table should read... | null |
ti-community-infra__tichi__217 | ti-community-infra/tichi | 217 | defect | ab14c526da1206c3f70ef64ef818b9b1b80ca2c4 | b5ce779c96e170908d414f4f9b7a3e58582fac66 | feat: add delay time for bluderbuss to wait for sig label to be added | resolves #211 | diff --git a/docs/src/plugins/blunderbuss.md b/docs/src/plugins/blunderbuss.md
index 522608040..11a0fa416 100644
--- a/docs/src/plugins/blunderbuss.md
+++ b/docs/src/plugins/blunderbuss.md
@@ -4,7 +4,7 @@
在 TiDB 社区中,因为一个 PR 会经过多人多阶段 review,所有我们希望能够在 PR 被创建的时候自动分配 reviewers。
-ti-community-blunderbuss 负责在 PR 创建时,根据 ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new grace_period_duration configuration item should be validated in config.go rather than in the plugin handler, and its value must not be less than zero.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "With the 5-second d... | null |
ti-community-infra__tichi__259 | ti-community-infra/tichi | 259 | defect | 32dccfce3bafc47c79ef4886a74f0408ecdda5c3 | c6863cb0d16cfabe30643e255f6c07bb388e6a7b | feat: giving permissions to all sig reviewers and committers | close https://github.com/ti-community-infra/ti-community-prow/issues/257 | diff --git a/docs/plugins/owners.md b/docs/plugins/owners.md
index 64fe5004b..8ef2cb32f 100644
--- a/docs/plugins/owners.md
+++ b/docs/plugins/owners.md
@@ -33,7 +33,7 @@
因为要基于 sig 来划分权限,所以要求这些 PR 中能够获取到当前 PR 所属的 sig。owners 会在当前 PR 中查找以 `sig/` 开头的标签,然后查找该 sig 的信息。最终根据获取到的 sig 的信息生成 owners。
但是可能确实存在一些特殊情况找不到对应的sig:
... | 2 | 1 | 1 | [{"id": "G0", "claim": "The documentation (docs/plugins/owners.md) needs updating to reflect the new behaviour of giving permissions to all sig reviewers and committers; the author held the PR until this was done.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G... | null |
ti-community-infra__tichi__283 | ti-community-infra/tichi | 283 | defect | c8c388a454e2a26e673263fa7d84488854e57ee6 | 55ad0e5642436e2375623c32221536cb2296826e | feat: use tichi owners page | close https://github.com/ti-community-infra/tichi/issues/166 | diff --git a/internal/pkg/externalplugins/config.go b/internal/pkg/externalplugins/config.go
index a0b7d3024..3c877a578 100644
--- a/internal/pkg/externalplugins/config.go
+++ b/internal/pkg/externalplugins/config.go
@@ -17,6 +17,8 @@ const (
// Configuration is the top-level serialization target for external plugin... | 1 | 1 | 0 | [{"id": "G0", "claim": "The name of the TiChi configuration field does not feel like a good description of the content of the configuration item and should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ti-community-infra__tichi__289 | ti-community-infra/tichi | 289 | defect | 6e602c98ad151e529ab05530eca7cec61249c1ba | 2a83808dd693d2cabd9f2a85c9811c897835b9a7 | feat: add review notification | close https://github.com/ti-community-infra/tichi/issues/90 | diff --git a/cmd/ticommunitylgtm/main.go b/cmd/ticommunitylgtm/main.go
index 91a1fdd39..f37971e3d 100644
--- a/cmd/ticommunitylgtm/main.go
+++ b/cmd/ticommunitylgtm/main.go
@@ -182,6 +182,16 @@ func (s *server) handleEvent(eventType, eventGUID string, payload []byte) error
l.WithField("event-type", eventType).With... | 2 | 1 | 0 | [{"id": "G0", "claim": "The bot should match an invisible HTML-comment annotation rather than the visible notification title, so that changing the title later does not break notification detection.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The revie... | null |
ti-community-infra__tichi__304 | ti-community-infra/tichi | 304 | defect | c42704942c1380898162a27b1cde092bf63e3cc5 | c739d210d4ed134b0b715b2000db6d9ef23a88f2 | feat: add label blocker plugin | ## Check List
- [x] feat: add label blocker plugin
- [x] test: unit test for label blocker plugin
- [x] docs: add doc
## Related
Part of #258
| diff --git a/cmd/ticommunitylabelblocker/main.go b/cmd/ticommunitylabelblocker/main.go
new file mode 100644
index 000000000..5f553e692
--- /dev/null
+++ b/cmd/ticommunitylabelblocker/main.go
@@ -0,0 +1,159 @@
+package main
+
+import (
+ "encoding/json"
+ "flag"
+ "fmt"
+ "net/http"
+ "os"
+ "strconv"
+ "time"
+
+ "gith... | 21 | 19 | 1 | [{"id": "G0", "claim": "The design-background sentence of docs/plugins/label-blocker.md is awkwardly worded and should be rephrased.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The permission-design sentence in the doc is truncated mid-thought ... | null |
ti-community-infra__tichi__314 | ti-community-infra/tichi | 314 | defect | 48122294dce508ac86e8b5819fa990c9da0f4f70 | 8326853c159a6e89e8225a21c505c551f632aa15 | feat: support issue event and add reply for label blocker | Close #307 | diff --git a/cmd/ticommunitylabelblocker/main.go b/cmd/ticommunitylabelblocker/main.go
index 5f553e692..a21839722 100644
--- a/cmd/ticommunitylabelblocker/main.go
+++ b/cmd/ticommunitylabelblocker/main.go
@@ -141,7 +141,6 @@ func (s *server) handleEvent(eventType, eventGUID string, payload []byte) error
// Get extern... | 4 | 3 | 2 | [{"id": "G0", "claim": "Drop the `operate` variable and log directly as before, and put a period at the end of all log messages.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reply message the label blocker leaves should be configurable rat... | null |
ti-community-infra__tichi__344 | ti-community-infra/tichi | 344 | defect | aa34f983d7abcbc058da2ab9c1a2130cee1acb66 | d8fc05bb16dd4ce597d6623d270bd9c089f12afc | fix: only request reviewers when PR no requested reviewers | Part of https://github.com/ti-community-infra/tichi/issues/315
Because we support multiple sigs and in practice we find that people assign revewers manually, we need to stop auto-assignment when there are manually assigned viewers. This feature is similar to not auto-assigning when we have /cc. | diff --git a/docs/plugins/blunderbuss.md b/docs/plugins/blunderbuss.md
index f3e0b7bf8..c1980bd11 100644
--- a/docs/plugins/blunderbuss.md
+++ b/docs/plugins/blunderbuss.md
@@ -16,9 +16,7 @@ ti-community-blunderbuss 负责在 PR 创建时,根据 ti-community-owners 划
该插件主要参考了 Kubernetes 的 blunderbuss 插件设计。在它的基础上,我们依托于 ti-community-... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new documentation should say that reviewers are auto-assigned only when the plugin detects neither assigned reviewers nor reviewers specified via the /cc command.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ti-community-infra__tichi__362 | ti-community-infra/tichi | 362 | defect | 914fdb923366c47a50e622e8e4e98aab3773bd48 | 1a44845b2bcbeb6721757249a2043efad454592d | feat: blunderbuss support weighted assign | close https://github.com/ti-community-infra/tichi/issues/315
part of https://github.com/ti-community-infra/tichi/issues/356 | diff --git a/docs/en/_sidebar.md b/docs/en/_sidebar.md
index f0b0dc483..9ab38b09d 100644
--- a/docs/en/_sidebar.md
+++ b/docs/en/_sidebar.md
@@ -1,4 +1,5 @@
- [Plugins](en/plugins.md)
- [ti-community-merge](en/plugins/merge.md)
+ - [ti-community-blunderbuss](en/plugins/blunderbuss.md)
- [Workflows](en/workflows.m... | 5 | 4 | 0 | [{"id": "G0", "claim": "Rename `defaultWeight` (for example to `weightIncrement` or `defaultWeightIncrement`) so that the name clearly reads as the weight increment contributed by each change.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Chang... | null |
ti-community-infra__tichi__366 | ti-community-infra/tichi | 366 | defect | 9d55aad5ffd7c9cd334bcbbe35a46883a7af1c05 | 714aab4b5cec6b32d8a9dfcb983440d6bbe173bf | feat: TARS supports responding to push events | part of https://github.com/ti-community-infra/tichi/issues/356 | diff --git a/cmd/ticommunitytars/main.go b/cmd/ticommunitytars/main.go
index 4e89a36ee..3e5f44fb1 100644
--- a/cmd/ticommunitytars/main.go
+++ b/cmd/ticommunitytars/main.go
@@ -53,7 +53,7 @@ func gatherOptions() options {
fs.StringVar(&o.externalPluginsConfig, "external-plugins-config",
"/etc/external_plugins_conf... | 2 | 2 | 0 | [{"id": "G0", "claim": "Perhaps a better solution would be for tars to monitor each repository for PR merge events and then trigger an update operation.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Updating only the first PR sorted by creation time may... | null |
ti-community-infra__tichi__367 | ti-community-infra/tichi | 367 | defect | 9d55aad5ffd7c9cd334bcbbe35a46883a7af1c05 | 556cdcab6aeb12245642661717b3756f2ecd9f55 | fix: merge if the number of lgtm is greater than the required number | cc: https://github.com/pingcap/tidb/pull/22860#issuecomment-787221552 | diff --git a/internal/pkg/externalplugins/merge/merge.go b/internal/pkg/externalplugins/merge/merge.go
index 97281f2f9..87f3ddf20 100644
--- a/internal/pkg/externalplugins/merge/merge.go
+++ b/internal/pkg/externalplugins/merge/merge.go
@@ -349,7 +349,7 @@ func isLGTMSatisfy(prefix string, labels []github.Label, needsL... | 1 | 1 | 0 | [{"id": "G0", "claim": "The return should be written as `return currentLgtmNumber >= needsLgtm` instead of `return needsLgtm <= currentLgtmNumber` (same logic, clearer reading order).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
ti-community-infra__tichi__375 | ti-community-infra/tichi | 375 | defect | 0edb2b398c65e79b1b03c35fe31f11361942d0da | ee8dc999bcc6f3b9660ff1898f496f9625740698 | fix: check PR mergeable for tars | When there is a PR conflict, the API call to update the PR does not report an error, so it causes the mechanism to update the PR after the push event to fail. | diff --git a/internal/pkg/externalplugins/tars/tars.go b/internal/pkg/externalplugins/tars/tars.go
index 139d99184..86a39e5cf 100644
--- a/internal/pkg/externalplugins/tars/tars.go
+++ b/internal/pkg/externalplugins/tars/tars.go
@@ -72,7 +72,7 @@ type pullRequest struct {
Name githubql.String
}
} `graphql:"lab... | 1 | 1 | 1 | [{"id": "G0", "claim": "In some situations the push-event handler may always handle the same one PR, because it breaks after the first successfully handled PR even when handle() took no action, leaving the other PRs on the branch to wait for the half-hourly timed scan.", "category": "correctness", "verdict": "supported... | null |
ti-community-infra__tichi__416 | ti-community-infra/tichi | 416 | defect | f45c074477048e0ab24a69e87fcd904696920694 | 425e23848bbacc02e7622b443e9bfb2a1c504464 | fix: fix the /label command case sensitive problem and optimize reply | ## Bug Report
Fix the problem found in https://github.com/pingcap/docs-tidb-operator/pull/1134.
## CheckedList
- [x] solve a series of case sensitive problems
- [x] optimize reply, distinguish the three cases where the label does not exist (Notice: may cause the robot’s response to increase)
- [x] fix invali... | diff --git a/internal/pkg/externalplugins/label/label.go b/internal/pkg/externalplugins/label/label.go
index c7c3033d6..8dd88bd85 100644
--- a/internal/pkg/externalplugins/label/label.go
+++ b/internal/pkg/externalplugins/label/label.go
@@ -18,11 +18,13 @@ import (
const PluginName = "ti-community-label"
var (
- la... | 5 | 3 | 0 | [{"id": "G0", "claim": "The added comments should consistently spell the term as \"RegExp\" instead of the mixed \"regexp\" they use.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A comment should be added to explain why the new empty-label ski... | null |
ti-community-infra__tichi__425 | ti-community-infra/tichi | 425 | defect | 27dbff63ab4fdf80493de789ec9a724b6b8c355c | 36dcbe7a59884947df19c8667bfd44820d2a8dfb | feat: impl contribution | close https://github.com/ti-community-infra/tichi/issues/391 | diff --git a/.goreleaser.yml b/.goreleaser.yml
index 1c2c8d100..560622457 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -79,6 +79,15 @@ builds:
main: ./cmd/ticommunitylabelblocker/main.go
env:
- CGO_ENABLED=0
+ - id: "ti-community-contribution"
+ binary: ticommunitycontribution
+ goos:
+... | 6 | 4 | 0 | [{"id": "G0", "claim": "The design doc should say the plugin adds a `first-time-contributor` label to a PR, not a `first-time-contributor` tag.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment on the Repos field should read \"org/repo\",... | null |
ti-community-infra__tichi__474 | ti-community-infra/tichi | 474 | defect | 5580380375e6f3205d0f295368a8f877e6497d89 | 57a450e8eb2c6feee4c623f9f123675a37ba1d07 | fix: Use MergeStateStatus to reduce the use of tars for the GitHub API | Maybe fix https://github.com/ti-community-infra/tichi/issues/411
```release-note
Use MergeStateStatus to reduce the use of tars for the GitHub API.
``` | diff --git a/internal/pkg/externalplugins/tars/tars.go b/internal/pkg/externalplugins/tars/tars.go
index 4b8a1b10e..a3de55c2e 100644
--- a/internal/pkg/externalplugins/tars/tars.go
+++ b/internal/pkg/externalplugins/tars/tars.go
@@ -24,6 +24,9 @@ const (
// branchRefsPrefix specifies the prefix of branch refs.
// S... | 2 | 2 | 0 | [{"id": "G0", "claim": "The added comment should say \"merge state status\" instead of the typo \"merge stats state\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The guard should be written as `if pr.MergeStateStatus != behind` rather than t... | null |
ti-community-infra__tichi__480 | ti-community-infra/tichi | 480 | defect | 40a7968374b2a44643be960423fc2434e1c36504 | 941017686943ba40e2f2677348d1ac9659d126cf | fix: tars stop handle pull request event and more refined queries | Signed-off-by: hi-rustin <rustin.liu@gmail.com>
```release-note
tars stop responding to pull request events and adjust queries to reduce API usage and processing time
``` | diff --git a/cmd/ticommunitytars/main.go b/cmd/ticommunitytars/main.go
index 285b92a74..c1f4122e1 100644
--- a/cmd/ticommunitytars/main.go
+++ b/cmd/ticommunitytars/main.go
@@ -157,16 +157,6 @@ func (s *Server) handleEvent(eventType, eventGUID string, payload []byte) error
config := s.configAgent.Config()
switch ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment should say \"GitHub's\" instead of \"GitHubs\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Building one combined query across multiple repos yields `label:\"labelA\" repo:\"repoA\" label:\"labelA\" repo:\"re... | null |
ti-community-infra__tichi__483 | ti-community-infra/tichi | 483 | defect | 28bdf72ad67d1444012de0bb71d21f96fd4e749c | 3c456a3847b3be067622acaf012c472b429a5746 | fix: Make tars periodically update only one PR to prevent DOS attacks to CI systems | ```release-note
Make tars periodically update only one PR to prevent DOS attacks to CI systems.
``` | diff --git a/cmd/ticommunitytars/main.go b/cmd/ticommunitytars/main.go
index c1f4122e1..b4da59ce0 100644
--- a/cmd/ticommunitytars/main.go
+++ b/cmd/ticommunitytars/main.go
@@ -54,7 +54,7 @@ func gatherOptions() options {
fs.StringVar(&o.externalPluginsConfig, "external-plugins-config",
"/etc/external_plugins_conf... | 1 | 1 | 0 | [{"id": "G0", "claim": "The HandleAll body could reduce its nesting level by returning early when len(repos) <= 0 instead of wrapping the loop in `if len(repos) > 0`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ti-community-infra__tichi__489 | ti-community-infra/tichi | 489 | defect | 817a9b3d4de435afa3ea38e308cc94353f2ba36c | 23b9ee55f1051157302a32571dd6b3e5aa333d00 | fix: lgtm start responding to review comment | close https://github.com/ti-community-infra/tichi/issues/488
```release-note
lgtm started responding to review comments to improve the experience of the review process.
```
| diff --git a/docs/en/plugins/lgtm.md b/docs/en/plugins/lgtm.md
index 7e0155215..c559096b7 100644
--- a/docs/en/plugins/lgtm.md
+++ b/docs/en/plugins/lgtm.md
@@ -30,26 +30,16 @@ The plugin is responsible for the collaborative process of code review with the
## Design
-The implementation of this plugin was not only ... | 4 | 2 | 1 | [{"id": "G0", "claim": "The docs' new bullet '在 Comment 中使用 /lgtm [cancel]' is ambiguous about whether 'Comment' means Issue Comment or Comment-type Review, and if it means both, may need to note that Comment-type Review only triggers when the review_acts_as_lgtm option is turned on.", "category": "documentation", "ver... | null |
ti-community-infra__tichi__493 | ti-community-infra/tichi | 493 | defect | e56b4d66009afadab29c24cb0b046a467afde645 | 659816471148dba8c039a0a72361bf8111e9dbd6 | feat: support multiple calls per comment | close https://github.com/ti-community-infra/tichi/issues/458
```release-note
Cherrypicker support multiple calls per comment.
``` | diff --git a/internal/pkg/externalplugins/cherrypicker/cherrypicker.go b/internal/pkg/externalplugins/cherrypicker/cherrypicker.go
index 9876d244e..fe3c22789 100644
--- a/internal/pkg/externalplugins/cherrypicker/cherrypicker.go
+++ b/internal/pkg/externalplugins/cherrypicker/cherrypicker.go
@@ -339,15 +339,13 @@ func ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Maybe the unexpected-PR error message in testCherryPickPR should print `expectedPrs` or nothing instead of the hardcoded `expectedFn(\"release-1.5\")` sample.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}] | null |
ti-community-infra__tichi__569 | ti-community-infra/tichi | 569 | defect | d233de7dbd2fc01dc0638a564f5ff9819661c5dc | 1951feda0427bb1a337611a02173b6c7cdb0ca36 | fix: cherrypicker only processes added label | Signed-off-by: hi-rustin <rustin.liu@gmail.com>
close https://github.com/ti-community-infra/tichi/issues/551
When labeled, only the label being added is processed. | diff --git a/internal/pkg/externalplugins/cherrypicker/cherrypicker.go b/internal/pkg/externalplugins/cherrypicker/cherrypicker.go
index d8511421b..2cdc3df1f 100644
--- a/internal/pkg/externalplugins/cherrypicker/cherrypicker.go
+++ b/internal/pkg/externalplugins/cherrypicker/cherrypicker.go
@@ -18,6 +18,7 @@ The origi... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new test case fails on Windows because the mock's patch path (/tmp/foo_bar_2_release-1.5.patch) cannot be opened there, so the cherry-pick fails with 'The system cannot find the path specified'.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":... | null |
ti-community-infra__tichi__597 | ti-community-infra/tichi | 597 | defect | 82b85f8fbaa8fa3c91f3baa8e49774116e6f9cea | 79bb5e508bab72f5519764c4a16476466aa55c1e | feat: Adding more granular GitHub permission controls for owners | close https://github.com/ti-community-infra/tichi/issues/590 | diff --git a/cmd/ticommunityowners/main.go b/cmd/ticommunityowners/main.go
index 5d9e8e5f0..3999800e4 100644
--- a/cmd/ticommunityowners/main.go
+++ b/cmd/ticommunityowners/main.go
@@ -18,7 +18,6 @@ import (
prowflagutil "k8s.io/test-infra/prow/flagutil"
"k8s.io/test-infra/prow/interrupts"
"k8s.io/test-infra/prow... | 3 | 2 | 1 | [{"id": "G0", "claim": "The REST collaborators API the implementation relies on does not work (per octokit#2041), so the current approach cannot stand and the PR was closed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comment above the empty-... | null |
ti-community-infra__tichi__613 | ti-community-infra/tichi | 613 | defect | b53208ee7bf2d03080fe25d2a4c5e5f385d01817 | aa73579df4840cd9bcc6a5ca40de481b8fd54374 | feat: revert rerere component | Since the status of the tide can now be set to required, this may be an effective solution. | diff --git a/.goreleaser.yml b/.goreleaser.yml
index beb0ffd71..1dc74f48a 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -109,6 +109,15 @@ builds:
main: ./cmd/check-external-plugin-config/main.go
env:
- CGO_ENABLED=0
+ - id: "rerere"
+ binary: rerere
+ goos:
+ - linux
+ goarch:
+ ... | 11 | 11 | 0 | [{"id": "G0", "claim": "The design-idea sentence in docs/components/rerere.md is missing the preposition, reading 'push 的重新测试分支' where it should read 'push 到重新测试分支'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc's 'multiple solutions' ref... | null |
ti-community-infra__tichi__631 | ti-community-infra/tichi | 631 | defect | 3faa45d8c80b43e77f771f948035364f1fc08250 | dccb559ef78fe56a1e0e0f95b0ed7886ac6ffe3c | feat: remove request review feature from cherrypicker | close #627 | diff --git a/docs/en/plugins/cherrypicker.md b/docs/en/plugins/cherrypicker.md
index fb40640aa..8ff7513ba 100644
--- a/docs/en/plugins/cherrypicker.md
+++ b/docs/en/plugins/cherrypicker.md
@@ -42,6 +42,7 @@ In addition to implementing the core functionality of cherry-pick, it also suppo
| label_prefix | st... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new auto_request_review config may be unnecessary because blunderbuss already requests reviewers for release-branch PRs, so the reviewer suggests removing the feature entirely and making blunderbuss support branch configuration instead.", "category": "design", "verdict": "supported", "priori... | null |
ti-community-infra__tichi__695 | ti-community-infra/tichi | 695 | defect | 366c5f769720cada651435df874125120f0c2b2e | a11e17edaa366e987c247606dc46e8279612873e | feat: add reviewer teams and committer teams options for owners | close #694 | diff --git a/docs/en/plugins/owners.md b/docs/en/plugins/owners.md
index df044f04a..a30d489ce 100644
--- a/docs/en/plugins/owners.md
+++ b/docs/en/plugins/owners.md
@@ -48,23 +48,27 @@ Note: Because maintainers are not attached to any SIG, they will be fetched dire
## Parameter Configuration
| Parameter Name ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new committer_teams option appears to duplicate trusted_teams; if they are effectively the same, the reviewer would prefer to keep just trusted_teams or rename trusted_teams to committer_teams.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tiagosiebler__binance__240 | tiagosiebler/binance | 240 | defect | 32a2a0e7858af9ea40ef85846b25cf8dfee535fc | 3129b1c323cd8b2e15dbe41044687a645f74d3c5 | v2.1.0 add CoinM futures client | Little bit bigger PR this time.
Adding the CoinM Client and some endopoints.
Tried to keep the same structure as the other clients.
Updated the version to 2.1.0 as its adds a new, non-breaking feature. | diff --git a/README.md b/README.md
index f821efad..f173b8f1 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,5 @@
# binance
+
[](https://circleci.com/gh/tiagosiebler/binance)
[][1] [![npm size]... | 3 | 2 | 0 | [{"id": "G0", "claim": "Full request interfaces in src/types/coin.ts should declare their fields directly rather than extending other types, since digging through the extension chain hurts readability (extending is still fine for small types like PositionSide).", "category": "design", "verdict": "supported", "priority"... | null |
tiagosiebler__binance__471 | tiagosiebler/binance | 471 | defect | 2cc9f55095f559378d800175792dfa17144e5327 | 098f75179d9a622b30137b0072e2a6b008df19f5 | fix(typo): rename getAccountComissionRate to getAccountCommissionRate | ## Summary
Correct typo in function name from `getAccountComissionRate` to `getAccountCommissionRate`
| diff --git a/docs/endpointFunctionList.md b/docs/endpointFunctionList.md
index 6cdaf77f..3ba0063b 100644
--- a/docs/endpointFunctionList.md
+++ b/docs/endpointFunctionList.md
@@ -532,7 +532,7 @@ This table includes all endpoints from the official Exchange API docs and corres
| [getBalance()](https://github.com/tiagosi... | 1 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks that the old typo-named function be re-added alongside the renamed one, marked with a deprecation warning in a jsdoc comment, because renaming it outright is a breaking change for existing users until the next major release.", "category": "design", "verdict": "supported", "prio... | null |
tiann__hapi__303 | tiann/hapi | 303 | defect | cb09f0b8987ae65d94722fa943b1e38ca83748c6 | 37bf4ec11e9ca067e9f122b666d60bfdd4285a6b | fix(runner): restart when hub identity changes | ## Summary
- persist the runner's hub connection identity in local runner state
- treat API URL, machine ID, and CLI API token changes as runner incompatibilities
- force a new runner instance to take over when that identity changes
- add tests for runner identity compatibility and token hashing
## Testing
- bun x vit... | diff --git a/cli/src/persistence.ts b/cli/src/persistence.ts
index 69ea7c0c38..2a4f098690 100644
--- a/cli/src/persistence.ts
+++ b/cli/src/persistence.ts
@@ -35,6 +35,9 @@ export interface RunnerLocallyPersistedState {
startTime: string;
startedWithCliVersion: string;
startedWithCliMtimeMs?: number;
+ starte... | 1 | 1 | 1 | [{"id": "G0", "claim": "Identity mismatch is not detected when the current identity is missing — the optional machineId/cliApiTokenHash checks let a stale runner stay bound to the old hub/namespace after settings/env are cleared.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}... | null |
tiann__hapi__347 | tiann/hapi | 347 | defect | 9de5bed19f4672e0f6ed8acf1cb1d7fe6afe10e6 | 97bc63159a23b1eaa3e8187e2e973a9cd17c9d7c | fix(cli): treat any exit code as expected when abort was requested | ## Summary
- When switching from local to remote mode (e.g., sending a message from phone/web), the local Claude process is intentionally aborted via SIGTERM
- Claude CLI sometimes exits with code 1 instead of the expected abort codes (130, 137, 143), causing `spawnWithAbort` to reject and display a misleading **"Loca... | diff --git a/cli/src/utils/spawnWithAbort.ts b/cli/src/utils/spawnWithAbort.ts
index 227492626c..9ecc145f19 100644
--- a/cli/src/utils/spawnWithAbort.ts
+++ b/cli/src/utils/spawnWithAbort.ts
@@ -130,6 +130,12 @@ export async function spawnWithAbort(options: SpawnWithAbortOptions): Promise<vo
resolve();... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request's change to spawnWithAbort (treating any exit code as expected after abort) ships with no unit test, leaving abort timing edge cases untested; the bot suggests adding a unit test for the abort-any-exit behavior.", "category": "testing", "verdict": "supported", "priority": "P1", ... | null |
tiann__hapi__354 | tiann/hapi | 354 | defect | 30265fdc2562f209460fe2801e5f915025f56b2b | a1cd7e82420213f6f901f463638424d2bd2d2f31 | fix(claude): handle async background task notifications in remote mode | ## Summary
- Fix Claude remote session blocking on async background task notifications (e.g. delayed responses from "say hi after 10 secs")
- The stream reader was blocking on `pendingNextInput` even when async task results arrived, causing notifications to be silently dropped
## Problem
When Claude executes a backg... | diff --git a/cli/src/claude/claudeRemote.test.ts b/cli/src/claude/claudeRemote.test.ts
new file mode 100644
index 0000000000..cbc03622c1
--- /dev/null
+++ b/cli/src/claude/claudeRemote.test.ts
@@ -0,0 +1,129 @@
+import { describe, it, expect, vi } from 'vitest';
+import type { SDKMessage } from '@/claude/sdk/types';
+
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The detached fire-and-forget async IIFE calling opts.nextMessage has no catch, so any rejection bypasses the outer try/catch and becomes an unhandled rejection.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tiann__hapi__361 | tiann/hapi | 361 | defect | a200fe9628e455f643a93cb1c8dddffd7dca05ed | 72eeb172853760e1f7c92b980c804b02cdc0a312 | fix(cli): prevent system-injected messages from appearing as user role | ## Problem
System-injected `type:'user'` messages like `<task-notification>` and `<system-reminder>` were appearing in the HAPI web UI **as if the human had typed them**.
### Root cause
`sendClaudeSessionMessage` classified a message as `role:'user'` whenever:
- `type === 'user'`
- `message.content` is a string
- `i... | diff --git a/cli/src/api/apiSession.test.ts b/cli/src/api/apiSession.test.ts
new file mode 100644
index 0000000000..1a617edaec
--- /dev/null
+++ b/cli/src/api/apiSession.test.ts
@@ -0,0 +1,48 @@
+import { describe, expect, it } from 'vitest'
+import { isExternalUserMessage } from './apiSession'
+
+describe('isExternalU... | 1 | 1 | 1 | [{"id": "G0", "claim": "The TypeScript typecheck fails (S1's isExternalUserMessage return type breaks it) and must be fixed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
tiann__hapi__379 | tiann/hapi | 379 | defect | 2c20b04bec8f6b2fcef7b73a153e6e68dbc83c52 | d1edd2b8d85fb438b20f3b24ea562dd40de2e1bc | feat(gemini): support mid-session model change | ## Summary
- Consolidate Gemini model definitions into `shared/src/modes.ts` as a single source of truth (`GEMINI_MODEL_LABELS` → `GEMINI_MODEL_PRESETS` derived via `Object.keys()`, `DEFAULT_GEMINI_MODEL`)
- Enable mid-session model switching for Gemini sessions, matching the existing Claude model change UX
- Introduc... | diff --git a/cli/src/agent/backends/acp/AcpStdioTransport.ts b/cli/src/agent/backends/acp/AcpStdioTransport.ts
index a25ec1bcf0..7dea0524a2 100644
--- a/cli/src/agent/backends/acp/AcpStdioTransport.ts
+++ b/cli/src/agent/backends/acp/AcpStdioTransport.ts
@@ -1,6 +1,7 @@
import { spawn, type ChildProcessWithoutNullStre... | 5 | 5 | 4 | [{"id": "G0", "claim": "Selecting Default (model: null) does not clear an explicit Gemini session model: null is converted back to runtimeConfig.model and the keepalive path stores that resolved value, so the hub persists the previous concrete model and resume keeps treating it as explicit.", "category": "correctness",... | null |
tiann__hapi__387 | tiann/hapi | 387 | defect | cbd1f78d2d09ab3914ce43408b0ed700ef346eb2 | 8569d9b1d8be07965df843bc012ee44b4de1eb93 | fix(web): filter system-injected XML tags from rendering as raw text | ## Summary
- Claude Code injects internal messages (`<task-notification>`, `<system-reminder>`, `<command-name>`, `<local-command-caveat>`) as user-role messages for model context. The web UI was rendering these as raw XML text visible to users.
- `<task-notification>` is now parsed and displayed as an `agent-event` bl... | diff --git a/web/src/chat/reducerTimeline.test.ts b/web/src/chat/reducerTimeline.test.ts
new file mode 100644
index 00000000000..53ba61529ba
--- /dev/null
+++ b/web/src/chat/reducerTimeline.test.ts
@@ -0,0 +1,92 @@
+import { describe, expect, it } from 'vitest'
+import { reduceTimeline } from './reducerTimeline'
+impor... | 2 | 2 | 2 | [{"id": "G0", "claim": "The XML filtering added to reduceTimeline()'s generic msg.role === 'user' path also rewrites or drops real human prompts for non-Claude (Codex/Gemini) sessions, since their input arrives as plain role:'user' text — a prompt starting with <system-reminder> vanishes and one starting with <task-not... | null |
tiann__hapi__388 | tiann/hapi | 388 | defect | 845a1001fef8b03404980c897c6f0b8eb026164c | fb91fa66440fbc11da2422f657dab414ecada7a1 | feat: display rate limit warnings instead of raw JSON | ## Summary
- Parse Claude's `rate_limit_event` JSON in the CLI adapter layer and convert to standardized pipe-delimited text
- Display human-readable rate limit warnings and limit type (5-hour, 7-day) in the web UI
- Backward compatible: existing `limit-reached` format without limitType still parses correctly
## Motiv... | diff --git a/cli/src/agent/backends/acp/AcpMessageHandler.ts b/cli/src/agent/backends/acp/AcpMessageHandler.ts
index 2b80439e7a..9f9be9b4ea 100644
--- a/cli/src/agent/backends/acp/AcpMessageHandler.ts
+++ b/cli/src/agent/backends/acp/AcpMessageHandler.ts
@@ -1,6 +1,7 @@
import type { AgentMessage, PlanItem } from '@/a... | 2 | 2 | 2 | [{"id": "G0", "claim": "Rate-limit parsing only runs on the final merged text buffer, so a turn mixing a rate_limit_event chunk with ordinary assistant text reaches parseRateLimitText() as a non-JSON string and falls through to raw text; rate-limit chunks should be intercepted in the agentMessageChunk branch before ent... | null |
tiann__hapi__40 | tiann/hapi | 40 | defect | 9dd83f430028e679ad67229e0d6ebe968dda80f5 | 26ba81406e08a01b352aae958ba376177226eed4 | fix: start codex on Windows by using shell; keep mcp args parseable | ## Background
On Windows, running **hapi codex** can fail to start the local Codex process with:
```text
[codex-local]: Local Codex process failed: Failed to spawn codex: ENOENT: no such file or directory, uv_spawn 'codex'. Is Codex CLI installed and on PATH?
```
This happens because global installs on Windows... | diff --git a/cli/src/codex/codexLocal.ts b/cli/src/codex/codexLocal.ts
index bc494a84d6..c4940b89d2 100644
--- a/cli/src/codex/codexLocal.ts
+++ b/cli/src/codex/codexLocal.ts
@@ -80,7 +80,8 @@ export async function codexLocal(opts: {
spawnName: 'codex',
installHint: 'Codex CLI',
i... | 2 | 1 | 1 | [{"id": "G0", "claim": "There is no test case verifying that single quotes in MCP server args are escaped by doubling them in the new TOML literal strings; a test with args containing single quotes should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
tiann__hapi__402 | tiann/hapi | 402 | defect | 00ba610ab0fceaf64d224f303ecbdc6a106e3483 | d1079efe3573f8cb426af459227718df2f827730 | fix(web): drop "No response requested." assistant messages | ## Problem
In remote mode, after sending a message, the user sometimes sees "No response requested." as Claude's reply instead of an actual response.
### Root cause
Claude Code injects system messages (`<task-notification>`, `<system-reminder>`) as user-role turns in the conversation. Claude responds with "No respon... | diff --git a/web/src/chat/normalize.test.ts b/web/src/chat/normalize.test.ts
index 64600669c5a..8a1e2f6d4a8 100644
--- a/web/src/chat/normalize.test.ts
+++ b/web/src/chat/normalize.test.ts
@@ -195,4 +195,38 @@ describe('normalizeDecryptedMessage', () => {
isSidechain: true,
})
})
+
+ it('d... | 2 | 2 | 2 | [{"id": "G0", "claim": "Suppressing the 'No response requested.' text in the normalizer (returning null in S1, leaving an empty content array in S2) removes the uuid/parentUUID hop that traceMessages() reads from content[0], so later sidechain child messages can be orphaned and never reach the Task card.", "category": ... | null |
tiann__hapi__405 | tiann/hapi | 405 | defect | ea09663cdc41f261ec9a1195a217701e3c2ced57 | a2f851c6283af083c8bc510bab46745275635808 | fix(cli): filter raw SSE event JSON from leaking into chat messages | ## Summary
Two types of internal JSON were appearing as visible text in Telegram Mini App and web chat:
1. **`rate_limit_event` leak** — `rateLimitParser.ts` returned `null` for unknown `status` values (and when `resetsAt` was missing), causing the raw JSON to pass through the ACP text buffer as regular assistant tex... | diff --git a/cli/src/agent/backends/acp/AcpMessageHandler.ts b/cli/src/agent/backends/acp/AcpMessageHandler.ts
index c99604d1f7..56273e397a 100644
--- a/cli/src/agent/backends/acp/AcpMessageHandler.ts
+++ b/cli/src/agent/backends/acp/AcpMessageHandler.ts
@@ -2,6 +2,7 @@ import type { AgentMessage, PlanItem } from '@/ag... | 3 | 3 | 3 | [{"id": "G0", "claim": "The new isInternalEventJson() predicate is broader than the leak described in the PR: matching only on top-level type means legitimate ACP responses like {\"type\":\"event\",...} or {\"type\":\"queue-operation\",...} will be dropped before reaching the text buffer, and there is no negative test ... | null |
tiann__hapi__423 | tiann/hapi | 423 | defect | 56925f8b9869779d5028af3bf8ce6da55f333ad1 | 1792f820e65eb838b9283271df2450ed75320ee0 | fix: filter rate_limit_event from Claude Remote/Local chat paths | ## Summary
PR #388 handled `rate_limit_event` display for the ACP path, but Claude Remote (SDK) and Local (JSONL scanner) paths still leak the raw JSON into the web UI chat.
This adds filtering at two layers:
- **`sdkToLogConverter.convert()`** — early return before UUID generation and sidechain bookkeeping, prevent... | diff --git a/cli/src/claude/utils/chatVisibility.test.ts b/cli/src/claude/utils/chatVisibility.test.ts
index 65b8cfde855..505a2df15cc 100644
--- a/cli/src/claude/utils/chatVisibility.test.ts
+++ b/cli/src/claude/utils/chatVisibility.test.ts
@@ -20,4 +20,8 @@ describe('isClaudeChatVisibleMessage', () => {
expec... | 2 | 2 | 2 | [{"id": "G0", "claim": "Dropping every rate_limit_event with an early return null also suppresses the displayable allowed_warning/rejected statuses, which the ACP path already converts into the 'Claude AI usage limit ...' text the web reducer renders as limit-warning/limit-reached events, so those warnings disappear en... | null |
tiann__hapi__438 | tiann/hapi | 438 | defect | 92d368599b1e48f73f08505fed99060cf684d279 | e871cb9d80b3096b8ef09cb87715455a1e16dd2e | feat(web): persist composer draft across session switches | ## Problem
Text typed in the composer is lost when switching between sessions.
Users who draft a long prompt and briefly check another session must
retype it.
Fixes #231
## Solution
Drafts are saved per-session in `sessionStorage` and restored when
navigating back. The implementation uses a mount/unmount lifecycle
... | diff --git a/web/src/components/AssistantChat/HappyComposer.tsx b/web/src/components/AssistantChat/HappyComposer.tsx
index cab3e014f51..5a45277f2fd 100644
--- a/web/src/components/AssistantChat/HappyComposer.tsx
+++ b/web/src/components/AssistantChat/HappyComposer.tsx
@@ -22,6 +22,7 @@ import { usePlatform } from '@/ho... | 6 | 5 | 5 | [{"id": "G0", "claim": "SessionChat reuses the same HappyComposer instance across sessionId changes while the new cleanup saves composerTextRef.current from a shared ref, so on an A -> B navigation A's draft can be overwritten or cleared.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
tiann__hapi__445 | tiann/hapi | 445 | defect | 3b92268a4012aa1a6684254d18c378eae00aa249 | f6568173c57781e6e88094f4bb446a0bce4f8a6c | feat(cli): support optional extra headers for hub requests | ## Summary
This PR adds an optional env-based configuration for attaching extra outbound headers when the CLI/runner connects to a self-hosted hub behind an auth proxy.
Scope is intentionally minimal:
- env var only: `HAPI_EXTRA_HEADERS_JSON`
- applies to outbound CLI -> hub traffic only
- supports both REST requests ... | diff --git a/cli/README.md b/cli/README.md
index cd6c2ddd08..c111e0af87 100644
--- a/cli/README.md
+++ b/cli/README.md
@@ -80,6 +80,7 @@ See `src/configuration.ts` for all options.
- `HAPI_HOME` - Config/data directory (default: ~/.hapi).
- `HAPI_EXPERIMENTAL` - Enable experimental features (true/1/yes).
+- `HAPI_E... | 4 | 3 | 1 | [{"id": "G0", "claim": "Relaxing `model`, `modelReasoningEffort` and `effort` in SessionSchema to `.nullable().optional()` widens the shared Session contract from `string | null` to `string | null | undefined`, which downstream code (e.g. `toSessionSummary()` and the CLI response schema) still types as `string | null` ... | null |
tiann__hapi__448 | tiann/hapi | 448 | defect | 9a48d5af3aa64f5b4adf278035f255fe91bb0acb | 25c8ba77dae1a1c3d1af4630a7d75d12b0afa465 | fix(hub,web): deduplicate sessions by agent session ID | ## Summary
- When multiple CLI wrappers independently resume the same Codex thread, each generates a random tag, causing the hub to create duplicate session records for a single underlying thread
- This leads to duplicate conversations in the web UI and messages routing to the wrong session
- Add two-layer deduplicatio... | diff --git a/hub/src/sync/sessionCache.ts b/hub/src/sync/sessionCache.ts
index ea4d3d5750..701e9e0e1a 100644
--- a/hub/src/sync/sessionCache.ts
+++ b/hub/src/sync/sessionCache.ts
@@ -10,6 +10,7 @@ export class SessionCache {
private readonly sessions: Map<string, Session> = new Map()
private readonly lastBroa... | 3 | 3 | 3 | [{"id": "G0", "claim": "The auto-merge always keeps `sessionId` and deletes the duplicate, but `mergeSessions()` does not carry over `agentState` and other live cached fields from the deleted side, so pending approvals or live status held by the older duplicate disappear when the merge runs.", "category": "correctness"... | null |
tiann__hapi__460 | tiann/hapi | 460 | defect | 09c2c57eaf41b8054da49e8203cd2d1b1395b7a7 | e69e8ba64654918bac7e0abff118c33cd6b2d39d | fix(hub,cli): forward permissionMode on session resume | ## Problem
When a session is resumed, the permission mode resets to `default` regardless of what mode was active before. For example, a session running in `bypassPermissions` (yolo) mode loses that setting on resume.
## Solution
Forward the cached `permissionMode` through the Hub → Runner → CLI pipeline on resume vi... | diff --git a/cli/src/api/apiMachine.ts b/cli/src/api/apiMachine.ts
index df3fe56a6d..da7fab7ad3 100644
--- a/cli/src/api/apiMachine.ts
+++ b/cli/src/api/apiMachine.ts
@@ -103,7 +103,7 @@ export class ApiMachineClient {
setRPCHandlers({ spawnSession, stopSession, requestShutdown }: MachineRpcHandlers): void {
... | 2 | 1 | 1 | [{"id": "G0", "claim": "A later --yolo (or equivalent) flag still overwrites an explicit --permission-mode selection in the five CLI parsers, so invocations like `hapi --permission-mode default --yolo` resume in the legacy permissive mode instead of the explicitly requested one.", "category": "correctness", "verdict": ... | null |
tiann__hapi__471 | tiann/hapi | 471 | defect | e6eaff83c5c28ae3a1335e569780d5d00140975c | dde0e5301f7e51ccfad280b41e53ad79e5fd4193 | Preserve history when deduplicating agent sessions | ## Summary
Preserve conversation history when multiple HAPI sessions point at the same underlying agent session ID.
- merge persisted messages from duplicate agent sessions into the canonical visible session
- keep active duplicate session records alive so existing sockets/keepalives do not break
- delete inactive du... | diff --git a/hub/src/sync/sessionCache.ts b/hub/src/sync/sessionCache.ts
index 902bda9a60..267f9f85f8 100644
--- a/hub/src/sync/sessionCache.ts
+++ b/hub/src/sync/sessionCache.ts
@@ -11,6 +11,7 @@ export class SessionCache {
private readonly lastBroadcastAtBySessionId: Map<string, number> = new Map()
private ... | 5 | 5 | 5 | [{"id": "G0", "claim": "The new active-duplicate path sends live duplicates through mergeSessionHistory(), which also merges the duplicate's agentState into the target, so a pending permission request raised by the kept-alive duplicate will be shown on the canonical session and then sent to the wrong CLI socket when th... | null |
tiann__hapi__479 | tiann/hapi | 479 | defect | 40e51cb8d42c15399957151b0c9deb04a28a45fc | 45f00c9ae4bfa90dd4105c2ba459026ebcad8b6c | fix(web): strip CJK punctuation from auto-linked URLs | ## Summary
- Add `remark-strip-cjk-autolink` plugin that walks the MDAST after `remark-gfm` and moves trailing CJK/fullwidth punctuation (`,`、`。`、`!` etc.) out of auto-linked URL nodes into sibling text nodes
- Register the plugin in `MARKDOWN_PLUGINS` right after `remarkGfm`
- No external dependencies — uses a simple... | diff --git a/web/src/components/assistant-ui/markdown-text.tsx b/web/src/components/assistant-ui/markdown-text.tsx
index 3bfaad3db7..5d49ce3c19 100644
--- a/web/src/components/assistant-ui/markdown-text.tsx
+++ b/web/src/components/assistant-ui/markdown-text.tsx
@@ -9,6 +9,7 @@ import remarkGfm from 'remark-gfm'
impor... | 2 | 1 | 1 | [{"id": "G0", "claim": "The transformer rewrites every `link` node, not just GFM autolinks, so an explicitly-authored markdown link ending in CJK punctuation will be silently truncated with an extra text node appended; it should be made opt-in to autolink-shaped nodes before mutating.", "category": "correctness", "verd... | null |
tiann__hapi__486 | tiann/hapi | 486 | defect | 9248b6825f8399172d9b9e0e92be20539badd61c | 073fb7d31a68f8a632542d96a4af04d78bc0fff6 | fix(web): exclude brackets from CJK autolink punctuation stripping | ## Summary
Follow-up to #479. The CJK punctuation regex included fullwidth brackets and parentheses (`()【】「」『』《》〈〉`) which can appear in valid URL paths. Narrow the set to only sentence-ending punctuation (`,。、;:!?`) that would never be part of a URL.
## Test plan
- [ ] New test: autolink ending with `)` is preserve... | diff --git a/web/src/components/ToolCard/views/_results.tsx b/web/src/components/ToolCard/views/_results.tsx
index 0f4630c428..26d7b15a88 100644
--- a/web/src/components/ToolCard/views/_results.tsx
+++ b/web/src/components/ToolCard/views/_results.tsx
@@ -536,8 +536,7 @@ const AgentResultView: ToolViewComponent = (props... | 1 | 1 | 1 | [{"id": "G0", "claim": "Excluding closing fullwidth brackets from the terminal regex breaks mixed endings like `https://example.com/path。)`: the final `)` is no longer part of the match, the regex fails entirely, and both `。` and `)` stay inside the autolink, reintroducing the broken-link behavior this transformer exis... | null |
tiann__hapi__519 | tiann/hapi | 519 | defect | 1f994e59487afcb77cd3ef6a2db404daf0465f77 | bad9c69d631d75a271560920d82099da8cf6c14c | fix(codex): surface thread system errors | ## Summary
- convert Codex app-server `thread/status/changed` systemError notifications into terminal task failures
- allow explicitly thread-scoped terminal failures to complete the active turn even when they do not carry a turn id
- show the failure as a visible HAPI session message and avoid resurrecting a stale tur... | diff --git a/cli/src/codex/codexRemoteLauncher.test.ts b/cli/src/codex/codexRemoteLauncher.test.ts
index 6d1b2c570d..625884ddd2 100644
--- a/cli/src/codex/codexRemoteLauncher.test.ts
+++ b/cli/src/codex/codexRemoteLauncher.test.ts
@@ -5,7 +5,8 @@ import type { EnhancedMode } from './loop';
const harness = vi.hoisted((... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new `thread/status/changed` path only converts the thread-scoped systemError into `task_failed` without clearing `currentThreadId`/`hasThread`, so the launcher will reuse the same broken thread on the next queued message instead of recovering.", "category": "correctness", "verdict": "support... | null |
tiann__hapi__521 | tiann/hapi | 521 | defect | 938c897ed9f03f5b58900ea78d13e8a316f21c76 | c68b9b580f9e2436f6f77aceadad21dd9c7fdc06 | fix(acp): normalize tool_call_update content for agents without rawOutput | ## Problem
When using HAPI with Gemini or OpenCode as the backend agent, tool call
results always render as empty `[]` in the web UI, while tool inputs display
normally. Claude and Codex are unaffected.
The root cause is a mismatch between how different agents encode tool results
over ACP. Claude and Codex populate `... | diff --git a/cli/src/agent/backends/acp/AcpMessageHandler.test.ts b/cli/src/agent/backends/acp/AcpMessageHandler.test.ts
index 095dca85c0..c4c4b8ad0d 100644
--- a/cli/src/agent/backends/acp/AcpMessageHandler.test.ts
+++ b/cli/src/agent/backends/acp/AcpMessageHandler.test.ts
@@ -779,4 +779,149 @@ describe('AcpMessageHan... | 1 | 1 | 1 | [{"id": "G0", "claim": "normalizeAcpToolContent is lossy for any content array with more than one diff block or any non-text/non-diff block, and since handleToolCallUpdate now prefers the normalized value the extra blocks disappear instead of falling back to the raw array — it should return null for anything it cannot ... | null |
tianocore__edk2-test__255 | tianocore/edk2-test | 255 | defect | 01c38c44fdd1b0226d8f34b7df5a0975aa253d9b | a9267a01613ff1ecd42cd529afe1b616c3f9fc07 | [New test coverage] FirmwareManagementBBTestConformance UEFI v2.7B | UEFI spec reference:
https://uefi.org/specs/UEFI/2.11/23_Firmware_Update_and_Reporting.html#efi-firmware-management-protocol-getimageinfo
These are the two new scenarios identified for
issue: https://github.com/tianocore/edk2-test/issues/252
Case 1: ImageInfoSize = 0 and ImageSize = NULL (This is a valid case)
... | diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/EfiCompliant/BlackBoxTest/EfiCompliantBBTestPlatform_uefi.c b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/EfiCompliant/BlackBoxTest/EfiCompliantBBTestPlatform_uefi.c
index 272ed53b3..d60cf7e46 100644
--- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/EfiCompliant/BlackB... | 2 | 2 | 0 | [{"id": "G0", "claim": "The commit message states the checkpoint 3 expectation as \"ImageInfoSize > 1\" while the test code only requires ImageInfoSize > 0 (it fails on ImageInfoSize <= 0), so the commit message should be updated to \"ImageInfoSize > 0\".", "category": "documentation", "verdict": "supported", "priority... | null |
tianocore__edk2-test__268 | tianocore/edk2-test | 268 | defect | b5707921e1b19c17fcce3a2b1a1f7c729cdbc4c3 | bdf251971493ba031551e1a3e909491cfa84d7d3 | New EFI_INVALID_PARAMETER scenarios for FMP GetImageInfo in TestCaseSpec | Reference: https://mantis.uefi.org/mantis/view.php?id=1899
In the following cases the EFI_FIRMWARE_MANAGEMENT_PROTOCOL.GetImageInfo() may return EFI_INVALID_PARAMETER
*ImageInfoSize is non-zero and DescriptorVersion is NULL. *ImageInfoSize is non-zero and DescriptorCount is NULL. *ImageInfoSize is non-zero and De... | diff --git a/uefi-sct/Doc/TestCaseSpec/26_EFI_Firmware_Management_Protocol.md b/uefi-sct/Doc/TestCaseSpec/26_EFI_Firmware_Management_Protocol.md
index b02eb0d0..2961793b 100644
--- a/uefi-sct/Doc/TestCaseSpec/26_EFI_Firmware_Management_Protocol.md
+++ b/uefi-sct/Doc/TestCaseSpec/26_EFI_Firmware_Management_Protocol.md
@... | 1 | 1 | 0 | [{"id": "G0", "claim": "Italicize the parameters described on lines 84, 92, 101, 109, and 118 of the new test case descriptions so the formatting is consistent with the existing test case descriptions, where the parameters are italicized.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope":... | null |
tianocore__edk2-test__305 | tianocore/edk2-test | 305 | defect | 1cd5f2915af4af84e93a3efccb3af85688cb810a | 499a8ffcc8f12fb16597ed249245342f5c7f8dd0 | New test for EFI_ADAPTER_INFORMATION_PROTOCOL.GetInformation | New test added for EFI_ADAPTER_INFORMATION_PROTOCOL.GetInformation to check for EFI_NOT_FOUND case (if this case exists in the System)
This test checks if InformationBlockSize is correctly set to 0 by the firmware if EFI_NOT_FOUND is returned
This is part of the feature: https://github.com/tianocore/edk2-test/iss... | diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/AdapterInfo/BlackBoxTest/AdapterInfoBBTestConformance.c b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/AdapterInfo/BlackBoxTest/AdapterInfoBBTestConformance.c
index f52b7f22..ab684872 100644
--- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/AdapterInfo/BlackBoxTest/A... | 4 | 4 | 0 | [{"id": "G0", "claim": "The new failure-flag variable should be named TestFailed instead of testFailed, per the EDK II C Coding Standards and the naming of other variables in the file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The BOOLEAN f... | null |
tianocore__edk2-test__315 | tianocore/edk2-test | 315 | defect | 1cd5f2915af4af84e93a3efccb3af85688cb810a | 7b9ec56a7cb1de3609692ce54646f6e6d0ac1780 | New test for EFI_CONFORMANCE_PROFILE_TABLE | Implement tests to check the EFI_CONFORMANCE_PROFILE table as described the the UEFI spec below: https://uefi.org/specs/UEFI/2.11/04_EFI_System_Table.html#efi-conformance-profile-table
This system table allows the platform to advertise its UEFI specification conformance in the form of pre-defined profiles. Each prof... | diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/EfiCompliant/BlackBoxTest/EfiCompliantBBTestMain_uefi.c b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/EfiCompliant/BlackBoxTest/EfiCompliantBBTestMain_uefi.c
index 1c24b807..c73832c9 100644
--- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/EfiCompliant/BlackBoxTest/Efi... | 3 | 1 | 0 | [{"id": "G0", "claim": "The new test does not verify a header checksum, and the author asks whether one (e.g. a CRC32) needs to be checked.", "category": "testing", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The comment describing the GUID-array validation should be placed ... | null |
tianocore__edk2__10685 | tianocore/edk2 | 10,685 | defect | 523dbb6d597b63181bba85a337d1f53e511f4822 | 9a53c0709888a6083171c1b755991c3935aaee7f | Add 18 register support for SMC and SVC calls for AArch64 platforms | # Description
Current SMC and SVC only supports up to 8 registers.
However, the FF-A spec has definition for FFA direct request 2 which could use up to 18 registers.
This change is added to support such use case.
Note:
https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/36018 must be paired to m... | diff --git a/ArmPkg/ArmPkg.dec b/ArmPkg/ArmPkg.dec
index 78437b366dd7a..232b16f0cdc49 100644
--- a/ArmPkg/ArmPkg.dec
+++ b/ArmPkg/ArmPkg.dec
@@ -221,6 +221,12 @@
# If PcdMonitorConduitHvc = TRUE, conduit = HVC
gArmTokenSpaceGuid.PcdMonitorConduitHvc|FALSE|BOOLEAN|0x00000047
+ # Whether to use 18 registers f... | 7 | 4 | 1 | [{"id": "G0", "claim": "The 18-register support should be guarded with compile-time #if checks on PcdSxcUse18Registers (as ArmMonitorLib does) rather than runtime checks, in the ARM_SMC_ARGS struct, in ArmSmc.S, and in ArmStandaloneMmCoreEntryPoint.c.", "category": "design", "verdict": "opposed", "priority": "P2", "sco... | null |
tianocore__edk2__10760 | tianocore/edk2 | 10,760 | defect | 523dbb6d597b63181bba85a337d1f53e511f4822 | 1795501cbb3e4e4c5b84679e9c47ed59cece545f | ArmPkg/ArmStandaloneMmCoreEntryPoint: Fix clang build issues | # Description
**Issue 1:**
```
error: immediate must be an integer in range [0, 65535].
movz x9, (-1) >> 48, lsl #48
movk x9, ((-1) >> 32) & 0xffff, lsl #32
movk x9, ((-1) >> 16) & 0xffff, lsl #16
movk x9, (-1) & 0xffff
```
From this code in ModuleEntryPoint.S:
```
MOV64 (x9, ARM_FFA_RET_NOT_SUPPOR... | diff --git a/ArmPkg/Library/ArmStandaloneMmCoreEntryPoint/AArch64/ModuleEntryPoint.S b/ArmPkg/Library/ArmStandaloneMmCoreEntryPoint/AArch64/ModuleEntryPoint.S
index f8f8877927ed2..d49e51eecb945 100644
--- a/ArmPkg/Library/ArmStandaloneMmCoreEntryPoint/AArch64/ModuleEntryPoint.S
+++ b/ArmPkg/Library/ArmStandaloneMmCoreE... | 4 | 2 | 1 | [{"id": "G0", "claim": "The PR's replacement of `MOV64 (x9, ARM_FFA_RET_NOT_SUPPORTED)` with `mvn x9, xzr` was needed because the clang assembler rejects the MOV64 macro on the signed immediate, indicating the macro's unmasked shift handling is broken and should ideally be fixed rather than worked around.", "category":... | null |
tianocore__edk2__10775 | tianocore/edk2 | 10,775 | defect | e095a3c59b247aa9877b8ba88e6b3a4f5158ee31 | b8b7748bb4bb5bc48c7916bc53693301ea01f95a | Rename EDKII_PEI_MP_SERVICES2_PPI to EFI_PEI_MP_SERVICES2_PPI | # Description
EDKII_PEI_MP_SERVICES2_PPI was introduced in https://mantis.uefi.org/mantis/view.php?id=2160
As per the naming conventions of the PI specification, it should be renamed to EFI_PEI_MP_SERVICES2_PPI.
The PI specification correction has been submitted in this mantis ticket: https://mantis.uefi.org/m... | diff --git a/OvmfPkg/Library/SmmRelocationLib/SmmRelocationLib.c b/OvmfPkg/Library/SmmRelocationLib/SmmRelocationLib.c
index 7e65bbf929278..4f6b513c72be0 100644
--- a/OvmfPkg/Library/SmmRelocationLib/SmmRelocationLib.c
+++ b/OvmfPkg/Library/SmmRelocationLib/SmmRelocationLib.c
@@ -166,9 +166,9 @@ SmmInitHandler (
**/
... | 2 | 1 | 1 | [{"id": "G0", "claim": "Keep the EDK II PPI structure and GUID names available as aliases so downstream consumers have time to migrate from the EDK II names to the EFI names.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G5", "claim": "CpuMp2Pei.h need not be added ju... | null |
tianocore__edk2__10937 | tianocore/edk2 | 10,937 | defect | 0f1c0d2d2d9e567746ce4fedea23f833fa0d3abd | 622f15f41867e0e4c76fde449a4216ee55ce120b | SecurityPkg: Prevent invalid DBX from being set | # Description
This PR prevents setting the Dbx variable the Default being provided is less than the size of the EFI_SIGNATURE_LIST structure. This is to prevent the setting of ab invalid DBX which would cause the system to fail to boot.
Additionally, this can be used to signal that setting the DBX should leave D... | diff --git a/SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.c b/SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.c
index 24599c7a0ba38..7155878a52e89 100644
--- a/SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.c
+++ b/SecurityPkg/Library/SecureBootVariableLib/SecureBootV... | 2 | 1 | 1 | [{"id": "G0", "claim": "The code should distinguish an invalid DBX payload (e.g. DataSize of 16 bytes, too small to be a valid signature list) from an intentionally empty DBX (DataSize 0) instead of silently skipping both as success.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
tianocore__edk2__11079 | tianocore/edk2 | 11,079 | defect | 108757b613620e8406f32e5aa2e52df8d115d61f | b0cc1be9b7bc5120bb5a31cf2ee0df21092dd9f3 | Extend MM communication v3 to ARM and UEFI variable modules | # Description
This change adds support of MM communicate v3 for ARM based drivers and moved variable driver to use MM communicate v3.
- [ ] Breaking change?
- **Breaking change** - Does this PR cause a break in build or boot behavior?
- Examples: Does it add a new library class or move a module to a differe... | diff --git a/ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.c b/ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.c
index 2d5e36225990c..bdb13293d955d 100644
--- a/ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.c
+++ b/ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.c
@@ -18,6 +18,7 @@
#include <Library/UefiRu... | 7 | 7 | 1 | [{"id": "G0", "claim": "VirtMmCommunicationDxe's hard switch from the v2 to the v3 MM communication protocol will not work because QEMU cannot parse v3 messages; the implementation must send v2 messages to QEMU (checking whether QEMU actually supports v3), and the driver must support both protocol versions.", "category... | null |
tianocore__edk2__11116 | tianocore/edk2 | 11,116 | defect | 6951dfe7d59d144a3a980bd7eda699db2d8554ac | 815cac37dece9a85bec6722b90c83138f77c9b2d | Prevent memcpy intrinsics in VS22 (17.14.2) | # Description
The latest VS2022 update replaces some code patterns with struct
assignments with `memcpy`. This change convert the code to
explicitly use `CopyMem`.
- [ ] Breaking change?
- [ ] Impacts security?
- [ ] Includes tests?
## How This Was Tested
- Build before and after with 17.14.2 VS2022 too... | diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c b/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
index b6dc23476a70e..b2a3ef6205a9e 100644
--- a/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
+++ b/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
@@ -229,8 +229,8 @@ ReadString ... | 1 | 1 | 1 | [{"id": "G0", "claim": "In HBufferImageAddCharacterToBuffer, the pull request's replacement of the shift loop does not have the right form: it should be CopyMem (&BufferPtr[Pos], &BufferPtr[Pos - Count], Size - Pos + Count).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.