mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-20 23:13:35 +00:00
🛶 fix: Preserve Canary Sync Resolutions (#16361)
Retain the tracked-file integration outcomes recorded by original canary sync PR #16361. No new implementation is introduced. Shared and ambiguous corrections are carried by the final sync-resolution commit so the resulting tracked tree equals frozen canaryf66ad88e1c. Original-PR: https://github.com/LibreChat-AI/LibreChat/pull/16361 Resolution-Sources:6d7ba72b89,241c692b63,6113242b7b,3c8a5703e7,a45be88578,3789cbf590,81e038972f,c505db2256,420760d8b2
This commit is contained in:
parent
e6d6092448
commit
9dc8db0ea8
47 changed files with 839 additions and 498 deletions
13
.github/scripts/playwright-matrix.test.mjs
vendored
13
.github/scripts/playwright-matrix.test.mjs
vendored
|
|
@ -100,6 +100,16 @@ test('nightly and default manual runs retain full-suite coverage on both stores'
|
|||
assertPartition(defaults[1], 'redis', 'full', 2);
|
||||
});
|
||||
|
||||
test('PR and nightly matrices preserve both registered-email change modes on one memory shard', () => {
|
||||
for (const matrix of [prMatrix, ...defaults]) {
|
||||
const emailLanes = matrix.include.filter((lane) => lane.email_change === 'true');
|
||||
assert.equal(emailLanes.length, 1);
|
||||
assert.equal(emailLanes[0].stream_store, 'memory');
|
||||
assert.match(emailLanes[0].shard, /^1\//);
|
||||
}
|
||||
assert.equal(shards.steps.filter((step) => step.if === "matrix.email_change == 'true'").length, 2);
|
||||
});
|
||||
|
||||
test('manual PR coverage opts into the PR fallback matrix without bypassing the PR author gate', () => {
|
||||
assert.deepEqual(workflow.on.workflow_dispatch.inputs.coverage.options, ['full', 'pr']);
|
||||
assert.match(
|
||||
|
|
@ -188,11 +198,12 @@ test('graduated spec skips keep the same pool across shards and remain opt-in',
|
|||
test('the required gate still waits for all shards and rejects failures without fighting cancellation', () => {
|
||||
const gate = workflow.jobs.e2e;
|
||||
assert.equal(gate.name, 'e2e');
|
||||
assert.deepEqual(gate.needs, ['codegraph_select', 'e2e_shards', 'mcp_tool_list_changed']);
|
||||
assert.deepEqual(gate.needs, ['codegraph_select', 'e2e_shards', 'mcp_tool_list_changed', 'mcp_apps']);
|
||||
assert.equal(shards.strategy['fail-fast'], false);
|
||||
assert.match(gate.if, /!cancelled\(\)/);
|
||||
assert.match(shards.if, /!cancelled\(\)/);
|
||||
assert.match(gate.steps[0].if, /needs\.e2e_shards\.result != 'success'/);
|
||||
assert.match(gate.steps[0].if, /needs\.mcp_apps\.result != 'success'/);
|
||||
assert.match(gate.steps[0].if, /needs\.mcp_tool_list_changed\.result != 'success'/);
|
||||
assert.match(gate.steps[0].if, /needs\.codegraph_select\.outputs\.mcp_run == 'false'/);
|
||||
assert.equal(gate.steps[0].run, 'exit 1');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue