-
Notifications
You must be signed in to change notification settings - Fork 260
Merge main into fp-enhancer/pkg-cli-immutability #16812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -99,6 +99,13 @@ var ClaudeDefaultDomains = []string{ | |||||||||||||
| "ts-ocsp.ws.symantec.com", | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| // PlaywrightDomains are the domains required for Playwright browser downloads | ||||||||||||||
| // These domains are needed when Playwright MCP server initializes in the Docker container | ||||||||||||||
| var PlaywrightDomains = []string{ | ||||||||||||||
| "cdn.playwright.dev", | ||||||||||||||
| "playwright.download.prss.microsoft.com", | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| // init loads the ecosystem domains from the embedded JSON | ||||||||||||||
| func init() { | ||||||||||||||
| domainsLog.Print("Loading ecosystem domains from embedded JSON") | ||||||||||||||
|
|
@@ -349,6 +356,23 @@ func extractHTTPMCPDomains(tools map[string]any) []string { | |||||||||||||
| return domains | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| // extractPlaywrightDomains returns Playwright domains when Playwright tool is configured | ||||||||||||||
| // Returns a slice of domain names required for Playwright browser downloads | ||||||||||||||
| // These domains are needed when Playwright MCP server initializes in the Docker container | ||||||||||||||
| func extractPlaywrightDomains(tools map[string]any) []string { | ||||||||||||||
| if tools == nil { | ||||||||||||||
| return []string{} | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| // Check if Playwright tool is configured | ||||||||||||||
| if _, hasPlaywright := tools["playwright"]; hasPlaywright { | ||||||||||||||
| domainsLog.Printf("Detected Playwright tool, adding %d domains for browser downloads", len(PlaywrightDomains)) | ||||||||||||||
| return PlaywrightDomains | ||||||||||||||
|
||||||||||||||
| return PlaywrightDomains | |
| // Return a defensive copy so callers cannot mutate the global PlaywrightDomains slice | |
| copiedDomains := make([]string, len(PlaywrightDomains)) | |
| copy(copiedDomains, PlaywrightDomains) | |
| return copiedDomains |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
action_pins.json no longer includes a pin for github/stale-repos@v3.0.2, but .github/workflows/stale-repo-identifier.md uses
uses: github/stale-repos@v3.0.2withstrict: true. In strict mode, GetActionPinWithData requires an exact version match in action_pins.json when dynamic resolution isn’t available, so this can leave the action unpinned (or emit warnings) and break deterministic lock generation. Re-add the v3.0.2 entry (or update the workflow source to use @V3 and regenerate locks).