Skip to content

fix(core): do not depend on ci info crate#28850

Merged
FrozenPandaz merged 2 commits intomasterfrom
fix-ci-daemon
Nov 8, 2024
Merged

fix(core): do not depend on ci info crate#28850
FrozenPandaz merged 2 commits intomasterfrom
fix-ci-daemon

Conversation

@FrozenPandaz
Copy link
Copy Markdown
Contributor

Current Behavior

The way VS Code / Nx Console starts the daemon makes the ci info rust crate believe that the daemon process is running in CI. This starts the database using the unix dotfile... which causes issues

Expected Behavior

The ci info rust crate is not used, we have our own logic which is identical to the JS logic we have.

Related Issue(s)

Fixes #

@FrozenPandaz FrozenPandaz requested review from a team and vsavkin as code owners November 8, 2024 15:39
@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 8:09pm

@FrozenPandaz FrozenPandaz enabled auto-merge (squash) November 8, 2024 15:43
@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Nov 8, 2024

@FrozenPandaz FrozenPandaz requested a review from a team as a code owner November 8, 2024 16:54
@FrozenPandaz FrozenPandaz disabled auto-merge November 8, 2024 20:28
@FrozenPandaz FrozenPandaz merged commit 7f39dc1 into master Nov 8, 2024
@FrozenPandaz FrozenPandaz deleted the fix-ci-daemon branch November 8, 2024 20:28
FrozenPandaz added a commit that referenced this pull request Nov 8, 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 way VS Code / Nx Console starts the daemon makes the ci info rust
crate believe that the daemon process is running in CI. This starts the
database using the unix dotfile... which causes issues

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

The ci info rust crate is not used, we have our own logic which is
identical to the JS logic we have.

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

Fixes #

(cherry picked from commit 7f39dc1)
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 way VS Code / Nx Console starts the daemon makes the ci info rust
crate believe that the daemon process is running in CI. This starts the
database using the unix dotfile... which causes issues

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

The ci info rust crate is not used, we have our own logic which is
identical to the JS logic we have.

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

Fixes #

(cherry picked from commit 7f39dc1)
@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 14, 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.

3 participants