Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bonald
Copy link

@bonald bonald commented Jan 28, 2026

Summary

Fixes CI build failures on main introduced in #2649.

Changes

  • src/channels/targets.ts: Re-export DirectoryConfigParams and ChannelDirectoryEntry types that discord/targets.ts expects
  • src/discord/targets.ts:
    • Remove unused ChannelDirectoryEntry import
    • Remove unused resolveDiscordAccount import
    • Fix parseDiscordTarget calls that incorrectly passed DirectoryConfigParams where MessagingTargetParseOptions was expected
    • Fix unused catch parameter lint error

Testing

  • pnpm build
  • pnpm lint
  • pnpm format

🤖 Generated with Claude Code

@moltbot-barnacle moltbot-barnacle bot added channel: discord Channel integration: discord channel: telegram Channel integration: telegram labels Jan 28, 2026
Copy link

@tonydehnke tonydehnke left a comment

Choose a reason for hiding this comment

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

Confirmed this fixes the build - ran into the same issue updating a Docker source build. Thanks!

@bonald
Copy link
Author

bonald commented Jan 28, 2026

Pushed additional fix: updated MiniMax API URL test expectation from api.minimax.io to api.minimax.chat to match the provider change in #3064.

Test was failing on Windows CI.

@moltbot-barnacle moltbot-barnacle bot added the agents Agent runtime and tooling label Jan 28, 2026
@obviyus obviyus self-assigned this Jan 28, 2026
Jarvis and others added 3 commits January 28, 2026 11:01
- Re-export DirectoryConfigParams and ChannelDirectoryEntry from channels/targets
- Remove unused ChannelDirectoryEntry and resolveDiscordAccount imports
- Fix parseDiscordTarget calls to not pass incompatible options type
- Fix unused catch parameter

Fixes CI build failures on main.

🤖 Generated with Claude Code
The MiniMax provider config was updated to use api.minimax.chat
instead of api.minimax.io in PR openclaw#3064, but the test expectation
was not updated.

🤖 Generated with Claude Code
@obviyus obviyus force-pushed the fix/discord-targets-imports branch from 9658dbc to a81c1da Compare January 28, 2026 05:33
@obviyus obviyus merged commit 93c2d65 into openclaw:main Jan 28, 2026
40 of 43 checks passed
@obviyus
Copy link
Contributor

obviyus commented Jan 28, 2026

Landed via temp rebase onto main.

  • Gate: pnpm lint && pnpm build && pnpm test
  • Land commit: 93c2d65
  • Merge commit: 93c2d65

Thanks @bonald!

danbao pushed a commit to danbao/openclaw that referenced this pull request Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling channel: discord Channel integration: discord channel: telegram Channel integration: telegram

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants