Add async third-party vetting

Queue vetting on third_parties with PENDING, PROCESSING,
COMPLETED, and FAILED states. Expose enqueue and status through
GraphQL, MCP, CLI, and n8n, validate vet requests, tune the
worker via config, and poll the detail page while vetting runs.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2026-05-27 13:34:49 +02:00
parent 1a71d15bc5
commit 6e7c96732f
59 changed files with 3251 additions and 520 deletions

View File

@@ -356,7 +356,7 @@ func TestFunctionTool_Execute(t *testing.T) {
)
t.Run(
"optional fields can be omitted",
"optional fields may be empty but must be present",
func(t *testing.T) {
t.Parallel()
@@ -373,7 +373,7 @@ func TestFunctionTool_Execute(t *testing.T) {
},
)
result, err := tool.Execute(context.Background(), `{"city":"Paris"}`)
result, err := tool.Execute(context.Background(), `{"city":"Paris","units":""}`)
require.NoError(t, err)
assert.False(t, result.IsError)
assert.Equal(t, "sunny in Paris", result.Content)