Skip to content

Commit 0ec9e57

Browse files
committed
chore: expand Codex environment setup
1 parent b17d013 commit 0ec9e57

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

.agents/codex-setup

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
# Install the tooling required to build and test the CodeTracer project.
5+
# The list of packages is derived from `Justfile` and `flake.nix`.
26

37
AGENTS_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
4-
cd $AGENTS_DIR
8+
cd "$AGENTS_DIR"
59

610
apt-get update
7-
apt-get install -y --no-install-recommends just
11+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
12+
python3 python3-pip python3-venv python3-dev \
13+
cargo rustc just pkg-config capnproto
14+
15+
pip3 install --no-cache-dir --break-system-packages maturin uv

.agents/tasks/2025/08/15-1323-initial-test-suite

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,17 @@ If the module turns out to be missing functions or types required for the test,
99
If a test can be written both in Python and in Rust prefer writing it in Python.
1010
If a code modification needs to be done in the module and it is possible to do it both in Python and in Rust, prefer writing it in Python.
1111

12-
If there is any item in the test suite which doesn't contain enough
12+
If there is any item in the test suite which doesn't contain enough
13+
--- FOLLOW UP TASK ---
14+
Create a script Hit:2 https://mise.jdx.dev/deb stable InRelease
15+
Hit:1 https://apt.llvm.org/noble llvm-toolchain-noble-20 InRelease
16+
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
17+
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
18+
Hit:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease
19+
Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease
20+
Reading package lists...
21+
Reading package lists...
22+
Building dependency tree...
23+
Reading state information...
24+
just is already the newest version (1.21.0-1).
25+
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded. which will be used in future to set-up the Codex environment for development and testing of this project. Base this on what you see in Justfile and flake.nix. Note that not all packages described in flake.nix will be needed in the Codex environment, but we do care about building the project and running the tests.

0 commit comments

Comments
 (0)