Skip to content

#237: Fixed the opencode plugin in the doc#238

Merged
ahsimb merged 2 commits into
mainfrom
feature/237-opencode-plugin
Jun 9, 2026
Merged

#237: Fixed the opencode plugin in the doc#238
ahsimb merged 2 commits into
mainfrom
feature/237-opencode-plugin

Conversation

@ahsimb

@ahsimb ahsimb commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

closes #237

@ahsimb ahsimb self-assigned this Jun 8, 2026
@ahsimb ahsimb added the bug Unwanted / harmful behavior label Jun 8, 2026
@ahsimb ahsimb requested a deployment to manual-approval June 8, 2026 15:26 — with GitHub Actions Waiting
Comment on lines +78 to +80
console.log(
"[install-exasol-skills] Failed to install skills.",
);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Also log stdout & stderr of the executed tool to simplify debugging.

Comment thread doc/user_guide/integration.rst Outdated
});
});

const InstallExasolPlugins = async () => {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Functions in JS use lower camel case, unless upper camel case is a convention in this context.

Suggested change
const InstallExasolPlugins = async () => {
const installExasolPlugins = async () => {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

General: untested code in documentation. Would it be possible to

  • extract the code into .js files
  • add a small js project with tests
  • run tests in CI
  • include code from .js files into this documentation?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I agree it will be better, but it's a bit tricky, especially with the second script that downloads skills from GitHub. The skills might not be there at the time CI runs. It will probably be an overkill. After all, such a script is outside the scope of this project. It's only a kind of advice or suggestion.

@ahsimb ahsimb temporarily deployed to manual-approval June 9, 2026 07:49 — with GitHub Actions Inactive
@sonarqubecloud

sonarqubecloud Bot commented Jun 9, 2026

Copy link
Copy Markdown

@ahsimb ahsimb merged commit c39a3b4 into main Jun 9, 2026
40 checks passed
@ahsimb ahsimb deleted the feature/237-opencode-plugin branch June 9, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Unwanted / harmful behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix the opencode plugin in the user guide

2 participants