Commit Graph

5860 Commits

Author SHA1 Message Date
rhan-oai
0029d35e37 merge commit for archive created by Sapling 2026-04-15 15:11:53 -07:00
rhan-oai
9711349153 [codex-analytics] guardian review TTFT plumbing and emission 2026-04-15 15:09:36 -07:00
rhan-oai
d94e127f20 [codex-analytics] guardian review truncation 2026-04-15 15:09:36 -07:00
rhan-oai
882a371084 [codex-analytics] guardian review thread and token metadata 2026-04-15 15:09:36 -07:00
rhan-oai
2fd06c0371 [codex-analytics] guardian review analytics events emission 2026-04-15 15:09:36 -07:00
rhan-oai
902700ffaa merge commit for archive created by Sapling 2026-04-15 14:37:30 -07:00
rhan-oai
ed2f2344ea [codex-analytics] guardian review analytics events emission 2026-04-15 14:31:16 -07:00
rhan-oai
424021b1cb merge commit for archive created by Sapling 2026-04-14 21:20:15 -07:00
rhan-oai
f3ebdc78c3 merge commit for archive created by Sapling 2026-04-14 21:19:45 -07:00
rhan-oai
3bbdaaafc4 [codex-analytics] guardian review TTFT plumbing and emission 2026-04-14 18:37:00 -07:00
rhan-oai
eb2499434f [codex-analytics] guardian review truncation 2026-04-14 18:36:59 -07:00
rhan-oai
8c7403a86f [codex-analytics] guardian review thread and token metadata 2026-04-14 18:36:58 -07:00
rhan-oai
8627503001 [codex-analytics] emit tool item events from item lifecycle 2026-04-14 18:36:55 -07:00
rhan-oai
4fc3fcaf0d [codex-analytics] guardian review analytics schema polishing 2026-04-14 18:32:53 -07:00
rhan-oai
9f94b82841 [codex-analytics] guardian review analytics events emission 2026-04-14 18:32:53 -07:00
rhan-oai
10ec8d638c merge commit for archive created by Sapling 2026-04-14 18:31:40 -07:00
rhan-oai
aef23265a4 [codex-analytics] guardian review TTFT plumbing and emission 2026-04-14 18:12:28 -07:00
rhan-oai
53c40a342e [codex-analytics] guardian review truncation 2026-04-14 18:09:15 -07:00
rhan-oai
d9d9d08513 merge commit for archive created by Sapling 2026-04-14 18:04:41 -07:00
Won Park
2bfa627613 Fix for CI Tests failing from stack overflow (#17846)
### **Issue**
guardian_parallel_reviews_fork_from_last_committed_trunk_history was
failing on Windows/Bazel with a stack overflow:

`thread
'guardian::tests::guardian_parallel_reviews_fork_from_last_committed_trunk_history'
has overflowed its stack`

- This problem was a stack-headroom problem

### **Solution**

Reduced stack pressure in the guardian async path by boxing thin wrapper
futures, and run the affected test on a dedicated 2 MiB thread stack.

Concretely:
- added Box::pin(...) around thin async wrapper hops in the guardian
review/delegate path
- changed
guardian_parallel_reviews_fork_from_last_committed_trunk_history to run
inside an explicitly sized thread stack so it has enough headroom in
low-stack environments
2026-04-14 18:04:35 -07:00
rhan-oai
6c8a79680d [codex-analytics] add tool item event schemas 2026-04-14 18:03:29 -07:00
rhan-oai
bd6bd34a70 [codex-analytics] emit tool item events from item lifecycle 2026-04-14 18:03:29 -07:00
rhan-oai
845d3dc3b5 [codex-analytics] ingest server requests and responses 2026-04-14 18:03:29 -07:00
rhan-oai
243abf943b merge commit for archive created by Sapling 2026-04-14 17:49:36 -07:00
rhan-oai
2aba74a11f [codex-analytics] emit tool item events from item lifecycle 2026-04-14 17:47:57 -07:00
rhan-oai
165fab9db4 merge commit for archive created by Sapling 2026-04-14 17:41:12 -07:00
rhan-oai
963a58a143 [codex-analytics] add tool item event schemas 2026-04-14 17:35:33 -07:00
rhan-oai
7ee3153b32 [codex-analytics] guardian review TTFT plumbing and emission 2026-04-14 17:34:42 -07:00
rhan-oai
be05015d7f [codex-analytics] guardian review truncation 2026-04-14 17:34:42 -07:00
rhan-oai
8dce026390 [codex-analytics] ingest server requests and responses 2026-04-14 17:33:01 -07:00
rhan-oai
e243d74e9d [codex-analytics] guardian review thread and token metadata 2026-04-14 17:30:31 -07:00
rhan-oai
38a7e25754 merge commit for archive created by Sapling 2026-04-14 16:15:26 -07:00
rhan-oai
6424152e3b [codex-analytics] emit tool item events from item lifecycle 2026-04-14 16:13:16 -07:00
rhan-oai
850e4a88aa [codex-analytics] add tool item event schemas 2026-04-14 16:13:16 -07:00
xli-oai
3cc689fb23 [codex] Support local marketplace sources (#17756)
## Summary

- Port marketplace source support into the shared core marketplace-add
flow
- Support local marketplace directory sources
- Support direct `marketplace.json` URL sources
- Persist the new source types in config/schema and cover them in CLI
and app-server tests

## Validation

- `cargo test -p codex-core marketplace_add`
- `cargo test -p codex-cli marketplace_add`
- `cargo test -p codex-app-server marketplace_add`
- `just write-config-schema`
- `just fmt`
- `just fix -p codex-core`
- `just fix -p codex-cli`

## Context

Current `main` moved marketplace-add behavior into shared core code and
still assumed only git-backed sources. This change keeps that structure
but restores support for local directories and direct manifest URLs in
the shared path.
2026-04-14 15:58:14 -07:00
pakrym-oai
96254a763a Make skill loading filesystem-aware (#17720)
Migrates skill loading to support reading repo skills from the remote
environment.
2026-04-14 15:40:40 -07:00
Michael Bolin
5ecaf09ab0 Add Bazel verify-release-build job (#17705)
## Why

`main` recently needed
[#17691](https://github.com/openai/codex/pull/17691) because code behind
`cfg(not(debug_assertions))` was not being compiled by the Bazel PR
workflow. Our existing CI only built the fast/debug configuration, so
PRs could stay green while release-only Rust code still failed to
compile. This PR adds a release-style compile check that is cheap enough
to run on every PR.

## What Changed

- Added a `verify-release-build` job to `.github/workflows/bazel.yml`.
- Represented each supported OS once in that job's matrix: x64 Linux,
arm64 macOS, and x64 Windows.
- Kept the build close to fastbuild cost by using
`--compilation_mode=fastbuild` while forcing Rust to compile with
`-Cdebug-assertions=no`, which makes `cfg(not(debug_assertions))` true
without also turning on release optimizations or debug-info generation.
- Added comments in `.github/workflows/bazel.yml` and
`scripts/list-bazel-release-targets.sh` to make the job's intent and
target scope explicit.
- Restored the Bazel repository cache save behavior to run after every
non-cancelled job, matching
[#16926](https://github.com/openai/codex/pull/16926), and removed the
now-unused `repository-cache-hit` output from `prepare-bazel-ci`.
- Reused the shared `prepare-bazel-ci` action from the parent PR so the
new job does not duplicate Bazel setup boilerplate.

## Verification

- Used `bazel aquery` on `//codex-rs/tui:codex-tui` to confirm the Rust
compile still uses `opt-level=0` and `debuginfo=0` while passing
`-Cdebug-assertions=no`.
- Parsed `.github/workflows/bazel.yml` as YAML locally.
- Ran `bash -n scripts/list-bazel-release-targets.sh`.
2026-04-14 15:36:51 -07:00
rhan-oai
792b2a4a5f merge commit for archive created by Sapling 2026-04-14 15:19:32 -07:00
rhan-oai
8de41717a0 [codex-analytics] guardian review analytics events emission 2026-04-14 15:02:07 -07:00
rhan-oai
fe59c96625 [codex-analytics] guardian review TTFT plumbing and emission 2026-04-14 15:02:07 -07:00
rhan-oai
7c56f2c334 [codex-analytics] guardian review analytics schema polishing 2026-04-14 15:02:07 -07:00
rhan-oai
897b8c7f88 [codex-analytics] guardian review truncation 2026-04-14 15:02:07 -07:00
rhan-oai
96d7f9649b [codex-analytics] guardian review thread and token metadata 2026-04-14 15:02:07 -07:00
malone hedges
78835d7e63 Adjust default tool search result caps (#17684)
## Summary

- Allows selected MCP results to return a larger default result set.
- Keeps the existing default cap for other MCP results.
- Applies the cap consistently when higher explicit limits are
requested.

## Testing

- `cargo test -p codex-core tool_search`
- Ran a local CLI smoke test with two stdio MCP servers exposing 100
tools each; the selected-server query returned 20 tools and the
regular-server query returned 8.
2026-04-14 14:57:19 -07:00
rhan-oai
aeddff7380 merge commit for archive created by Sapling 2026-04-14 14:55:09 -07:00
rhan-oai
a22658d75f [codex-analytics] guardian review TTFT plumbing and emission 2026-04-14 14:51:54 -07:00
rhan-oai
15ca8c08c9 [codex-analytics] guardian review truncation 2026-04-14 14:51:54 -07:00
rhan-oai
1e05f08528 [codex-analytics] guardian review thread and token metadata 2026-04-14 14:51:54 -07:00
rhan-oai
e7ae68e145 [codex-analytics] guardian review analytics events emission 2026-04-14 14:51:54 -07:00
rhan-oai
3bf623bd90 [codex-analytics] guardian review analytics schema polishing 2026-04-14 14:51:54 -07:00