Skip to content

chore: sync release follow-up changes#122

Merged
linfangw merged 2 commits intomainfrom
linfangw-release-followups-2026-04-17
Apr 17, 2026
Merged

chore: sync release follow-up changes#122
linfangw merged 2 commits intomainfrom
linfangw-release-followups-2026-04-17

Conversation

@linfangw
Copy link
Copy Markdown
Collaborator

Summary

  • commit the release-blocking lint and tool-display fixes needed to get pnpm check green again
  • include the remaining local follow-up changes that were still pending in the working tree
  • push the combined work through the required PR path because direct pushes to main are blocked by repository rules

Verification

  • env OPENCLAW_LOCAL_CHECK=0 pnpm check

Notes

  • This branch contains two local commits moved off main so they can land through PR review:
    • b8666457b4 check: fix release-blocking lint issues
    • 8a536b87e9 chore: sync remaining local changes

@linfangw linfangw merged commit a49f7d7 into main Apr 17, 2026
2 of 10 checks passed
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates extension versions to 2026.4.15, adds new tool display configurations for QVeris, and refactors several extensions for improved formatting and type safety. Critical feedback was provided regarding the accidental commitment of build artifacts and local node_modules binaries containing hardcoded absolute paths. Additionally, the reviewer suggested seeking more type-safe alternatives to the brittle type casting used in the Discord voice SDK integration.

Comment on lines +13 to +15
export NODE_PATH="/Users/linfangwang/Work/develop/qveris-ai/qverisbot/node_modules:/Users/linfangwang/Work/develop/qveris-ai/node_modules:/Users/linfangwang/Work/develop/node_modules:/Users/linfangwang/Work/node_modules:/Users/linfangwang/node_modules:/Users/node_modules:/node_modules:/Users/linfangwang/Work/develop/qveris-ai/qverisbot/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/Users/linfangwang/Work/develop/qveris-ai/qverisbot/node_modules:/Users/linfangwang/Work/develop/qveris-ai/node_modules:/Users/linfangwang/Work/develop/node_modules:/Users/linfangwang/Work/node_modules:/Users/linfangwang/node_modules:/Users/node_modules:/node_modules:/Users/linfangwang/Work/develop/qveris-ai/qverisbot/node_modules/.pnpm/node_modules:$NODE_PATH"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

This script contains hardcoded absolute paths ('/Users/linfangwang/...') that are specific to a local development environment. This makes the script non-portable and leaks sensitive local path information. Additionally, the node_modules directory should not be committed to the repository.

Comment on lines +13 to +15
export NODE_PATH="/Users/linfangwang/Work/develop/qveris-ai/qverisbot/node_modules:/Users/linfangwang/Work/develop/qveris-ai/node_modules:/Users/linfangwang/Work/develop/node_modules:/Users/linfangwang/Work/node_modules:/Users/linfangwang/node_modules:/Users/node_modules:/node_modules:/Users/linfangwang/Work/develop/qveris-ai/qverisbot/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/Users/linfangwang/Work/develop/qveris-ai/qverisbot/node_modules:/Users/linfangwang/Work/develop/qveris-ai/node_modules:/Users/linfangwang/Work/develop/node_modules:/Users/linfangwang/Work/node_modules:/Users/linfangwang/node_modules:/Users/node_modules:/node_modules:/Users/linfangwang/Work/develop/qveris-ai/qverisbot/node_modules/.pnpm/node_modules:$NODE_PATH"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

This script contains hardcoded absolute paths ('/Users/linfangwang/...') that are specific to a local development environment. This makes the script non-portable and leaks sensitive local path information. Additionally, the node_modules directory should not be committed to the repository.

@@ -0,0 +1 @@
2026-04-17T06:22:31.880Z
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Build artifacts like .boundary-tsc.stamp files should not be committed to the repository. These files are generated during the build process and should be excluded via .gitignore to avoid repository bloat and unnecessary merge conflicts.

Comment on lines +82 to +86
function resolveManualEndBehaviorType(voiceSdk: ReturnType<typeof loadDiscordVoiceSdk>): unknown {
return (
(voiceSdk as unknown as { EndBehaviorType?: { Manual?: unknown } }).EndBehaviorType?.Manual ?? 0
);
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The use of 'as unknown as' to access EndBehaviorType suggests that the types for the Discord voice SDK might be missing or incomplete in the current environment. While this works as a workaround, it is brittle. Consider if the SDK types can be updated or if a more type-safe way to check for these constants exists.

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.

1 participant