Skip to content

Commit 8e6ac56

Browse files
committed
fix: repair failing tests and broken docs link
- Fix 3 quarantine tests that expected "pending" but got "approved": add Quarantined: true to server config since auto-approve is now the default for non-quarantined servers - Fix broken Docusaurus link: remove .md extension from cross-doc link (Docusaurus uses path slugs, not filenames) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4753adf commit 8e6ac56

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/features/code-execution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ const user: User = { name: input.username };
233233
- TypeScript support uses type-stripping only (no type checking or semantic validation)
234234
- Valid JavaScript is also valid TypeScript
235235
- Transpilation errors return the `TRANSPILE_ERROR` error code with line/column information
236-
- See [Code Execution Overview](../code_execution/overview.md#typescript-support) for comprehensive TypeScript documentation
236+
- See [Code Execution Overview](../code_execution/overview#typescript-support) for comprehensive TypeScript documentation
237237
238238
## Best Practices
239239

internal/runtime/tool_quarantine_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func setupQuarantineRuntime(t *testing.T, quarantineEnabled *bool, servers []*co
3434

3535
func TestCheckToolApprovals_NewTool_PendingStatus(t *testing.T) {
3636
rt := setupQuarantineRuntime(t, nil, []*config.ServerConfig{
37-
{Name: "github", Enabled: true},
37+
{Name: "github", Enabled: true, Quarantined: true},
3838
})
3939

4040
tools := []*config.ToolMetadata{
@@ -261,7 +261,7 @@ func TestCheckToolApprovals_AutoApproved_ThenChanged_StillBlocked(t *testing.T)
261261

262262
func TestApproveTools(t *testing.T) {
263263
rt := setupQuarantineRuntime(t, nil, []*config.ServerConfig{
264-
{Name: "github", Enabled: true},
264+
{Name: "github", Enabled: true, Quarantined: true},
265265
})
266266

267267
// Create pending tools
@@ -293,7 +293,7 @@ func TestApproveTools(t *testing.T) {
293293

294294
func TestApproveAllTools(t *testing.T) {
295295
rt := setupQuarantineRuntime(t, nil, []*config.ServerConfig{
296-
{Name: "github", Enabled: true},
296+
{Name: "github", Enabled: true, Quarantined: true},
297297
})
298298

299299
// Create pending tools

0 commit comments

Comments
 (0)