Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/control-api/src/harbor-revision.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const HARBOR_REVISION = "fcf27e5502e30436b067ef2d655368e86cc42cf9";
export const HARBOR_REVISION = "3c82380859d187957cfd5cd64802b076d9779550";
2 changes: 1 addition & 1 deletion apps/control-api/test/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ describe("configurable launch", () => {
],
};
const validation = {
harbor_revision: "fcf27e5502e30436b067ef2d655368e86cc42cf9",
harbor_revision: "3c82380859d187957cfd5cd64802b076d9779550",
tasks: 3,
agents: 2,
trials: 6,
Expand Down
2 changes: 1 addition & 1 deletion apps/control-api/test/launch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ vi.mock("../src/huggingface-models.js", () => ({
lookupHuggingFaceModelProviders: vi.fn(async () => ["provider"]),
}));
const roots: string[] = [];
const revision = "fcf27e5502e30436b067ef2d655368e86cc42cf9";
const revision = "3c82380859d187957cfd5cd64802b076d9779550";
const input = {
datasets: [{ name: "example/dataset", ref: `sha256:${"a".repeat(64)}` }],
agents: [
Expand Down
2 changes: 1 addition & 1 deletion packages/control-core/test/run-inference-review.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ afterEach(async () => {
);
});
const id = `run-${"a".repeat(24)}`;
const revision = "fcf27e5502e30436b067ef2d655368e86cc42cf9";
const revision = "3c82380859d187957cfd5cd64802b076d9779550";
const currentImage = image.replace(/a{64}$/, "b".repeat(64));
async function setup() {
const root = await mkdtemp(join(tmpdir(), "run-inference-"));
Expand Down
2 changes: 1 addition & 1 deletion packages/harbor-hf-agents/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Harbor parent runner and temporary ATIF converters for Harbor-HF.
requires-python = ">=3.12"
dependencies = [
"huggingface-hub==1.28.0+terminal.f1c01f0",
"harbor[hf-sandbox] @ git+https://github.com/harbor-framework/harbor.git@fcf27e5502e30436b067ef2d655368e86cc42cf9",
"harbor[hf-sandbox] @ git+https://github.com/harbor-framework/harbor.git@3c82380859d187957cfd5cd64802b076d9779550",
]

[project.scripts]
Expand Down
2 changes: 1 addition & 1 deletion packages/harbor-hf-agents/src/harbor_hf_agents/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from harbor.registry.client.package import PackageDatasetClient
from pydantic import ValidationError

REVISION = "fcf27e5502e30436b067ef2d655368e86cc42cf9"
REVISION = "3c82380859d187957cfd5cd64802b076d9779550"
COMMIT = re.compile(r"[0-9a-f]{40}")
CONTENT = re.compile(r"sha256:[0-9a-f]{64}")
HF_DATASET_GIT_PATH = re.compile(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

Reviewed Harbor trial/trial.py, trial/hooks.py, trial/queue.py and job.py at
SCRUB_REVISION (scrubbing introduced in 046e2a6d). Re-verified at the current
pin: ``Trial._emit`` and ``Trial._scrub_jobs_dir`` are unchanged, END is still
the last trial event, and the added ``trial/sync_trajectory.py`` and the
refactored ``trial/artifact_handler.py`` write into the trial directory or the
trial environment only. Replace this integration at the first reviewed pin with
a supported post-sanitization hook or pre-END scrub.
pin: ``Trial._emit`` and ``Trial._scrub_jobs_dir`` are unchanged, ``trial/hooks.py``
is unchanged so END is still the last trial event, and the new trial writes
(``stream.json`` from ``_write_stream_handle`` and injected skills from
``_upload_injected_skills``) go into the trial directory or the trial environment
only, like ``trial/sync_trajectory.py`` and ``trial/artifact_handler.py``.
Replace this integration at the first reviewed pin with a supported
post-sanitization hook or pre-END scrub.

Use one context around Job creation, execution, and final file uploads in an
otherwise exclusive parent process. All trial tasks must finish before exit.
Expand All @@ -30,7 +32,7 @@

from harbor_hf_agents import launch

SCRUB_REVISION = "fcf27e5502e30436b067ef2d655368e86cc42cf9"
SCRUB_REVISION = "3c82380859d187957cfd5cd64802b076d9779550"
_NATIVE_EMIT = Trial._emit
_PATCH_LOCK = Lock()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from harbor.models.job.config import JobConfig

PIN = "fcf27e5502e30436b067ef2d655368e86cc42cf9"
PIN = "3c82380859d187957cfd5cd64802b076d9779550"


def test_public_config_preserves_native_model_and_unresolved_reference(monkeypatch):
Expand Down
14 changes: 12 additions & 2 deletions packages/harbor-hf-agents/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading