Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean task #5540

Merged
merged 5 commits into from
Jul 29, 2024
Merged

Clean task #5540

merged 5 commits into from
Jul 29, 2024

Conversation

schaable
Copy link
Member

@schaable schaable commented Jul 23, 2024

This PR requires #5527 and #5517.

The logic to create the cache and artifacts paths is missing, as it's outside the scope of this issue. Because of this, the tests are somewhat "manual" – we handle the folders manually to simulate different scenarios. However, this should be acceptable.

The build is currently failing because it needs PR #5517 and some additional code (e.g., adding the cache and artifacts properties in v-next/core/test/internal/hook-manager.ts).

The task might require additional steps, such as calling artifacts.clearCache?.(), which depends on how the new build system works.

@schaable schaable added the v-next A Hardhat v3 development task label Jul 23, 2024
@schaable schaable self-assigned this Jul 23, 2024
Copy link

vercel bot commented Jul 23, 2024

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

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 29, 2024 1:12pm

Copy link

changeset-bot bot commented Jul 23, 2024

⚠️ No Changeset found

Latest commit: 1af5952

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Jul 23, 2024
@schaable schaable force-pushed the improve-task-types branch from 709e8cb to 6339731 Compare July 23, 2024 15:44
@@ -196,6 +196,8 @@ async function resolveUserConfig(
tasks: config.tasks ?? [],
paths: {
root: projectRoot,
cache: config.paths?.cache ?? "", // TODO: resolve cache path
Copy link
Member

@alcuadrado alcuadrado Jul 27, 2024

Choose a reason for hiding this comment

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

Do we have a task to properly implement this resolution? Can you create one?

Copy link
Member

Choose a reason for hiding this comment

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

Maybe these things should be defined in hardhat, not core

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's part of #5524, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

@kanej can you confirm?

Base automatically changed from improve-task-types to v-next July 28, 2024 17:12
@schaable schaable merged commit 9e9fada into v-next Jul 29, 2024
51 checks passed
@schaable schaable deleted the clean-task branch July 29, 2024 13:13
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants