Skip to content

harbor interop runner addition #478

Draft
nancyjlau wants to merge 3 commits into
mainfrom
nancyjlau/harbor-runner-main
Draft

harbor interop runner addition #478
nancyjlau wants to merge 3 commits into
mainfrom
nancyjlau/harbor-runner-main

Conversation

@nancyjlau

@nancyjlau nancyjlau commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

previously the current existing harbor interop is just integrations.harbor.detect(path) (which just checked whether a folder looked like Harbor tasks) , integrations.harbor.load(path) (parsed Harbor task folders into a HUD Taskset) , and integrations.harbor.export(source, out_dir) (being able to export HUD tasks into Harbor folder layout)

@mintlify

mintlify Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
hud 🟢 Ready View Preview Jul 1, 2026, 3:57 AM

@nancyjlau nancyjlau changed the title Refine Harbor runtime CLI integration harbor interop runner addition Jul 1, 2026
Replace the Dockerfile-parsing fidelity heuristics (start-script
recreation, mkdir-dir restoration, node_modules/vendor/dist submounts,
seeded-SQLite restoration, and the hardcoded /app workdir) with a single
mechanism: after building the task image, copy its actual working
directory onto the host workspace and bind-mount that back over the same
guest path. The workspace is then the image's real workdir — source plus
every build-generated file, with original mode bits — so nothing the
build produced is shadowed by the editable mount, and the guest path is
derived from the image's WORKDIR instead of assumed to be /app.

This removes ~330 lines of corpus-tuned parsing and makes the runner
faithful to any Harbor/terminal-bench image shape rather than the
NOVATStyle export specifically. Validated on real Docker across all six
artifact classes the heuristics used to cover (compose+postgres,
gunicorn start script, node_modules, mkdir dirs, node dist, seeded
sqlite): all return reward 0.0 with is_error false and clean teardown.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant