Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(agent/agentcontainers): skip part of test if ondarwin#19081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
DanielleMaywood merged 2 commits intomainfromdanielle/stop-flake-fsnotify
Jul 29, 2025

Conversation

DanielleMaywood
Copy link
Contributor

Relates tocoder/internal#765

I've been unable to figure out how to fix this (unfortunately my macOS file system knowledge is lacking). Given that this test is causing a lot of flakes at the moment, I think it is best to skip this part of the test on macOS for now.

Relates tocoder/internal#765I've been unable to figure out how to fix this (unfortunately my macOSfile system knowledge is lacking). Given that this test is causing a lotof flakes at the moment, I think it is best to skip this part of thetest on macOS for now.
@DanielleMaywoodDanielleMaywood marked this pull request as ready for reviewJuly 29, 2025 15:54
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR addresses test flakiness on macOS by conditionally skipping the atomic rename portion of a file system watcher test when running on Darwin (macOS). The change is intended as a temporary workaround for unreliable test behavior on macOS file systems while the underlying issue is investigated.

  • Adds runtime OS detection to skip problematic test section on macOS
  • Includes detailed TODO comment explaining the reasoning and context
  • Maintains full test coverage on Linux systems where the feature is actually used

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@DanielleMaywoodDanielleMaywood merged commit219d1b4 intomainJul 29, 2025
26 checks passed
@DanielleMaywoodDanielleMaywood deleted the danielle/stop-flake-fsnotify branchJuly 29, 2025 16:06
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJul 29, 2025
Copy link
Member

@mtojekmtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

one nit-pick but otherwise LGTM

// for our dev container integration. We do not expect the host workspace
// (where this is used), to ever be run on macOS, as containers are a linux
// paradigm.
ifruntime.GOOS!="darwin" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

nit: maybe fail-fast approach?

ifruntime.GOOS=="darwin" {err=wut.Remove(testFile)require.NoError(t,err,"remove file from watcher failed")return}

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Apologies, I hit the green button a little quick.

I can see the benefit to the suggestion, although I think I prefer indenting the flakey code instead as this isn't a permanent change.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

Copilot code reviewCopilotCopilot left review comments

@johnstcnjohnstcnjohnstcn approved these changes

@mtojekmtojekmtojek approved these changes

@mafredrimafredriAwaiting requested review from mafredri

Assignees

@DanielleMaywoodDanielleMaywood

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@DanielleMaywood@johnstcn@mtojek

[8]ページ先頭

©2009-2025 Movatter.jp