build: a build attempt before the worktree setup fills build/<preset> with vcpkg_installed, and the seed then keeps the tree cold
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 67/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- cmake, cpp, git
- Domain
- build-system, tooling
Research direction
Start with justfile and the JustfileWiringTest test named in the issue. Check the dry run for configure and test-auth-unit to confirm _build-inputs runs before _vcpkg-mingw, while _proto-current remains after it. Run the ordering test, then verify the cold-build notice and seed behavior described in the issue; done when the ordering test passes and the stated fresh-worktree sequence seeds the tree.
Written by the indexing model from the issue text.
Description
Evidence at 86f1ef4a7
justfile:81:configuredepends on_vcpkg-mingwbefore_build-inputs, so the vcpkg install writesbuild/<preset>/vcpkg_installed
before the worktree input check runs.justfiletest-auth-unithas the same order.tools/seed_build_tree.pykeeps any non-emptybuild/<preset>(thealready has contentbranch ofseed): a tree with only
vcpkg_installedand noCMakeCache.txtis kept, so the setup does not seed it.- A worktree (cmake-rest-2886, from 09c2738ca) whose first build attempt ran before
just worktree-setup: the seed record at
2026-11-26T04:56:40Z readskept, reasonbuild/mingw-release already has content; left as it is. Its first build then compiled
333 objects (cmake --build --preset mingw-release: objects_compiled 333, ccache_hits 176, ccache_misses 157, duration 63 s, from
the gate's slot-build record).
Not shown
- How many worktrees have hit this order. The evidence is one worktree.
- Whether
just buildin a fresh worktree is the only way the directory fills before setup.
Falsifier
A fresh worktree where a build attempt before the setup leaves build/<preset>/vcpkg_installed and the setup then reports kept.
After the fix the same sequence must leave no vcpkg_installed and the setup must report seeded.
Work
- Test first, red at 86f1ef4a7: the
configuredry run puts the worktree input check after the vcpkg install (JustfileWiringTest,
test_the_worktree_inputs_are_checked_before_vcpkg_installs_into_the_build_tree). - Reorder
configureandtest-auth-unit: the input check before_vcpkg-mingw._proto-currentstays after vcpkg, where its protoc
is. - A cold build says so:
_cold-noticeprints one line before any work whenbuild/<preset>/CMakeCache.txtis missing, from the last
seed record for the worktree (seed_build_tree.py --cold-notice; J1135). - Mutant: put
_build-inputsback after_vcpkg-mingw. The ordering test must fail.
- Dominant language
- C++
- Stars
- 3
- Forks
- 5
- Avg merge
- 4h 37m
- Merged PRs (30d)
- 524
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EchoTools/nevr-runtime
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
EchoTools/nevr-runtime#2910 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
EchoTools/nevr-runtime#2909 ·
Maintainers usually reply within 1 day
-
build: the generated defaults header is written 0600, so a seat outside nevr-build cannot read itOpenbacklog
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
EchoTools/nevr-runtime#2901 · 1 comment ·
Maintainers usually reply within 1 day
-
backlog
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EchoTools/nevr-runtime#2897 ·
Maintainers usually reply within 1 day
All issues in EchoTools/nevr-runtime
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
bug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
libc++
Difficulty 1/5 Under an hour Newbie friendliness 88/100
llvm/llvm-project#246508 ·
Maintainers usually reply within 1 day
-
good first issue help wanted phase:0 priority:P3 type:task
Difficulty 2/5 1-3 hours Newbie friendliness 67/100