Skip to content

Conversation

@liuxiaopai-ai
Copy link
Contributor

This adjusts TestExtractZipFileErrorHandling to avoid a flaky assertion when running with elevated privileges.

Previously, the test expected extraction into a 0555 directory to fail. When tests run as root (or on filesystems that allow writes despite mode bits), the extraction can succeed and the test fails even though behavior is correct.

Change:

  • If extraction unexpectedly succeeds, the test now skips with an explanatory message.

This keeps the intent (document error propagation on create failure) while making the suite reliable across environments.

@pelikhan pelikhan merged commit 422f2fa into github:main Feb 13, 2026
pelikhan pushed a commit that referenced this pull request Feb 13, 2026
…15319)

* Add refiner workflow for automated code style and security analysis (#15307)

* test: avoid flaky readonly dir assertion in extractZipFile (#15312)

* docs: add unassign-from-user safe output documentation (#15310)

* Fix TypeScript type errors in error handling for unknown types (#15308)

* Initial plan

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Mark L <73659136+liuxiaopai-ai@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
pelikhan pushed a commit that referenced this pull request Feb 13, 2026
* Clean validate_memory_files.cjs - modernize code with arrow functions and optional chaining

* Fix JavaScript formatting in merge_remote_agent_github_folder.cjs (#15316)

* Merge main branch and resolve conflicts in validate_memory_files.cjs (#15319)

* Add refiner workflow for automated code style and security analysis (#15307)

* test: avoid flaky readonly dir assertion in extractZipFile (#15312)

* docs: add unassign-from-user safe output documentation (#15310)

* Fix TypeScript type errors in error handling for unknown types (#15308)

* Initial plan

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Mark L <73659136+liuxiaopai-ai@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: JSweep Bot <jsweep-bot@github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Mark L <73659136+liuxiaopai-ai@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants