Skip to content

Hub release v1.2 predates #9: fixture patch still in two agent images, dataset.toml out of sync with main #10

Open

Description

@Mike-7777777

Summary

The fixes in #9 are on main but were not published. reactbench/reactbench@v1.2 and @latest on Harbor Hub still serve the tasks from #8 (commit 7b650b86e8cb656343bef9efc6c9718647664845), so:

  1. Two agent images in the released version keep the environment fixture patch in /tmp. For one of them the patch shows the agent which code the task planted.
  2. dataset.toml on main lists digests that match none of the 39 task directories next to it, and the two run commands in the README evaluate different verifiers.

Publishing the current tasks as a new version resolves both.

Found while validating v1.2 for harbor-framework/harbor-datasets#280. Everything else held up: oracle 117/117 and no-op agent 0/117 over 3 attempts per task, with no trial exceptions.

1. Fixture patch left in the agent image (released v1.2)

Task Files left in /tmp of the agent image
theduffman85-crowdsec-web-ui-258 custom.patch (1,737 bytes), pnpm-lock.yaml
seasonedcc-remix-forms-411 task-fixture.patch (4,545 bytes), pnpm-lock.yaml

Reproduce:

git checkout 7b650b86e8cb656343bef9efc6c9718647664845
docker build -t rb-crowdsec tasks/theduffman85-crowdsec-web-ui-258/environment
docker run --rm --network none rb-crowdsec ls -la /tmp

For theduffman85-crowdsec-web-ui-258, custom.patch is the diff that plants the task's regressions on top of the upstream commit: the focus-stealing useEffect in Modal.tsx, the onSubmitCapture reset in Decisions.tsx and the pointer-events rule in index.css. All 10 lines it adds are lines the reference solution removes, and the one line it removes is a line the reference solution restores. An agent that lists /tmp is told which code was planted.

For seasonedcc-remix-forms-411 the leftover patch only touches packages/remix-forms/src/component-types.test-d.ts and shares no line with the reference solution, so it is a hygiene issue there.

The other 37 agent images have an empty /tmp. None of the 39 contains solution.patch, solve.sh, expected-tests.json or test.patch.

#9 already removes these files from both Dockerfiles (rm -rf ... /tmp/custom.patch /tmp/pnpm-lock.yaml); the Hub release does not have that change.

2. dataset.toml and tasks/ on main

Harbor content digest of each task directory (harbor.publisher.packager.Packager.compute_content_hash, Harbor 0.25.0):

Commit Task digests equal to dataset.toml Compared with harbor download reactbench/reactbench@v1.2
7b650b8 (#8) 39 / 39 identical, 0 differing files
68312a0 (#9, main) 0 / 39 41 differing files

#9 changed 41 files under tasks/: all 39 tests/test.sh (adds node_modules to the directories excluded when the agent patch is applied) and the two Dockerfiles above. dataset.toml still declares version 1.2.0 with the #8 digests.

Consequence: uv run harbor run -p tasks from a fresh clone uses the #9 verifier, while uvx harbor run -d reactbench/reactbench@v1.2 uses the #8 verifier, and the README does not say which commit a release corresponds to.

Suggested fix

  • Publish the Sync public benchmark with internal main #9 tasks as a new version with the steps in the comment at the top of dataset.toml (harbor publish tasks/* --public, harbor sync -u, harbor publish . --no-tasks --public).
  • Tag each release commit in git (v1.2 is 7b650b8), so a version can be pinned from the repository as well as from the Hub.

How this was checked

Harbor 0.25.0, Docker 20.10.24, linux/amd64. All 39 agent images were built from 7b650b8 and inspected with --network none. @latest was downloaded again on 2026-11-12 and is still identical to 7b650b8.

Activity

  1. Mike-7777777 commented on Nov 12, 2026

    @Mike-7777777
    Author

    This repository only accepts pull requests from collaborators, so here is the small README change I would have proposed, as a branch you can pull from or copy:

    main...Mike-7777777:reactbench:readme-release-commits

    It adds one table after the Hub run command, mapping a Hub version to its commit (documentation only, one file):

    `main` can be ahead of the latest Hub release. To reproduce a released version from a clone, check out its commit:
    
    | Hub version | Commit |
    | --- | --- |
    | `v1.2` | [`7b650b8`](https://github.com/millionco/reactbench/tree/7b650b86e8cb656343bef9efc6c9718647664845) |

    dataset.toml is untouched there: its digests should come from harbor sync -u after the #9 tasks are published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions