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

nf-lang: Add type checking utils #5913

Merged
merged 2 commits into from
Mar 26, 2025
Merged

Conversation

bentsherman
Copy link
Member

  • Add basic type checking utilities from language server
  • Cleanup implicit declaration analysis
  • Cleanup process/workflow output name checking

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@bentsherman bentsherman requested a review from a team as a code owner March 21, 2025 18:55
Copy link

netlify bot commented Mar 21, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 75ce08b
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/67e3c2ad71947d0008b6e810

@bentsherman
Copy link
Member Author

@pditommaso it looks like I still can't merge without at least 1 approval, even though this PR is contained within nf-lang. It requests a review from @nextflow-io/lang as code owner, but I still can't merge without approval and I can't approve my own PR. So it seems like being a code owner doesn't actually give me permission to push to master

Copy link
Member

@pditommaso pditommaso left a comment

Choose a reason for hiding this comment

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

Would not be worth adding a unit test?

@bentsherman
Copy link
Member Author

Regardless of unit tests, I should be able to merge this PR without approval because it is only touching nf-lang

@pditommaso
Copy link
Member

If you are in hurry, I can merge this, however remain a good practice in include tests new or existing components. I understand this is impacting existing functionality, but it will at some points.

@bentsherman
Copy link
Member Author

Putting the tests aside for a moment, you shouldn't have to approve/merge this at all. I should be able to do it myself since it only touches nf-lang

@pditommaso
Copy link
Member

I think one approver requires someone different from the PR creator, irrespective of module ownership

@bentsherman
Copy link
Member Author

Yeah I can't approve my own PR even though I'm a code owner. We might need to make some exception, either for my username or for the lang team. Not sure what options are available in the settings

@pditommaso
Copy link
Member

At this point, make more sense get rid of the "lang" team and include more approvers in the pr

@bentsherman
Copy link
Member Author

Yeah it seems like the code owners thing isn't doing anything for us. But I need to be able to update nf-lang without approval for the time being. That was one of my requirements for moving nf-lang into the nextflow repo

@pditommaso
Copy link
Member

You should be able to merge now

@bentsherman
Copy link
Member Author

Thanks. I will add some unit tests in a separate PR

@bentsherman bentsherman merged commit 4be204f into master Mar 26, 2025
22 checks passed
@bentsherman bentsherman deleted the lang-type-checking-utils branch March 26, 2025 09:09
adamrtalbot pushed a commit to adamrtalbot/nextflow that referenced this pull request Mar 27, 2025
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
Signed-off-by: adamrtalbot <12817534+adamrtalbot@users.noreply.github.com>
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