WeKnora/internal/datasource/connector/yuque
po-et 90e3977714 test(datasource): keep yuque and ima config tests off live DNS
parseYuqueConfig and parseIMAConfig validate DefaultBaseURL through
ValidateConnectorBaseURL, which resolves the host with net.LookupIP.
Their TestMain only whitelists loopback, so the config tests fail on
any machine where www.yuque.com or ima.qq.com resolves to a restricted
address (a local DNS sinkhole, for example), and the result depends on
the network the tests happen to run on.

Whitelist the default host as well, which is what the feishu tests
already do for open.feishu.cn.
2026-09-15 15:03:45 +08:00
..
client.go fix(security): harden web_fetch and datasource connector SSRF paths 2026-07-02 12:27:48 +08:00
client_test.go test: address PR review follow-ups for OAuth and logger cleanup 2026-07-01 17:31:42 +08:00
connector.go feat(datasource): reveal pre-existing selections in lazily-loaded picker 2026-06-22 19:24:08 +08:00
connector_test.go test(datasource): keep yuque and ima config tests off live DNS 2026-09-15 15:03:45 +08:00
types.go fix(security): harden web_fetch and datasource connector SSRF paths 2026-07-02 12:27:48 +08:00
types_test.go feat(datasource): add Yuque (语雀) connector 2026-04-22 16:39:55 +08:00