From 5c9b87d1555edd4d6847e7c5ef57e2fa8151bc2a Mon Sep 17 00:00:00 2001 From: "devsy-app[bot]" <277138668+devsy-app[bot]@users.noreply.github.com> Date: Sun, 9 Aug 2026 12:41:41 +0000 Subject: [PATCH] docs: fix DefaultAgentDownloadURL file path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Doc area `CONTRIBUTING.md` — "Development Setup > Initial Setup" (the "change Devsy agent code" step). ## Drift found The step linked `DefaultAgentDownloadURL` to `./pkg/agent/agent.go`: > Exchange the URL in [DefaultAgentDownloadURL](./pkg/agent/agent.go) with a custom public repository release That file path is wrong. The `DefaultAgentDownloadURL` function is defined in `./pkg/config/repo.go`, not `./pkg/agent/agent.go`. The link was stale and pointed at a file that does not contain the referenced symbol. ## Correction Updated the link target from `./pkg/agent/agent.go` to `./pkg/config/repo.go`. ## Code verification performed - `grep -rn "func DefaultAgentDownloadURL" pkg/` → defined at `pkg/config/repo.go:47`. - Confirmed `pkg/agent/agent.go` does not define `DefaultAgentDownloadURL` (it only calls `config.DefaultAgentDownloadURL()` at line 442). - Confirmed `pkg/config/repo.go` exists and contains the function plus the related `AgentDownloadBaseURL` / `AgentLatestDownloadURL` constants. ## Validation - `task cli:format` — clean. - `task cli:lint:ci` — 0 issues. - `task cli:test` — only the known pre-existing `pkg/git` `TestRepoClone*` failures (unchanged baseline; this PR does not touch `pkg/git` or any Go source). This PR was created by an AI agent as part of an automated daily docs job. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 681feeaa8a..7c57f98caa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,7 +33,7 @@ posting a comment on the pull request with the exact text the bot provides. ``` 2. If you want to change Devsy agent code: - - Exchange the URL in [DefaultAgentDownloadURL](./pkg/agent/agent.go) with a custom public repository release + - Exchange the URL in [DefaultAgentDownloadURL](./pkg/config/repo.go) with a custom public repository release - Build devsy via: `task cli:build:dev` - Upload `dist/devsy-dev_linux_amd64_v1/devsy-linux-amd64` and ARM64 variant to your public repository release assets