core-agent-ide/codex-rs/app-server/tests/suite/v2
Ahmed Ibrahim 2bc3e52a91
Stabilize app list update ordering test (#14052)
## Summary
- make
`list_apps_waits_for_accessible_data_before_emitting_directory_updates`
accept the two valid notification paths the server can emit
- keep rejecting the real bug this test is meant to catch: a
directory-only `app/list/updated` notification before accessible app
data is available

## Why this fixes the flake
The old test used a fixed `150ms` silence window and assumed the first
notification after that window had to be the fully merged final update.
In CI, scheduling occasionally lets accessible app data arrive before
directory data, so the first valid notification can be an
accessible-only interim update. That made the test fail even though the
server behavior was correct.

This change makes the test deterministic by reading notifications until
the final merged payload arrives. Any interim update is only accepted if
it contains accessible apps only; if the server ever emits inaccessible
directory data before accessible data is ready, the test still fails
immediately.

## Change type
- test-only; no production app-list logic changes
2026-03-09 00:16:13 -07:00
..
account.rs [codex] include plan type in account updates (#13181) 2026-03-01 13:43:37 -08:00
analytics.rs feat(app-server): add tracing to all app-server APIs (#13285) 2026-03-02 16:01:41 -08:00
app_list.rs Stabilize app list update ordering test (#14052) 2026-03-09 00:16:13 -07:00
collaboration_mode_list.rs Enable request_user_input in Default mode (#12735) 2026-02-25 15:20:46 -08:00
command_exec.rs app-server: Add streaming and tty/pty capabilities to command/exec (#13640) 2026-03-06 17:30:17 -08:00
compaction.rs Treat compaction failure as failure state (#10927) 2026-02-06 13:51:46 -08:00
config_rpc.rs [app-server] Support hot-reload user config when batch writing config. (#13839) 2026-03-08 17:38:01 -07:00
connection_handling_websocket.rs app-server: Add streaming and tty/pty capabilities to command/exec (#13640) 2026-03-06 17:30:17 -08:00
connection_handling_websocket_unix.rs treat SIGTERM like ctrl-c for graceful shutdown (#13594) 2026-03-05 18:16:58 +00:00
dynamic_tools.rs Add under-development original-resolution view_image support (#13050) 2026-03-03 15:56:54 -08:00
experimental_api.rs Add app-server v2 thread realtime API (#12715) 2026-02-25 09:59:10 -08:00
experimental_feature_list.rs Agent jobs (spawn_agents_on_csv) + progress UI (#10935) 2026-02-24 21:00:19 +00:00
initialize.rs Stabilize abort task follow-up handling (#13874) 2026-03-07 22:56:00 -08:00
mcp_server_elicitation.rs [elicitations] Switch to use MCP style elicitation payload for mcp tool approvals. (#13621) 2026-03-06 01:50:26 -08:00
mod.rs Add request permissions tool (#13092) 2026-03-08 20:23:06 -07:00
model_list.rs Add model availability NUX metadata (#12972) 2026-02-26 22:02:57 -08:00
output_schema.rs Add text element metadata to types (#9235) 2026-01-14 16:41:50 -08:00
plan_item.rs chore: rm remote models fflag (#11699) 2026-02-17 11:43:16 -08:00
plugin_install.rs feat: Add curated plugin marketplace + Metadata Cleanup. (#13712) 2026-03-06 19:39:35 -05:00
plugin_list.rs feat: Add curated plugin marketplace + Metadata Cleanup. (#13712) 2026-03-06 19:39:35 -05:00
rate_limits.rs chore(app-server): delete v1 RPC methods and notifications (#13375) 2026-03-03 13:18:25 -08:00
realtime_conversation.rs Refine realtime startup context formatting (#13560) 2026-03-05 16:31:20 -08:00
request_permissions.rs Add request permissions tool (#13092) 2026-03-08 20:23:06 -07:00
request_user_input.rs app-server: Replay pending item requests on thread/resume (#12560) 2026-02-27 12:45:59 -08:00
review.rs app-server: Silence thread status changes caused by thread being created (#13079) 2026-03-03 00:52:28 +00:00
safety_check_downgrade.rs Chore: remove response model check and rely on header model for downgrade (#12061) 2026-02-18 01:50:06 +00:00
skills_list.rs feat(app-server): add a skills/changed v2 notification (#13414) 2026-03-03 17:01:00 -08:00
thread_archive.rs feat(app-server): thread/unsubscribe API (#10954) 2026-02-25 13:14:30 -08:00
thread_fork.rs app-server: Silence thread status changes caused by thread being created (#13079) 2026-03-03 00:52:28 +00:00
thread_list.rs feat: simplify DB further (#13771) 2026-03-07 03:48:36 -08:00
thread_loaded_list.rs [chore] move app server tests from chat completion to responses (#8939) 2026-01-08 22:27:55 +00:00
thread_metadata_update.rs feat: simplify DB further (#13771) 2026-03-07 03:48:36 -08:00
thread_name_websocket.rs app-server: Emit thread/name/updated event globally (#13674) 2026-03-06 10:25:18 -08:00
thread_read.rs app-server: Update thread/name/set to support not-loaded threads (#13282) 2026-03-02 15:13:18 -08:00
thread_resume.rs fix(ci): restore guardian coverage and bazel unit tests (#13912) 2026-03-08 12:05:19 -07:00
thread_rollback.rs Add field to Thread object for the latest rename set for a given thread (#12301) 2026-02-20 18:26:57 -08:00
thread_start.rs support 'flex' tier in app-server in addition to 'fast' (#13391) 2026-03-03 22:46:05 -08:00
thread_status.rs app-server: expose loaded thread status via read/list and notifications (#11786) 2026-02-18 15:20:03 -08:00
thread_unarchive.rs Add field to Thread object for the latest rename set for a given thread (#12301) 2026-02-20 18:26:57 -08:00
thread_unsubscribe.rs fix(ci): restore guardian coverage and bazel unit tests (#13912) 2026-03-08 12:05:19 -07:00
turn_interrupt.rs app-server: Replay pending item requests on thread/resume (#12560) 2026-02-27 12:45:59 -08:00
turn_start.rs Add thread metadata update endpoint to app server (#13280) 2026-03-03 15:56:11 -08:00
turn_start_zsh_fork.rs fix(app-server): fix turn_start_shell_zsh_fork_executes_command_v2 flake (#13770) 2026-03-06 10:10:16 -08:00
turn_steer.rs Enforce user input length cap (#12823) 2026-02-25 22:23:51 -08:00
windows_sandbox_setup.rs app-server: require absolute cwd for windowsSandbox/setupStart (#13833) 2026-03-06 22:47:08 -08:00