Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

crates/cre8-app-compute/src/routes.rs

cre8-app-compute · module routes · src · 6,783 lines (5,856 code, 448 comment) · sha 66c41e7322ffdc06

Items

struct FramebufferCache impl FramebufferCache static CACHE const PREFIX const MAX_KEY_BYTES struct DispatchPeerContext struct DispatchIrContext struct DispatchRoute struct SourceDispatchAnalysis struct ComputeShardPlanRequest struct SegmentExecutionStart struct SegmentExecuteRequest const DECODE struct GpuExecutionAttempt const CRYSTAL_TEST_SOURCE const CALLERS

Functions

By call-graph weight (PageRank; 1.0 is the average function). 216 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
make_statesrc/routes.rs:3800fn315618.3
handle_compute_executesrc/routes.rs:1519fn3543017162.5
reset_global_compute_cache_statesrc/routes.rs:3811fn1342552.2
FramebufferCache::newsrc/routes.rs:131method31302.2
attach_proof_payloadsrc/routes.rs:258fn357451.8
attach_proof_fieldssrc/routes.rs:219fn384521.8
handle_compute_dispatchsrc/routes.rs:1911fn184671.5
parse_result_numbersrc/routes.rs:3825fn103901.5
should_announce_result_to_endpointsrc/routes.rs:3539fn42301.5
is_hex_64src/routes.rs:531fn32201.4
canonical_execution_identitysrc/routes.rs:604fn151421.4
handle_capability_announcesrc/routes.rs:3505fn153411.2
persist_quantum_fuzz_observationsrc/routes.rs:390fn1405151.2
cached_dispatch_strategysrc/routes.rs:2217fn61101.2
handle_compute_gpu_executesrc/routes.rs:3277fn7674131.2
framebuffer_key_from_http_requestsrc/routes.rs:176fn157201.2
try_handle_framebuffer_http_requestsrc/routes.rs:193fn232241.1
execute_segment_gbsrc/routes.rs:2973fn883161.1
handle_compute_execute_segmentsrc/routes.rs:2661fn434371.1
compute_execute_cached_responsesrc/routes.rs:779fn123199191.1
planner_mode_for_dispatch_strategysrc/routes.rs:305fn95201.1
handle_compute_announcesrc/routes.rs:3588fn265441.1
persist_dispatch_outcomesrc/routes.rs:327fn586291
compute_shard_countsrc/routes.rs:2501fn96101
bridge_segment_data_accessessrc/routes.rs:2889fn637131
framebuffer_cachesrc/routes.rs:162fn51211
crystal_requestsrc/routes.rs:3918fn122610.9
handle_compute_quantum_fuzzsrc/routes.rs:3709fn813210.8
attach_inherited_proof_readysrc/routes.rs:1024fn142330.8
gpu_dispatch_strategysrc/routes.rs:2179fn193130.8
planner_dispatch_strategysrc/routes.rs:2199fn176110.8
handle_compute_resultsrc/routes.rs:3451fn516230.8
canonical_execution_nucleussrc/routes.rs:620fn71710.8
peer_estimate_from_capabilitysrc/routes.rs:2014fn191100.8
announce_resultsrc/routes.rs:3551fn306450.8
compute_dispatch_decisionsrc/routes.rs:2124fn141100.8
select_dispatch_strategysrc/routes.rs:2166fn122120.8
durable_artifact_reuse_for_statesrc/routes.rs:636fn112410.8
execute_segment_with_devicesrc/routes.rs:2958fn132110.8
mirror_crystal_to_protocol_storesrc/routes.rs:590fn61320.8
handle_proof_announcesrc/routes.rs:3528fn82110.7
crystal_test_nucleussrc/routes.rs:3934fn31510.7
seed_crystal_cachesrc/routes.rs:3941fn91540.7
take_framebuffersrc/routes.rs:171fn31120.7
parse_receipt_with_state_rootsrc/routes.rs:535fn182110.7
validate_announcement_proof_hashsrc/routes.rs:554fn358120.7
stored_announcement_from_bodysrc/routes.rs:3615fn132100.7
validate_announcement_receipt_ir_hashsrc/routes.rs:3629fn172100.7
handle_compute_prob_executesrc/routes.rs:1878fn194110.7
handle_compute_shardsrc/routes.rs:2468fn133140.7
handle_compute_statussrc/routes.rs:3357fn8811100.7
handle_compute_querysrc/routes.rs:3650fn527130.7
routable_compute_peer_idssrc/routes.rs:1990fn31110.7
healthy_peer_latency_mapsrc/routes.rs:1994fn41120.7
dispatch_peer_estimatessrc/routes.rs:1999fn141120.7
source_dispatch_analysissrc/routes.rs:2077fn272110.7
planner_costsrc/routes.rs:2105fn72100.7
cache_compute_execution_resultsrc/routes.rs:1059fn748260.7
dispatch_requestsrc/routes.rs:1959fn172120.7
dispatch_peer_contextsrc/routes.rs:1977fn121130.7
preplan_distribution_errorsrc/routes.rs:2034fn193100.7
dispatch_ir_contextsrc/routes.rs:2054fn224130.7
dispatch_routesrc/routes.rs:2113fn101120.7
postplan_distribution_errorsrc/routes.rs:2139fn263100.7
execute_compute_dispatch_routesrc/routes.rs:2234fn172170.7
raw_durable_artifact_hit_responsesrc/routes.rs:648fn443180.7
base64_decodesrc/routes.rs:3063fn4010100.7
crystal_execution_resultsrc/routes.rs:3894fn211100.7
execute_compute_requestsrc/routes.rs:1277fn237182180.7
seed_hash_only_lrusrc/routes.rs:4757fn271230.6
compute_shard_plan_requestsrc/routes.rs:2488fn121110.6
compute_shard_plan_responsesrc/routes.rs:2511fn161100.6
class_egress_bytessrc/routes.rs:6685fn91110.6
segment_execution_startsrc/routes.rs:2712fn91140.6
record_segment_data_access_if_successsrc/routes.rs:2722fn92110.6
submit_segment_resultsrc/routes.rs:2769fn191120.6
segment_execution_responsesrc/routes.rs:2799fn292110.6
execute_segment_requestsrc/routes.rs:2829fn242120.6
build_segment_execution_requestsrc/routes.rs:2732fn323110.6
segment_contextsrc/routes.rs:2765fn31100.6
segment_execute_request_from_bodysrc/routes.rs:2866fn224100.6
attach_raw_lease_metadatasrc/routes.rs:693fn152110.6
compute_execute_admitted_responsesrc/routes.rs:712fn335130.6
stored_compute_execute_responsesrc/routes.rs:1039fn192210.6
planner_mode_labelsrc/routes.rs:294fn106100.6
predicted_dispatch_mssrc/routes.rs:315fn62110.6
timeout_like_errorsrc/routes.rs:322fn44100.6
graph_plan_outcomesrc/routes.rs:386fn31100.6
execute_selected_dispatchsrc/routes.rs:2252fn81110.6
drain_dispatch_reputation_eventssrc/routes.rs:2261fn31100.6
dispatch_success_responsesrc/routes.rs:2265fn371180.6
dispatch_error_responsesrc/routes.rs:2432fn331110.6
execute_gpu_attemptsrc/routes.rs:3134fn294140.6
gpu_required_failure_responsesrc/routes.rs:3164fn202100.6
gpu_proof_typesrc/routes.rs:3185fn93100.6
build_gpu_compute_receiptsrc/routes.rs:3195fn442100.6
gpu_execute_responsesrc/routes.rs:3240fn361100.6
persist_and_announce_dispatch_resultsrc/routes.rs:2303fn4381110.6
record_dispatch_emissionsrc/routes.rs:2353fn152110.6
dispatch_cache_sourcesrc/routes.rs:2369fn63100.6
dispatch_was_cachedsrc/routes.rs:2376fn32100.6
planner_result_ir_hashsrc/routes.rs:2380fn32100.6
shard_analysis_metasrc/routes.rs:2384fn121100.6
dispatch_success_bodysrc/routes.rs:2397fn343110.6
reusable_work_key_stored_resultsrc/routes.rs:750fn283140.5
attach_raw_exact_cache_identitysrc/routes.rs:906fn61100.5
proof_index_cached_responsesrc/routes.rs:916fn292130.5
direct_cache_responsesrc/routes.rs:947fn222120.5
crystal_cache_responsesrc/routes.rs:977fn434180.5
dispatch_result_is_locally_trustedsrc/routes.rs:2347fn52110.5
compute_crystal_result_for_executionsrc/routes.rs:1134fn132110.5
build_compute_execution_stored_resultsrc/routes.rs:1167fn212140.5
compute_execute_success_responsesrc/routes.rs:1218fn586120.5
FramebufferCache::insertsrc/routes.rs:135method194000.5
FramebufferCache::takesrc/routes.rs:155method51000.5
publish_compute_crystal_resultsrc/routes.rs:1148fn141050.5
publish_compute_execution_stored_resultsrc/routes.rs:1192fn72030.5
submit_compute_settlement_attestationsrc/routes.rs:1200fn172010.5
handle_compute_evolvesrc/routes.rs:1899fn72020.5
dispatch_strategy_namesrc/routes.rs:2224fn95000.5
handle_compute_segmentsrc/routes.rs:2530fn487020.5
handle_compute_verifysrc/routes.rs:2581fn234010.5
handle_compute_assemblesrc/routes.rs:2607fn335020.5
segment_status_labelsrc/routes.rs:2789fn93000.5
framebuffer_http_route_accepts_only_leaf_get_keyssrc/routes.rs:3838fn221010.5
test_handle_compute_announce_rejects_invalid_proof_hashsrc/routes.rs:3862fn171030.5
test_should_announce_result_to_http_endpointsrc/routes.rs:3881fn41010.5
crystal_cache_serves_a_sibling_facet_without_executing_itsrc/routes.rs:3952fn382090.5
crystal_cache_is_keyed_by_args_not_just_by_nucleussrc/routes.rs:3992fn212080.5
absent_nucleus_leaves_ir_hash_only_behavior_untouchedsrc/routes.rs:4015fn202090.5
crystal_hit_carries_the_producing_facets_proofsrc/routes.rs:4037fn212080.5
proof_demanding_request_is_not_served_from_an_unproven_crystal_entrysrc/routes.rs:4060fn182080.5
test_should_skip_browser_rtc_result_announcementssrc/routes.rs:4080fn51010.5
test_handle_compute_announce_keeps_binding_only_payload_out_of_reusable_storesrc/routes.rs:4087fn342060.5
test_handle_compute_announce_rejects_missing_state_rootsrc/routes.rs:4123fn181030.5
test_parse_execution_requestsrc/routes.rs:4145fn171010.5
executor_must_carry_parses_as_a_hard_tag_set_and_is_refused_by_the_tag_blind_routesrc/routes.rs:4164fn301030.5
test_parse_execution_request_defaultssrc/routes.rs:4196fn111010.5
test_parse_execution_request_accepts_bounded_probabilistic_particlessrc/routes.rs:4209fn91010.5
test_parse_execution_request_rejects_zero_probabilistic_particlessrc/routes.rs:4220fn91010.5
test_parse_execution_request_rejects_oversized_probabilistic_particlessrc/routes.rs:4231fn91010.5
test_handle_compute_shard_rejects_oversized_shard_countsrc/routes.rs:4242fn111020.5
test_parse_execution_request_missing_languagesrc/routes.rs:4255fn51010.5
test_parse_execution_request_missing_source_is_hash_only_reuse_shapesrc/routes.rs:4262fn61020.5
test_parse_execution_request_rejects_non_string_sourcesrc/routes.rs:4270fn51010.5
test_normalize_language_aliases_extended_matrixsrc/routes.rs:4277fn191010.5
test_normalize_cpu_result_for_gpu_hash_numbersrc/routes.rs:4298fn51010.5
test_gpu_config_for_request_args_uses_flat_virtual_abisrc/routes.rs:4306fn131010.5
test_parse_execution_request_typescript_aliassrc/routes.rs:4321fn91010.5
test_validate_request_empty_sourcesrc/routes.rs:4332fn231010.5
test_validate_request_entry_requiredsrc/routes.rs:4357fn231010.5
test_validate_request_rejects_low_entropy_oversized_sourcesrc/routes.rs:4382fn231010.5
test_validate_request_rejects_control_chars_in_sourcesrc/routes.rs:4407fn231010.5
test_validate_request_rejects_obvious_non_terminating_loopsrc/routes.rs:4432fn231010.5
test_validate_request_rejects_random_symbol_noise_sourcesrc/routes.rs:4457fn231010.5
test_validate_request_rejects_entry_too_largesrc/routes.rs:4482fn231010.5
test_validate_request_unsupported_languagesrc/routes.rs:4507fn231010.5
test_validate_request_extended_language_matrixsrc/routes.rs:4532fn252010.5
test_validate_request_exceeds_stepssrc/routes.rs:4559fn231010.5
test_validate_request_exceeds_compute_hard_limitsrc/routes.rs:4584fn231010.5
test_handle_statussrc/routes.rs:4611fn311020.5
test_handle_execute_simplesrc/routes.rs:4646fn252020.5
raw_sqlite_execution_finalizes_the_lease_and_suppresses_external_effectssrc/routes.rs:4673fn8020140.5
test_handle_execute_cachedsrc/routes.rs:4786fn201060.5
a_hash_only_request_for_an_unclassified_program_is_not_served_from_the_lrusrc/routes.rs:4808fn101050.5
raw_hash_only_and_whitespace_misses_are_reuse_only_before_vm_or_publicationsrc/routes.rs:4820fn6540120.5
raw_execute_reuses_verified_sqlite_artifact_without_entering_vmsrc/routes.rs:4887fn7130120.5
immutable_conflict_after_deferred_execution_publishes_no_process_statesrc/routes.rs:4960fn8830150.5
raw_execute_singleflight_allows_one_uncached_execution_for_concurrent_same_worksrc/routes.rs:5050fn342040.5
raw_follower_recheck_rejects_weaker_artifact_for_the_same_work_keysrc/routes.rs:5086fn491080.5
raw_source_work_key_matches_connection_canonicalizationsrc/routes.rs:5137fn291060.5
raw_explicit_hash_cannot_alias_different_source_programssrc/routes.rs:5168fn391090.5
raw_uncrystallizable_source_rejects_opaque_identity_before_vmsrc/routes.rs:5209fn361090.5
raw_weaker_follower_reuses_a_verified_stronger_work_admission_without_executing_sourcesrc/routes.rs:5248fn9310100.5
test_handle_dispatch_strategy_localsrc/routes.rs:5345fn162020.5
test_handle_dispatch_applies_request_validationsrc/routes.rs:5363fn121020.5
test_handle_dispatch_gpu_required_prefers_gpu_strategysrc/routes.rs:5377fn321030.5
test_handle_dispatch_ignores_unroutable_gpu_peerssrc/routes.rs:5411fn261030.5
test_handle_dispatch_requires_distribution_quorumsrc/routes.rs:5439fn191020.5
test_handle_result_not_foundsrc/routes.rs:5462fn61020.5
test_handle_result_foundsrc/routes.rs:5470fn231040.5
test_handle_execute_source_rerun_reports_cached_truesrc/routes.rs:5495fn201030.5
test_resolve_effective_ir_hash_distinguishes_add_and_mulsrc/routes.rs:5517fn451020.5
test_resolve_effective_ir_hash_merges_helper_name_alpha_equivalentssrc/routes.rs:5564fn451020.5
test_handle_execute_two_function_programs_do_not_cross_hitsrc/routes.rs:5611fn382070.5
test_handle_execute_reports_cached_for_coordinator_cache_hitssrc/routes.rs:5651fn282060.5
test_handle_execute_javascript_strict_operator_regressionsrc/routes.rs:5681fn121030.5
test_handle_gpu_execute_reports_backend_and_error_when_unavailablesrc/routes.rs:5698fn432030.5
test_handle_gpu_execute_accepts_flat_virtual_gpu_inputssrc/routes.rs:5743fn322030.5
test_handle_gpu_execute_applies_request_validationsrc/routes.rs:5777fn131020.5
test_handle_execute_segment_applies_request_validationsrc/routes.rs:5792fn151020.5
test_handle_execute_segment_device_profile_enforces_step_hard_limitsrc/routes.rs:5809fn161020.5
test_recursion_edge_behavior_go_ruby_csrc/routes.rs:5827fn382020.5
test_handle_execute_recursion_go_ruby_multiline_returns_120src/routes.rs:5867fn301040.5
test_handle_execute_recursion_go_ruby_oneline_returns_120src/routes.rs:5899fn301040.5
test_handle_execute_language_quirk_regressionssrc/routes.rs:5931fn851040.5
test_handle_compute_graph_score_requires_codesrc/routes.rs:6020fn111020.5
test_handle_compute_graph_score_returns_intelligence_payloadsrc/routes.rs:6033fn232020.5
test_handle_compute_rewrite_plan_requires_codesrc/routes.rs:6058fn111020.5
test_handle_compute_rewrite_plan_accepts_vm_rewrite_rulessrc/routes.rs:6071fn552020.5
test_handle_compute_rewrite_plan_accepts_top_level_rules_array_v0_bridgesrc/routes.rs:6128fn492020.5
test_handle_compute_rewrite_plan_add_call_inline_does_not_500src/routes.rs:6179fn301030.5
test_handle_compute_rewrite_plan_explain_apply_round_trip_top_level_rules_bridgesrc/routes.rs:6211fn793040.5
test_handle_compute_rewrite_apply_dry_run_returns_payloadsrc/routes.rs:6292fn232020.5
test_handle_compute_rewrite_apply_rule_ids_not_parsed_as_vm_dslsrc/routes.rs:6317fn232020.5
test_handle_compute_rewrite_apply_uses_vm_rules_from_plansrc/routes.rs:6342fn662030.5
test_handle_compute_rewrite_explain_requires_known_plansrc/routes.rs:6410fn111020.5
test_handle_compute_rewrite_plan_then_explain_round_tripsrc/routes.rs:6423fn342030.5
test_handle_compute_rewrite_commit_requires_plan_idsrc/routes.rs:6459fn131020.5
test_handle_compute_rewrite_plan_then_commit_round_tripsrc/routes.rs:6474fn452030.5
test_rewrite_commit_response_carries_step_delta_with_test_case_countsrc/routes.rs:6524fn602030.5
test_rewrite_commit_gates_object_is_unchanged_by_s1src/routes.rs:6589fn672030.5
test_capability_announce_integrationsrc/routes.rs:6658fn191020.5
framebuffer_response_bytes_reach_the_traffic_ledgersrc/routes.rs:6704fn411030.5
framebuffer_cache_order_stays_bounded_under_fetch_once_workloadsrc/routes.rs:6754fn112010.5
framebuffer_cache_still_evicts_oldest_and_dedups_reinsertssrc/routes.rs:6767fn162010.5

Source not readable from this process.