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

move testfactory to rivershared #587

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

bgentry
Copy link
Contributor

@bgentry bgentry commented Sep 9, 2024

This will be useful for tests in other River libraries (riverui, riverpro).

The replace in here is necessary to avoid issues with go mod tidy trying to fetch the rivershared module from remote and it not containing the testfactory package. I believe we should be able to simply remove it prior to release, but you may have more insight on that given the workspace testing you did.

This will be useful for tests in other River libraries (riverui,
riverpro).
@bgentry bgentry requested a review from brandur September 9, 2024 15:04
Copy link
Contributor

@brandur brandur left a comment

Choose a reason for hiding this comment

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

Damn that replace thing is absurd. (Odd that I don't remember running into this at all during development, but I guess it's because I never ran go mod tidy, and nothing complained that I should.)

Yet another run on Go workspace thread on the problem with no clear resolution in sight:

golang/go#50750

@bgentry bgentry merged commit 7d98386 into master Sep 10, 2024
14 checks passed
@bgentry bgentry deleted the bg-test-factory-in-rivershared branch September 10, 2024 01:35
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