Skip to content

Conversation

jordanbreen28
Copy link
Contributor

@jordanbreen28 jordanbreen28 commented Nov 27, 2023

Summary

This PR opts to aggregate and write the file type definitions to a tempfile rather than a file within the language servers root dir.
This was causing issues with the github runners for CI, and it is also a more elegant solution.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

@jordanbreen28 jordanbreen28 force-pushed the maint-fix_nightlies branch 3 times, most recently from f5f5649 to 26b825c Compare November 27, 2023 11:32
@jordanbreen28 jordanbreen28 changed the title test fix (maint) - Write file type definitions to tempfile Nov 27, 2023
@jordanbreen28 jordanbreen28 marked this pull request as ready for review November 27, 2023 11:38
@jordanbreen28 jordanbreen28 requested a review from a team as a code owner November 27, 2023 11:38
@jordanbreen28 jordanbreen28 force-pushed the maint-fix_nightlies branch 2 times, most recently from 6340b25 to 2b2d9aa Compare November 27, 2023 11:39
This commit now writes the file_type definitions to a tempfile as oppose
to a file within the source code, as this was causing issues with CI.

Using a tempfile is also better practice.
@jordanbreen28 jordanbreen28 force-pushed the maint-fix_nightlies branch 2 times, most recently from 5e0053c to c15b5cd Compare November 27, 2023 12:08
Copy link
Contributor

@gavindidrichsen gavindidrichsen left a comment

Choose a reason for hiding this comment

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

Fantastic description of the issue and fix design!

@gavindidrichsen gavindidrichsen merged commit 87e267d into main Nov 27, 2023
@gavindidrichsen gavindidrichsen deleted the maint-fix_nightlies branch November 27, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants