Commit graph

8 commits

Author SHA1 Message Date
00xcyd
e9c8a988b0 sandbox: make the runner Docker socket configurable
The runner always dials /var/run/docker.sock, and all three Compose files
mount that exact host path. Rootless Podman exposes its API under
XDG_RUNTIME_DIR, so the install builds four images and then leaves an
unhealthy runner.

Mount ${ARTEX_DOCKER_SOCK:-/var/run/docker.sock} at the fixed in-container
path instead, and resolve the host side in install.sh/update.sh: an explicit
Unix DOCKER_HOST wins, otherwise a Podman engine is asked for its socket.
The resolver refuses non-Unix DOCKER_HOST values, symlinks, missing sockets,
sockets the invoking user cannot use, and world-writable sockets.

Only the host side is configurable. The in-container path stays fixed so
every deployment dials one known socket and no runtime input can point the
runner elsewhere, and artex-runner remains the only service that mounts it.

Refs #742
2026-12-01 23:40:14 +00:00
BaaRai
759802d41e refactor(web): shared reducer slices; useReducer for the function pages (#603)
Rebased onto origin/main (becc47a) keeping URL query state (useQueryState /
useRecordHistory from #641) as the single source of truth across all six
function pages (assets, commands, findings, llm-records, traffic, workspace):
each reducer initializes from and resynchronizes with the URL (including
back/forward), and handlers write to the URL then dispatch.

Preserves all existing web test scripts and wires test:reducers into CI and
scripts/verify.sh.

Co-authored-by: sisantaChhatoi <sisantachhatoi@gmail.com>
2026-11-29 01:02:27 +01:00
BaaRai
515081377c feat(web): restore browser history navigation across console views (#641)
Rebased on top of Lot 1 security stack (#660): keeps both test:sse and
test:navigation in web/package.json.

Co-authored-by: renaesop <njurjs@gmail.com>
2026-11-28 23:43:43 +01:00
Gaurav Patidar
52a2a6ac87 Added govulncheck to CI and local verification 2026-11-23 20:24:16 +05:30
BaaRai
8514a6ddcd merge origin/main into feat/stream-direction-filter 2026-11-22 22:46:15 +01:00
APZN
6acfd51004 feat(web): add direction filters to recorded stream messages 2026-11-23 00:40:40 +09:00
APZN
214b1b322b fix(bench): validate judge verdicts before scoring 2026-11-23 00:37:41 +09:00
Alexandrelab-200
db0aae3657 Refactor PostgreSQL test skipping logic
- Introduced uniform skipping functions in the db package: SkipPGUnavailable and SkipNoPG.
- Updated all relevant test files to utilize these new functions for better consistency and readability.
- Added new db/testpg.go file to house the skipping logic.
- Created architecture and operations documentation to provide a comprehensive overview of the ARTEX system.
- Added a verification script to streamline local testing and ensure code quality.
2026-11-19 14:23:29 -03:00