mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
tests: clarify pre-turn compaction labels reflect current main
This commit is contained in:
@@ -3263,7 +3263,7 @@ async fn snapshot_request_shape_pre_turn_compaction_context_window_exceeded() {
|
||||
insta::assert_snapshot!(
|
||||
"pre_turn_compaction_context_window_exceeded_shapes",
|
||||
sectioned_request_shapes(&[(
|
||||
"Local Compaction Request (Including Incoming User Message)",
|
||||
"Local Compaction Request (Incoming User Excluded on main)",
|
||||
&requests[1]
|
||||
),])
|
||||
);
|
||||
|
||||
@@ -1641,7 +1641,7 @@ async fn snapshot_request_shape_remote_pre_turn_compaction_failure_stops_without
|
||||
insta::assert_snapshot!(
|
||||
"remote_pre_turn_compaction_failure_shapes",
|
||||
sectioned_request_shapes(&[(
|
||||
"Remote Compaction Request (Including Incoming User Message)",
|
||||
"Remote Compaction Request (Incoming User Excluded on main)",
|
||||
&include_attempt_request
|
||||
),])
|
||||
);
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
source: core/tests/suite/compact.rs
|
||||
assertion_line: 2878
|
||||
expression: "sectioned_request_shapes(&[(\"Local Compaction Request (Including Incoming User Message)\",\n&requests[1]),])"
|
||||
expression: "sectioned_request_shapes(&[(\"Local Compaction Request (Incoming User Excluded on main)\",\n&requests[1]),])"
|
||||
---
|
||||
## Local Compaction Request (Including Incoming User Message)
|
||||
## Local Compaction Request (Incoming User Excluded on main)
|
||||
00:message/developer:<PERMISSIONS_INSTRUCTIONS>
|
||||
01:message/user:<AGENTS_MD>
|
||||
02:message/user:<ENVIRONMENT_CONTEXT>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
source: core/tests/suite/compact_remote.rs
|
||||
assertion_line: 1646
|
||||
expression: "sectioned_request_shapes(&[(\"Remote Compaction Request (Including Incoming User Message)\",\n&include_attempt_request),])"
|
||||
expression: "sectioned_request_shapes(&[(\"Remote Compaction Request (Incoming User Excluded on main)\",\n&include_attempt_request),])"
|
||||
---
|
||||
## Remote Compaction Request (Including Incoming User Message)
|
||||
## Remote Compaction Request (Incoming User Excluded on main)
|
||||
00:message/developer:<PERMISSIONS_INSTRUCTIONS>
|
||||
01:message/user:<AGENTS_MD>
|
||||
02:message/user:<ENVIRONMENT_CONTEXT>
|
||||
|
||||
Reference in New Issue
Block a user