FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(autodiscovery/updatecli): correctly use relative file path by olblak · Pull Request #9759 · updatecli/updatecli · GitHub

fix(autodiscovery/updatecli): correctly use relative file path - #9759

Merged
olblak merged 3 commits into
updatecli:mainfrom
olblak:fix/file/test
Aug 2, 2026
Merged

fix(autodiscovery/updatecli): correctly use relative file path#9759
olblak merged 3 commits into
updatecli:mainfrom
olblak:fix/file/test

Conversation

olblak commented Jul 31, 2026
edited
Loading

Copy link
Copy Markdown
Member

Test

To test this pull request, you can run the following commands:

cd pkg/plugins/resources/file/
go test

Additional Information

Checklist

  • I have updated the documentation via pull request in website repository.

Tradeoff

Potential improvement

Signed-off-by: Olblak <me@olblak.com>
olblak enabled auto-merge (squash) July 31, 2026 07:53
olblak changed the title fix: file UT fix: file plugin unit test Jul 31, 2026
olblak added the skip-changelog Used by release-drafter to ignore pullrequest in changelog label Jul 31, 2026

olblak commented Jul 31, 2026

Copy link
Copy Markdown
Member Author

Next error can be reproduced running

./bin/updatecli diff --config e2e/updatecli.d/success.d/autodiscovery/updatecli/git.yaml

Which return

ERROR: something went wrong in "target#compose" :
	init files: absolute path "/tmp/updatecli/github_com_updatecli_website_git/updatecli-compose.yaml" is not allowed: files must stay within the working directory "/tmp/updatecli/github_com_updatecli_website_git"

olblak changed the title fix: file plugin unit test fix(autodiscovery/updatecli): correctly use relative file path Jul 31, 2026
olblak added bug Something isn't working and removed skip-changelog Used by release-drafter to ignore pullrequest in changelog labels Jul 31, 2026
Signed-off-by: Olblak <me@olblak.com>

olblak commented Jul 31, 2026

Copy link
Copy Markdown
Member Author

I can't reproduce the gitea issue locally

 --- FAIL: TestSource (37.60s)
    --- FAIL: TestSource/repository_should_exist_with_latest_branch_v3 (37.00s)
        source_test.go:81: 
            	Error Trace:	/home/runner/work/updatecli/updatecli/pkg/plugins/resources/gitea/branch/source_test.go:81
            	Error:      	Received unexpected error:
            	            	searching gitea branches: Get "https://codeberg.org/api/v1/repos/updatecli/updatecli-action/branches?limit=30": context deadline exceeded
            	Test:       	TestSource/repository_should_exist_with_latest_branch_v3

I am suspecting an issue on the github runner

olblak merged commit c4a0385 into updatecli:main Aug 2, 2026
8 of 13 checks passed
olblak deleted the fix/file/test branch August 2, 2026 11:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL