mirror of
https://github.com/ranxianglei/billion-context.git
synced 2026-11-21 19:07:08 +08:00
test: renumber BLOCKED-latch regression files to issue #5102
The upstream fix commit (kuviki/billion-context#1) referenced #5101, which is an unrelated preflight PR in this repo; this bug report is #5102. Rename both regression files and their in-file references accordingly.
This commit is contained in:
+3
-3
@@ -61,7 +61,7 @@ function history(): CoreMessage[] {
|
||||
];
|
||||
}
|
||||
|
||||
test("#5101: truncating a protected result cannot seed a shared latch or corrupt another call", () => {
|
||||
test("#5102: truncating a protected result cannot seed a shared latch or corrupt another call", () => {
|
||||
const core = createCore();
|
||||
const messages = history();
|
||||
const first = core.processTurn({
|
||||
@@ -100,7 +100,7 @@ test("#5101: truncating a protected result cannot seed a shared latch or corrupt
|
||||
});
|
||||
|
||||
for (const tokenCount of [100, 9800]) {
|
||||
test(`#5101: discard persisted duplicate BLOCKED entries at tokenCount=${tokenCount}`, () => {
|
||||
test(`#5102: discard persisted duplicate BLOCKED entries at tokenCount=${tokenCount}`, () => {
|
||||
const core = createCore();
|
||||
const messages = history();
|
||||
const initial = core.processTurn({
|
||||
@@ -140,7 +140,7 @@ for (const tokenCount of [100, 9800]) {
|
||||
});
|
||||
}
|
||||
|
||||
test("#5101: clean old BLOCKED entries while retaining a valid unique-ref clip", () => {
|
||||
test("#5102: clean old BLOCKED entries while retaining a valid unique-ref clip", () => {
|
||||
const core = createCore();
|
||||
const messages = history();
|
||||
messages.unshift({
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
import type { CoreMessage } from "acp-kernel";
|
||||
import { isMcpBiliHardProtected } from "../src/config.js";
|
||||
|
||||
test("#5101: hydrated shared latch cannot alter MCP arguments in any outbound codec", () => {
|
||||
test("#5102: hydrated shared latch cannot alter MCP arguments in any outbound codec", () => {
|
||||
const toolName = "mcp__bili__acp_rule";
|
||||
const args = '{"action":"remove","id":"rule1"}';
|
||||
const messages: CoreMessage[] = [
|
||||
Reference in New Issue
Block a user