Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andrewyng/openworker
/ functions
Functions
8,537 in github.com/andrewyng/openworker
⨍
Functions
8,537
◇
Types & classes
636
↳
Endpoints
260
Function
test_stop_during_thinking_keeps_partial_reasoning
(tmp_path)
tests/test_engine_stop.py:323
Function
test_stop_mid_stream_keeps_partial_text
(tmp_path)
tests/test_engine_stop.py:68
Function
test_stop_skips_remaining_tool_calls
(tmp_path)
tests/test_engine_stop.py:231
Function
test_stop_while_awaiting_approval
(tmp_path)
tests/test_engine_stop.py:199
Function
test_storage_reports_remaining_lifetime_and_blanks_stale_access
The SDK never computes expiry for tokens loaded from storage and treats a None expiry as valid-forever — so storage must (a) report the REMAINING
tests/test_mcp_oauth.py:207
Function
test_storage_treats_unknown_token_age_as_stale
Tokens persisted before issued_at existed have unknown age — assume stale (blank access, keep refresh) rather than sending an hour-old bearer.
tests/test_mcp_oauth.py:242
Function
test_store_crud_and_due
(tmp_path)
tests/test_automation.py:110
Function
test_store_crud_and_persistence
(tmp_path)
tests/test_subscriptions.py:87
Function
test_store_cursor_read_and_subscribe
(tmp_path)
tests/test_audit_export.py:112
Function
test_store_managed_grant_stages_into_ephemeral_store
The staging store produces exactly the keys a fresh connect writes — account profile + default pointer for gmail, a bare default for notion —
tests/test_cloud_server.py:243
Function
test_store_runs_history
(tmp_path)
tests/test_automation.py:128
Function
test_stream_accumulates_signatures_across_chunks
()
tests/test_gemini_provider.py:549
Function
test_stream_accumulates_split_tool_json
()
tests/test_anthropic_provider.py:404
Function
test_stream_accumulates_thinking_and_signature
()
tests/test_anthropic_provider.py:601
Function
test_stream_accumulates_tool_calls
()
tests/test_providers.py:264
Function
test_stream_collects_function_calls_across_chunks
()
tests/test_gemini_provider.py:418
Function
test_stream_falls_back_to_deltas_when_no_items_repeat_anywhere
()
tests/test_openai_responses.py:601
Function
test_stream_final_turn_carries_tool_calls_and_sidecar
()
tests/test_openai_responses.py:558
Function
test_stream_handles_enum_like_finish_reason
()
tests/test_gemini_provider.py:435
Function
test_stream_joins_deltas_under_the_field_they_arrived_in
()
tests/test_reasoning_replay.py:67
Function
test_stream_messages_match_the_protobuf_wire_format
()
tests/test_sandbox_openshell.py:66
Function
test_stream_mixed_text_and_tool_blocks
()
tests/test_anthropic_provider.py:428
Function
test_stream_passes_stream_flag
()
tests/test_anthropic_provider.py:456
Function
test_stream_reasoning_content_deltas
DeepSeek-style thinking: reasoning_content deltas surface as reasoning chunks and land on the final turn — never mixed into the answer text.
tests/test_providers.py:560
Function
test_stream_rebuilds_turn_when_terminal_output_is_empty
The subscription backend leaves `output` EMPTY on response.completed — items only ever stream. The turn must be rebuilt from the output_item.done
tests/test_openai_responses.py:578
Function
test_stream_request_headers_and_body
(tmp_path, monkeypatch)
tests/test_codex_provider.py:307
Function
test_stream_requests_stream_flag
()
tests/test_openai_responses.py:645
Function
test_stream_terminal_event_carries_usage
()
tests/test_openai_responses.py:624
Function
test_stream_text_deltas
()
tests/test_providers.py:255
Function
test_stream_without_terminal_event_keeps_accumulated_text
()
tests/test_openai_responses.py:614
Function
test_stream_yields_deltas_then_final_turn_from_completed_event
()
tests/test_openai_responses.py:529
Function
test_stream_yields_reasoning_deltas_for_thought_parts
()
tests/test_gemini_provider.py:626
Function
test_stream_yields_text_deltas_then_final_turn
()
tests/test_gemini_provider.py:402
Function
test_stream_yields_text_deltas_then_final_turn
()
tests/test_anthropic_provider.py:375
Function
test_streaming_emits_deltas
(tmp_path)
tests/test_engine.py:305
Function
test_stub_marker_never_reaches_a_provider_and_survives_persistence
(tmp_path)
tests/test_truncation_continuation.py:223
Function
test_stub_run_passes_all_gates_because_stub_knows_the_key
()
tests/test_shadow_eval.py:269
Method
test_subdir_keys_to_repo
(self, repo)
tests/test_projects.py:55
Function
test_subscribe_rejects_bare_channel_names
(tmp_path)
tests/test_subscriptions.py:48
Function
test_subscribe_route_registers_at_the_cloud_first
(tmp_path, monkeypatch)
tests/test_subscriptions.py:337
Function
test_subscribe_unsubscribe_and_recent_endpoints
(tmp_path)
tests/test_subscriptions.py:207
Function
test_subscribed_coworker_overrides_router
(tmp_path, monkeypatch)
tests/test_mention_router.py:202
Function
test_subscriptions_endpoint_and_collision
(tmp_path)
tests/test_subscriptions.py:188
Function
test_successful_git_exit_alone_does_not_prove_verified_head
(handoff)
tests/test_team_git_handoff.py:118
Function
test_successful_self_wake_ends_turn_without_another_model_call
(manager)
tests/test_team_live_gaps.py:227
Function
test_summarize_span_passes_model_and_budget
()
tests/test_compaction.py:236
Function
test_summarize_span_refuses_an_unusable_summary
OPE-189: 'not empty' accepted a 61-char next-action sentence as the coworker's whole memory of 75 turns. Empty, too short, and role-slipped replie
tests/test_compaction.py:245
Function
test_summarizer_failure_attended_choose_trim
(tmp_path)
tests/test_compaction_engine.py:180
Function
test_summarizer_failure_attended_prompts_retry_then_succeeds
(tmp_path)
tests/test_compaction_engine.py:161
Function
test_summarizer_failure_unattended_auto_trims
(tmp_path)
tests/test_compaction_engine.py:148
Function
test_summarizer_instruction_comes_after_the_transcript
OPE-189: recency decides. With the instruction only up front, the last thing the model read was the coworker mid-task and it continued that voice
tests/test_compaction.py:206
Function
test_summarizer_messages_clip_tool_results_and_fold_prior
()
tests/test_compaction.py:196
Function
test_summary_budget_config_and_env
OPE-189: the summariser's output ceiling is a setting, not a constant — on a reasoning model it is shared with the model's thinking.
tests/test_compaction_transcript.py:136
Function
test_summary_quality_problem_names_the_fault
()
tests/test_compaction.py:258
Function
test_summary_round_trip
(tmp_path)
tests/test_memory.py:76
Function
test_superagent_surface_is_gone
(tmp_path)
tests/test_dm_routing.py:103
Function
test_superseded_gate_never_executes_or_grants_permission
(tmp_path)
tests/test_team_live_gaps.py:236
Function
test_surface_toggle_filters_picker_but_keeps_resolvable
(tmp_path, internal)
tests/test_persona_registry.py:111
Function
test_surface_visibility
(tmp_path, monkeypatch)
tests/test_provider_router.py:529
Function
test_swe_lead_can_answer_the_channels_it_listens_to
()
tests/test_reviewer_persona.py:48
Function
test_swe_lead_is_reachable_on_github_and_slack
()
tests/test_configured_spawn.py:280
Function
test_switch_model_appends_notice_only_midsession
(tmp_path)
tests/test_engine.py:386
Function
test_switch_model_warns_when_images_meet_text_only_model
(tmp_path)
tests/test_engine.py:402
Function
test_sync_connections_pre_restore_rows_fall_back_to_primary
Rows written before the broker stored the installations list carry only the primary install in tenant_metadata — restore that one.
tests/test_cloud.py:188
Function
test_sync_connections_requires_sign_in_and_survives_errors
( secrets, config, monkeypatch )
tests/test_cloud.py:204
Function
test_sync_connections_restores_github_installs
Gate: a fresh desktop rebuilds EVERY github install profile from the broker's metadata after sign-in — routing fields only, tokens mint on demand.
tests/test_cloud.py:154
Function
test_system_becomes_cached_block_list
()
tests/test_anthropic_caching.py:21
Function
test_systemd_unit_content
(tmp_path)
tests/test_remote_home.py:1648
Function
test_taint_and_attribution_survive_the_read
(journal)
tests/test_team_journal.py:153
Function
test_taint_travels_with_the_record
(store)
tests/test_team_store.py:104
Function
test_target_invalid
()
tests/test_connectors.py:34
Function
test_target_round_trip
()
tests/test_connectors.py:27
Function
test_targeted_event_goes_only_to_the_named_session
(tmp_path, monkeypatch)
tests/test_subscriptions.py:389
Function
test_task_engine_has_no_scheduling_tools
A scheduled run executes its instructions — it must not be able to (re)schedule. With instructions like 'every day at 5:32pm, prepare…', an agent
tests/test_automation.py:302
Function
test_task_for_run_session
(tmp_path)
tests/test_standing_approvals.py:232
Function
test_task_gets_own_thread_id
()
tests/test_automation.py:58
Function
test_task_rule_helpers
()
tests/test_standing_approvals.py:61
Function
test_task_rules_cover_connector_tools
(tmp_path)
tests/test_standing_approvals.py:170
Function
test_team_card_payload_carries_models_for_the_machine_the_workers_run_on
(manager, monkeypatch)
tests/test_worker_connectors.py:495
Function
test_team_options_lists_only_enabled_workers
(manager)
tests/test_team_wake.py:229
Function
test_team_trait_parses_and_gates_capabilities
()
tests/test_team_wake.py:32
Function
test_telegram_button_cannot_resolve_a_protected_approval
(tmp_path)
tests/test_telegram_approval_bypass.py:50
Function
test_telegram_is_never_prefixed
(tmp_path)
tests/test_sender_attribution.py:89
Function
test_telegram_message_mapper
()
tests/test_connectors.py:560
Function
test_telegram_reply_can_still_answer_a_question
(tmp_path)
tests/test_telegram_approval_bypass.py:83
Function
test_telegram_reply_cannot_resolve_a_protected_approval
(tmp_path)
tests/test_telegram_approval_bypass.py:41
Function
test_telegram_send_message
(tmp_path)
tests/test_chat_tools.py:118
Function
test_temp_file_is_never_group_or_world_readable_mid_write
The regression itself. Hooks `_restrict_to_user`, which both the old and the new writer call, and samples the temp's mode at that moment. Old
tests/test_secrets_file_mode.py:37
Function
test_text_attachment_is_inlined
()
tests/test_attachments.py:65
Function
test_text_pages_pin_version_and_replay
(manager, tmp_path)
tests/test_team_file_artifacts.py:59
Function
test_the_agent_is_told_the_live_list_each_turn
(tmp_path)
tests/test_network_access.py:244
Function
test_the_agent_is_told_what_it_now_has_and_what_the_sandbox_could_not_take
(tmp_path)
tests/test_network_access.py:101
Function
test_the_app_never_installs_openshell_it_points_at_the_guide
UX-053 v6: the user installs Docker and OpenShell; the row links to NVIDIA's guide.
tests/test_sandbox_setup_job.py:69
Function
test_the_catalogue_offers_sites_and_an_unknown_profile_is_refused
()
tests/test_sandbox_seatbelt.py:153
Function
test_the_default_mode_asks_and_with_no_terminal_the_card_is_refused
(tmp_path: Path)
tests/test_run_cli.py:134
Function
test_the_desktop_and_the_terminal_app_stay_direct
(monkeypatch)
tests/test_sandbox_selection.py:25
Function
test_the_download_floor_outranks_a_command_allowlist
(tmp_path)
tests/test_auto_approve.py:950
Function
test_the_download_reports_progress_and_can_be_cancelled
(monkeypatch)
tests/test_sandbox_setup_job.py:140
Function
test_the_earlier_flag_names_are_gone
(tmp_path: Path, old: list[str])
tests/test_headless_run.py:392
Function
test_the_environment_wins_over_the_config_and_unknown_names_are_refused
(monkeypatch)
tests/test_sandbox_selection.py:53
← previous
next →
8,001–8,100 of 8,537, ranked by callers