Posted on :: Tags: , , ,

๐Ÿ‡ Letโ€™s start by checking the Github Actions results.

$ ghrl | first
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ conclusion   โ”‚ failure                                                 โ”‚
โ”‚ displayTitle โ”‚ Add CLI completions                                     โ”‚
โ”‚ headBranch   โ”‚ clap-complete-16608                                     โ”‚
โ”‚ url          โ”‚ https://github.com/iesahin/xvc/actions/runs/13007688178 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿข Although I turned off most of the watches, logs are still too large that itโ€™s not possible to view from the interface. Downloaded the log archive.

๐ŸฆŠ We can have different GA steps for each test. Claude can help to write such a repeating set of steps.

๐Ÿ‡ We can at least separate z_test_docs to see if integration tests or that fails.

๐Ÿข Weโ€™ll have to add caching for test artifacts to upload them for coverage. Iโ€™m not sure we really need to add that complexity to the process just not to download the logs.

๐Ÿ‡ We can actually move all to Xvc. We need a GA action to run an Xvc pipeline.

๐Ÿข Eventually yes, we should move our testing to Xvc itself. Now, the logs show that there are differences in z_test_docs actually.

๐Ÿ‡ When I run the command below, it passes. We may have a different config in GA.

$ XVC_TRYCMD_TESTS=storage,file,pipeline,core,start TRYCMD=overwrite rws cargo test --features test-ci -p xvc --test z_test_docs
test z_doc_tests ... ok
...
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.34s

๐Ÿข We donโ€™t have an XVC_TRYCMD_TESTS=storage,file,pipeline,core,start definition in GA, letโ€™s add it, bump the version and try again.

$ cargo set-version "0.6.14-alpha.10"
   Upgrading xvc from 0.6.14-alpha.9 to 0.6.14-alpha.10
...

๐ŸฆŠ We could also update run-tests.zsh to get a quick response.

๐Ÿข Yep, letโ€™s do that as well.

๐Ÿ‡ Dev tests pass but there are differences in documents still. For some reason local run-tests.zsh doesnโ€™t update xvc/book/src/ref/xvc-storage.md. It only has the help text as a reference but itโ€™s not updated with the aliases and it breaks the CI. This is weird but small issue. Fixed it manually.

$ ghrl | first 2
โ•ญโ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ # โ”‚ conclusion โ”‚   displayTitle    โ”‚     headBranch     โ”‚        url         โ”‚
โ”œโ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ 0 โ”‚            โ”‚ Add CLI           โ”‚ clap-complete-1660 โ”‚ https://github.com โ”‚
โ”‚   โ”‚            โ”‚ completions       โ”‚ 8                  โ”‚ /iesahin/xvc/actio โ”‚
โ”‚   โ”‚            โ”‚                   โ”‚                    โ”‚ ns/runs/1302770108 โ”‚
โ”‚   โ”‚            โ”‚                   โ”‚                    โ”‚ 2                  โ”‚
โ”‚ 1 โ”‚ success    โ”‚ Add CLI           โ”‚ clap-complete-1660 โ”‚ https://github.com โ”‚
โ”‚   โ”‚            โ”‚ completions       โ”‚ 8                  โ”‚ /iesahin/xvc/actio โ”‚
โ”‚   โ”‚            โ”‚                   โ”‚                    โ”‚ ns/runs/1302755462 โ”‚
โ”‚   โ”‚            โ”‚                   โ”‚                    โ”‚ 2                  โ”‚
โ•ฐโ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿข The earlier one has passed. It looks weโ€™re ready to merge. Letโ€™s update the CHANGELOG.md for release.

๐Ÿ‡ Setting the release version:

cargo set-version "0.6.14"
   Upgrading xvc from 0.6.14-alpha.10 to 0.6.14
...

๐Ÿข Letโ€™s check the CI

$ ghrl | first 2

โ•ญโ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ # โ”‚ conclusion โ”‚   displayTitle    โ”‚     headBranch     โ”‚        url         โ”‚
โ”œโ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ 0 โ”‚ success    โ”‚ Add CLI           โ”‚ clap-complete-1660 โ”‚ https://github.com โ”‚
โ”‚   โ”‚            โ”‚ completions       โ”‚ 8                  โ”‚ /iesahin/xvc/actio โ”‚
โ”‚   โ”‚            โ”‚                   โ”‚                    โ”‚ ns/runs/1302770108 โ”‚
โ”‚   โ”‚            โ”‚                   โ”‚                    โ”‚ 2                  โ”‚
โ”‚ 1 โ”‚ success    โ”‚ Add CLI           โ”‚ clap-complete-1660 โ”‚ https://github.com โ”‚
โ”‚   โ”‚            โ”‚ completions       โ”‚ 8                  โ”‚ /iesahin/xvc/actio โ”‚
โ”‚   โ”‚            โ”‚                   โ”‚                    โ”‚ ns/runs/1302755462 โ”‚
โ”‚   โ”‚            โ”‚                   โ”‚                    โ”‚ 2                  โ”‚
โ•ฐโ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿ‡ And merge

$ ghpM --body $"(open CHANGELOG.md | lines | skip 2 | take 7)" --subject "Add completions" --squash

๐Ÿข Tagged main and pushed. Packages must be built in a few minutes