mirror of
https://github.com/nexu-io/openmotion.git
synced 2026-12-06 13:30:03 +08:00
* fix: preserve export attempts and guide manual I/O recovery * test: complete recovery telemetry coverage and scan-safe fixtures * fix: bind editor file access to the original export task * fix: recover inactive unknown exports without unlocking live work * test: isolate diagnostic download from tracking requests --------- Co-authored-by: qiqi <qiqi@qiqideMBP.lan>
72 lines
7.5 KiB
TypeScript
72 lines
7.5 KiB
TypeScript
/** Representative payloads from the existing Studio producers, including private values that must be removed. */
|
|
export const studioTrackingFixtures: Record<string, Record<string, unknown>> = {
|
|
session_start: {}, studio_session_start: { has_project: true },
|
|
studio_io_action: { action: 'recheck_render', attempt_id: '11111111-1111-4111-8111-111111111111', filename: 'PRIVATE_SOURCE.mp4' },
|
|
studio_io_result: { action: 'recheck_render', attempt_id: '11111111-1111-4111-8111-111111111111', outcome: 'success', state_after: 'complete', error_message: 'PRIVATE_MESSAGE' },
|
|
preview_first_frame: { duration_ms: 842.5, composition_seconds: 12.5, clip_count: 8, media_clip_count: 5, studio_version: '0.9.7' },
|
|
studio_render_start: { fps: 29.97, quality: 'standard', format: 'mp4', resolution: 'landscape', composition: 'PRIVATE_SOURCE.html' },
|
|
render_start: { fps: 60, quality: 'high', format: 'webm', resolution: '1080p' },
|
|
studio_timeline_performance: { total_clip_count: 3000, mounted_clip_count: 160, total_row_count: 24, timeline_dom_node_count: 957,
|
|
viewport_width: 1200, viewport_height: 360, zoom_mode: 'fit', scroll_sample_count: 20,
|
|
scroll_frame_latency_p95_ms: 24.5, scroll_frame_latency_max_ms: 31.2, frame_interval_p95_ms: 42.3 },
|
|
playback: { action: 'speed_change', rate: 1.25 }, feature_used: { feature: 'move', surface: 'preview', method: 'drag' },
|
|
toolbar_action: { action: 'undo' }, navigation: { action: 'breadcrumb', target: 'PRIVATE_PROJECT_TITLE' },
|
|
panel_toggle: { panel: 'inspector', collapsed: false }, tab_switch: { panel: 'right_panel', tab: 'motionBlur' },
|
|
keyboard_shortcut: { action: 'tab_compositions' }, group: { action: 'create', count: 3 },
|
|
keyframe: { action: 'retime_resize' }, design_input: { ui: 'flat', section: 'style', control: 'slider', name: 'opacity' },
|
|
studio_razor_split: { mode: 'all', count: 2 }, studio_keyframe_lane_expand: { expanded: false },
|
|
studio_segment_ease_edit: { action: 'commit', ease: 'power2.inOut' },
|
|
studio_block_param_commit: { tone: 'saved', block_name: 'PRIVATE_BLOCK', param_key: 'PRIVATE_PARAMETER' },
|
|
studio_feedback_shown: { reason: 'render_complete', source: 'studio', render_id: 'PRIVATE_RENDER_ID' },
|
|
studio_feedback_dismissed: { reason: 'render_failed', via: 'escape', had_rating: true },
|
|
studio_feedback_interview_click: { reason: 'render_complete' },
|
|
studio_feedback: { reason: 'render_complete', rating: 8, rating_scale: 10, question: 'fix', answer_kind: 'typed',
|
|
comment: 'PRIVATE_FEEDBACK', context: 'PRIVATE_CONTEXT', breadcrumbs: 'PRIVATE_BREADCRUMBS', doctor_summary: 'PRIVATE_DEVICE' },
|
|
desktop_cta_eligibility: { eligibility: 'download', os: 'darwin', app_installed: false, download_available: true },
|
|
desktop_cta_impression: { eligibility: 'open_in_app', app_installed: true },
|
|
desktop_cta_guide: { step: 'install_detected' }, desktop_cta_outcome: { outcome: 'failed', reason: 'PRIVATE_EXCEPTION' },
|
|
unhandled_error: { error_name: 'TypeError', error_message: 'PRIVATE_MESSAGE', filename: 'PRIVATE_PATH', lineno: 42, colno: 10 },
|
|
unhandled_promise_rejection: { error_name: 'Error', error_message: 'PRIVATE_MESSAGE', stack_trace: 'PRIVATE_STACK' },
|
|
error_cap_reached: { count: 20 }, rejection_cap_reached: { count: 20 },
|
|
composition_asset_error_filtered: { error_name: 'Error', error_message: 'PRIVATE_ASSET', total_filtered: 3 },
|
|
abort_rejection_filtered: { error_message: 'PRIVATE_ABORT', total_filtered: 2 },
|
|
crash: { error_name: 'PRIVATE_ERROR_NAME', error_message: 'PRIVATE_MESSAGE', component_stack: 'PRIVATE_STACK' },
|
|
studio_caption_autosave_failed: { error: 'PRIVATE_ERROR' },
|
|
save_skipped_unresolvable: { target_id: 'PRIVATE_ID', target_selector: 'PRIVATE_SELECTOR', target_source_file: 'PRIVATE_PATH', composition: 'PRIVATE_COMPOSITION' },
|
|
save_failure: { source: 'dom_edit', error_message: 'PRIVATE_ERROR', file_path: 'PRIVATE_PATH', target_id: 'PRIVATE_ID', status_code: 409, attempt: 2 },
|
|
edit_blocked: { source: 'gsap', error_message: 'PRIVATE_ERROR', label: 'PRIVATE_LABEL', target_selector: 'PRIVATE_SELECTOR' },
|
|
save_queue_paused: { source: 'dom_edit', error_message: 'PRIVATE_ERROR', status_code: 503, consecutive_failures: 3 },
|
|
file_tree_refresh_failed: { error_name: 'TypeError', error_message: 'PRIVATE_ERROR' },
|
|
commit_invariant_violation: { label: 'PRIVATE_LABEL', delta_x: -2.5, delta_y: 1.5, delta_w: 0, delta_h: 0, mutation_count: 2, reload_count: 0, duration_ms: 38.5 },
|
|
commit_transaction: { label: 'PRIVATE_LABEL', mutation_count: 2, reload_count: 0, duration_ms: 25.5, pixel_asserted: true },
|
|
commit_transaction_failed: { label: 'PRIVATE_LABEL', mutation_count: 1, error_name: 'Error', restore_ran: true },
|
|
studio_selection_publish_failed: { error_name: 'TypeError', error_message: 'PRIVATE_ERROR' },
|
|
project_hash_validated: { stage: 'hashchange', outcome: 'missing', status: 404 },
|
|
cache_key_non_string: { value_type: 'object', constructor_name: 'PRIVATE_CONSTRUCTOR', is_array: true, source_file: 'PRIVATE_SOURCE' },
|
|
gsap_soft_reload_outcome: { origin: 'sdk_refresh', result: 'verify-failed', escalated: false },
|
|
gsap_instant_patch_fallback: { selector: 'PRIVATE_SELECTOR' },
|
|
sdk_resolver_shadow: { hfId: 'PRIVATE_ID', opLabel: 'addGsapKeyframe', sessionElementCount: 4, mismatchCount: 2,
|
|
mismatches: JSON.stringify([{ kind: 'element_not_found', hfId: 'PRIVATE_ID' }, { kind: 'value_mismatch', actual: 'PRIVATE_VALUE' }]) },
|
|
sdk_resolver_shadow_attempt: { counts: JSON.stringify({ 'dom-edit': 8, PRIVATE_OPERATION: 2 }) },
|
|
sdk_cutover_success: { hfId: 'PRIVATE_ID', opCount: 2, family: 'timing' },
|
|
sdk_cutover_declined: { reason: 'target_not_found', family: 'dom', resolverDisagreement: true },
|
|
sdk_cutover_failed: { hfId: 'PRIVATE_ID', family: 'dom', error_kind: 'http', status: 503, error: 'PRIVATE_ERROR' },
|
|
sdk_cutover_refresh_failed: { error: 'PRIVATE_ERROR' }, sdk_cutover_publish_failed: { path: 'PRIVATE_PATH', error: 'PRIVATE_ERROR' },
|
|
sdk_session_unavailable: { stage: 'read', reason: 'network', elapsed_ms: 20.5, hidden: true, path_in_tree: false },
|
|
sdk_session_dispose_failed: { error: 'PRIVATE_ERROR' }, sdk_session_superseded: {},
|
|
'webmcp.polyfill_failed': { error_name: 'ModelContextMissingError' }, 'webmcp.polyfill_loaded': {}, 'webmcp.native_present': {},
|
|
webmcp_registration_failed: { error_name: 'TypeError', tool_name: 'seek' },
|
|
audio_fx_preset_applied: { preset: 'voice-clean', family: 'voice', node_count: 5, mode: 'append', track_kind: 'voice' },
|
|
audio_fx_preset_removed: { preset: 'telephone', track_kind: 'music' }, audio_fx_preset_amount: { preset: 'telephone', amount: 0.25 },
|
|
audio_fx_preset_automated: { preset: 'telephone', enabled: true }, audio_fx_preset_auditioned: { preset: 'telephone' },
|
|
audio_fx_node_added: { effect: 'highpass', via: 'job', job: 'voice-clean', track_kind: 'voice' },
|
|
audio_fx_node_removed: { effect: 'highpass', origin: 'hand' }, audio_fx_node_bypassed: { effect: 'gain', bypassed: false },
|
|
audio_fx_node_moved: { effect: 'gain', direction: 'up' },
|
|
audio_fx_param_committed: { effect: 'compressor', param: 'threshold', value: -18.5, surface: 'details', track_kind: 'voice' },
|
|
audio_fx_profile_committed: { effect: 'compressor', strength: 0.5 },
|
|
audio_fx_carve_changed: { action: 'sources', strength: 0.5, source_count: 2 },
|
|
audio_fx_leveller: { action: 'auditioned' }, audio_fx_eq_changed: { band: 'low', value: -3.5 },
|
|
audio_fx_chain_observed: { node_count: 4, nodes_from_preset: 2, nodes_from_carve: 1, nodes_by_hand: 1, preset_count: 1,
|
|
bypassed_count: 0, first_sight: true, panel_edits: 0, authored_outside: true, has_carve: true, has_automation: false, track_kind: 'voice' },
|
|
};
|