Skip to content

fix(core): do not use unix dotfile locks#28859

Merged
FrozenPandaz merged 1 commit intomasterfrom
no-unix-dotfile
Nov 11, 2024
Merged

fix(core): do not use unix dotfile locks#28859
FrozenPandaz merged 1 commit intomasterfrom
no-unix-dotfile

Conversation

@FrozenPandaz
Copy link
Copy Markdown
Contributor

@FrozenPandaz FrozenPandaz commented Nov 8, 2024

Current Behavior

The unix dotfiles are incompatible with posix dotfiles. Having the 2 modes being switched between yields weird errors.

Expected Behavior

Posix dotfiles seem fine for what we're doing so Nx will stick with that mode for all cases.

Related Issue(s)

Fixes #

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Nov 8, 2024 9:13pm

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Nov 8, 2024

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 8, 2024

🐳 We have a release for that!

This PR has a release associated with it. You can try it out using this command:

npx create-nx-workspace@0.0.0-pr-28859-d05a640 my-workspace

Or just copy this version and use it in your own command:

0.0.0-pr-28859-d05a640
Release details 📑
Published version 0.0.0-pr-28859-d05a640
Triggered by @FrozenPandaz
Branch no-unix-dotfile
Commit d05a640
Workflow run 11749608262

To request a new release for this pull request, mention someone from the Nx team or the @nrwl/nx-pipelines-reviewers.

@Cammisuli
Copy link
Copy Markdown
Member

Cammisuli commented Nov 9, 2024

Tested on angular-eslint and a simplified ngrx build, and things are working there. 👍🏼
https://github.com/angular-eslint/angular-eslint/actions/runs/11759738721/job/32759540115?pr=2083
https://github.com/Cammisuli/ngrx-db-issues/actions/runs/11759753702/job/32759574157 (minus the build issues, but connection to the db was stable)

@FrozenPandaz FrozenPandaz marked this pull request as ready for review November 11, 2024 14:00
@FrozenPandaz FrozenPandaz requested review from a team as code owners November 11, 2024 14:00
@FrozenPandaz FrozenPandaz merged commit 258a256 into master Nov 11, 2024
@FrozenPandaz FrozenPandaz deleted the no-unix-dotfile branch November 11, 2024 14:01
FrozenPandaz added a commit that referenced this pull request Nov 11, 2024
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

The unix dotfiles are incompatible with posix dotfiles. Having the 2
modes being switched between yields weird errors.

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

Posix dotfiles seem fine for what we're doing so Nx will stick with that
mode for all cases.

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #

(cherry picked from commit 258a256)
FrozenPandaz added a commit that referenced this pull request Nov 12, 2024
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

The unix dotfiles are incompatible with posix dotfiles. Having the 2
modes being switched between yields weird errors.

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

Posix dotfiles seem fine for what we're doing so Nx will stick with that
mode for all cases.

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #

(cherry picked from commit 258a256)
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants