Skip to content

Start to use recent fs APIs to restrict which directory we have access to#423

Merged
dgageot merged 2 commits intodocker:mainfrom
dgageot:roots2
Oct 6, 2025
Merged

Start to use recent fs APIs to restrict which directory we have access to#423
dgageot merged 2 commits intodocker:mainfrom
dgageot:roots2

Conversation

@dgageot
Copy link
Copy Markdown
Member

@dgageot dgageot commented Oct 6, 2025

No description provided.

@dgageot dgageot requested a review from a team as a code owner October 6, 2025 13:16
Signed-off-by: David Gageot <david.gageot@docker.com>
.vscode/mcp.json Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed? we could add .vscode to the gitignore

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! I opened another PR


// Load the agent's configuration
cfg, err := config.LoadConfigSecure(fileName, parentDir)
cfg, err := config.LoadConfigSecureDeprecated(fileName, parentDir)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these uses of LoadConfigSecureDeprecated also meant to be eventually updated?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Signed-off-by: David Gageot <david.gageot@docker.com>
@dgageot dgageot merged commit 6debf8e into docker:main Oct 6, 2025
5 checks passed
@dgageot dgageot deleted the roots2 branch February 27, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants