Skip to content

Various minor fixes - #557

Open
deribaucourt wants to merge 3 commits into
yoctoproject:stagingfrom
savoirfairelinux:black-troubleshooting
Open

deribaucourt wants to merge 3 commits into
yoctoproject:stagingfrom
savoirfairelinux:black-troubleshooting

Conversation

@deribaucourt

@deribaucourt deribaucourt commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

When preparing a hands-on session for the Yocto Workshop associated with EOSS, I encountered a few minor issues we can easily fix.

This fixed me failing to run the Python integration tests on my laptop,
and also fixed the Python feature when using the extension.
Without this setting, trying to trigger hover information with `K` in
NeoVim produce the error "man.lua: no manual entry for X".

This also enables jumping to definitions with `gd` and triggering
completion with `Ctrl-Space`.
@deribaucourt deribaucourt changed the title TROUBLESHOOTING: Document conflict with Python formatters Various minor fixes Sep 18, 2026
Comment thread client/src/ui/DevtoolCommands.ts Outdated

showSDKConfigurationDone(chosenRecipe)
const process = runBitbakeTerminalCustomCommand(bitbakeDriver, command, `Bitbake: Devtool ide-sdk: ${chosenRecipe}`)
const result = await finishProcessExecution(process)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

finishProcessExecution() applies the generic BITBAKE_TIMEOUT by default (300000 ms) and its default timeout callback kills the child process.

devtool ide-sdk is explicitly treated elsewhere in this file as a potentially very slow command, so this change can terminate a valid long-running SDK configuration after 5 minutes.

Could we wait for the process exit without the generic short-command timeout here, or otherwise use timeout semantics appropriate for this build-like operation?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good catch! ide-sdk can build the SDK, which is a slow build task.
Using BITBAKE_BUILD_TIMEOUT as the timeout here will prevent unwanted disruptions.

Previously, the notification for the successful configuration of the Devtool
workspace was shown immediately when the process was started, rather than
waiting for it to finish.

@gcomneno gcomneno left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks — using BITBAKE_BUILD_TIMEOUT addresses my previous concern. The updated flow now waits for ide-sdk to finish and only reports successful configuration after a successful exit. The focused test covers that behavior, and the current CI is green.

This branch has not been deployed

No deployments
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.

3 participants