{"id":20376393,"url":"https://github.com/marefr/symlink-go-test","last_synced_at":"2026-06-07T11:31:43.365Z","repository":{"id":220562848,"uuid":"751970497","full_name":"marefr/symlink-go-test","owner":"marefr","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-02T18:23:03.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T21:41:59.284Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marefr.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-02T18:18:57.000Z","updated_at":"2024-02-02T18:23:30.000Z","dependencies_parsed_at":"2024-02-02T19:44:13.163Z","dependency_job_id":null,"html_url":"https://github.com/marefr/symlink-go-test","commit_stats":null,"previous_names":["marefr/symlink-go-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marefr/symlink-go-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marefr%2Fsymlink-go-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marefr%2Fsymlink-go-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marefr%2Fsymlink-go-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marefr%2Fsymlink-go-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marefr","download_url":"https://codeload.github.com/marefr/symlink-go-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marefr%2Fsymlink-go-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34020187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T01:37:15.798Z","updated_at":"2026-06-07T11:31:43.347Z","avatar_url":"https://github.com/marefr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vscode-go extension with test on save and symbolic links\n\nTest repo for reproducing issue regarding the vscode-go extension with test on save feature enabled when saved package/file is a symbolic link.\n\n**Settings:**\n```json\n{\n  \"search.followSymlinks\": true,\n  \"search.useIgnoreFiles\": false,\n  \"go.testOnSave\": true\n}\n```\n\n**Reproduction steps:**\n\n1. Setup symbolic links\n```\ncd ./b\n./dev.sh\n```\n\n2. a/pkg/extensions should now include content from b/src/pkg/extensions as symbolic links\n\n2. Open \"a\" directory in vs code\n```\ncd ..\ncode ./a\n```\n\n3. Open `pkg/extensions/something/something_test.go`\n4. Save the file\n5. Output window show the failure when running tests\n\n```\nRunning tool: /usr/local/go/bin/go test github.com/marefr/symlink-go-test/a/pkg/extensions/something\n\nno required module provides package github.com/marefr/symlink-go-test/a/pkg/extensions/something: go.mod file not found in current directory or any parent directory; see 'go help modules'\n```\n\n6. Open a terminal in vs code (current directory should be the workspace, `\u003crepo\u003e/a`)\n7. Paste command from output window above and run test to see that it works as expected\n```\n~/go/src/github.com/marefr/symlink-go-test/a\n❯ /usr/local/go/bin/go test github.com/marefr/symlink-go-test/a/pkg/extensions/something\nok      github.com/marefr/symlink-go-test/a/pkg/extensions/something    0.003s\n```\n8. Remove symbolic links\n```\ncd ./b\n./undev.sh\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarefr%2Fsymlink-go-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarefr%2Fsymlink-go-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarefr%2Fsymlink-go-test/lists"}