You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resource image build still copies the old harness path #229
examples/web_fetch/docker/resource.Dockerfile line 123 has COPY harness ./harness, but the package moved to src/harness/. git ls-files harness lists 0 files and git ls-files src/harness lists 374. The Dockerfile was last changed before the move, so make resource-image should fail at that COPY.
I read this from the files and could not run docker build, because no Docker daemon was available.
What else depends on the old path
ContainerResourceRunner.validate() hashes /workspace/harness/web_fetch/providers/headless_worker.py inside the image.
tests/test_resource_build_context.py uses harness/provider.py as its required fixture path, so it does not notice the move.
Why it matters now
A container cohort gets a change to headless.py only through a rebuild, for example the ownership proof from #170. validate() compares only the worker hash, so an older image that still runs the previous headless.py passes without any warning.
Done when
make resource-image builds from the current layout.
The build context test and the validate() path match that layout.
Decide whether validate() should also bind the modules the worker imports. That decision needs an owner, because the hash is part of the recorded environment.
Activity