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_protocol_mismatch_rejected
(tmp_path)
tests/test_remote_home.py:369
Function
test_provenance_rows_actually_carry_the_fact_they_test
()
tests/test_shadow_eval.py:353
Function
test_provider_adapters_drop_ts
Defense in depth: the native Anthropic/Gemini payload builders rebuild messages from role/content, so a `ts` that somehow slipped past the engine
tests/test_message_timestamps.py:123
Function
test_provider_builders
(monkeypatch)
tests/test_provider_router.py:443
Function
test_provider_change_clears_web_search_session_grant
(manager)
tests/test_approval_integrity.py:100
Function
test_provider_error_is_unsure_not_raised
()
tests/test_auto_approve.py:413
Function
test_provider_error_mid_stream_keeps_partial_text
(tmp_path)
tests/test_engine_stop.py:118
Function
test_provider_extras_persist_on_message_and_survive_outbound
A turn's provider-private sidecar (`extras`, e.g. Gemini thought signatures) rides the persisted assistant message and is NOT stripped by _outboun
tests/test_engine.py:367
Function
test_provider_failure_is_swallowed
(tmp_path)
tests/test_autotitle.py:135
Function
test_provider_payload_never_carries_ts
(tmp_path)
tests/test_message_timestamps.py:93
Function
test_provider_seeds_and_persists_oauth_metadata
The refresh grant runs BEFORE the SDK's discovery, so the provider must seed persisted authorization-server metadata at load — otherwise refresh
tests/test_mcp_oauth.py:258
Function
test_provider_set_and_remove_roundtrip
Settings ▸ Models "Remove key": DELETE /v1/providers/{name} forgets the stored profile so the provider reads unconfigured again; unknown names are
tests/test_server.py:1053
Function
test_provider_suggested_models
(tmp_path, monkeypatch)
tests/test_provider_router.py:555
Function
test_providers_list_shows_oauth_state
(tmp_path)
tests/test_codex_provider.py:470
Function
test_provision_temp_workspace_creates_dir_with_git
(tmp_path, monkeypatch)
tests/test_temp_workspace.py:36
Function
test_provision_temp_workspace_rejects_bad_ids
(tmp_path, monkeypatch)
tests/test_temp_workspace.py:57
Function
test_proxy_allows_the_grants_hosts_including_ssh_and_wildcards
()
tests/test_sandbox_credentials.py:150
Function
test_proxy_cannot_bypass_ownership_staleness_or_worker_floors
(manager, monkeypatch, mutation)
tests/test_team_rehearsal_fixes.py:58
Function
test_proxy_refuses_hosts_that_are_not_listed_and_says_why
()
tests/test_sandbox_seatbelt.py:103
Function
test_proxy_tunnels_a_listed_host
(monkeypatch)
tests/test_sandbox_seatbelt.py:117
Function
test_proxy_verdict_is_not_used_after_original_is_answered
(manager, monkeypatch)
tests/test_team_rehearsal_fixes.py:83
Function
test_public_hostname_is_allowed
(monkeypatch)
tests/test_url_address_guard.py:90
Function
test_public_literal_is_allowed
()
tests/test_url_address_guard.py:55
Function
test_publication_authority_before_read_and_after_copy
(manager, tmp_path, monkeypatch)
tests/test_team_file_artifacts.py:79
Function
test_publication_versions_shared_with_sibling_not_assigned_item
(manager, tmp_path)
tests/test_team_file_artifacts.py:26
Function
test_pull_image_parses_docker_output_and_streams_progress
(monkeypatch)
tests/test_sandbox_setup_job.py:195
Function
test_pull_partitions_rows_by_this_machine
(tmp_path, monkeypatch, cfg)
tests/test_subscription_sync.py:120
Function
test_push_and_open_pr_tools
The runtime pushes and opens the PR — the agent never handles a credential (machines spec: tools are the future sandbox boundary). Push publis
tests/test_github_installs.py:679
Function
test_push_wakes_share_the_sweep_pipeline
(tmp_path)
tests/test_triage_lead.py:39
Function
test_put_get_round_trip
(tmp_path)
tests/test_secrets.py:14
Function
test_py_grep_fallback_skips_ignored_dirs
(tmp_path)
tests/test_code_tools.py:87
Function
test_question_fields_match_the_gallery
(contract)
tests/test_gallery_contract.py:161
Function
test_question_is_urgent_but_not_an_approval
(manager)
tests/test_idle_checkins.py:246
Function
test_question_item_fields_grouped_surfaces_first_question
()
tests/test_ask_user_upgrades.py:81
Function
test_question_item_fields_nothing_asked
()
tests/test_ask_user_upgrades.py:95
Function
test_question_item_fields_plain_strings_pass_through
()
tests/test_ask_user_upgrades.py:65
Function
test_question_item_fields_rich_options_canonicalized
()
tests/test_ask_user_upgrades.py:72
Function
test_quickbooks_sandbox_environment
(tmp_path, monkeypatch)
tests/test_connectors.py:1537
Function
test_quiet_acknowledgement_survives_store_reopen
(manager)
tests/test_team_quiet_coordination.py:192
Function
test_quota_errors_are_translated
()
tests/test_model_errors.py:51
Function
test_rasterize_produces_valid_pngs
()
tests/test_pdf_support.py:70
Function
test_raw_captures_are_opt_in_on_read
(journal)
tests/test_team_journal.py:128
Function
test_raw_ids_route_by_name
()
tests/test_vertex_provider.py:59
Function
test_raw_junk_is_shrunk_before_it_enters_history
The unparsed text must not be replayed at full size: it costs tokens every turn and teaches the model that `_raw` is a shape to imitate.
tests/test_mangled_tool_calls.py:91
Function
test_raw_overflow_routes_into_compaction_and_retries
(tmp_path)
tests/test_compaction_engine.py:195
Function
test_read_always_allowed
(tmp_path)
tests/test_permissions_risk.py:67
Function
test_read_auto_allowed
(tmp_path)
tests/test_tools_permissions.py:60
Function
test_read_file_content_is_bounded_the_same_way
(tmp_path)
tests/test_tool_result_cap.py:60
Function
test_read_file_numbers_lines
(tmp_path)
tests/test_code_tools.py:124
Function
test_read_file_rejects_escape_and_non_files
(tmp_path)
tests/test_code_tools.py:154
Function
test_read_file_truncates_long_lines
(tmp_path)
tests/test_code_tools.py:146
Function
test_read_file_windows_and_tells_how_to_continue
(tmp_path)
tests/test_code_tools.py:134
Function
test_read_only_modes_and_self_protection_are_not_approvals_and_stay
(tmp_path, monkeypatch)
tests/test_dangerous_mode.py:119
Function
test_read_only_modes_block_consequential
(tmp_path, mode)
tests/test_permissions_risk.py:74
Function
test_read_only_modes_ignore_task_rules
(tmp_path)
tests/test_standing_approvals.py:187
Function
test_read_only_modes_still_refuse_outright_rather_than_asking
(tmp_path, mode)
tests/test_auto_approve.py:1011
Function
test_read_returns_body_and_attachment_list
(tmp_path)
tests/test_email_tools.py:242
Function
test_read_targets_is_empty_for_commands_the_classifier_rejects
()
tests/test_readonly_scoping.py:159
Function
test_read_targets_names_the_files_and_not_the_arguments
(command, expected)
tests/test_readonly_scoping.py:155
Function
test_reading_tools_answer_alike
(twins, name, args, kwargs)
tests/test_sandbox_tools.py:111
Function
test_reads_and_unrelated_tools_create_nothing
()
tests/test_provenance.py:81
Function
test_reads_inside_the_granted_folder_still_run_unprompted
(session, command)
tests/test_readonly_scoping.py:51
Function
test_reads_outside_every_root_now_ask
(session, command)
tests/test_readonly_scoping.py:67
Function
test_real_bolt_dispatches_both_envelope_shapes
(fake_slack)
tests/test_fake_slack.py:213
Function
test_real_manager_summary_and_current_wait
(tmp_path, monkeypatch)
tests/test_team_view.py:164
Function
test_reap_leaves_a_sandbox_that_a_living_server_is_still_creating
(tmp_path, monkeypatch)
tests/test_sandbox_openshell.py:191
Function
test_reasoning_streams_persists_and_never_reaches_providers
(tmp_path)
tests/test_engine_stop.py:301
Function
test_reasoning_summary_capability_rejects_unknown_mode
()
tests/test_openai_responses.py:355
Function
test_reassignment_interrupts_previous_busy_owner
(manager)
tests/test_team_quiet_coordination.py:103
Function
test_reassignment_revokes_status_and_clears_old_line
(store)
tests/test_team_view.py:54
Function
test_rebinding_after_the_check_cannot_reach_loopback
A ~0-TTL record that flips to 127.0.0.1 between check and connect must not matter: the connection goes to the address that passed the check.
tests/test_url_address_guard.py:173
Function
test_rebuild_reproduces_the_projection
(store)
tests/test_team_store.py:85
Function
test_recent_absent_when_no_gateway
(tmp_path)
tests/test_connectors_allowlist.py:95
Function
test_recent_workspaces_exclude_scratch_dirs
(tmp_path)
tests/test_server.py:816
Function
test_recommended_models_is_read_as_an_alias
()
tests/test_persona_models.py:36
Function
test_recommended_models_without_a_window_are_exactly_the_known_set
A recommendation without a window compacts on the 128k guess. New ones must not slip in silently; verified ones must leave the allowlist.
tests/test_matrix_current_models.py:89
Function
test_recommending_an_undeclared_connector_is_author_drift
()
tests/test_persona_manifest.py:70
Function
test_recommends_not_validated_against_shipped_connectors
()
tests/test_persona_manifest.py:195
Function
test_recommends_parsed
()
tests/test_persona_manifest.py:186
Function
test_reconcile_on_resume
(tmp_path)
tests/test_inbox.py:49
Function
test_reconnect_does_not_clobber_secret_or_allowlist
(tmp_path)
tests/test_connectors.py:430
Function
test_reconnect_without_token_uses_challenge
(tmp_path)
tests/test_remote_home.py:338
Function
test_recursive_listing_shows_folders_and_files
(tmp_path)
tests/test_list_files_folders.py:33
Function
test_redirect_into_loopback_is_blocked_before_the_second_request
(monkeypatch)
tests/test_url_address_guard.py:134
Function
test_redirect_loop_is_bounded
(monkeypatch)
tests/test_url_address_guard.py:152
Function
test_references_and_cycles_are_rejected_before_writing
()
tests/test_proposal_contract.py:41
Function
test_refresh_gateway_replaces_listeners
Pasting new tokens must take effect without a sidecar restart: refresh_gateway swaps the Gateway (and its adapters) in-process.
tests/test_subscriptions.py:322
Function
test_refresh_managed_token_delegated_fallback
No cloud session (a box): a delegated managed profile renews by possession on the delegated route — no Authorization header, opaque user_id in
tests/test_cloud.py:506
Function
test_refresh_managed_token_undelegated_box_gives_up
No session AND no delegation ids: nothing to present — return None rather than hammering the broker.
tests/test_cloud.py:537
Function
test_refresh_mirrors_applies_broker_view
(tmp_path, monkeypatch)
tests/test_subscriptions.py:440
Function
test_refresh_never_touches_manual_profiles
(secrets, config, monkeypatch)
tests/test_cloud.py:339
Function
test_refresh_updates_expiring_managed_profile
(secrets, config, monkeypatch)
tests/test_cloud.py:314
Function
test_registers_as_lead_without_shell
(tmp_path)
tests/test_triage_lead.py:18
Function
test_registry_builds_codex_provider
()
tests/test_codex_provider.py:391
Function
test_registry_builds_native_anthropic_provider
()
tests/test_anthropic_provider.py:467
Function
test_registry_builds_native_gemini_provider
()
tests/test_gemini_provider.py:450
Function
test_registry_counts_caps_and_forgets
(tmp_path, monkeypatch)
tests/test_sandbox_openshell.py:175
Function
test_registry_entries_are_pinned_and_digested
Every managed download must carry a version and a full SHA-256 — an unpinned entry would mean 'download whatever is current', which is the thing w
tests/test_toolchain.py:61
Function
test_registry_execute_read_file
(tmp_path)
tests/test_tools_permissions.py:35
Function
test_registry_execute_unknown_tool
(tmp_path)
tests/test_tools_permissions.py:47
← previous
next →
7,501–7,600 of 8,537, ranked by callers