Compare commits

...
Author SHA1 Message Date
l0ng-ai 9a9c7dd9dd fix(vcs): clarify staging groups and row actions 2026-11-23 04:10:03 +08:00
Charlie.Weiandcharli117 76d67145f5 test(smoke): give the language-smoke closure tests a 20s timeout (#5240)
The two Language smoke workflow tests compute the repo-wide import closure and crate tree. On a CI runner running the whole suite they took longer than vitest's default 5 s and failed the Frontend job on main.

Co-authored-by: charli117 <[email protected]>
2026-11-23 01:13:43 +08:00
Charlie.Weiandcharli117 cf4273eeea chore(deps): bump url to 2.5.9 for RUSTSEC-2026-0592 (#5237)
url 2.5.8 overflows the stack in Url::origin() on nested blob: URLs (RUSTSEC-2026-0592), which failed Cargo deny on main. 2.5.9 fixes it; form_urlencoded moves to 1.2.3 with it. The rest of the lockfile stays as on main.

Co-authored-by: charli117 <[email protected]>
2026-11-23 01:13:33 +08:00
4 changed files with 14 additions and 11 deletions

No files matched your search

Generated
+4 -4
View File
@@ -2361,9 +2361,9 @@ checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b"
[[package]]
name = "form_urlencoded"
version = "1.2.2"
version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e"
dependencies = [
"percent-encoding",
]
@@ -10827,9 +10827,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]]
name = "url"
version = "2.5.8"
version = "2.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a"
dependencies = [
"form_urlencoded",
"idna",
+2 -2
View File
@@ -26,12 +26,12 @@ describe("the Language smoke workflow", () => {
const { files, problems } = await smokeInputs(repo, workflow);
expect(problems).toEqual([]);
expect(describeUnselected(await unselected(workflow, [...files.keys()]), files)).toBe("");
});
}, 20000);
it("runs every language when a crate the smoke runs changes", async () => {
const crates = rustSmokeInputs(repo);
expect(describeUnselected(await unselected(workflow, [...crates.keys()]), crates)).toBe("");
});
}, 20000);
});
const dirs: string[] = [];
+4 -2
View File
@@ -89,6 +89,9 @@
.groupLabel {
color: var(--fg-strong);
}
.stageGroupLabel {
font-weight: 600;
}
.detail {
flex: 0 10000 auto;
min-width: 0;
@@ -450,14 +453,13 @@
.checkProblemLink:hover {
text-decoration: underline;
}
/* Staging area: Stage / Unstage on the hovered or selected row, as a hover icon at the row's end. */
.stageButton {
flex: none;
margin-left: auto;
visibility: hidden;
}
[role="treeitem"]:hover .stageButton,
[role="treeitem"][aria-selected="true"] .stageButton {
.stageButtonLead {
visibility: visible;
}
.inspectionFix {
+4 -3
View File
@@ -590,7 +590,7 @@ export function stageOperation(n: ChangeNode): { label: string; icon: "plus" | "
return null;
}
function StageButton({ node }: { node: ChangeNode }) {
function StageButton({ node, leadSelected }: { node: ChangeNode; leadSelected: boolean }) {
const op = stageOperation(node);
if (!op) return null;
const { label, icon, paths } = op;
@@ -600,7 +600,7 @@ function StageButton({ node }: { node: ChangeNode }) {
icon={icon}
title={label}
size="small"
className={styles.stageButton}
className={clsx(styles.stageButton, leadSelected && styles.stageButtonLead)}
onMouseDown={(e) => e.stopPropagation()}
onDoubleClick={(e) => e.stopPropagation()}
onClick={(e) => {
@@ -1161,6 +1161,7 @@ export function ChangesTree({ mode, amended }: { mode: "commit" | "local" | "dia
className={clsx(
styles.label,
n.type === "group" && styles.groupLabel,
staging && n.type === "group" && styles.stageGroupLabel,
n.type === "group" && n.changelist && !n.active && styles.inactiveList,
)}
style={n.type === "file" && n.kind ? { color: KIND_COLOR[n.kind] } : undefined}
@@ -1268,7 +1269,7 @@ export function ChangesTree({ mode, amended }: { mode: "commit" | "local" | "dia
)}
{n.detail && n.detailIcon && <Icon name={n.detailIcon} size={14} className={styles.detailIcon} />}
{n.detail && <span className={styles.detail}>{n.detail}</span>}
{staging && <StageButton node={n} />}
{staging && <StageButton node={n} leadSelected={st.selected && st.lead} />}
</span>
);
}}