[PR #534] [MERGED] Fix non-constant format string in backwards invocation permission check #566

Closed
opened 2026-02-16 01:16:20 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/534
Author: @Yeuoly
Created: 12/11/2025
Status: Merged
Merged: 12/11/2025
Merged by: @Yeuoly

Base: dependabot/go_modules/golang.org/x/crypto-0.45.0Head: codex/investigate-server-build-failure


📝 Commits (1)

  • 1205227 Fix backwards invocation permission error handling

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 internal/core/io_tunnel/backwards_invocation/task.go (+1 -1)

📄 Description

Summary

  • replace dynamic fmt.Errorf usage with errors.New in backwards invocation permission check
  • maintain formatting with gofmt

Testing

  • go test ./internal/core/io_tunnel/backwards_invocation -run TestBackwardsInvocationAllPermittedPermission -v

Codex Task


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-daemon/pull/534 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 12/11/2025 **Status:** ✅ Merged **Merged:** 12/11/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `dependabot/go_modules/golang.org/x/crypto-0.45.0` ← **Head:** `codex/investigate-server-build-failure` --- ### 📝 Commits (1) - [`1205227`](https://github.com/langgenius/dify-plugin-daemon/commit/1205227de374b756724c21f272e5fb6169af3e13) Fix backwards invocation permission error handling ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/io_tunnel/backwards_invocation/task.go` (+1 -1) </details> ### 📄 Description ## Summary - replace dynamic fmt.Errorf usage with errors.New in backwards invocation permission check - maintain formatting with gofmt ## Testing - go test ./internal/core/io_tunnel/backwards_invocation -run TestBackwardsInvocationAllPermittedPermission -v ------ [Codex Task](https://chatgpt.com/codex/tasks/task_b_693a5723696c83269ed9b34ea258802b) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:16:20 -05:00
yindo closed this issue 2026-02-16 01:16:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#566