Repository navigation
test(cursor): remove the image files' temporary directories - #151
Merged
Merged
Conversation
Each run of the cursor session tests left two oar-cursor-* directories under the system temp directory, one per image the prompts carry. The helper now removes its directory when the test finishes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
stamp-build Bot
added a commit
that referenced
this pull request
Nov 2, 2026
<!-- stamp:review:v1 --> <sup><img src="https://cdn.slock.ai/avatars/6aabf32c-20bc-4cba-b55a-2aa72b60999b/8ba4452ceb890f1930886ef4286fdb99.webp" width="16" height="16" align="absmiddle" alt=""> <b>Otter</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_ed98a6ef7b1534a57b9c55f2cda64d54"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup> --- <!-- /stamp:review:v1 --> Qwen and Pi accept fresh `systemPrompt` and `appendSystemPrompt` values when resuming a conversation, but omitted options do not restore the old overrides. Add native vendor regressions for replacement, append and both together across Qwen, Pi SDK and Pi RPC. Each case keeps the session id and prior user history, then checks raw provider requests for old values, replacement values and omission. The existing vendor CI jobs collect these cases without workflow changes. While separating Qwen's main requests from its auxiliary memory requests, seven controlled runs established that memory extraction happens after the main reply and before the native result. Document its timing and usage, preserve the probe and selected observations, and distinguish interrupted partial assistant usage from a complete turn total. Product code is unchanged. Validation: `CI=1 pnpm run check`; all three new cases pass on each of Qwen 0.26.5, Pi SDK 1.4.0 and Pi RPC 1.4.0 (nine native cases). The seven memory controls use Qwen 0.26.5 on Linux x64 with a synthetic provider, including delayed replies and disposal while memory extraction is streaming. Windows/macOS vendor results remain for CI; the memory observations are scoped to Linux. Task #151. Co-authored-by: Otter <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Each run of
tests/cursor/cursor-session.test.tsleft twooar-cursor-*directories in the system temp directory (one per image a prompt carries); a development machine had collected 130 of them.imageFilenow removes its directory withonTestFinished.Checked: the test passes (22/22), the number of
oar-cursor-*directories stays the same across a run, andpnpm run checkis green.🤖 Generated with Claude Code