Skip to content

Testing fix for deadlock during paclet check in GitHub actions#206

Open
rhennigan wants to merge 3 commits into
mainfrom
bugfix/deadlock-during-check-in-gh-actions
Open

Testing fix for deadlock during paclet check in GitHub actions#206
rhennigan wants to merge 3 commits into
mainfrom
bugfix/deadlock-during-check-in-gh-actions

Conversation

@rhennigan

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 24, 2026 13:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the CI/paclet build scripts to avoid a deadlock seen during GitHub Actions paclet checks, primarily by reducing/reshaping Front End usage during automated runs.

Changes:

  • Removed UsingFrontEnd wrapping from GitHub Actions test execution in Scripts/TestPaclet.wls.
  • Added a new Scripts/UnformatFiles.wls step and a corresponding --unformat/-u flag in Scripts/BuildPaclet.wls (defaulting on in CI) to re-export notebooks before checks/build steps.
  • Wrapped CreatePreferencesContent[] with UsingFrontEnd and applied minor whitespace/comment formatting tweaks; updated cspell wordlist.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Scripts/UnformatFiles.wls New script to re-export notebooks under FE with specific FE session settings prior to CI checks.
Scripts/TestPaclet.wls Removes FE usage in GitHub Actions test path to reduce deadlock risk.
Scripts/BuildPaclet.wls Adds --unformat option, runs the unformat step in CI, and standardizes CI detection via $inCICD.
Kernel/PreferencesContent.wl Ensures preferences UI construction runs under UsingFrontEnd; formatting-only adjustments nearby.
.cspell.json Adds “Unformatting” to the dictionary.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Scripts/UnformatFiles.wls
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