From 4b467089008597fe235d15a159c8c1b41afc3d52 Mon Sep 17 00:00:00 2001 From: goodboy Date: Sun, 4 Oct 2026 15:32:41 -0400 Subject: [PATCH 01/16] Add a federated project store from LNS Move the project scope from the current LNS working corpus into a registered branch-local store. Preserve task states, checkbox markers, carry metadata and contextual cross-repository references. Expose the shared taken skill through the local discovery tree. Include the existing live-store snapshot under a contextual heading; retain every stable ID and state. Record cutover requirements before retargeting existing agents. Validate Org structure and manifest identity; keep application test suites outside this data-only scope. Prompt-IO: ai/prompt-io/20261003T001837Z_9115d24_project_stores.md (this patch was generated in some part by `codex` using `gpt-6` (`openai`)) --- .agents/skills/taken/SKILL.md | 1 + .agents/skills/taken/agents/openai.yaml | 1 + .agents/skills/taken/references/agents.md | 1 + .agents/skills/taken/references/writes.md | 1 + .gitignore | 9 + .taken/README.md | 22 ++ .taken/current.org | 290 ++++++++++++++++++ .taken/sources.toml | 8 + ...20261003T001837Z_9115d24_project_stores.md | 34 ++ ...1003T001837Z_9115d24_project_stores.raw.md | 36 +++ 10 files changed, 403 insertions(+) create mode 120000 .agents/skills/taken/SKILL.md create mode 120000 .agents/skills/taken/agents/openai.yaml create mode 120000 .agents/skills/taken/references/agents.md create mode 120000 .agents/skills/taken/references/writes.md create mode 100644 .taken/README.md create mode 100644 .taken/current.org create mode 100644 .taken/sources.toml create mode 100644 ai/prompt-io/20261003T001837Z_9115d24_project_stores.md create mode 100644 ai/prompt-io/20261003T001837Z_9115d24_project_stores.raw.md diff --git a/.agents/skills/taken/SKILL.md b/.agents/skills/taken/SKILL.md new file mode 120000 index 00000000..ac12754e --- /dev/null +++ b/.agents/skills/taken/SKILL.md @@ -0,0 +1 @@ +../../../../../../taken/wkts/federated_project_stores/.agents/skills/taken/SKILL.md \ No newline at end of file diff --git a/.agents/skills/taken/agents/openai.yaml b/.agents/skills/taken/agents/openai.yaml new file mode 120000 index 00000000..87522fbe --- /dev/null +++ b/.agents/skills/taken/agents/openai.yaml @@ -0,0 +1 @@ +../../../../../../../taken/wkts/federated_project_stores/.agents/skills/taken/agents/openai.yaml \ No newline at end of file diff --git a/.agents/skills/taken/references/agents.md b/.agents/skills/taken/references/agents.md new file mode 120000 index 00000000..e3257375 --- /dev/null +++ b/.agents/skills/taken/references/agents.md @@ -0,0 +1 @@ +../../../../../../../taken/wkts/federated_project_stores/.agents/skills/taken/references/agents.md \ No newline at end of file diff --git a/.agents/skills/taken/references/writes.md b/.agents/skills/taken/references/writes.md new file mode 120000 index 00000000..d5d973cf --- /dev/null +++ b/.agents/skills/taken/references/writes.md @@ -0,0 +1 @@ +../../../../../../../taken/wkts/federated_project_stores/.agents/skills/taken/references/writes.md \ No newline at end of file diff --git a/.gitignore b/.gitignore index 583063c3..cab4a91b 100644 --- a/.gitignore +++ b/.gitignore @@ -487,6 +487,15 @@ docs/conversations/ /.agents/skills/yt-url-lookup # END ai.skillz: direct:symlink:agents:yt-url-lookup +# Taken writer locks are local runtime artifacts +.*.taken.lock + +# Version the federated project store despite local excludes +!/.taken/ +!/.taken/current.org +!/.taken/sources.toml +!/.taken/README.md + # BEGIN ai.skillz: workflow-state /.ai/state/ /.ai/commit-msg/conf.toml diff --git a/.taken/README.md b/.taken/README.md new file mode 100644 index 00000000..78b4ecae --- /dev/null +++ b/.taken/README.md @@ -0,0 +1,22 @@ +# piker project store + +`current.org` contains the intact piker scope moved from the +LNS working corpus. Task/checkbox states, carry metadata and prose +remain human-owned. `sources.toml` selects this branch's store. + +Read the local `taken` skill through `.agents/skills/taken/SKILL.md`. +It requires a complete-file revision guard for each authorized save. +Use an explicitly selected source; do not write a global LNS copy. +This migration preserves a historical project scope, not a claim that +its old task descriptions or branch paths reflect current reality. + +The global storespace is registered in the LNS migration worktree's +`taken/sources.toml`. Modden, Tractor and Piker include snapshots of their pre-existing +local stores. The LNS consolidation ledger pins those inputs. Before +landing, reconcile any newer edits there and retarget active agents; +do not overwrite another agent's source or infer acceptance. + +Before removing this migration worktree after landing, update the +global registration and the cross-repository taken skill link to the +landed locations. The skill link intentionally points to the Taken +migration branch until that code and documentation land. diff --git a/.taken/current.org b/.taken/current.org new file mode 100644 index 00000000..04ee4a12 --- /dev/null +++ b/.taken/current.org @@ -0,0 +1,290 @@ +# vim: et sw=2 ts=2 +#+TITLE: piker project store +#+TODO: TODO(t) WIP(w!) WAIT(a@) | DONE(d!) NOPE(n@) + +# Checkbox states: [ ] open, [-] partial, [x] complete + +* piker +:PROPERTIES: +:CATEGORY: piker +:END: +** TODO prs +:PROPERTIES: +:CREATED: [2026-07-15] +:CARRIED: 29 +:END: +- [ ] move the below into *** todos with pr/branch links + * [ ] DPI-aware font scaling + manual kb bindings. + * [ ] gap_annotator for time gaps. + * [ ] moar `claude`-y skills, + * [ ] /lint with ruff + * [ ] /run-tests +*** WIP qualify known-FQME history backfill +:PROPERTIES: +:CREATED: [2026-07-24] +:CARRIED: 21 +:REPO: /home/goodboy/repos/piker +:END: +- [x] preserve the dirty `flake_update` main checkout before + switching branches +- [x] check out `backfiller_deep_fixes` in the main checkout and + verify every process imports it +- [ ] complete the below qualification plan + * [ ] select one known-problem provider, FQME, timeframe, date range, + and original symptom + * [ ] preserve and checksum any known-bad parquet + * [ ] bootstrap `pikerd` with disposable config and NativeDB storage + * [ ] record baseline timestamps, rows, uniqueness, nulls, + ordering, + indexes, gaps, and readability + * [ ] reproduce fresh-backfill, restart, and append behavior for + only + the selected case + * [ ] convert each reproduced failure into a failing deterministic + test before fixing it + * [ ] rerun the exact manual lifecycle after every production + correction + * [ ] add deterministic subprocess coverage for process death and + cross-process locking + * [ ] exercise Ctrl-C, SIGTERM, SIGKILL, provider interruption, and + restart recovery + * [ ] qualify MarketStore and actual sampler backpressure separately + * [ ] expand to other timeframes and providers only after the + selected FQME passes +**** TODO fixed-FQME-case backfill qualify +:PROPERTIES: +:CREATED: [2026-07-29] +:CARRIED: 17 +:REPO: piker/ +:END: +- [ ] follow through using both new files, + * ./docs/manual_backfill_qualification.rst + * ./snippets/nativedb_backfill_audit.xsh +- [ ] choose and record one known-problem FQME, timeframe, UTC range, + and original chart symptom +- [ ] source `snippets/nativedb_backfill_audit.xsh` and initialize a + private disposable root with only the required provider config +- [ ] run repository and environment preflight at commit `0846cbd4` +- [ ] seed and audit the known-bad baseline, then replay repair and run + `bfq_compare()` without losing original timestamps +- [ ] clear only the disposable Parquet and qualify a fresh backfill +- [ ] restart against fresh storage and compare `fresh` to `restart` +- [ ] leave one subsequent run active long enough to append, then compare + `restart` to `append` with `require_newer=True` +- [ ] restart QQQ 1s on fresh datad SHM and verify the former 653-row + zero-time reservation does not recur +- [ ] preserve chart logs, audit JSON, Parquet snapshots, and exact UTC + gap endpoints for review +**** TODO review ^qualify^ evidence and close follow-ups +:PROPERTIES: +:CREATED: [2026-07-29] +:CARRIED: 17 +:REPO: /piker +:END: +- [ ] verify every qualification process imports commit `0846cbd4` +- [ ] review baseline, repair, fresh, restart, and append reports for + structural, timestamp, endpoint, and gap regressions +- [ ] distinguish durable Parquet gaps from SHM hydration or chart-only + gaps using the runbook triage table +- [ ] convert each reproduced failure into a deterministic regression + before changing production code +- [ ] prepare the final qualification summary and any required patch, + PR, or worktree-lifecycle follow-ups +*** TODO cross-harness AI skill integration +:PROPERTIES: +:CREATED: [2026-07-21] +:CARRIED: 24 +:REPO: /home/goodboy/repos/piker +:ISSUE: https://www.pikers.dev/pikers/piker/issues/79 +:END: +- [ ] review and land the portable piker skill and OpenCode docs patch +- [ ] reconcile the active global `commit-msg` override with the + repo-local shared skill and style guide +- [ ] verify skill and command discovery after restarting Claude Code + and OpenCode +- [ ] fold remaining skill-content review into the canonical trackers: + * [ ] https://www.pikers.dev/pikers/piker/issues/69 + * [ ] https://www.pikers.dev/pikers/piker/issues/79 +*** TODO vectorize `gap_annotator` client spec building +:PROPERTIES: +:CREATED: [2026-07-21] +:CARRIED: 24 +:REPO: /home/goodboy/repos/piker +:END: +- [ ] replace per-row Polars slicing and filtering in + `piker/tsp/_annotate.py:139` with extracted columns and batched + lookups +- [ ] preserve missing-prior-row, epoch-skip, direction, label, and + batch-payload behavior +- [ ] benchmark the 1285-gap case against the handoff in + `notes_to_self/claudy/gapsannotator_sesh.md` +- [ ] add focused correctness coverage for generated rectangle, arrow, + and text specs +*** TODO integrate the piker `ruff` lint skill +:PROPERTIES: +:CREATED: [2026-07-21] +:CARRIED: 24 +:REPO: /home/goodboy/repos/piker +:END: +- [ ] review the clean but unmerged `claudy_writes_ruff_conf` branch +- [ ] validate its `ruff.toml` policy and staged-file checker against + the current tree +- [ ] port the `/lint` skill to shared Agent Skills frontmatter with + thin harness-specific commands +- [ ] rebase and prepare the accepted lint/config changes for landing +*** TODO reconcile stale Claude plans and worktrees +:PROPERTIES: +:CREATED: [2026-07-21] +:CARRIED: 24 +:REPO: /home/goodboy/repos/piker +:END: +- [ ] reconcile `ai/claude-code/plans/shm_port.md` with the implemented + `tractor.ipc._shm` shim +- [ ] classify `datad_service.md` as an architecture record rather than + an active implementation plan +- [ ] inspect generated state before retiring the merged + `wkt/flake_update` and `worktree-ngi0_submission` worktrees +- [ ] preserve the unmerged lint worktree until its branch is reviewed +** TODO chart-local gap overlay follow-ups +:PROPERTIES: +:CREATED: [2026-08-14] +:CARRIED: 7 +:REPO: /home/goodboy/repos/piker +:END: +- [ ] trigger `GapOverlayMngr.refresh()` from an explicit history + revision/publication event after repair or prepend +- [ ] expose gap-overlay UX through UI config + * [ ] startup visibility and enabled timeframes + * [ ] default `Ctrl+G` key binding +- [ ] live-qualify chart-local overlay behavior + * [ ] actor startup and focused 1s/60s toggling + * [ ] multi-symbol and duplicate-FQME cached charts + * [ ] secondary-`Viz` placement and backfill repositioning + * [ ] remote disconnect and owner-scoped graphics cleanup +- [ ] add focused Qt/actor regressions for the qualified lifecycle + +** TODO factor typed chart annotation IPC dialogs +:PROPERTIES: +:CREATED: [2026-08-14] +:CARRIED: 7 +:REPO: /home/goodboy/repos/piker +:END: +- [ ] exercise the strict `SetGapOverlay`/`GapOverlay` + dialog under a live Tractor context + * [ ] wrong-direction and unrelated payload rejection + * [ ] timeout, cancellation, stale reply, and disconnect recovery +- [ ] factor keyed send/receive locking, fresh request IDs, and stale + response correlation into a generic IPC dialog helper after a + second typed consumer establishes the interface +- [ ] migrate legacy `remote_annotate()` dict commands to tagged + request/response message types +- [ ] decide whether to fold `remote_gap_overlays()` into the general + annotation endpoint after the legacy protocol is typed +** proj_mgmt + :PROPERTIES: + :CATEGORY: project + :END: +*** TODO ngi0 aug01 funding submit! + DEADLINE: <2026-08-01 Sat> + :PROPERTIES: + :CREATED: [2026-06-01] +:CARRIED: 33 + :END: +- [ ] wip pr: https://github.com/goodboy/tractor/pull/431 + https://nlnet.nl/propose/ + https://nlnet.nl/foundation/policies/generativeAI/ + https://nlnet.nl/commonsfund/ +*** TODO MEETING(s) + :PROPERTIES: + :CREATED: [2026-05-21] +:CARRIED: 33 + :END: +** ui + :PROPERTIES: + :CATEGORY: piker.ui + :END: +*** TODO dpi_auto_calc + :PROPERTIES: + :CREATED: [2026-07-15] +:CARRIED: 29 + :END: +- [ ] PUT PRs here +** brokers + :PROPERTIES: + :CATEGORY: piker.brokers + :END: +*** TODO IB: follow-up for search results bs! + :PROPERTIES: + :CREATED: [2026-05-21] +:CARRIED: 33 + :END: + * https://www.pikers.dev/pikers/piker/issues/85 + - [X] fix the `si.expiry..ib` search result? + - [ ] introspect why `Client.search_symbols()` is returning the + empty `.` case! + - presumably by something weird in the server-side endpoint? + - [ ] figure out better tuning of client side fuzzy-filter versus + server-side versus UI final display pass! +*** TODO ish for port to `uv`, + :PROPERTIES: + :CREATED: [2026-05-21] +:CARRIED: 33 + :END: + * https://github.com/ib-api-reloaded/ib_async/issues/204 + - [ ] mention to track in #68 +*** TODO profiling: try newer libs, + :PROPERTIES: + :CREATED: [2026-05-21] +:CARRIED: 33 + :END: + - [ ] https://github.com/pikers/piker/issues/337 +** perf/tooling + :PROPERTIES: + :CATEGORY: piker.profile + :END: +- [ ] link existing GH issues for trying new + libs! + +** FSP backfill: branch work +*** TODO review and commit FSP backfill synchronization +:PROPERTIES: +:ID: piker-fsp-backfill-sync-review-and-commit +:CREATED: [2026-09-03] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker/wkts/fsp_backfill_sync +:END: +- [ ] review committed token-targeted history graphics change + (`fadab3d2`) +- [ ] review and commit the FSP stream-contract boundary + * yo yo yo + * `piker/data/__init__.py` + * `piker/data/ticktools.py` + * `piker/fsp/_api.py` + * `piker/fsp/_momo.py` + * staged portion of `piker/fsp/_volume.py` +- [ ] review and commit the synchronization and live-volume boundary + * explicit `Flume` RT/history cadence + * immutable history snapshots and absolute SHM-bound synchronization + * relevant backfill filtering and non-duplicating destination steps + * nonnegative sampled and derived volume + * M4 graphics-cache invalidation and unchanged-update suppression + * FSP synchronization regressions and Prompt-IO provenance +- [ ] review and commit the `piker-fsp-expert` skill boundary +- [ ] run boundary checks and the final test suite +- [ ] inspect each staged diff and commit message before committing +*** TODO add cumulative M4 downsampling for volume curves +:PROPERTIES: +:ID: piker-cumulative-m4-volume-downsampling +:CREATED: [2026-09-03] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker/wkts/fsp_backfill_sync +:END: +- [ ] define cumulative bucket semantics for step-style data + * sum all source values represented by each pixel bucket + * preserve bucket time/index placement and zero-volume gaps +- [ ] add a sum-reducer variant alongside price min/max M4 +- [ ] route unit and dollar-volume curves through cumulative downsampling +- [ ] keep price, OHLC, and non-cumulative signal curves on min/max M4 +- [ ] preserve incremental appends, view changes, and cache invalidation +- [ ] test sum conservation across zoom levels and partial edge buckets +- [ ] profile the cumulative path against the existing M4 implementation diff --git a/.taken/sources.toml b/.taken/sources.toml new file mode 100644 index 00000000..5a36e390 --- /dev/null +++ b/.taken/sources.toml @@ -0,0 +1,8 @@ +version = 1 + +[[sources]] +id = "piker" +path = "current.org" +repo = ".." +enabled = true +agenda = true diff --git a/ai/prompt-io/20261003T001837Z_9115d24_project_stores.md b/ai/prompt-io/20261003T001837Z_9115d24_project_stores.md new file mode 100644 index 00000000..51aef9f8 --- /dev/null +++ b/ai/prompt-io/20261003T001837Z_9115d24_project_stores.md @@ -0,0 +1,34 @@ +--- +created_at: 2026-10-03T00:18:37.208688+00:00 +generated_by: + harness: codex + provider: openai + model: gpt-6 +git_ref: 9115d24 +scope: data +substantive: true +raw_file: 20261003T001837Z_9115d24_project_stores.raw.md +--- + +## Prompt + +Split the LNS working corpus into per-repository federated stores on +open-wkt branches and connect them to one global storespace. Preserve +human task states. Add a local agent workflow, update taken-export, +and design rollover, supervised concurrency, activity and ranked views. + +## Response summary + +Create the repository's migration branch and preserve its imported +scope, with revision-aware local source configuration and a shared +local taken skill. Keep original checkout stores and indexes intact. +Existing live branch stores remain independently registered. The LNS +manifest and migration ledger describe the authoritative split paths. + +## Human edits + +The human chose the per-repo split and worktree delivery, authorized +local auto-mode, and required supervisor-based locking: the supervisor +owns write authority and can revoke delegated human/subagent edit +grants through cancellation. The agent applied these directions. +No task/checkbox acceptance changes or Git commits were authorized. diff --git a/ai/prompt-io/20261003T001837Z_9115d24_project_stores.raw.md b/ai/prompt-io/20261003T001837Z_9115d24_project_stores.raw.md new file mode 100644 index 00000000..f72ea8e2 --- /dev/null +++ b/ai/prompt-io/20261003T001837Z_9115d24_project_stores.raw.md @@ -0,0 +1,36 @@ +--- +created_at: 2026-10-03T00:18:37.208688+00:00 +generated_by: + harness: codex + provider: openai + model: gpt-6 +git_ref: 9115d24 +scope: data +substantive: true +raw_file: 20261003T001837Z_9115d24_project_stores.raw.md +--- + +## Prompt excerpts + +“break it up into appropriate per repo federated store files” +“intro the sub-store updates each on /open-wkt branches” +“a concise entrypoint to view all sub-project repo's federated stores” +“supervisor based locking” +“an edit capability can only be acquired from the supervisor” +“a human editor can be cancelled from their write access” + +## Generated output (diff reference) + +> `git diff HEAD~1..HEAD -- .taken/current.org` + +Create the repository's migration branch and preserve its imported +scope, with revision-aware local source configuration and a shared +local taken skill. Keep original checkout stores and indexes intact. +Existing live branch stores remain independently registered. The LNS +manifest and migration ledger describe the authoritative split paths. + +## Explanation + +The global launch now works: one Neovim window shows all 13 sources, +with normal highlighting and the new help menu. The full AI export +reports complete coverage with no diagnostics. -- 2.34.1 From 8086a91ba12d249d76de10243eb598a328839dd5 Mon Sep 17 00:00:00 2001 From: goodboy Date: Tue, 6 Oct 2026 15:09:45 -0400 Subject: [PATCH 02/16] Add Trend Calculus and Jev follow-ups to Taken Append six identified tasks and 24 unchecked items for prototype review, live Jev qualification, provider-service wiring, Pine parity, chart qualification and native subsecond sampling. Preserve existing task states, properties, prose and ordering. Link the existing FSP synchronization task and retain annotation IPC work with its current tracker. Record f148fbcc on moar_ai_skillz as a workflow dependency rather than duplicating it. Allow Taken's required final subtree separator only for .taken Org files through a narrow whitespace attribute. Keep the guarded save and prompting provenance alongside this data-only change. Prompt-IO: ai/prompt-io/codex/20261005T230013Z_9555e20c_trend_followups_d48a77_prompt_io.md (this patch was generated in some part by `codex` using GPT-6 family models (`openai`); exact model IDs unavailable) --- .gitattributes | 2 + .taken/current.org | 136 ++++++++++++++++++ ...55e20c_trend_followups_d48a77_prompt_io.md | 58 ++++++++ ...0c_trend_followups_d48a77_prompt_io.raw.md | 52 +++++++ 4 files changed, 248 insertions(+) create mode 100644 .gitattributes create mode 100644 ai/prompt-io/codex/20261005T230013Z_9555e20c_trend_followups_d48a77_prompt_io.md create mode 100644 ai/prompt-io/codex/20261005T230013Z_9555e20c_trend_followups_d48a77_prompt_io.raw.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..27c05aeb --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Taken requires a blank line after every Org subtree, including EOF. +.taken/*.org whitespace=-blank-at-eof diff --git a/.taken/current.org b/.taken/current.org index 04ee4a12..b791743d 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -288,3 +288,139 @@ - [ ] preserve incremental appends, view changes, and cache invalidation - [ ] test sum conservation across zoom levels and partial edge buckets - [ ] profile the cumulative path against the existing M4 implementation + +** TODO review and save the Trend Calculus prototype +:PROPERTIES: +:ID: piker-trend-calculus-prototype-review +:CREATED: [2026-10-05] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:AI_HARNESS: codex +:AI_WORKTREE: /home/goodboy/repos/piker +:AI_BRANCH: trend_calc_on_jev +:ISSUE: https://github.com/pikers/piker/issues/187 +:END: +[[file:/home/goodboy/repos/piker/docs/trend_calculus.rst][Research and prototype guide]] +- [ ] Regenerate and review six Trend Calculus behavior boundaries + on trend_calc_on_jev after workflow commit f148fbcc on + moar_ai_skillz lands; retain source/test pairs and inspect every + message before saving. +- [ ] Run each boundary check from the pinned package and the final + safe regression sequence; the working-tree offline suite passed 253 + tests. +- [ ] Qualify one selected live source through startup, quiet bars, + skipped wakeups, history repair, replay and owner cancellation. +- [ ] Coordinate inherited stream/backfill work with + [[id:piker-fsp-backfill-sync-review-and-commit][the existing FSP synchronization task]]. + +** TODO qualify Jev regime judgments against real responses +:PROPERTIES: +:ID: piker-jev-live-regime-qualification +:CREATED: [2026-10-05] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:AI_HARNESS: codex +:AI_WORKTREE: /home/goodboy/repos/piker +:AI_BRANCH: trend_calc_on_jev +:END: +[[file:/home/goodboy/repos/piker/docs/trend_calculus.rst][Research and prototype guide]] +- [ ] Once TYPESAFE_API_KEY is available and a live request is + authorized, send one small synthetic multi-timeframe request + through the HTTPX/Trio client. +- [ ] Verify the documented request/response schema, model identity, + distributions, usage, errors and measured end-to-end latency. +- [ ] Evaluate useful regime labels and confidence on held-out trend + snapshots, including flat, reversing, aligned and conflicting + timeframes. +- [ ] Measure sustained pacing, coalescing, source freshness and cost + before enabling realtime judgments. +- [ ] Consider an SDK AnyIO port or Trio backend only after the + direct HTTP prototype demonstrates useful classifications. + +** TODO connect finalized trends to the Jev provider-service +:PROPERTIES: +:ID: piker-jev-provider-service-integration +:CREATED: [2026-10-05] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:AI_HARNESS: codex +:AI_WORKTREE: /home/goodboy/repos/piker +:AI_BRANCH: trend_calc_on_jev +:END: +[[file:/home/goodboy/repos/piker/docs/trend_calculus.rst][Research and prototype guide]] +- [ ] Obtain the separate system-1 provider-service repository or + interface and identify its input, output, lifecycle and ownership + contracts. +- [ ] Adapt serve_regimes and RegimeClassifier to the service nursery + and typed publication interface without mixing model labels into + deterministic trend state. +- [ ] Configure market, periods, model, credentials, request pacing, + evidence retention and freshness limits explicitly. +- [ ] Verify reconnect, revision/gap invalidation, backpressure, + stale-response rejection and shutdown with the actual service. + +** TODO recover Pine source and check Trend Calculus parity +:PROPERTIES: +:ID: piker-trend-calculus-pine-parity +:CREATED: [2026-10-05] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:AI_HARNESS: codex +:AI_WORKTREE: /home/goodboy/repos/piker +:AI_BRANCH: trend_calc_on_jev +:ISSUE: https://github.com/pikers/piker/issues/103 +:END: +[[file:/home/goodboy/repos/piker/docs/trend_calculus.rst][Research and prototype guide]] +- [ ] Recover the human's Pine implementation and record its + provenance/version alongside the pinned Lua and Scala research. +- [ ] Compare startup seeding, extrema ties, FHLS splitting, opposing + pivots and recursive reversal orders. +- [ ] Add independent fixtures for meaningful semantic differences; + distinguish extremum time from confirmation time and mutable-bar + previews. + +** TODO qualify multitimeframe pivots and regime annotations +:PROPERTIES: +:ID: piker-trend-regime-chart-qualification +:CREATED: [2026-10-05] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:AI_HARNESS: codex +:AI_WORKTREE: /home/goodboy/repos/piker +:AI_BRANCH: trend_calc_on_jev +:END: +[[file:/home/goodboy/repos/piker/docs/trend_calculus.rst][Research and prototype guide]] +- [ ] Inspect actual 1/5/15-second layers and hover information on a + selected live market; compare confirmed pivots and regime + boundaries to finalized source evidence. +- [ ] Verify chart-axis placement, gaps, revisions, hidden charts, + duplicate cached feeds and owner-scoped cleanup. +- [ ] Qualify model rectangles at response receipt and expiry, + including stale classifications and source-segment changes. +- [ ] Measure quiet-bar display delay before deciding whether + publication needs an explicit output notification. +- [ ] Coordinate shared history-overlay lifecycle with the existing + chart-local gap overlay follow-ups; route any annotation IPC + factoring to the existing typed-dialog task. + +** TODO qualify a native subsecond source for trend regimes +:PROPERTIES: +:ID: piker-trend-native-subsecond-sampling +:CREATED: [2026-10-05] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:AI_HARNESS: codex +:AI_WORKTREE: /home/goodboy/repos/piker +:AI_BRANCH: trend_calc_on_jev +:END: +[[file:/home/goodboy/repos/piker/docs/trend_calculus.rst][Research and prototype guide]] +- [ ] Define the required high-frequency periods and producer + contract; the numeric/MTF APIs accept fractional periods but the + current native clock uses whole seconds. +- [ ] Extend or select the source/sampler time grid before enabling + subsecond chart/service periods; retain strictly increasing + coordinates and complete aligned buckets. +- [ ] Measure compute, SHM publication, service latency and chart + refresh under the selected cadence, including gaps, replay and + cancellation. + diff --git a/ai/prompt-io/codex/20261005T230013Z_9555e20c_trend_followups_d48a77_prompt_io.md b/ai/prompt-io/codex/20261005T230013Z_9555e20c_trend_followups_d48a77_prompt_io.md new file mode 100644 index 00000000..f8144e7d --- /dev/null +++ b/ai/prompt-io/codex/20261005T230013Z_9555e20c_trend_followups_d48a77_prompt_io.md @@ -0,0 +1,58 @@ +--- +created_at: 2026-10-05T23:00:13.353081+00:00 +generated_by: + harness: codex + provider: OpenAI +git_ref: 9555e20c +scope: data +substantive: true +raw_file: 20261005T230013Z_9555e20c_trend_followups_d48a77_prompt_io.raw.md +--- + +## Prompt + +The human asked to capture all ongoing Trend Calculus/Jev follow-ups +in Taken, supplied the federated_project_stores worktree, and then +requested a complete commit plan for that branch. They confirmed +that workflow configuration already exists on moar_ai_skillz and +asked why the earlier trend package duplicated it. + +## Response summary + +Resolved the registered Piker corpus and unique structural parent. +Used Taken's guarded whole-document save to append six identified +TODO tasks and 24 unchecked items. Preserved every prior byte, +existing state, property and order. Linked the existing FSP review +instead of duplicating it and kept annotation IPC follow-ups with +the existing task. Recorded known harness/worktree/branch provenance. + +Corrected only the new prototype-review task's prose to require the +existing f148fbcc/moar_ai_skillz workflow dependency and regenerate +six Trend Calculus behavior boundaries. No task marker was changed. +Added a whitespace attribute limited to .taken Org documents so the +required final empty subtree separator passes standard Git checks. +No other workflow configuration is included in this commit package. + +## Verification + +Taken lint previously passed on the saved corpus and standard Git +whitespace checks pass with the path-scoped Org attribute. Saved +bytes were checked against the guarded candidate; all original +corpus content and state markers are intact. The commit package +selects a read-only lint against its exact boundary store, with +application tests excluded for this data-only change. That check +remains pending until package execution; no earlier whole-worktree +result is claimed as an exact-boundary reusable pass. + +## Human edits + +The human authorized loading the registered store and requested +planning, not execution. Their workflow-history correction directly +changed the new review task. Existing human tasks remain unaccepted; +no commits, pushes, rebases, mainlining or existing-state changes +were performed. The main checkout's staged content was preserved. + +## Files changed + +- `.taken/current.org` +- `.gitattributes` diff --git a/ai/prompt-io/codex/20261005T230013Z_9555e20c_trend_followups_d48a77_prompt_io.raw.md b/ai/prompt-io/codex/20261005T230013Z_9555e20c_trend_followups_d48a77_prompt_io.raw.md new file mode 100644 index 00000000..7f0b2d71 --- /dev/null +++ b/ai/prompt-io/codex/20261005T230013Z_9555e20c_trend_followups_d48a77_prompt_io.raw.md @@ -0,0 +1,52 @@ +--- +created_at: 2026-10-05T23:00:13.353081+00:00 +generated_by: + harness: codex + provider: OpenAI +git_ref: 9555e20c +scope: data +substantive: true +--- + +## Human instruction (verbatim) + +after this pass i want us to start loading our taken store with all the ongoing / todos/ follow ups anyway - we can hash it all out there. + +it's on another unmerged wkt we have to mainline, not sure what the +best stopgap for that is rn but the existing taken is here, +wkt/federated_project_stores + +can we do a $commit-plan for that wkt branch with this stuff then as +well? i'm going to try and get it landed to main asap so we can start +always updating it directly from our working branch/wkt. + +uhh isn't this already in f148fbcc and the moar_ai_skillz branch?? + +## Captured assistant output (verbatim) + +The style pass and seven-commit package are finished. I added +six follow-up tasks with 24 unchecked items to the registered +Taken corpus and verified that all prior content is unchanged. +Taken lint passes. + +You’re right: the three `.ai` files are byte-for-byte identical +to `f148fbcc` on `moar_ai_skillz`. That commit isn’t in this +checkout or local `main` yet, but I should have treated it as +an existing branch dependency, not proposed a duplicate commit. + +I’m withdrawing that workflow step from the Trend Calculus plan. +Those files are now staged here; I’ll leave your index untouched. + +## Data/configuration pointers + +> `git diff HEAD~1..HEAD -- .taken/current.org` + +> `git diff HEAD~1..HEAD -- .gitattributes` + +These pointers name the completed one-boundary commit after human +review/execution. The prepared package captures the pending delta. +Six identified tasks retain all existing states and record prototype +review, live Jev qualification, service wiring, Pine parity, chart +qualification and native subsecond source work. A narrow Org +attribute permits Taken's required blank separator at EOF while +retaining other whitespace diagnostics. No Git commit ran. -- 2.34.1 From 5d5517c526726aaa2ee698868ed826c38236f2f0 Mon Sep 17 00:00:00 2001 From: goodboy Date: Tue, 6 Oct 2026 22:19:09 -0400 Subject: [PATCH 03/16] Add typed clearing migration follow-ups to Taken Record the committed schema/reducer foundation and its offline qualification alongside the remaining paper, live adapter, EMS/UI, and paired payload-enforcement work. Link the implementation plan and retain explicit race, startup and bounded teardown checks. Add one identified task with 23 unchecked items. Existing task states remain human-owned. (this patch was generated in some part by `codex` using `gpt-6` (`openai`)) --- .taken/current.org | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/.taken/current.org b/.taken/current.org index b791743d..8ac56ea2 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -424,3 +424,46 @@ refresh under the selected cadence, including gaps, replay and cancellation. +** TODO migrate clearing to strict typed messaging +:PROPERTIES: +:ID: piker-typed-clearing-migration +:CREATED: [2026-10-06] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:AI_HARNESS: codex +:AI_WORKTREE: /home/goodboy/repos/piker/wkts/typed_clearing_protocol +:AI_BRANCH: wkt/typed_clearing_protocol +:END: +[[file:/home/goodboy/repos/piker/wkts/typed_clearing_protocol/plans/opencode/typed-ems-messaging.md::823][Migration plan and commit boundaries]] + +Foundation evidence: plan commit 1793b47c and implementation commit +7fee9b86; human reports both pushed. Strict schemas, validation, +directional stream helpers and the pure OrderState reducer are +implemented. Prior qualification: 65 offline tests and eight IPC +tests passed. Production endpoints still use the legacy protocol. + +- [ ] Port paper and its paired EMS consumer together. + * [ ] Typed startup, requests, events and open-order completion. + * [ ] Deterministic synthetic ticks and distinct execution IDs. +- [ ] Port Binance, Kraken and IB individually with paired EMS handling. + * [ ] Shared offline conformance and provider translation fixtures. + * [ ] Preserve execution identity, signed positions and account mapping. +- [ ] Integrate OrderState into EMS routing and broker-event handling. + * [ ] Bound pre-ack buffering by age in its asynchronous owner. + * [ ] Preserve cancel intent, fill deduplication and late-event handling. +- [ ] Migrate client/EMS startup, local queues and UI consumers together. + * [ ] Replace wire snapshot mutation and dictionary reconstruction. +- [ ] Enforce each migrated endpoint pair with Tractor payload specs. + * [ ] Narrow receive sets; validate startup, RPC arguments and results. + * [ ] Reject malformed, wrong-direction and wrong-phase messages. +- [ ] Qualify real adapter and actor behavior offline. + * [ ] Cancel-before-ack; early, duplicate and late fills. + * [ ] Empty/populated startup snapshots and two-client order isolation. + * [ ] Abrupt transport EOF, cancellation and bounded failure teardown. + * [ ] Repeated lifecycle tests under supported spawn methods. +- [ ] Resolve the duplicate pytest --ll option before a Tractor pin upgrade. +- [ ] Document the position-broadcast isolation limitation and policy. +- [ ] Remove legacy IPC paths after all paired migrations qualify. +- [ ] Propose a reviewable commit plan for each qualified implementation. + + -- 2.34.1 From df8d3b625f9c24f353102922ed2e30e1e1601607 Mon Sep 17 00:00:00 2001 From: goodboy Date: Tue, 6 Oct 2026 22:35:08 -0400 Subject: [PATCH 04/16] Record TC draft split and resume context in Taken Add an identified follow-up to unpack draft e815fd77 after upstream branch history is settled, preserve its complete changeset, and prepare reviewed behavioral commits with their checks. Record the verified Codex dialog and TC checkout in AI_DLOG and AI_WKT so this work can be resumed. Preserve every existing task and checkbox state. (this patch was generated in some part by `codex` using GPT-6 family models (`openai`); exact model IDs unavailable) --- .taken/current.org | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.taken/current.org b/.taken/current.org index 8ac56ea2..7220d816 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -313,6 +313,30 @@ - [ ] Coordinate inherited stream/backfill work with [[id:piker-fsp-backfill-sync-review-and-commit][the existing FSP synchronization task]]. +*** TODO split draft TC commit after upstream history is settled +:PROPERTIES: +:ID: piker-trend-calculus-draft-commit-split +:CREATED: [2026-10-06] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:AI_HARNESS: codex +:AI_WORKTREE: /home/goodboy/repos/piker +:AI_BRANCH: trend_calc_on_jev +:TAKEN_APPEND_OP: 85c6bdbe-7655-4323-b366-2732ac86e16c +:TAKEN_APPEND_REQUEST: 10de3a5f301761e43ba80988385d9eb180d41fc3025ed1cd66255f80e3c9fa98 +:AI_DLOG: 01a109d6-d0ec-70d3-b2cf-2112a6780aa3 +:AI_WKT: /home/goodboy/repos/piker +:END: +Draft snapshot: =e815fd77cfbf89b241bfabf19bda7b1c5f25c784=. +- [ ] Wait until upstream branches and their landing order are + settled; preserve a reference to the draft snapshot. +- [ ] Reset/unpack draft commit e815fd77 while retaining the full TC + changeset and preserving unrelated working-tree and staged work. +- [ ] Prepare a proper commit plan for that changeset with coherent + behavior boundaries, matching tests, docs and provenance. +- [ ] Run each boundary's checks and review its diff and message + before recommitting. + ** TODO qualify Jev regime judgments against real responses :PROPERTIES: :ID: piker-jev-live-regime-qualification -- 2.34.1 From 687087616ebd9ebeda831c86925c51be70c07675 Mon Sep 17 00:00:00 2001 From: goodboy Date: Tue, 20 Oct 2026 11:46:24 -0400 Subject: [PATCH 05/16] Record chart disconnect E2E handoff in Taken Add the identified test assignment with independent daemon and chart-process ownership, alternating departures, reattachment, search-state variants and deterministic startup-cancellation gates. Keep service-survival evidence separate from clean chart exit, including FSP bootstrap/debug-lock failures and native crashes. Record order-identity and cancellation coverage while retaining explicit authorization boundaries for live IB and order execution. Capture current testing/evaluation branch and environment differences and link the canonical crash and clearing concerns. Their work is separate; this commit records the E2E assignment, not implementation or acceptance, and preserves all existing task states. (this patch was generated in some part by `opencode` using `gpt-6-astra` (`openai`)) --- .taken/current.org | 158 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) diff --git a/.taken/current.org b/.taken/current.org index 7220d816..15db02cb 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -491,3 +491,161 @@ tests passed. Production endpoints still use the legacy protocol. - [ ] Propose a reviewable commit plan for each qualified implementation. +* TODO Qualify chart disconnect and reattach with independent service ownership +:PROPERTIES: +:ID: piker-chart-disconnect-reattach-e2e +:CREATED: [2026-10-20] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.testing +:AI_HARNESS: opencode +:TAKEN_APPEND_OP: piker-chart-disconnect-reattach-e2e-20261020-v2 +:TAKEN_APPEND_REQUEST: 5963b29d2e6372c8864831fdee8945a3e064f5084d9abf0331f92c0b5171647c +:END: +Build process-isolated chart journeys that distinguish surviving shared +services and consumers from clean chart exit. Preserve original errors +and deterministic phase evidence; do not declare a journey green merely +because another chart remains usable. + +Next action: reconcile the current testing and evaluation branches and +their actual Piker/Tractor imports, then implement a suite-owned pikerd +with independent chart processes. No implementation has started for this +handoff as of this entry; source/state inspection is recorded below. + +Context: +Human-directed assignment to e2e_qa_mngr from proj_super. The source +handoff describes proposed tests, not existing runnable nodes: +[[file:/home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/ai/plans/20261019-chart-disconnect-e2e-handoff.md][Chart disconnect and reattach specification and manual evidence]] + +Existing foundations, inspected 2026-10-20: +- wkt/live_chart_qtractor at 4ab49082: structured lifecycle 1a2d4893, + prerequisite fixes 5c17419c, opt-in Kraken reproducer 4ab49082. + Application/test work is committed; only local workflow configuration + remains dirty. Use this as the initial working candidate, not proof + that the evaluation fixes are integrated. +- wkt/human_iface_e2e at aadfd1cf is clean and supplies the headless + QApplication isolation foundation. +- wkt/replay_provider_e2e at 06fee700 is clean. Its real feed/control + fixture has acknowledged sequence barriers. The observed disconnect + races justify narrow controlled input, not a replay-first rewrite. +- wkt/ib_downstream_pin_eval remains at eed58566 with dirty dependency, + logger, daemon and EMS compatibility changes. +- wkt/ib_disconnect_integration at c0dae89a contains committed IB + disconnect work; its provenance/tooling state remains dirty. +- Tractor wkt/ctx_final_return_disconnect in address_logging_levels is + at 0553fcf8 with dirty final-Return guard and regression changes. + Read them as candidate evidence, not an already-landed fix. + +Reuse tests/ui/conftest.py, the Qtractor lifecycle regression, +tests/conftest.py open_test_pikerd and owned config propagation, and +the replay branch's acknowledged feed controls where applicable. +[[file:/home/goodboy/repos/piker/wkts/live_chart_qtractor/tests/ui/test_live_chart.py][Committed live-chart reproducer]] +[[file:/home/goodboy/repos/piker/wkts/replay_provider_e2e/plans/opencode/live-backend-chart-e2e-review.md][Live-provider-first roadmap]] + +The current sanitized live_chart_qtractor interpreter resolves Piker +from that worktree but Tractor from its py313 site-packages; installed +Trio is 0.32.0 and PyQt6 is 6.10.1. This is not the manual evaluation's +Tractor checkout or PyQt6 6.11.0 environment. Resolve exact versions and +module paths again before any comparison. Inspect the duplicate pytest +--ll registration blocker before selecting the evaluation environment. + +Concerns and authority: +This assignment does not authorize commits, history changes, live IB +connections, any orders, or attachment to the human's running daemon. +Order journeys may be designed and implemented as gated tests; do not +execute them without explicit authorization. Live-provider qualification +requires explicit selection and applicable human permission. + +The existing Kraken run reached history and paper EMS but readiness +preceded rt_linked.mode, Qt reported abstract paint calls, and teardown +left a paperboi child. That exact orphan was subsequently stopped by +human-authorized SIGINT. Guest completion did not prove descendant exit. + +Manual IB trials demonstrate daemon/survivor continuity, not clean exit. +Cancellation-only groups, DebugRequestError, hard-reaping and SIGSEGV +remain unresolved. Do not suppress any of these to make E2E green. + +Canonical native-crash investigation, separate from this test assignment: +[[id:piker-qt6-chart-teardown-sigsegv][Diagnose Qt6 chart teardown SIGSEGV with native backtraces]] +[[file:../ai/diagnostics/20261019-chart-253598/README.md][SIP wrapper access during PyQt atexit: diagnostics and limits]] +The core locates the native fault; it does not establish the underlying +ownership cause. This task records exit evidence without claiming repair. +Coordinate order replay/cancellation assertions with +[[id:piker-typed-clearing-migration][Strict typed clearing migration]]; +do not duplicate its protocol migration or infer it has landed. + +Execution: +- [ ] Reconcile source revisions and dirty work before integrating; record + the selected branch, reused fixtures, and exact runtime imports. +- [ ] Own registrar/pikerd A independently of chart processes B and C; + give each chart its own QApplication and Tractor root. Separate discovery + from listener addresses, use a test-unique registry and loopback port + zero, and assert actual chart listeners are nonzero and distinct. +- [ ] Isolate config, storage, settings and account state before imports + in every child; never reuse human ports 6116/3333 or human accounts. +- [ ] Provide an external observation/control channel and owned process + handles that outlive charts. Capture actor UUID/name/PID/listeners, + child relations and exact SHM ownership including unpublished child SHM. +- [ ] Establish readiness after feed/history attachment, bound views, + FSP streams, search handlers and EMS entry. Race waits against original + process/session failure, not only timeouts. +- [ ] Implement same-market alternating departures: ready B/C, close B, + prove the SAME C consumes a post-close quote/FSP update, reopen B, + close C, prove replacement B survives, then close/reopen the last chart. + Add the distinct-market variant to prove sibling-feed independence. +- [ ] Implement last-consumer repeated reattachment to the SAME A and + service/client generations. Compare actual window close, structured + shutdown, root-only SIGINT and terminal-equivalent process-group SIGINT + as separate variants, with PID/PGID ownership recorded before signaling. +- [ ] Drive actual search results with QtBot in the chart worker; compare + visible versus normally dismissed results before detach and reattach. +- [ ] Gate startup cancellation with entered/release acknowledgements at + early acquisition, FSP child bootstrap before imports/registration, + history publication and FSP stream establishment. Hold only C's work, + retain B's progress, permit unwind, and prove a new C can start afterward. +- [ ] Repeat gated startup aborts with no other consumer. Include debug + mode during FSP imports; retain the original interruption independently + from a secondary local-actor IPC stdio-lock DebugRequestError. +- [ ] Implement separately selected order continuity journeys for Piker + paper EMS, IB paper-account broker-routed limits, and EMS-held dark + orders. Execution remains blocked pending explicit order authorization. + Include multi-expiry market-specific dialogs and cancellation of both + order types after reattach. + +Verification: +- [ ] Report service survival and chart exit as separate outcomes even + when either fails. Collect survivor evidence after departure errors, + then aggregate originals rather than hiding them behind cleanup. +- [ ] Prove fresh service RPCs and post-action provider data in the same + survivor, including FSP consumption. Deterministic inputs need a matched + sequence; live quotes need not change price. Sampler ticks alone fail. +- [ ] Assert stable service/provider generations, owned child exit and + SHM lifetime according to its actual owner. Shared cached feed SHM may + remain with A; endpoint closure alone does not prove PID exit. +- [ ] Fail clean-exit checks for SIGSEGV/abort, stuck children, hard reap, + unexpected debugger entry and cancellation-only application errors. + Do not blanket-suppress TransportClosed or mixed exception groups. +- [ ] Preserve baseline/fixed results, stdout/stderr, return codes, + source versions, phase acknowledgements, actor/RPC/context identities, + cancellation provenance, and available fault-handler/core evidence. +- [ ] For authorized order qualification, verify canonical OID/reqid + continuity, idempotent replay, market routing, working-order counts, + position continuity and terminal cancellation. Repeated status messages + alone do not prove duplicate orders. Cover reqid 5042-style error replies + with oid=None and the unsubmitted-order-None cancellation symptom. +- [ ] Run each selected tier headlessly with bounded ownership-scoped + cleanup. Preserve fresh-process fixture isolation; no broad process + killing, SHM cleanup, or human-daemon access. + +Handback: +Return results to source piker, task piker-chart-disconnect-reattach-e2e: +- Selected implementation branch, exact source revisions and reused + fixtures, including any unintegrated prerequisites. +- Exact implemented runnable test node IDs and synchronization gates; + distinguish proposed names from implemented nodes. +- Baseline/fixed results with service survival and chart/process exit + reported independently, including unresolved failures. +- Remaining coverage gaps, required public/live-IB qualification and + order authorization, linked to the separate native-crash concern. +Use guarded store updates for evidence. Preserve all human-owned task +and checkbox states; passing tests and commits are not acceptance. -- 2.34.1 From 4c13012e0c3f19d8e19221e8a6cdc57cc60dc663 Mon Sep 17 00:00:00 2001 From: goodboy Date: Wed, 28 Oct 2026 14:52:17 -0400 Subject: [PATCH 06/16] Track Binance invalid-symbol recovery in Taken Record `piker-binance-invalid-fqme-backpressure` as a bounded pre-landing follow-up for the Binance series after PR94. Preserve the observed invalid `.usdm.` then corrected `.usdtm.` sequence, local relay-send timeout evidence and websocket fixes. Separate the suspected metadata/history identity mismatch from a demonstrated root cause; reconnect success alone does not qualify fresh market-data delivery. Require same-daemon reproduction, real task/relay ownership coverage, a baseline-failing regression and human live validation before landing. Keep execution and verification checkboxes open. This commit contains only the newly requested task. Older pending E2E/Polars entries and diagnostic artifacts remain outside it. No existing task or checkbox acceptance state is changed. (this patch was generated in some part by `opencode` using `gpt-6.1-sol` (`openai`)) --- .taken/current.org | 67 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/.taken/current.org b/.taken/current.org index 15db02cb..94f71160 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -649,3 +649,70 @@ Return results to source piker, task piker-chart-disconnect-reattach-e2e: order authorization, linked to the separate native-crash concern. Use guarded store updates for evidence. Preserve all human-owned task and checkbox states; passing tests and commits are not acceptance. +* TODO Repair Binance invalid-FQME startup and corrected-feed backpressure +:PROPERTIES: +:ID: piker-binance-invalid-fqme-backpressure +:CREATED: [2026-10-28] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.data +:TAKEN_APPEND_OP: piker-binance-invalid-fqme-20261028 +:TAKEN_APPEND_REQUEST: 819279545db3aa512eb3238c2450b2b86d6e0cef1e9bc3d09c7d22825470bf8e +:END: +Diagnose and fix the invalid .usdm. -> corrected .usdtm. chart startup +sequence before landing the Binance fix series after PR94. +Next action: reproduce that exact sequence on one persistent daemon +and identify the consumer which stops draining websocket relays. + +Context: +The human treats this as lower urgency than the restored valid-symbol +path, but explicitly wants it diagnosed and solved before landing. +Current source: wkt/land_binance_usdm_feed at 7952eb06. +Input: zecusdt.usdm.perp.binance, followed by +zecusdt.usdtm.perp.binance on the same daemon. + +The Pong-in-LOCAL_CLOSING reader error is now contained by b95e7c79; +032580bf exposes handshake, ready and first-relay reporting. +7952eb06 distinguishes receive starvation from local forwarding stalls. +Live evidence: brokerd.binance@2029589 reports timeout waiting on +local relay send for the ZEC bookTicker socket, 16s deadline, +count 4, reset after 3. Messages reached the websocket reader; the +local relay did not finish forwarding them. Reconnecting does not +establish resumed data delivery when the consumer remains stalled. + +[[file:../../land_binance_usdm_feed/piker/data/_web_bs.py][Websocket relay and reconnect ownership]] +[[file:../../land_binance_usdm_feed/piker/brokers/binance/feed.py][Binance startup and market metadata]] +[[file:../../land_binance_usdm_feed/piker/data/feed.py][Persistent feed allocation and sampling]] +[[https://pikers.dev/pikers/piker/pulls/94][PR94 prerequisite landing]] + +Concerns: +get_mkt_info() accepts USDM through its broad usd substring check, +but retains USDM in MktPair; Client.bars() indexes canonical USDTM +pair keys. Quote streaming starts before history/sampler startup. +This is a plausible late-failure path, not proof of orphaned tasks +or the precise cause of the corrected-feed stall. + +Execution: +- [ ] Preserve the first invalid-input traceback and actor/task IDs. +- [ ] Reproduce invalid then valid startup in the same daemon; compare + with valid-only cold startup and repeated detach/reattach. +- [ ] Trace ownership of websocket producers, merged relays, backend + quote channels, history tasks and sampler consumers after failure. +- [ ] Add a failing regression at the real lifetime boundary before + changing FQME validation/canonicalization or failed-startup cleanup. +- [ ] Fix the demonstrated cause; do not mask it by increasing buffers, + retrying healthy sockets or suppressing unrelated failures. + +Verification: +- [ ] Require fresh parsed quotes and sampler/chart progress after the + corrected request; handshake/ready messages alone are insufficient. +- [ ] Check sibling-feed survival, last-consumer cleanup, repeated + invalid/valid attempts and cancellation during startup/recovery. +- [ ] Run tests/test_websocket.py and tests/test_binance.py, then the + human-operated live invalid/valid chart journey on the saved tip. + +Handback: +Return the root failure, exact reproduction, source commits, baseline +and fixed regression results, live recovery evidence and remaining +limitations to this task. Live feeds, broker operations, commits and +task acceptance need their own authorization. Preserve existing states. -- 2.34.1 From 665da447d3397f57145ffa267f4cf3c0d91d010e Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 30 Oct 2026 20:12:21 -0400 Subject: [PATCH 07/16] Track chart, Polars and EMS follow-ups in Taken Capture native Qt teardown diagnostics, second-chart order resurrection and the deferred Polars 2.x qualification. Add the closed-dialog retention investigation with ledger correlation, late-callback routing and future dark-order history requirements. Keep reachable session history distinct from an established leak; propose bounds only from measured retention and lifecycle evidence. Preserve source references, existing task states and explicit live-operation gates. (this patch was generated in some part by coding harnesses; this commit msg was generated by `codex` using GPT-6 (`openai`), exact model ID unavailable) --- .taken/current.org | 260 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 260 insertions(+) diff --git a/.taken/current.org b/.taken/current.org index 94f71160..04fb89a2 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -491,6 +491,69 @@ tests passed. Production endpoints still use the legacy protocol. - [ ] Propose a reviewable commit plan for each qualified implementation. +* TODO Diagnose Qt6 chart teardown SIGSEGV with native backtraces +:PROPERTIES: +:ID: piker-qt6-chart-teardown-sigsegv +:CREATED: [2026-10-19] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.ui +:AI_HARNESS: opencode +:TAKEN_APPEND_OP: piker-qt6-chart-253598-20261019-v2 +:TAKEN_APPEND_REQUEST: 63f1f80088fcf82fd10a8c9a21fc0d0b7c1f0dcc58610afb4801af0ca29ccbb9 +:END: +Find and correct the invalid Qt/PyQt object lifetime during chart exit. +Next action: inspect the saved PID 253598 core with matching PyQt/SIP +debug symbols, then identify the wrapper passed to cleanup_qobject. + +[[file:../ai/diagnostics/20261019-chart-253598/README.md][Core identity, native fault stack and capture limitations]] +[[file:../ai/diagnostics/20261019-chart-253598/gdb.txt::886][All-thread GDB capture; fault-thread stack]] + +Context: +Human-selected chart core: PID 253598, actor b1326a, SIGSEGV/MAPERR at +2026-10-19 15:29:39 EDT. Command opened MNQ December 2026 and March 2027 +contracts on the IB downstream evaluation worktree. Python 3.13.14, +Qtbase 6.11.1, PyQt6 6.11.0, pyqt6-sip 13.10.2; Wayland/qt6ct loaded. +GDB captured 82 threads and shared-library paths. Native fault chain: +Python finalization/atexit -> cleanup_on_exit -> sip_api_visit_wrappers +-> cleanup_qobject -> sip_api_get_address. + +Concerns: +The human reports this class of crash since the Qt6 migration. Guest +mode/Qt-loop teardown ordering is a hypothesis, not a proven root cause. +The saved stack places this fault in PyQt/SIP finalization, not directly +inside a running Trio guest tick. Most native libraries lack debug info; +arguments, locals and source lines remain unavailable. The systemd core +can expire; its exact storage path and boot ID are in the report. +Preceding Python output includes MainWindow self-SIGINT/KBI and FSP +cancellation groups. Preserve these as separate observations; daemon +survival and unaffected sibling charts do not prove clean chart exit. + +Execution: +- [ ] Preserve the selected core outside systemd expiry and resolve + matching PyQt/SIP/Qt/Python debug symbols without changing live services. +- [ ] Inspect the faulting SIP wrapper and QObject ownership/deletion + state; distinguish use-after-free, repeated cleanup and ABI mismatch. +- [ ] Compare terminal process-group SIGINT, root-only SIGINT, actual + window close and structured QtractorSession shutdown in owned processes. +- [ ] Compare the evaluation lifecycle against wkt/live_chart_qtractor; + account for its dirty test/startup work separately from committed HEAD. +- [ ] Capture ordering of guest completion, Qt deferred deletes, + QApplication lifetime and Python finalization; derive a minimal repro. + +Verification: +- [ ] Add a subprocess regression that observes the exit status and + fails on SIGSEGV/native abort; use deterministic lifecycle gates where + needed rather than sleeps or blanket cancellation suppression. +- [ ] Repeat the repro with the focused fix, then qualify real-provider + chart exit and independent daemon/remaining-consumer survival. +- [ ] Retain both baseline and fixed diagnostics; distinguish native + crash repair from cancellation-group/debugger-lock follow-ups. + +Handback: +Return the identified failing ownership path, symbolized evidence, +focused patch/regression, exact commands/results and unresolved concerns +to this task. Keep acceptance markers human-owned. * TODO Qualify chart disconnect and reattach with independent service ownership :PROPERTIES: :ID: piker-chart-disconnect-reattach-e2e @@ -649,6 +712,116 @@ Return results to source piker, task piker-chart-disconnect-reattach-e2e: order authorization, linked to the separate native-crash concern. Use guarded store updates for evidence. Preserve all human-owned task and checkbox states; passing tests and commits are not acceptance. +** TODO Reproduce terminal-order resurrection during second-chart bootstrap +:PROPERTIES: +:ID: piker-chart-bootstrap-zombie-order +:CREATED: [2026-10-21] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.testing +:AI_HARNESS: opencode +:TAKEN_APPEND_OP: piker-chart-bootstrap-zombie-order-20261021 +:TAKEN_APPEND_REQUEST: d247a9738e0b8b1463a84e9bc8c1e9193d83b72bc63d81b1abef0f64c09e1dfc +:END: +Qualify canonical order-state and graphical convergence when already-live +chart B repeatedly submits and immediately cancels orders while chart C +is bootstrapping against the same independently owned EMS/pikerd. + +Next action: after upstream baseline reconciliation, identify real C-side +order snapshot/replay and live-subscription handoff gates. Keep B and EMS +responsive. Do not replace this scenario with cancellation between two +fully-ready charts. No test implementation or order execution is recorded. + +Context: +Sibling lander agent supplied the corrected human-observed trigger in +section 7b of the updated QA handoff: +[[file:/home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/ai/plans/20261019-chart-disconnect-e2e-handoff.md::215][7b: second-chart bootstrap submit/cancel race]] +The proposed name test_cancel_during_second_chart_order_bootstrap is not +yet a runnable test node. C was observed to retain an order already +cancelled in B and EMS. Exact causal ordering and whether stale state is +graphical or dialog-local remain unproven; initial retries were elusive. + +Execution: +- [ ] Reuse the parent task's independent-daemon/process topology and + record exact Piker/Tractor revisions before reproducing the race. +- [ ] Gate C at actual snapshot/replay and subscription handoff boundaries + with entered/release acknowledgements, leaving B and EMS responsive. +- [ ] Exercise repeated immediate submit/cancel in B with distinct OIDs; + place terminal cancellation before, during and after bootstrap delivery. +- [ ] Add a controlled variant that delivers an older open snapshot after + terminal cancellation. Label this injected ordering as a hypothesis + test, not the established ordering of the manual failure. +- [ ] Cover broker-routed IB paper-account orders and EMS-held dark + orders separately, preserving market-specific dialog routing. + +Verification: +- [ ] Compare C's canonical dialog/order state AND graphical items with + the terminal state in EMS; require absent/cancelled state after startup. +- [ ] Deliver deferred replay, duplicate open snapshots and later live + events; prove terminal orders cannot resurrect in state or graphics. +- [ ] Retain OID, broker reqid, market, bootstrap phase and event ordering + in diagnostics. Count canonical records separately from status messages. +- [ ] Preserve separate service-survival and chart-exit outcomes inherited + from the parent task; do not hide teardown errors behind state checks. + +Concerns and authority: +Wait for the agreed upstream baseline before implementation. This logging +request authorizes no live IB connection, order submission/cancellation, +history change, commit or human-daemon attachment. Order execution needs +separate explicit authorization even for paper accounts. +[[id:piker-typed-clearing-migration][Coordinate with typed clearing and order-state migration]] + +Handback: +Return exact implemented node IDs and gates, observed versus injected +event sequences, baseline/fixed state AND graphics results, remaining +coverage gaps and required backend/order authorization to this task and +[[id:piker-chart-disconnect-reattach-e2e][the parent E2E assignment]]. +Preserve all human-owned task and checkbox states. +* TODO Qualify the Polars 2.x upgrade after PR94 +:PROPERTIES: +:ID: piker-polars-2-upgrade +:CREATED: [2026-10-21] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.tsp +:AI_HARNESS: opencode +:TAKEN_APPEND_OP: piker-polars-2-upgrade-20261021 +:TAKEN_APPEND_REQUEST: 138f0697b83aafef4d1103ad1dd9564949463d52cd383be97e90021d3fcca382 +:END: +Upgrade Polars deliberately after the packaging/runtime landing. +Next action: compare the Polars 2.x migration notes against Piker's +actual DataFrame, expression, dtype and NumPy/Arrow boundary usage. + +Context: +PR94's Tractor relock initially selected Polars/runtime 2.0.0. +The human requested avoiding that major upgrade during the landing. +The landing worktree now requires polars >=0.20.6,<2.0.0 and locks +polars plus polars-runtime-32 to 1.44.2. The installed test environment +was still on 1.36.0 when 14 logger/startup cases passed; those results +qualify neither 1.44.2 data paths nor 2.x. Keeping exactly 1.36.0 was +rejected by the universal resolver for a Windows target; 1.44.2 resolved. +[[https://pikers.dev/pikers/piker/pulls/94][PR94 packaging/runtime landing]] +[[file:../../land_flake_update/pyproject.toml::55][Current pre-2.0 bound]] + +Execution: +- [ ] Inventory affected Polars calls and migration requirements; + distinguish API removal from dtype, schema and null-value changes. +- [ ] Prepare an isolated 2.x environment and intentional lock update, + preserving the working pre-2.0 environment for comparison. +- [ ] Check timestamp units/time zones, OHLCV schemas, empty frames, + joins/grouping and NumPy/Arrow conversions with representative data. +- [ ] Exercise offline storage/history/accounting data paths and add + regressions only for demonstrated changed behavior. +- [ ] Review supported-platform wheel/runtime resolution; do not hide + resolver failures by narrowing platforms without a human decision. +- [ ] Remove or raise the <2 bound only with the qualified migration. + +Verification and handback: +Report exact old/new versions, targeted results, compatibility changes, +remaining gaps and any material performance changes. Request separate +authorization for live feeds, account-state mutation or GUI tests. +The PR94 1.44.2 qualification is a separate near-term gate, not acceptance +of this later major upgrade. Keep task/checklist acceptance human-owned. * TODO Repair Binance invalid-FQME startup and corrected-feed backpressure :PROPERTIES: :ID: piker-binance-invalid-fqme-backpressure @@ -716,3 +889,90 @@ Return the root failure, exact reproduction, source commits, baseline and fixed regression results, live recovery evidence and remaining limitations to this task. Live feeds, broker operations, commits and task acceptance need their own authorization. Preserve existing states. + +* TODO Trace closed-order retention and dark-order persistence +:PROPERTIES: +:ID: piker-ems-closed-dialog-retention +:CREATED: [2026-10-30] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.clearing +:AI_HARNESS: opencode +:AI_WKT: /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval +:AI_BRANCH: wkt/ib_quote_cache_eval +:TAKEN_APPEND_OP: piker-closed-dialog-retention-20261030-v2 +:TAKEN_APPEND_REQUEST: 8e168fad2fe9559229f2c66d626342de147febb789e057e0003af81b585ab457 +:END: +Qualify `DarkBook`-lifetime retention of closed dialogs as useful +session history, measure its cost, and relate it to future offline +dark-order storage and accounting-ledger reconciliation. + +Next action: run repeated broker-free order lifecycles and trace +distinct retained OIDs, memory growth, late callbacks and release +when the owning `DarkBook` is discarded. + +Context and policy: +Commit dae575e1, "Preserve IB order state through notices and late +fills", retains canceled/closed broker dialogs in `DarkBook._closed`. +This includes normally filled live orders and triggered dark orders; +untriggered dark cancellation removes local state without retaining +it in this table. Repeated callbacks update the same OID entry. + +The human considers retaining these entries until `DarkBook` +destruction potentially useful for tracing closed orders against +accounting ledgers and future offline dark-order history. Treat this +as intentional reachable retention, not an established leak or an +instruction to introduce TTL eviction now. + +`Status` and `brokerd_msg` are mutable latest-state records, not an +append-only event journal. Determine what additional identity and +event history reconciliation or durable dark-order storage needs. + +[[file:../../ib_downstream_pin_eval/piker/clearing/_ems.py::152][Closed-dialog retention implementation]] +[[file:../../ib_downstream_pin_eval/piker/clearing/_ems.py::1163][Existing message-flow history/replay TODO]] + +Related work and storage references: +[[id:piker-typed-clearing-migration][Coordinate with typed clearing and order-state migration]] +[[file:../../typed_clearing_protocol/plans/opencode/typed-ems-messaging.md::217][Original Order retention and immutable published snapshots]] +[[file:../../typed_clearing_protocol/plans/opencode/typed-ems-messaging.md::849][Accounting/ledger storage is outside that IPC migration]] +[[file:../../ib_downstream_pin_eval/.agents/skills/piker-clearing-expert/SKILL.md::108][Existing trade-ledger persistence contracts]] +[[file:../../ib_downstream_pin_eval/.agents/skills/piker-clearing-expert/architecture.md::27][Current mutable Status is not a history envelope]] + +No dedicated offline dark-order storage task was found in the +selected project store or inspected design references. The links +above are related prerequisites, not evidence that dark intent and +cancellation persistence already exists. Link any canonical storage +assignment found during follow-up rather than duplicating its scope. + +Execution: +- [ ] Trace writes, reopening and release of `DarkBook._active`, + `DarkBook._closed` and `DarkBook._ems2brokerd_ids`. +- [ ] Compare untriggered cancellation, triggered cancellation, + ordinary completion, late errors/fills and reopened dialogs. +- [ ] Measure per-order retained entries/bytes over long sessions and + verify that discarded books do not remain referenced elsewhere. +- [ ] Map original OID, broker request ID, execution/transaction ID, + account and market identity across retained dialogs and ledgers. +- [ ] Distinguish zero-fill canceled orders from partial/multiple + fills; do not require one ledger transaction per closed order. +- [ ] Propose the session-history/offline-history contract and only + recommend bounds or eviction if evidence shows they are needed. + +Verification and concerns: +- [ ] Add deterministic broker-free lifecycle and teardown coverage. +- [ ] Preserve late-fill/error routing and original request identity. +- [ ] Demonstrate intentional growth while a book lives and release + after destruction; report unexpected retention separately. +- [ ] Keep durable execution ledgers distinct from mutable EMS + projections and from a future dark-order intent/event journal. + +A canceled/closed status is not a callback-drain acknowledgement. +Any future eviction must define routing/recovery after removal and +must not silently drop fills or recreate `Error(req=None)`. +Live order execution requires separate human authorization. + +Handback: +Return retention traces, ledger-correlation findings, links to any +offline dark-order storage assignment, lifecycle tests and proposed +policy to this task. Preserve human-owned task and checkbox states. + -- 2.34.1 From 6f4cb01e954e3c5144e8f61b917f6db2ee7c2afa Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 23 Oct 2026 11:49:57 -0400 Subject: [PATCH 08/16] Consolidate Piker work in the Taken store Collect branch work, original notes and existing follow-ups into an identified inventory with an advisory priority order. Link complete source documents and preserve every existing task state. Also, - carry forward the Qt teardown, chart bootstrap and Polars tasks; - include the native crash report and original GDB transcript needed by the Qt task's relative links; - record prompt provenance and the human's scope corrections; - keep generated audit and commit execution data in ignored state. Prompt-IO: ai/prompt-io/20261023T143856Z_91769016_work_inventory.md (this patch was generated in some part by `codex` (`openai`)) --- .gitattributes | 3 + .taken/current.org | 568 ++++++++ .../20261019-chart-253598/README.md | 94 ++ ai/diagnostics/20261019-chart-253598/gdb.txt | 1138 +++++++++++++++++ ...0261023T143856Z_91769016_work_inventory.md | 47 + ai/prompt-io/README.md | 12 + 6 files changed, 1862 insertions(+) create mode 100644 ai/diagnostics/20261019-chart-253598/README.md create mode 100644 ai/diagnostics/20261019-chart-253598/gdb.txt create mode 100644 ai/prompt-io/20261023T143856Z_91769016_work_inventory.md create mode 100644 ai/prompt-io/README.md diff --git a/.gitattributes b/.gitattributes index 27c05aeb..82cf0109 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,5 @@ # Taken requires a blank line after every Org subtree, including EOF. .taken/*.org whitespace=-blank-at-eof + +# Keep the original native crash transcript unchanged. +ai/diagnostics/20261019-chart-253598/gdb.txt -text -whitespace diff --git a/.taken/current.org b/.taken/current.org index 04fb89a2..62a2378c 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -491,6 +491,574 @@ tests passed. Production endpoints still use the legacy protocol. - [ ] Propose a reviewable commit plan for each qualified implementation. +** Project work inventory, 2026-10-23 +:PROPERTIES: +:ID: piker-project-work-inventory +:CATEGORY: piker.project +:END: +Maintain one navigable account of Piker work across humans, agents, +branches and local notes. This is the product-management entry point. +The user retains every acceptance marker and priority decision. + +Next action: review the bounded runtime/IB landing and its downstream +replay obligations, then choose the next assignment from the ranked +workstreams below. This inventory does not authorize executing any +linked historical command or changing another worker's checkout. + +*** Scope, provenance and preservation + +Source =piker= resolves through this worktree's =.taken/sources.toml=. +This checkout was opened from =wkt/federated_project_stores= at +=91769016513342d0960436fc79690f31b5e3cb17=. +The complete newer working store was carried forward, including its +uncommitted Qt, second-chart order and Polars follow-ups. Its previous +prose, ordering, properties, headline states and checkboxes are intact. + +The scan covers 128 pre-existing local branches, 415 cached remote +refs and all 32 pre-existing registered worktrees. The inventory +branch/worktree is also recorded, bringing the observed totals to +544 refs and 33 worktrees. Ten stash identities are recorded without +restoring their bodies. No network fetch or forge-state query ran. + +The workstreams below retain the actionable requirements and link +their complete original notes and plans. Original source files remain +in place without edits. Same-checkout documents use relative links; +active worktree documents use explicit local paths; branch-only +documents use commit-pinned references to their existing Git history. +Retarget worktree links before retiring their source checkout. + +Generated commit packages, recovered transcripts, source snapshots +and scan manifests remain private local workflow state. They are not +part of this store's commit. Durable plans and prompt provenance keep +their established locations; they are not duplicated into an archive. + +Coverage excludes external symlink targets, raw harness databases and +JSONL/tool caches, credentials, generated environment/binary files, +code-level TODO comments outside tracking documents, and historical +versions absent from the inspected branch tips. Source issue links +and cached PR descriptions do not establish their current remote state. +Branch observations below describe the initial sweep; recheck the +relevant checkout before assigning follow-up work. + +*** Approximate priority and main baseline + +This is an advisory order, not a change to Org priority or task state. +Use dependency impact, current failures, integration readiness and +observed active edits ahead of branch age or raw commit count. + +1. Finish review of the bounded runtime/IB recovery candidate for #94. + It is the active integration path and blocks much downstream work. + Keep the accepted daemon-teardown deferral explicit. +2. Reproduce and fix chart/daemon teardown failures; implement the + independent-service chart detach/reattach and order-bootstrap tests. + Native crashes and misleading stale order displays need separate + evidence from successful surviving-chart smoke tests. +3. Qualify history/storage correctness and the dirty segment refiller, + together with FSP synchronization and stale-tick protection. + Data publication, durable repair and derived outputs share this base. +4. Continue strict typed clearing from its implemented foundation, + starting with the paired paper/EMS boundary and real-actor tests. +5. Review small provider/search correctness and chart-gap/DPI changes + as bounded candidates where they can proceed independently. +6. Review the actively edited TIPC/remote-feed bridge against the + selected runtime and ownership contracts before expanding it. +7. Qualify the Trend Calculus prototype, Pine parity and live chart + behavior; keep external Jev/service work behind its explicit gates. +8. Pursue cumulative-volume rendering, revisioned FSP graphs and the + preserved chart UX/research backlog once correctness is stable. +9. Reconcile remaining portability, lint/tooling, funding and older + branch candidates with actual owners and current external state. + +Store maintenance accompanies each assigned workstream rather than +waiting for the lower-ranked feature backlog. A new human deadline or +an actively affected provider can change this order. + +Local =main= and cached =gitea/main= are both =7c8c1c4c=, the October 7 +merge of #93 (portable AI skills). The main checkout is actually on +=wkt/land_ib_recovery=, not main. Cached =dev/main= and =srht/main= stop +at =a00e9c0e= and are not the integration baseline. + +The landing path is 23 commits ahead of main at =4133f073=, 25 at +=7bef50b0=, and 28 at =dc618229=; each contains local main. The aggregate +development tips generally omit eight main commits while carrying +large shared stacks. These are ancestry counts, not independent +features or proof of patch equivalence. No product tests were run by +this inventory; test counts below are attributed historical evidence. + +The August repository landing plan remains preserved as design and +history evidence. Its baseline, ordering and external-status claims +must be compared with this October snapshot before reuse. +[[file:../plans/opencode/repo-land-plan.md][plans/opencode/repo-land-plan.md (original source)]] + +*** TODO review the bounded runtime and IB recovery landing +:PROPERTIES: +:ID: piker-bounded-ib-recovery-landing +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Objective: review the current #94 candidate with accurate attribution, +explicit omissions and a viable downstream continuation. +Next action: inspect the six-boundary candidate and current dirty +checkout at =wkt/land_ib_recovery@dc618229= with its owner. + +**** Context and source + +The candidate retains the runtime/Nix/pin foundation, correlated IB +MethodProxy responses, daemon error propagation and isolated feed +consumers. The working diff backs out cached IB quote ownership, +partially backports reset/no-data adapter behavior, adds owned EMS +subscriptions, removes one null-sample debugger stop, and records +real-runtime regression and manual evidence. +[[file:/home/goodboy/repos/piker/ai/ib-recovery-candidate.md][ai/ib-recovery-candidate.md (original source)]] + + +The source reports 38 passes and one intentionally visible callback +failure. Human QQQ/backfill and overlapping chart trials on October 23 +support recovery/service continuity; they do not establish clean exit. +The human explicitly accepted deferring daemon teardown from #94. + +**** Concerns and execution + +- [ ] Review each of the six original commit boundaries and preserve + original author attribution, full source SHAs and imported paths. +- [ ] Keep adapter-only imports of =0846cbd4= and =1da9b760= distinct + from their unimported history/SHM/storage changes and tests. +- [ ] Preserve the extra real-broadcaster and real-bridge regressions. +- [ ] Retain =976db6c3='s full downstream null-handling algorithm; + the small debugger removal is not an equivalent replacement. +- [ ] Review the requested downstream replay rehearsal evidence + before landing; this task grants no authority to rewrite branches. +- [ ] Keep the original cached-quote implementation gated on matching + Tractor ownership/teardown qualification before reintroduction. + +**** Verification and handback + +Review selected runtime imports, exact-boundary test results, known +failure output and the source's human-run smoke evidence. Report +remaining omissions and downstream conflicts against this task. +Commits, publication, history changes and live operations require the +human's own authorization; this sweep performed none of them. + +*** TODO resolve deferred IB bridge and daemon teardown errors +:PROPERTIES: +:ID: piker-ib-bridge-daemon-teardown +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Objective: make quote completion and daemon shutdown terminate cleanly +without masking the original failure or disrupting other consumers. +Next action: reproduce the strict real-bridge callback failure using +the bounded candidate's exact runtime, separately from #94 landing. + +**** Context and concerns + +The candidate's quote restart recovers, but Tractor's +=signal_trio_when_done()= still reports =TrioTaskExited= through the +asyncio exception handler. Human daemon SIGINT reproduced +=load_clients_for_trio()= / =_Cache.run_ctx= promotion through +=open_trade_dialog()= and debugger entry. Later status-0 child exits +are not proof that the shutdown path was clean. + +The earlier IB handoff also preserves FIN/RST/blackhole/Gateway-reset, +idle peer EOF, debugger, multi-consumer and SHM-owner cleanup concerns. +[[file:/home/goodboy/repos/piker/wkts/fsp_backfill_sync/.ai/ib_connectivity_handoff_20260916.md][.ai/ib_connectivity_handoff_20260916.md (original source)]] + +**** Execution and verification + +- [ ] Retain the failing callback-cleanliness regression and original + errors while separating producer completion from Trio owner exit. +- [ ] Qualify interrupted startup, idle disconnect, cached-owner + closure and daemon SIGINT under ordinary/infected asyncio actors. +- [ ] Verify bounded teardown, creator-owned resource cleanup and + sibling-consumer continuity without blanket exception suppression. +- [ ] Specify reconnect subscription and order/fill/position resync + before any automatic retry; never blindly replay submitted orders. + +Return a scoped cause/fix/regression report here and coordinate the +independent native crash with =piker-qt6-chart-teardown-sigsegv=. + +*** Chart lifecycle, E2E and order-bootstrap ownership +:PROPERTIES: +:ID: piker-workstream-chart-lifecycle +:END: +Canonical assignments already exist; extend those tasks rather than +creating another competing checklist: +[[id:piker-qt6-chart-teardown-sigsegv][Native Qt/PyQt teardown crash]] +[[id:piker-chart-disconnect-reattach-e2e][Independent-daemon chart journeys]] +[[id:piker-chart-bootstrap-zombie-order][Cancelled order resurrection during second-chart bootstrap]] + +Next action: reconcile the committed Qtractor lifecycle candidate +=4ab49082=, clean headless foundation =aadfd1cf=, and evaluation tip +=e929fdc2= with the bounded landing before implementing the journeys. +The older store note describing the evaluation checkout as dirty at +=eed58566= is historical: this scan found =e929fdc2= clean. + +The original E2E roadmap spans widget primitives, chart interactions, +composed SHM charts, production application/actor/process journeys, +search, paper orders and cleanup. The later live-backend-first review +changes sequencing; it does not erase the original coverage inventory. +Replay =06fee700= supplies controlled acknowledged inputs when a +specific observed race requires them, not a mandatory replay rewrite. +[[file:../plans/opencode/pytest-qt-chart-ui-e2e.md][plans/opencode/pytest-qt-chart-ui-e2e.md (original source)]] +[[file:/home/goodboy/repos/piker/wkts/human_iface_e2e/plans/opencode/human-facing-e2e-coverage.md][plans/opencode/human-facing-e2e-coverage.md (original source)]] +[[file:/home/goodboy/repos/piker/wkts/replay_provider_e2e/plans/opencode/live-backend-chart-e2e-review.md][plans/opencode/live-backend-chart-e2e-review.md (original source)]] +[[file:/home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/ai/plans/20261019-chart-disconnect-e2e-handoff.md][ai/plans/20261019-chart-disconnect-e2e-handoff.md (original source)]] + +Verification must distinguish service/survivor continuity from clean +chart exit, preserve native crash evidence, and test snapshot/replay +against terminal cancellation during C's bootstrap. Order execution +and human-daemon access remain separately authorized operations. + +*** TODO review segment repair and durable history publication +:PROPERTIES: +:ID: piker-history-segment-refill-review +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Objective: qualify durable history repair without shifting published +rows, persisting synthetic observations or publishing stale FSP data. +Next action: review the staged and unstaged segment-refill work in +=wkt/ib_history_request_bounds@eed58566= before treating it as landed. + +**** Context and prerequisites + +This checkout has staged segment-refill/storage/CLI/history changes, +additional unstaged IB feed changes, and boot-trace/sampler tests. +Its history plan explicitly distinguishes implemented paths from +proposed contexts and deferred consumer behavior. +[[file:/home/goodboy/repos/piker/wkts/ib_history_request_bounds/docs/history_segment_backfill.rst][docs/history_segment_backfill.rst (original source)]] +[[file:/home/goodboy/repos/piker/wkts/ib_history_request_bounds/docs/ib_boot_trace.rst][docs/ib_boot_trace.rst (original source)]] +[[file:../plans/opencode/gap-checker-backfiller-repair.md][plans/opencode/gap-checker-backfiller-repair.md (original source)]] +[[file:../plans/opencode/known-fqme-backfill-qualification.md][plans/opencode/known-fqme-backfill-qualification.md (original source)]] +[[file:/home/goodboy/repos/piker/todo/backtester_deep_fixes.md][todo/backtester_deep_fixes.md (original source)]] +[[file:../docs/manual_backfill_qualification.rst][docs/manual_backfill_qualification.rst (original source)]] + +Continue the existing =piker/prs/qualify known-FQME history backfill= +subtree for baseline/repair/fresh/restart/append qualification. The +MNQ 60-second sentinel note retains its exact disposable-root runbook +and its warning that the existing comparator misclassifies removal of +the intentional timestamp-60 sentinel. Revalidate the old contract, +case and runtime; do not silently use the human's production storage. + +**** Execution, concerns and verification + +- [ ] Review schedule coverage, unknown/no-data classification, bounded + queries, cancellation and real MNQ coverage separately. +- [ ] Qualify journal restart/idempotence, partial repair and CLI-owner + independence; distinguish data durability from SHM notification. +- [ ] Resolve cross-process writer coordination, journal retention, + synchronous disk stalls and partial cross-process SHM visibility. +- [ ] Preserve real observations and indexes; exclude synthetic rows + from exports and identify them explicitly to chart/FSP consumers. +- [ ] Qualify backend interruption, process death, storage locking, + restart, append and targeted graphics refresh with retained evidence. +- [ ] Reconcile stale plan TODO prose with implemented code by adding + evidence, preserving the original acceptance markers. + +Return results to this task and the original known-FQME subtree. +Do not equate an IB adapter-only #94 backport with the storage repair. + +*** FSP synchronization, sampling and cumulative volume +:PROPERTIES: +:ID: piker-workstream-fsp +:END: +Existing canonical tasks: +[[id:piker-fsp-backfill-sync-review-and-commit][FSP synchronization review and commit]] +[[id:piker-cumulative-m4-volume-downsampling][Cumulative M4 volume reduction]] + +The six post-=fadab3d2= boundaries are now committed through +=749ca1f0=: stream contracts, synchronization, negative-volume clamps, +redraw suppression, M4 invalidation and the expert skill. That worktree +has only tooling/handoff dirt, not the old uncommitted FSP patch. +Recovered September compaction/commit plans are preserved as history; +their old instruction to rebuild those commits is not current work. + +Next action: review integration and qualification against the selected +runtime/history tree, retaining the existing human-confirmed MNQ +synchronization/zoom evidence. Keep cumulative sum-downsampling separate +from the implemented price-style M4 invalidation fix. + +=wkt/sampler_tick_time_guard@a26e060c= adds stale-trade protection; +its dirty ideas.rst adds the explicit FeedDelayed proposal below. +The history checkout also contains a sampler timing variant. Compare +those implementations before choosing the landing boundary. +[[file:/home/goodboy/repos/piker/wkts/fsp_backfill_sync/.agents/skills/piker-fsp-expert/roadmap-and-research.md][.agents/skills/piker-fsp-expert/roadmap-and-research.md (original source)]] + +*** TODO publish and consume explicit feed-delay events +:PROPERTIES: +:ID: piker-feed-delayed-event +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Objective: make delayed timestamped trades observable to chart/feed +consumers after the stale-tick guard is qualified. +Next action: define the event and consumer contract from the preserved +uncommitted note in =wkt/sampler_tick_time_guard=. + +- [ ] Add a =FeedDelayed= event when a timestamped trade must wait for + the next OHLC slot. +- [ ] Surface the delay to chart and feed consumers, especially when + it occurs beyond startup. +- [ ] Retain the loud warning until consumers can handle the event. + +Verification should distinguish startup delay from sustained delay and +preserve event-time ordering and consumer continuity. Return findings +here; the complete original note remains in its source checkout. +[[file:/home/goodboy/repos/piker/wkts/sampler_tick_time_guard/notes_to_self/ideas.rst][notes_to_self/ideas.rst (original source)]] + +*** Strict typed clearing and order correctness +:PROPERTIES: +:ID: piker-workstream-clearing +:END: +[[id:piker-typed-clearing-migration][Canonical typed clearing migration]] + +Next action: port paper and its paired EMS consumer, then the remaining +backend pairs and client/UI boundary using the canonical task. +=7fee9b86= implements schemas, validation, directional helpers and the +pure OrderState reducer. It does not migrate production endpoints. +The source records 65 offline tests and eight IPC tests for that +foundation, not full backend conformance or live-order qualification. +[[file:/home/goodboy/repos/piker/wkts/typed_clearing_protocol/plans/opencode/typed-ems-messaging.md][plans/opencode/typed-ems-messaging.md (original source)]] + +Retain cancel-before-ack, early/duplicate/late fills, execution identity, +position/account mapping, bounded buffering, startup completion, +transport EOF and direction/phase validation. Resolve duplicate pytest +=--ll= registration before using a newer Tractor test plugin. Link the +second-chart resurrection reproducer to the canonical E2E task; do not +claim a schema foundation fixes that observed race by itself. + +*** Provider correctness, symbols and bounded older candidates +:PROPERTIES: +:ID: piker-workstream-providers +:END: +Next action: compare the bounded Binance landing, current symbol-cache +search work and IB socket/venue fixes with main and the runtime landing. +Candidates include =wkt/land_binance_usdm_feed@8006f2ff=, +=fix_symcache_search@9115d24d=, =wkt/ib_disconnect_integration@c0dae89a=, +and the Kraken token/account-alias and Deribit subscription branches. +The original Deribit =ddac3553= work is explicitly omitted from #94. + +The historical landing plan preserves the independent symcache, +accounting synopsis, venue/calendar/ledger, provider refactor and +transport candidates. Cached remote refs also retain remote-only +Deribit/max-pain and older transport experiments. Unmerged ancestry +alone neither makes them separate current assignments nor proves they +are abandoned. Establish current intent and patch equivalence before +opening new implementations. + +The local Gitea descriptions remain in the main checkout's =gitea/= +cache, and the GitHub #270 research note remains at =gh/270.md=. +Their URLs, unresolved checklists, rationale and original checked +markers remain intact. Existing store IB search, profiling, lint and +portable-skill tasks remain canonical. + +*** Gap overlays, rendering and display portability +:PROPERTIES: +:ID: piker-workstream-gap-display +:END: +Next action: qualify the =335190a4= chart-local overlay candidate and +its history-refresh dependency with the canonical existing tasks: +=piker/chart-local gap overlay follow-ups=, +=piker/factor typed chart annotation IPC dialogs=, +=piker/prs/vectorize gap_annotator client spec building=, and +=piker/ui/dpi_auto_calc=. +[[file:../plans/opencode/chart-local-gap-overlays.md][plans/opencode/chart-local-gap-overlays.md (original source)]] +[[file:../plans/opencode/chart-local-gap-overlays.summary.md][plans/opencode/chart-local-gap-overlays.summary.md (original source)]] +[[file:../notes_to_self/claudy/gapsannotator_sesh.md][notes_to_self/claudy/gapsannotator_sesh.md (original source)]] + +Preserve the original benchmark: 1,285 gaps, server 7.6 ms, client +444.9 ms, spec construction 324.2 ms and IPC 120.4 ms. The projected +sub-10 ms spec construction is a hypothesis, not a measured result. +Retain the alternatives: array IPC, server-side specs, per-timeframe +cache invalidation and Polars-native calculations. Keep the original +session's checked and unchecked follow-ups intact in its source. + +The DPI branches, macOS alternatives and PyQtGraph pin choices remain +separate candidates. Compare repeated Qt6 zoom/axis behavior and actual +macOS qualification with main before assuming an old branch is needed. +Polars 2.x remains the existing =piker-polars-2-upgrade= follow-up; +#94 currently pins below 2.0. + +*** TODO scope the preserved chart UX ideas +:PROPERTIES: +:ID: piker-chart-ux-ideas +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Objective: retain every original chart feature idea as selectable work. +Next action: choose one bounded user journey after the lifecycle and +history foundations are reliable. + +- [ ] Right-click to spawn a shell with current in-view data passed + to the new process through =msgpack-numpy=. +- [ ] Expand an OHLC datum to a lower timeframe. +- [ ] Auto-highlight the current time range on the tick feed. +- [ ] Diff tick volume against the historical bar when it arrives to + help identify dark volume/trades. +- [ ] Add a hotkey to zoom to the order-line intersection with earlier + price levels, with a margin. +- [ ] Normalize L1 queue-size lines to a fixed x width so newly larger + levels scale smaller levels down and reveal relative liquidity. + +The original =notes_to_self/ideas.rst= remains unchanged, including +the author's introduction. The later feed-delay addition remains in +the sampler worktree linked above. Hand back a selected interaction, +its source data contract and a verification plan before broadening +it into multiple features. +[[file:../notes_to_self/ideas.rst][Original chart UX notes]] + +*** TODO prototype revisioned FSP graph and repair contracts +:PROPERTIES: +:ID: piker-revisioned-fsp-graph-research +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:ISSUE: https://github.com/pikers/piker/issues/270 +:END: +Objective: develop typed composable signal processing from explicit +source revisions and operator repair semantics. +Next action: bound a two-FSP/two-overlaid-feed revision prototype; +keep this research distinct from current synchronization repairs. +[[file:/home/goodboy/repos/piker/gh/270.md][gh/270.md (original source)]] +[[file:/home/goodboy/repos/piker/wkts/fsp_backfill_sync/.agents/skills/piker-fsp-expert/roadmap-and-research.md][.agents/skills/piker-fsp-expert/roadmap-and-research.md (original source)]] + +- [ ] Prove source-specific wakeups, prepend coalescing, stale-result + rejection and targeted range updates independent of transport. +- [ ] Compare full replay, pointwise prefix repair, checkpoint replay + and finite-window overlap, including warm-up/locality declarations. +- [ ] Separate orchestration from chart ownership and expose outputs + through feed-like subscriptions before graph placement or fusion. +- [ ] Benchmark decode, SHM publication, kernels, fan-out, destination + publication and paint separately under bursts and slow consumers. +- [ ] Preserve the original compiled composition/DSL proposal and its + complete research bibliography; qualify candidate libraries only + through a specific measured need. + +The source retains #107, #216, #325, #536, older #98, Tractor #339, +transport experiments, bounded library prototypes and the watchlist. +Return prototype evidence and unresolved semantics here; no dependency +adoption or implementation was performed during this sweep. + +*** TODO review the active TIPC and remote-feed bridge +:PROPERTIES: +:ID: piker-tipc-remote-feed-bridge +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Objective: preserve and review the cross-host feed work currently +being edited outside the existing task store. +Next action: read the dirty implementation and tests in +=wkt/tipc_feed_bridge@e929fdc2= with its owning worker. + +**** Observed implementation + +Ten tracked files are modified across discovery/runtime, services, +feed/flows, sampling, FSP and chart startup. Untracked files are +=piker/data/_remote.py=, =tests/test_remote_feed.py= and +=tests/test_discovery_backend.py=. The branch's shared HEAD with the +clean downstream evaluation does not mean their working trees match. + +The new module contains BufferPublisher/BufferReceiver, remote feed +streaming, mirrored samples and feed bridge/portal lifecycle helpers. +Tests describe buffer replication, revision-gap/extent rejection, +mirror actor lifetime, discovery backend selection and independent +CLI listener/discovery settings. Their presence is implementation +evidence; this inventory did not execute or qualify them. + +**** Review and handback + +- [ ] Establish the intended local/remote ownership, host discovery + and buffer publication contracts from the actual working diff. +- [ ] Review cancellation, revision loss, extent validation, shared + consumer lifetime, independent listeners and failure propagation. +- [ ] Run the owning branch's focused tests in its selected runtime + and record imports, results and remaining cross-host qualification. +- [ ] Return the reviewed scope and next integration decision here + without overwriting concurrent edits or inferring acceptance. + +*** Trend Calculus and Jev +:PROPERTIES: +:ID: piker-workstream-trends +:END: +The draft =trend_calc_on_jev@e815fd77= is preserved. Its existing task +family already covers draft splitting, prototype review, Pine parity, +live multitimeframe chart qualification, native subsecond sampling, +real Jev responses and integration with the separate provider service. +[[id:piker-trend-calculus-prototype-review][Prototype review and qualification]] +[[id:piker-trend-calculus-draft-commit-split][Human-owned draft split decision]] +[[id:piker-trend-calculus-pine-parity][Pine-source recovery and parity]] +[[id:piker-trend-regime-chart-qualification][Chart behavior qualification]] +[[id:piker-trend-native-subsecond-sampling][Native subsecond source]] +[[id:piker-jev-live-regime-qualification][Real Jev response qualification]] +[[id:piker-jev-provider-service-integration][Separate service integration]] +[[https://pikers.dev/pikers/piker/src/commit/e815fd77cfbf89b241bfabf19bda7b1c5f25c784/docs/trend_calculus.rst][docs/trend_calculus.rst (original at e815fd77)]] + +Next action: settle the runtime/history integration baseline and use +these canonical tasks. The old dependency on portable workflow commit +=f148fbcc= is now satisfied by main's #93 merge; the broader downstream +landing order remains unresolved. The source's 253-test report is +historical evidence, not a current rerun. Credentials, live requests, +model quality/latency/cost and the external service interface remain +explicit dependencies rather than presumed completed work. + +*** Tooling, federation, funding and continuing maintenance +:PROPERTIES: +:ID: piker-workstream-project-maintenance +:END: +The user assigns this agent product-management responsibility for this +repository's federated store. For follow-up work, start from the named +federated-store line through open-wkt, carry forward current source +edits, inspect relevant workers and use guarded Taken writes. Keep +stable task IDs and return findings to their originating tasks. + +Next action: review this inventory in its isolated worktree. The global +storespace still selects the original federated-store checkout; this +sweep does not silently retarget it. When the human chooses integration, +reconcile any newer source-store edits and preserve the original +document references. Keep generated audit and commit execution data +in ignored local workflow state. No commit or publication was made. + +The existing cross-harness skill, lint, stale-plan/worktree, funding, +meeting and profiling tasks remain the acceptance owners. Main includes +portable skill integration via #93, but that does not settle every +old issue or remaining lint/tooling action. The datad-service document +is preserved as architecture evidence alongside its branch history. + +The NGI0 proposal and summary retain the original mission, scope, +milestones, budget/research narrative and URLs. Its August 1 deadline +is historical; current submission/funding state was not verified. +[[https://pikers.dev/pikers/piker/src/commit/b05292b0bb02e0713f391e8a56ef83627c7c856c/ai/claude-code/plans/nlnet_commons_fund_proposal.md][ai/claude-code/plans/nlnet_commons_fund_proposal.md (original at b05292b0)]] +[[https://pikers.dev/pikers/piker/src/commit/b05292b0bb02e0713f391e8a56ef83627c7c856c/ai/claude-code/plans/nlnet_commons_fund_proposal.summary.md][ai/claude-code/plans/nlnet_commons_fund_proposal.summary.md (original at b05292b0)]] + +For each newly assigned scope, reconcile new notes and source changes, +update objective/next action/evidence in the canonical subtree, and +retain unresolved concerns. No watcher, scheduled job or background +agent was started; synchronization occurs during authorized work. + +**** Marker review proposals, not applied + +- Source =piker=, =piker-fsp-backfill-sync-review-and-commit=: + current TODO; proposed WIP while integration/review obligations are + reconciled. Its six implementation commits are present, so the old + unchecked commit bullets no longer describe the checkout. The + broader review/boundary-check acceptance is not established here. +- Source =piker=, =piker-typed-clearing-migration=: + current TODO; proposed WIP because the strict foundation is committed + and the paired production migrations remain outstanding. +- Source =piker=, =piker-trend-calculus-prototype-review=: + current TODO; proposed WIP because the draft exists and qualification + remains. Keep the separate split and live-provider tasks unchanged. + +These are proposals for the human. Every existing headline state and +checkbox marker remains exactly as found. No parent acceptance or +checkbox completion is inferred from a commit or this inventory. + * TODO Diagnose Qt6 chart teardown SIGSEGV with native backtraces :PROPERTIES: :ID: piker-qt6-chart-teardown-sigsegv diff --git a/ai/diagnostics/20261019-chart-253598/README.md b/ai/diagnostics/20261019-chart-253598/README.md new file mode 100644 index 00000000..b952971a --- /dev/null +++ b/ai/diagnostics/20261019-chart-253598/README.md @@ -0,0 +1,94 @@ +# Chart PID 253598 native crash diagnostics + +Captured 2026-10-19 from the human-selected systemd core. This is +post-mortem inspection; no chart, provider or order was started. + +## Core identity + +- PID/TID: 253598 (`python3`), chart actor short UUID `b1326a`. +- Timestamp: 2026-10-19 15:29:39 EDT (19:29:39 UTC). +- Signal: 11 / SIGSEGV, `si_code: SEGV_MAPERR`. +- Boot ID: `b418978aeaef486d8413548e0ecbd79a`. +- Executable: + `/nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/bin/python3.13` +- Command: evaluation `py313/bin/piker -l info --pdb chart mnq.cme.ib mnq.cme.20270319.ib`. +- Original systemd core, present at inspection (58.6 MiB compressed): + `/var/lib/systemd/coredump/core.python3.1000.b418978aeaef486d8413548e0ecbd79a.253598.1792438179000000.zst` +- Source checkout: `/home/goodboy/repos/piker/wkts/ib_downstream_pin_eval`, + baseline `eed58566226d5476b548c6dd3bb6a44fcd6325f9` plus dirty changes. +- Runtime Tractor imported from + `/home/goodboy/repos/tractor/wkts/address_logging_levels`; its state may + have advanced since earlier trial evidence. Do not substitute current + HEAD for a historical crash revision without checking provenance. + +## Journal-native fault stack + +Extracted from `coredumpctl info 253598`; worker stacks in that output +include OpenBLAS condition waits and Polars Rayon/Tokio parked workers. + +```text +Stack trace of thread 253598: +#0 0x00007fffb6574ad0 sip_api_get_address (sip.cpython-313-x86_64-linux-gnu.so + 0x8ad0) +#1 0x00007fffa68629c2 _ZL15cleanup_qobjectP17_sipSimpleWrapperPv (QtCore.abi3.so + 0x2629c2) +#2 0x00007fffb6574ee9 sip_api_visit_wrappers (sip.cpython-313-x86_64-linux-gnu.so + 0x8ee9) +#3 0x00007fffa68620be _ZL15cleanup_on_exitP7_objectS0_ (QtCore.abi3.so + 0x2620be) +#4 0x00007ffff7983ec4 cfunction_vectorcall_NOARGS (libpython3.13.so.1.0 + 0x183ec4) +#5 0x00007ffff7a5288d atexit_callfuncs (libpython3.13.so.1.0 + 0x25288d) +#6 0x00007ffff7bcab6f _Py_Finalize.part.0.constprop.0 (libpython3.13.so.1.0 + 0x3cab6f) +#7 0x00007ffff7bcb603 Py_Exit (libpython3.13.so.1.0 + 0x3cb603) +#8 0x00007ffff7bc9f1d _PyErr_PrintEx (libpython3.13.so.1.0 + 0x3c9f1d) +#9 0x00007ffff7bef832 _PyRun_SimpleFileObject (libpython3.13.so.1.0 + 0x3ef832) +#10 0x00007ffff7bf1891 Py_RunMain (libpython3.13.so.1.0 + 0x3f1891) +#11 0x00007ffff742b285 __libc_start_call_main (libc.so.6 + 0x2b285) +#12 0x00007ffff742b338 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2b338) +#13 0x0000555555555085 _start (python3.13 + 0x1085) +``` + +This identifies the fault during PyQt QObject/SIP wrapper cleanup at +Python atexit/finalization. It does not prove which wrapper is invalid, +whether earlier cleanup corrupted it, or whether Qt/Trio guest ordering +caused the invalid state. No Trio/Qt event-loop frame appears in this +journal fault stack itself. + +The human's preceding Python output shows cancellation groups relayed +from FSPs, followed by MainWindow.closeEvent self-SIGINT and KBI. Treat +that as preceding evidence, not a native root-cause diagnosis. + +## Detailed debugger capture + +[gdb.txt](gdb.txt) contains the thread inventory (82 threads), all-thread +backtraces, fault-thread `bt full` and shared-library inventory. GDB 17.2 +successfully opened the systemd core and resolved the same fault chain. +The fault-thread trace begins at line 886; `bt full` begins at line 903. +PyQt6 6.11.0 and pyqt6-sip 13.10.2 resolve to the Nix store paths recorded +there; Qtbase is 6.11.1. Wayland and qt6ct plugins were loaded. + +Most libraries lack debug information. Function symbols resolve, but +`bt full` reports no symbol-table information for the fault frames; +wrapper arguments/locals and source lines are not available. Full debug +builds/symbols are still needed to identify the invalid wrapper state. +GDB auto-load and debuginfod were disabled for this capture. No inferior +code was executed. The first debugger invocation had an argument-quoting +failure; the corrected invocation completed successfully. + +Capture through `coredumpctl debug 253598` with the installed debugger: + +```xsh +coredumpctl --debugger=/nix/store/mvfz8qyy2nklpdfpjny285j8d3yswf7w-gdb-17.2/bin/gdb --debugger-arguments "-nx -batch -iex 'set auto-load safe-path /nonexistent' -iex 'set debuginfod enabled off' -ex 'set pagination off' -ex 'info threads' -ex 'thread apply all bt' -ex 'thread 1' -ex 'bt full' -ex 'info sharedlibrary'" debug 253598 +``` + +The saved run additionally enabled GDB logging to `gdb.txt` before those +inspection commands. The original core is not copied into Git. Preserve +it separately before systemd expiry if later work needs memory inspection. + +Saved `gdb.txt` SHA-256: +`0aa3f74aa68ea8d148c3a45ef47fed3db9b1656493c67d52be33abc22ff8f5b2`. + +## Source and handoff + +The human authorized diagnostics and a linked task in the repo-local +Taken source on `wkt/federated_project_stores`. Existing task states are +preserved. The task owns the follow-up investigation; this report is +supporting evidence, not a claim of a fix or test acceptance. +Task ID: `piker-qt6-chart-teardown-sigsegv`, source ID: `piker`. +The guarded append succeeded; read-only Taken lint reported no diagnostics. diff --git a/ai/diagnostics/20261019-chart-253598/gdb.txt b/ai/diagnostics/20261019-chart-253598/gdb.txt new file mode 100644 index 00000000..5934af5f --- /dev/null +++ b/ai/diagnostics/20261019-chart-253598/gdb.txt @@ -0,0 +1,1138 @@ + Id Target Id Frame +* 1 LWP 253598 0x00007fffb6574ad0 in sip_api_get_address () from /nix/store/mi6s0mgxg31y57lv8bhig0kqk2j7jw23-python3.13-pyqt6-sip-13.10.2/lib/python3.13/site-packages/PyQt6/sip.cpython-313-x86_64-linux-gnu.so + 2 LWP 253936 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 3 LWP 253946 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 4 LWP 253943 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 5 LWP 253938 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 6 LWP 253933 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 7 LWP 253949 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 8 LWP 253940 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 9 LWP 253929 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 10 LWP 253930 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 11 LWP 255170 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 12 LWP 254046 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 13 LWP 253928 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 14 LWP 253948 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 15 LWP 255148 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 16 LWP 253947 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 17 LWP 255173 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 18 LWP 253941 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 19 LWP 255151 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 20 LWP 253942 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 21 LWP 253932 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 22 LWP 255159 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 23 LWP 253945 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 24 LWP 254210 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 25 LWP 253944 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 26 LWP 255183 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 27 LWP 253927 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 28 LWP 255175 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 29 LWP 255199 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 30 LWP 254190 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 31 LWP 254209 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 32 LWP 254040 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 33 LWP 255161 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 34 LWP 253931 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 35 LWP 255152 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 36 LWP 253937 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 37 LWP 253935 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 38 LWP 254045 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 39 LWP 254211 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 40 LWP 255147 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 41 LWP 255172 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 42 LWP 255150 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 43 LWP 253934 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 44 LWP 255165 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 45 LWP 255154 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 46 LWP 255146 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 47 LWP 255191 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 48 LWP 255177 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 49 LWP 255156 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 50 LWP 255149 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 51 LWP 255195 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 52 LWP 255163 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 53 LWP 255176 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 54 LWP 255185 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 55 LWP 255189 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 56 LWP 255171 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 57 LWP 255180 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 58 LWP 255187 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 59 LWP 255160 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 60 LWP 255157 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 61 LWP 255153 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 62 LWP 255155 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 63 LWP 255188 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 64 LWP 255169 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 65 LWP 255184 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 66 LWP 255167 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 67 LWP 255158 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 68 LWP 255194 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 69 LWP 255193 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 70 LWP 255196 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 71 LWP 255162 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 72 LWP 255179 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 73 LWP 255197 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 74 LWP 255190 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 75 LWP 255164 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 76 LWP 255166 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 77 LWP 255168 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 78 LWP 255174 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 79 LWP 253939 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 80 LWP 255178 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 81 LWP 255181 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + 82 LWP 255192 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 82 (LWP 255192): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 81 (LWP 255181): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 80 (LWP 255178): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 79 (LWP 253939): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 78 (LWP 255174): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 77 (LWP 255168): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 76 (LWP 255166): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 75 (LWP 255164): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 74 (LWP 255190): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 73 (LWP 255197): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 72 (LWP 255179): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 71 (LWP 255162): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 70 (LWP 255196): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 69 (LWP 255193): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 68 (LWP 255194): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 67 (LWP 255158): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 66 (LWP 255167): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 65 (LWP 255184): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 64 (LWP 255169): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 63 (LWP 255188): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 62 (LWP 255155): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 61 (LWP 255153): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 60 (LWP 255157): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 59 (LWP 255160): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 58 (LWP 255187): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 57 (LWP 255180): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007fffb5d1cf3f in background_thread_entry () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 56 (LWP 255171): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 55 (LWP 255189): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 54 (LWP 255185): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 53 (LWP 255176): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 52 (LWP 255163): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 51 (LWP 255195): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 50 (LWP 255149): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 49 (LWP 255156): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 48 (LWP 255177): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007fffb5d1cf3f in background_thread_entry () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 47 (LWP 255191): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 46 (LWP 255146): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a084 in __syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff7525935 in epoll_wait () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007fffb5cbf3ab in ::turn () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cbeffa in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5cbc323 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#8 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#9 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#10 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#11 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#12 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#13 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 45 (LWP 255154): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 44 (LWP 255165): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 43 (LWP 253934): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 42 (LWP 255150): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 41 (LWP 255172): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 40 (LWP 255147): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 39 (LWP 254211): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a084 in __syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff751778e in poll () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007fff82364dfe in QtWaylandClient::EventThread::run() () from /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6WaylandClient.so.6 +#5 0x00007fffa61bdd22 in QThreadPrivate::start(void*) () from /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6Core.so.6 +#6 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#7 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 38 (LWP 254045): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb1e611a7 in >::recv::{closure#1} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb1e5d5be in std::sys::backtrace::__rust_begin_short_backtrace:: () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb1e8c9d5 in ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 37 (LWP 253935): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 36 (LWP 253937): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 35 (LWP 255152): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 34 (LWP 253931): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 33 (LWP 255161): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 32 (LWP 254040): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007fffb5d1d607 in background_thread_entry () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 31 (LWP 254209): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a084 in __syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff7517d36 in ppoll () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007fffa6a72308 in g_main_context_iterate_unlocked.isra () from /nix/store/vx2aqxs99ii6pkzndddnbrsqbc4jwpb6-glib-2.88.1/lib/libglib-2.0.so.0 +#5 0x00007fffa6a72adf in g_main_context_iteration () from /nix/store/vx2aqxs99ii6pkzndddnbrsqbc4jwpb6-glib-2.88.1/lib/libglib-2.0.so.0 +#6 0x00007fffa6315d2d in QEventDispatcherGlib::processEvents(QFlags) () from /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6Core.so.6 +#7 0x00007fffa5fce5eb in QEventLoop::exec(QFlags) () from /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6Core.so.6 +#8 0x00007fffa60feef5 in QThread::exec() () from /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6Core.so.6 +#9 0x00007fffa546dbc1 in QDBusConnectionManager::run() () from /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6DBus.so.6 +#10 0x00007fffa61bdd22 in QThreadPrivate::start(void*) () from /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6Core.so.6 +#11 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#12 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 30 (LWP 254190): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007fff8abf54a2 in background_thread_entry () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pyarrow/libarrow.so.2200 +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 29 (LWP 255199): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff74a5a6e in __new_sem_wait_slow64 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff7905fac in _PySemaphore_Wait () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#5 0x00007ffff7907fd4 in _PyParkingLot_Park () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#6 0x00007ffff7ac015a in _PyMutex_LockTimed () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#7 0x00007ffff7acc961 in lock_PyThread_acquire_lock () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#8 0x00007ffff79e0460 in method_vectorcall_VARARGS_KEYWORDS () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#9 0x00007ffff7986fd9 in PyObject_Vectorcall () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#10 0x00007ffff7bd6bb6 in _PyEval_EvalFrameDefault () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#11 0x00007ffff7a6fa6b in method_vectorcall () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#12 0x00007ffff7bd3e34 in _PyEval_EvalFrameDefault () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#13 0x00007ffff7a6fa6b in method_vectorcall () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#14 0x00007ffff7aef42d in thread_run () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#15 0x00007ffff78a113a in pythread_wrapper () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#16 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#17 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 28 (LWP 255175): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 27 (LWP 253927): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 26 (LWP 255183): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 25 (LWP 253944): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 24 (LWP 254210): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a084 in __syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff751778e in poll () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007fff82364dfe in QtWaylandClient::EventThread::run() () from /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6WaylandClient.so.6 +#5 0x00007fffa61bdd22 in QThreadPrivate::start(void*) () from /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6Core.so.6 +#6 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#7 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 23 (LWP 253945): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 22 (LWP 255159): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 21 (LWP 253932): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 20 (LWP 253942): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 19 (LWP 255151): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 18 (LWP 253941): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 17 (LWP 255173): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 16 (LWP 253947): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 15 (LWP 255148): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb5cbc427 in ::park_internal () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb5cbb1bc in tokio::runtime::scheduler::multi_thread::worker::run () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb5cb9493 in tokio::runtime::task::raw::poll::::launch::{closure#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5caf9a8 in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn_thread::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007fffb5cb3f09 in ::spawn_thread::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#6 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#7 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#8 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 14 (LWP 253948): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 13 (LWP 253928): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 12 (LWP 254046): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007fffb5d1cf3f in background_thread_entry () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 11 (LWP 255170): +#0 0x00007ffff752320d in syscall () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007fffb58d621f in ::wait_until_cold () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#2 0x00007fffb58d56ed in std::sys::backtrace::__rust_begin_short_backtrace::<::spawn::{closure#0}, ()> () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#3 0x00007fffb58db1e7 in ::spawn::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#4 0x00007fffb5c7f6a2 in ::new::thread_start () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 10 (LWP 253930): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 9 (LWP 253929): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 8 (LWP 253940): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 7 (LWP 253949): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 6 (LWP 253933): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 5 (LWP 253938): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 4 (LWP 253943): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 3 (LWP 253946): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 2 (LWP 253936): +#0 0x00007ffff74a6922 in __syscall_cancel_arch () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#1 0x00007ffff749a00c in __internal_syscall_cancel () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#2 0x00007ffff749a78c in __futex_abstimed_wait_common () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#3 0x00007ffff749d1ee in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#4 0x00007ffff323581b in blas_thread_server () from /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +#5 0x00007ffff749dd53 in start_thread () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#6 0x00007ffff752563c in __clone3 () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 + +Thread 1 (LWP 253598): +#0 0x00007fffb6574ad0 in sip_api_get_address () from /nix/store/mi6s0mgxg31y57lv8bhig0kqk2j7jw23-python3.13-pyqt6-sip-13.10.2/lib/python3.13/site-packages/PyQt6/sip.cpython-313-x86_64-linux-gnu.so +#1 0x00007fffa68629c2 in cleanup_qobject(_sipSimpleWrapper*, void*) () from /nix/store/jixwi765yis3hfkmdsv7wzmn43siasg0-python3.13-pyqt6-6.11.0/lib/python3.13/site-packages/PyQt6/QtCore.abi3.so +#2 0x00007fffb6574ee9 in sip_api_visit_wrappers () from /nix/store/mi6s0mgxg31y57lv8bhig0kqk2j7jw23-python3.13-pyqt6-sip-13.10.2/lib/python3.13/site-packages/PyQt6/sip.cpython-313-x86_64-linux-gnu.so +#3 0x00007fffa68620be in cleanup_on_exit(_object*, _object*) () from /nix/store/jixwi765yis3hfkmdsv7wzmn43siasg0-python3.13-pyqt6-6.11.0/lib/python3.13/site-packages/PyQt6/QtCore.abi3.so +#4 0x00007ffff7983ec4 in cfunction_vectorcall_NOARGS () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#5 0x00007ffff7a5288d in atexit_callfuncs () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#6 0x00007ffff7bcab6f in _Py_Finalize.part.0.constprop.0 () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#7 0x00007ffff7bcb603 in Py_Exit () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#8 0x00007ffff7bc9f1d in _PyErr_PrintEx () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#9 0x00007ffff7bef832 in _PyRun_SimpleFileObject () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#10 0x00007ffff7bf1891 in Py_RunMain () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +#11 0x00007ffff742b285 in __libc_start_call_main () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#12 0x00007ffff742b338 in __libc_start_main_impl () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +#13 0x0000555555555085 in _start () +[Switching to thread 1 (LWP 253598)] +#0 0x00007fffb6574ad0 in sip_api_get_address () from /nix/store/mi6s0mgxg31y57lv8bhig0kqk2j7jw23-python3.13-pyqt6-sip-13.10.2/lib/python3.13/site-packages/PyQt6/sip.cpython-313-x86_64-linux-gnu.so +#0 0x00007fffb6574ad0 in sip_api_get_address () from /nix/store/mi6s0mgxg31y57lv8bhig0kqk2j7jw23-python3.13-pyqt6-sip-13.10.2/lib/python3.13/site-packages/PyQt6/sip.cpython-313-x86_64-linux-gnu.so +No symbol table info available. +#1 0x00007fffa68629c2 in cleanup_qobject(_sipSimpleWrapper*, void*) () from /nix/store/jixwi765yis3hfkmdsv7wzmn43siasg0-python3.13-pyqt6-6.11.0/lib/python3.13/site-packages/PyQt6/QtCore.abi3.so +No symbol table info available. +#2 0x00007fffb6574ee9 in sip_api_visit_wrappers () from /nix/store/mi6s0mgxg31y57lv8bhig0kqk2j7jw23-python3.13-pyqt6-sip-13.10.2/lib/python3.13/site-packages/PyQt6/sip.cpython-313-x86_64-linux-gnu.so +No symbol table info available. +#3 0x00007fffa68620be in cleanup_on_exit(_object*, _object*) () from /nix/store/jixwi765yis3hfkmdsv7wzmn43siasg0-python3.13-pyqt6-6.11.0/lib/python3.13/site-packages/PyQt6/QtCore.abi3.so +No symbol table info available. +#4 0x00007ffff7983ec4 in cfunction_vectorcall_NOARGS () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +No symbol table info available. +#5 0x00007ffff7a5288d in atexit_callfuncs () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +No symbol table info available. +#6 0x00007ffff7bcab6f in _Py_Finalize.part.0.constprop.0 () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +No symbol table info available. +#7 0x00007ffff7bcb603 in Py_Exit () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +No symbol table info available. +#8 0x00007ffff7bc9f1d in _PyErr_PrintEx () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +No symbol table info available. +#9 0x00007ffff7bef832 in _PyRun_SimpleFileObject () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +No symbol table info available. +#10 0x00007ffff7bf1891 in Py_RunMain () from /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +No symbol table info available. +#11 0x00007ffff742b285 in __libc_start_call_main () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +No symbol table info available. +#12 0x00007ffff742b338 in __libc_start_main_impl () from /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +No symbol table info available. +#13 0x0000555555555085 in _start () +No symbol table info available. +From To Syms Read Shared Object Library +0x00007ffff7800000 0x00007ffff7e9c000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0 +0x00007ffff7fb5000 0x00007ffff7fba000 Yes (*) /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libdl.so.2 +0x00007ffff7ebd000 0x00007ffff7fb5000 Yes (*) /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libm.so.6 +0x00007ffff77d3000 0x00007ffff7800000 Yes (*) /nix/store/8lahnh9pn3lrrnhax5nk7ibvjcbjmnkm-gcc-15.2.0-lib/lib/libgcc_s.so.1 +0x00007ffff7400000 0x00007ffff760b000 Yes (*) /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6 +0x00007ffff7fc4000 0x00007ffff7fff000 Yes (*) /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/ld-linux-x86-64.so.2 +0x00007ffff7ea9000 0x00007ffff7eb0000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_opcode.cpython-313-x86_64-linux-gnu.so +0x00007ffff7ea4000 0x00007ffff7ea9000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_contextvars.cpython-313-x86_64-linux-gnu.so +0x00007ffff7620000 0x00007ffff763e000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_socket.cpython-313-x86_64-linux-gnu.so +0x00007ffff6ce9000 0x00007ffff6d00000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/math.cpython-313-x86_64-linux-gnu.so +0x00007ffff7616000 0x00007ffff7620000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/select.cpython-313-x86_64-linux-gnu.so +0x00007ffff72ee000 0x00007ffff7300000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/array.cpython-313-x86_64-linux-gnu.so +0x00007ffff7e9c000 0x00007ffff7ea4000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_bisect.cpython-313-x86_64-linux-gnu.so +0x00007ffff760f000 0x00007ffff7616000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_random.cpython-313-x86_64-linux-gnu.so +0x00007ffff6be1000 0x00007ffff6be9000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_heapq.cpython-313-x86_64-linux-gnu.so +0x00007ffff764c000 0x00007ffff7671000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_ctypes.cpython-313-x86_64-linux-gnu.so +0x00007ffff6b6a000 0x00007ffff6b7b000 Yes (*) /nix/store/rkfkkdgwz8y31hk76i4b9s59h5raya9n-libffi-3.5.2/lib/libffi.so.8 +0x00007ffff6b5b000 0x00007ffff6b6a000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_struct.cpython-313-x86_64-linux-gnu.so +0x00007ffff6a4c000 0x00007ffff6a5b000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/zlib.cpython-313-x86_64-linux-gnu.so +0x00007ffff6a2d000 0x00007ffff6a4c000 Yes (*) /nix/store/b2swxfi8srrbsafvh9iyyhd26mz9giwf-zlib-1.3.2/lib/libz.so.1 +0x00007ffff7645000 0x00007ffff764c000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_bz2.cpython-313-x86_64-linux-gnu.so +0x00007ffff6a18000 0x00007ffff6a2d000 Yes (*) /nix/store/d6fbn1dgh5kq7sl8ydqp2kghj0gx63hb-bzip2-1.0.8/lib/libbz2.so.1 +0x00007ffff6a0d000 0x00007ffff6a18000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_lzma.cpython-313-x86_64-linux-gnu.so +0x00007ffff69db000 0x00007ffff6a0d000 Yes (*) /nix/store/q7fhx54vz7hs8yr9jph2q8qq8pbg9crz-xz-5.8.3/lib/liblzma.so.5 +0x00007ffff7640000 0x00007ffff7645000 Yes (*) /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libpthread.so.0 +0x00007ffff69d3000 0x00007ffff69db000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/fcntl.cpython-313-x86_64-linux-gnu.so +0x00007ffff69cb000 0x00007ffff69d3000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_posixsubprocess.cpython-313-x86_64-linux-gnu.so +0x00007ffff69c4000 0x00007ffff69cb000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_queue.cpython-313-x86_64-linux-gnu.so +0x00007ffff6817000 0x00007ffff68c4000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/unicodedata.cpython-313-x86_64-linux-gnu.so +0x00007ffff6807000 0x00007ffff6817000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_hashlib.cpython-313-x86_64-linux-gnu.so +0x00007ffff6000000 0x00007ffff6681000 Yes (*) /nix/store/1p2gjq4x396yj65rig8fyzhrdza0psd6-openssl-3.6.3/lib/libcrypto.so.3 +0x00007ffff67fb000 0x00007ffff6807000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_blake2.cpython-313-x86_64-linux-gnu.so +0x00007ffff67c2000 0x00007ffff67fb000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_ssl.cpython-313-x86_64-linux-gnu.so +0x00007ffff66a8000 0x00007ffff67c2000 Yes (*) /nix/store/1p2gjq4x396yj65rig8fyzhrdza0psd6-openssl-3.6.3/lib/libssl.so.3 +0x00007ffff669e000 0x00007ffff66a8000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/binascii.cpython-313-x86_64-linux-gnu.so +0x00007ffff6698000 0x00007ffff669e000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/grp.cpython-313-x86_64-linux-gnu.so +0x00007ffff5de0000 0x00007ffff5e00000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_pickle.cpython-313-x86_64-linux-gnu.so +0x00007ffff5d7a000 0x00007ffff5de0000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/msgspec/_core.cpython-313-x86_64-linux-gnu.so +0x00007ffff5d58000 0x00007ffff5d7a000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_datetime.cpython-313-x86_64-linux-gnu.so +0x00007ffff6693000 0x00007ffff6698000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_uuid.cpython-313-x86_64-linux-gnu.so +0x00007ffff6689000 0x00007ffff6693000 Yes (*) /nix/store/bnz12q7krhpam19qyy7my8vyy2fq9vkx-util-linux-minimal-2.42.2-lib/lib/libuuid.so.1 +0x00007ffff5d24000 0x00007ffff5d58000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_decimal.cpython-313-x86_64-linux-gnu.so +0x00007ffff5cf2000 0x00007ffff5d24000 Yes (*) /nix/store/p5219bn1m6yr6q5nkx69h0aw7qijq8rw-mpdecimal-4.0.1/lib/libmpdec.so.4 +0x00007ffff5ae8000 0x00007ffff5af2000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/readline.cpython-313-x86_64-linux-gnu.so +0x00007ffff5a88000 0x00007ffff5ae8000 Yes (*) /nix/store/3yfiiflma4rfll7fyjzk5f2k58j859jq-readline-8.3p3/lib/libreadline.so.8 +0x00007ffff5a0c000 0x00007ffff5a88000 Yes (*) /nix/store/62qhvy2m2lpqj7ca39j9wvp2kkcxwdcg-ncurses-6.6/lib/libncursesw.so.6 +0x00007ffff5901000 0x00007ffff590c000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_interpreters.cpython-313-x86_64-linux-gnu.so +0x00007ffff6bd3000 0x00007ffff6be1000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_json.cpython-313-x86_64-linux-gnu.so +0x00007ffff6bc9000 0x00007ffff6bd3000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/termios.cpython-313-x86_64-linux-gnu.so +0x00007ffff6bc0000 0x00007ffff6bc9000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/mmap.cpython-313-x86_64-linux-gnu.so +0x00007ffff6bbb000 0x00007ffff6bc0000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_posixshmem.cpython-313-x86_64-linux-gnu.so +0x00007ffff6bb4000 0x00007ffff6bbb000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_multiprocessing.cpython-313-x86_64-linux-gnu.so +0x00007ffff4600000 0x00007ffff4fec000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/_multiarray_umath.cpython-313-x86_64-linux-gnu.so +0x00007ffff2e00000 0x00007ffff4512000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libscipy_openblas64_-fdde5778.so +0x00007ffff2a00000 0x00007ffff2c82000 Yes (*) /nix/store/8lahnh9pn3lrrnhax5nk7ibvjcbjmnkm-gcc-15.2.0-lib/lib/libstdc++.so.6 +0x00007ffff2400000 0x00007ffff2a00000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libgfortran-040039e1-0352e75f.so.5.0.0 +0x00007ffff2000000 0x00007ffff2400000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/_core/../../numpy.libs/libquadmath-96973f99-934c22de.so.0.0.0 +0x00007ffff6b82000 0x00007ffff6bb4000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/linalg/_umath_linalg.cpython-313-x86_64-linux-gnu.so +0x00007fffadc00000 0x00007fffb656a000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_polars_runtime_32/_polars_runtime.abi3.so +0x00007ffff6b7d000 0x00007ffff6b82000 Yes (*) /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/librt.so.1 +0x00007ffff58f6000 0x00007ffff5901000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_zoneinfo.cpython-313-x86_64-linux-gnu.so +0x00007ffff5875000 0x00007ffff58f6000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pendulum/_pendulum.cpython-313-x86_64-linux-gnu.so +0x00007ffff581a000 0x00007ffff5875000 Yes /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/yaml/_yaml.cpython-313-x86_64-linux-gnu.so +0x00007fff93000000 0x00007fff9bed0000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/llvmlite/binding/libllvmlite.so +0x00007ffff6682000 0x00007ffff6689000 Yes /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numba/core/typeconv/_typeconv.cpython-313-x86_64-linux-gnu.so +0x00007ffff45b4000 0x00007ffff4600000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/random/_bounded_integers.cpython-313-x86_64-linux-gnu.so +0x00007ffff4584000 0x00007ffff45b4000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/random/bit_generator.cpython-313-x86_64-linux-gnu.so +0x00007ffff454b000 0x00007ffff4584000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/random/_common.cpython-313-x86_64-linux-gnu.so +0x00007ffff2242000 0x00007ffff2300000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/random/_generator.cpython-313-x86_64-linux-gnu.so +0x00007ffff4ff6000 0x00007ffff5016000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/random/_pcg64.cpython-313-x86_64-linux-gnu.so +0x00007ffff452d000 0x00007ffff454b000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/random/_mt19937.cpython-313-x86_64-linux-gnu.so +0x00007ffff4512000 0x00007ffff452d000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/random/_philox.cpython-313-x86_64-linux-gnu.so +0x00007ffff2ced000 0x00007ffff2d00000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/random/_sfc64.cpython-313-x86_64-linux-gnu.so +0x00007fffa716e000 0x00007fffa71ff000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numpy/random/mtrand.cpython-313-x86_64-linux-gnu.so +0x00007ffff2caa000 0x00007ffff2ceda48 Yes /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numba/_helperlib.cpython-313-x86_64-linux-gnu.so +0x00007ffff4ff1000 0x00007ffff4ff6000 Yes /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numba/_dynfunc.cpython-313-x86_64-linux-gnu.so +0x00007ffff2c9d000 0x00007ffff2caa000 Yes /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numba/_dispatcher.cpython-313-x86_64-linux-gnu.so +0x00007ffff4fec000 0x00007ffff4ff1000 Yes /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numba/_devicearray.cpython-313-x86_64-linux-gnu.so +0x00007ffff2c94000 0x00007ffff2c9d000 Yes /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numba/core/runtime/_nrt_python.cpython-313-x86_64-linux-gnu.so +0x00007ffff2c8b000 0x00007ffff2c94000 Yes /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numba/np/ufunc/_internal.cpython-313-x86_64-linux-gnu.so +0x00007ffff2c86000 0x00007ffff2c8b000 Yes /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/numba/experimental/jitclass/_box.cpython-313-x86_64-linux-gnu.so +0x00007fffa6600000 0x00007fffa697f000 Yes (*) /nix/store/jixwi765yis3hfkmdsv7wzmn43siasg0-python3.13-pyqt6-6.11.0/lib/python3.13/site-packages/PyQt6/QtCore.abi3.so +0x00007fffa5e00000 0x00007fffa6516000 Yes (*) /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6Core.so.6 +0x00007fffa5a00000 0x00007fffa5dbc000 Yes (*) /nix/store/x3fjniif504vhp099s91jl733kidr32f-icu4c-76.1/lib/libicui18n.so.76 +0x00007fffa5600000 0x00007fffa5836000 Yes (*) /nix/store/x3fjniif504vhp099s91jl733kidr32f-icu4c-76.1/lib/libicuuc.so.76 +0x00007fff91000000 0x00007fff92e63000 Yes (*) /nix/store/x3fjniif504vhp099s91jl733kidr32f-icu4c-76.1/lib/libicudata.so.76 +0x00007fffa6a0c000 0x00007fffa6b6e000 Yes (*) /nix/store/vx2aqxs99ii6pkzndddnbrsqbc4jwpb6-glib-2.88.1/lib/libglib-2.0.so.0 +0x00007fffa5200000 0x00007fffa5423000 Yes (*) /nix/store/3v7kqg55hx4awhy5hdckniypbgqbqfmx-systemd-261/lib/libsystemd.so.0 +0x00007ffff28ec000 0x00007ffff2900000 Yes (*) /nix/store/zmda0frhv13206zhxkdsq195bigimzjh-double-conversion-3.4.0/lib/libdouble-conversion.so.3 +0x00007ffff28ce000 0x00007ffff28ec000 Yes (*) /nix/store/vq3xd65alks5l5qpn5mi5g6myb2hyypd-libb2-0.98.1/lib/libb2.so.1 +0x00007fffa6561000 0x00007fffa6600000 Yes (*) /nix/store/n2r7cb0l9w9wx02k2hpwgzzp5vmb216a-pcre2-10.46/lib/libpcre2-16.so.0 +0x00007fffa592b000 0x00007fffa5a00000 Yes (*) /nix/store/qv6q79r6jwpzi6qm178ifdckavbpq9dq-zstd-1.5.7/lib/libzstd.so.1 +0x00007ffff28c9000 0x00007ffff28ce000 Yes (*) /nix/store/vx2aqxs99ii6pkzndddnbrsqbc4jwpb6-glib-2.88.1/lib/libgthread-2.0.so.0 +0x00007fffa587d000 0x00007fffa592b000 Yes (*) /nix/store/n2r7cb0l9w9wx02k2hpwgzzp5vmb216a-pcre2-10.46/lib/libpcre2-8.so.0 +0x00007fffb6597000 0x00007fffb65e9000 Yes (*) /nix/store/8lahnh9pn3lrrnhax5nk7ibvjcbjmnkm-gcc-15.2.0-lib/lib/libgomp.so.1 +0x00007fffb656c000 0x00007fffb6597000 Yes (*) /nix/store/mi6s0mgxg31y57lv8bhig0kqk2j7jw23-python3.13-pyqt6-sip-13.10.2/lib/python3.13/site-packages/PyQt6/sip.cpython-313-x86_64-linux-gnu.so +0x00007fffa4e00000 0x00007fffa5126000 Yes (*) /nix/store/jixwi765yis3hfkmdsv7wzmn43siasg0-python3.13-pyqt6-6.11.0/lib/python3.13/site-packages/PyQt6/QtGui.abi3.so +0x00007fffa4200000 0x00007fffa4d34000 Yes (*) /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6Gui.so.6 +0x00007fffa69d8000 0x00007fffa6a0c000 Yes (*) /nix/store/adas3ix7v8zry5i1nqagc2j76y0ka7rx-libglvnd-1.7.0/lib/libGLX.so.0 +0x00007fffa69ab000 0x00007fffa69d8000 Yes (*) /nix/store/adas3ix7v8zry5i1nqagc2j76y0ka7rx-libglvnd-1.7.0/lib/libOpenGL.so.0 +0x00007fffa556b000 0x00007fffa5600000 Yes (*) /nix/store/xin0b9mlvl6w1qqhvr2nfdcv5qns1b13-vulkan-loader-1.4.350.0/lib/libvulkan.so +0x00007ffff28b3000 0x00007ffff28c9000 Yes (*) /nix/store/adas3ix7v8zry5i1nqagc2j76y0ka7rx-libglvnd-1.7.0/lib/libEGL.so.1 +0x00007fffa550f000 0x00007fffa556b000 Yes (*) /nix/store/g71zvvjz6h8rf7cz8z8v7j8ijw25s6km-fontconfig-2.18.1-lib/lib/libfontconfig.so.1 +0x00007fffa40b0000 0x00007fffa4200000 Yes (*) /nix/store/arpk7prynk6iqwbh0204k878nv1ypyg2-libx11-1.8.13/lib/libX11.so.6 +0x00007fffa5428000 0x00007fffa550f000 Yes (*) /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6DBus.so.6 +0x00007fffa51a0000 0x00007fffa5200000 Yes (*) /nix/store/xg73b708qsrdvb82vdwvir097p9w7vr3-libxkbcommon-1.13.2/lib/libxkbcommon.so.0 +0x00007fffa6523000 0x00007fffa6561000 Yes (*) /nix/store/p2qkymfwxislcs4dfsw1hl8pia59q8pz-libpng-apng-1.6.58/lib/libpng16.so.16 +0x00007fff92e9a000 0x00007fff93000000 Yes (*) /nix/store/sqnii8dl55xsjyyp11z8yj8kn4m98arv-harfbuzz-13.2.1/lib/libharfbuzz.so.0 +0x00007fffac811000 0x00007fffac828000 Yes (*) /nix/store/b0lp4h8b90mz7aa0l70y47kvcb55ajpn-md4c-0.5.3-lib/lib/libmd4c.so.0 +0x00007fff9bf18000 0x00007fff9c000000 Yes (*) /nix/store/09gac8c1amws12ysg2d8lbhd6ya0rwwa-freetype-2.14.3/lib/libfreetype.so.6 +0x00007fffa6996000 0x00007fffa69ab000 Yes (*) /nix/store/3lhr3884dxnfks82vzbpsg60yfq64d5p-libxext-1.3.7/lib/libXext.so.6 +0x00007fffa4d47000 0x00007fffa4e00000 Yes (*) /nix/store/adas3ix7v8zry5i1nqagc2j76y0ka7rx-libglvnd-1.7.0/lib/libGLdispatch.so.0 +0x00007fffac802000 0x00007fffac811000 Yes (*) /nix/store/ysap8hrzgxnrk1dbhp7sijk244hvlq3h-brotli-1.2.0-lib/lib/libbrotlidec.so.1 +0x00007fffa5dd1000 0x00007fffa5e00000 Yes (*) /nix/store/j85hqiiwgldwzhzydp5cx36wh3dxqnjg-expat-2.8.2/lib/libexpat.so.1 +0x00007fffa5851000 0x00007fffa587d000 Yes (*) /nix/store/zyvz6mkqf6iihqr5yfvmfr2inafxdlq4-libxcb-1.17.0/lib/libxcb.so.1 +0x00007fffa5146000 0x00007fffa51a0000 Yes (*) /nix/store/93vg59k99hwa17z57vphd5ik6fiwmsh8-dbus-1.16.2-lib/lib/libdbus-1.so.3 +0x00007fffa4086000 0x00007fffa40b0000 Yes (*) /nix/store/v1ichmdzxbjfxq484gq5im2b8j9p3i9k-graphite2-1.3.15/lib/libgraphite2.so.3 +0x00007fffa4063000 0x00007fffa4086000 Yes (*) /nix/store/ysap8hrzgxnrk1dbhp7sijk244hvlq3h-brotli-1.2.0-lib/lib/libbrotlicommon.so.1 +0x00007fffa6990000 0x00007fffa6996000 Yes (*) /nix/store/4shkpw9q0f12z737zjvh89246zszkiq8-libxau-1.0.12/lib/libXau.so.6 +0x00007fffa6988000 0x00007fffa6990000 Yes (*) /nix/store/fgbrpz911jb9pxw0ys4cp5cv2rr7yh6p-libxdmcp-1.1.5/lib/libXdmcp.so.6 +0x00007fff90800000 0x00007fff90d69000 Yes (*) /nix/store/jixwi765yis3hfkmdsv7wzmn43siasg0-python3.13-pyqt6-6.11.0/lib/python3.13/site-packages/PyQt6/QtWidgets.abi3.so +0x00007fff8fe00000 0x00007fff90631000 Yes (*) /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6Widgets.so.6 +0x00007fffa583b000 0x00007fffa5851000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_elementtree.cpython-313-x86_64-linux-gnu.so +0x00007fffa5dbe000 0x00007fffa5dd1000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/pyexpat.cpython-313-x86_64-linux-gnu.so +0x00007fffa5135000 0x00007fffa5146000 Yes (*) /nix/store/jixwi765yis3hfkmdsv7wzmn43siasg0-python3.13-pyqt6-6.11.0/lib/python3.13/site-packages/PyQt6/QtSvg.abi3.so +0x00007fff90e4f000 0x00007fff90f00000 Yes (*) /nix/store/kxdz3xxqq4n6rfkjp198ij3hyh8zz70n-qtsvg-6.11.1/lib/libQt6Svg.so.6 +0x00007fffa4d36000 0x00007fffa4d47000 Yes (*) /nix/store/jixwi765yis3hfkmdsv7wzmn43siasg0-python3.13-pyqt6-6.11.0/lib/python3.13/site-packages/PyQt6/QtOpenGLWidgets.abi3.so +0x00007fffa4053000 0x00007fffa4063000 Yes (*) /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6OpenGLWidgets.so.6 +0x00007fff90d9e000 0x00007fff90e4f000 Yes (*) /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6OpenGL.so.6 +0x00007fff9069c000 0x00007fff90800000 Yes (*) /nix/store/jixwi765yis3hfkmdsv7wzmn43siasg0-python3.13-pyqt6-6.11.0/lib/python3.13/site-packages/PyQt6/QtOpenGL.abi3.so +0x00007fffa4041000 0x00007fffa4053000 Yes (*) /nix/store/jixwi765yis3hfkmdsv7wzmn43siasg0-python3.13-pyqt6-6.11.0/lib/python3.13/site-packages/PyQt6/QtTest.abi3.so +0x00007fff8fd85000 0x00007fff8fe00000 Yes (*) /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6Test.so.6 +0x00007fffa697f000 0x00007fffa6988000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_lsprof.cpython-313-x86_64-linux-gnu.so +0x00007fffa6517000 0x00007fffa6523000 Yes (*) /nix/store/z0n4wvkvd5kfw0zfixf6jgzc5d3vqnpv-python3.13-rapidfuzz-3.14.5/lib/python3.13/site-packages/rapidfuzz/_feature_detector_cpp.cpython-313-x86_64-linux-gnu.so +0x00007fff8f400000 0x00007fff8f70f000 Yes (*) /nix/store/z0n4wvkvd5kfw0zfixf6jgzc5d3vqnpv-python3.13-rapidfuzz-3.14.5/lib/python3.13/site-packages/rapidfuzz/distance/metrics_cpp_avx2.cpython-313-x86_64-linux-gnu.so +0x00007fff90651000 0x00007fff9069c000 Yes (*) /nix/store/z0n4wvkvd5kfw0zfixf6jgzc5d3vqnpv-python3.13-rapidfuzz-3.14.5/lib/python3.13/site-packages/rapidfuzz/distance/_initialize_cpp.cpython-313-x86_64-linux-gnu.so +0x00007fff8f000000 0x00007fff8f233000 Yes (*) /nix/store/z0n4wvkvd5kfw0zfixf6jgzc5d3vqnpv-python3.13-rapidfuzz-3.14.5/lib/python3.13/site-packages/rapidfuzz/fuzz_cpp_avx2.cpython-313-x86_64-linux-gnu.so +0x00007fff8f7d6000 0x00007fff8f885000 Yes (*) /nix/store/z0n4wvkvd5kfw0zfixf6jgzc5d3vqnpv-python3.13-rapidfuzz-3.14.5/lib/python3.13/site-packages/rapidfuzz/process_cpp_impl.cpython-313-x86_64-linux-gnu.so +0x00007fffa5129000 0x00007fffa5135000 Yes (*) /nix/store/8lahnh9pn3lrrnhax5nk7ibvjcbjmnkm-gcc-15.2.0-lib/lib/libatomic.so.1 +0x00007fffa4008000 0x00007fffa4041000 Yes (*) /nix/store/z0n4wvkvd5kfw0zfixf6jgzc5d3vqnpv-python3.13-rapidfuzz-3.14.5/lib/python3.13/site-packages/rapidfuzz/utils_cpp.cpython-313-x86_64-linux-gnu.so +0x00007fff9bf0a000 0x00007fff9bf18000 Yes /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/wrapt/_wrappers.cpython-313-x86_64-linux-gnu.so +0x00007fffacaea000 0x00007fffacaff000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_asyncio.cpython-313-x86_64-linux-gnu.so +0x00007fff8e400000 0x00007fff8e837000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pyarrow/lib.cpython-313-x86_64-linux-gnu.so +0x00007fff8e201000 0x00007fff8e400000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pyarrow/libarrow_python.so.2200 +0x00007fff8dc00000 0x00007fff8e038000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pyarrow/libarrow_substrait.so.2200 +0x00007fff8da30000 0x00007fff8dc00000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pyarrow/libarrow_dataset.so.2200 +0x00007fff8d000000 0x00007fff8d9fe000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pyarrow/libparquet.so.2200 +0x00007fff8e079000 0x00007fff8e201000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pyarrow/libarrow_acero.so.2200 +0x00007fff8c000000 0x00007fff8ce64000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pyarrow/libarrow_compute.so.2200 +0x00007fff89400000 0x00007fff8bf3d000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pyarrow/libarrow.so.2200 +0x00007fffacade000 0x00007fffacaea000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/pandas_parser.cpython-313-x86_64-linux-gnu.so +0x00007fffacad3000 0x00007fffacade000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/pandas_datetime.cpython-313-x86_64-linux-gnu.so +0x00007fff880c3000 0x00007fff881bf000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/interval.cpython-313-x86_64-linux-gnu.so +0x00007fff83c00000 0x00007fff83e4c000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/hashtable.cpython-313-x86_64-linux-gnu.so +0x00007fffacaa8000 0x00007fffacad3000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/missing.cpython-313-x86_64-linux-gnu.so +0x00007fffaca81000 0x00007fffacaa8000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/dtypes.cpython-313-x86_64-linux-gnu.so +0x00007fffaca6b000 0x00007fffaca81000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/ccalendar.cpython-313-x86_64-linux-gnu.so +0x00007fffaca3b000 0x00007fffaca6b000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/_cyutility.cpython-313-x86_64-linux-gnu.so +0x00007fff9bee9000 0x00007fff9bf0a000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/np_datetime.cpython-313-x86_64-linux-gnu.so +0x00007fff92e73000 0x00007fff92e9a000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/conversion.cpython-313-x86_64-linux-gnu.so +0x00007fffaca2e000 0x00007fffaca3b000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/base.cpython-313-x86_64-linux-gnu.so +0x00007fff83b02000 0x00007fff83c00000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/offsets.cpython-313-x86_64-linux-gnu.so +0x00007fff8f762000 0x00007fff8f7d6000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/timestamps.cpython-313-x86_64-linux-gnu.so +0x00007fff90d6f000 0x00007fff90d9e000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/nattype.cpython-313-x86_64-linux-gnu.so +0x00007fff8f28c000 0x00007fff8f300000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/timedeltas.cpython-313-x86_64-linux-gnu.so +0x00007fff8f740000 0x00007fff8f762000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/timezones.cpython-313-x86_64-linux-gnu.so +0x00007fff9bed5000 0x00007fff9bee9000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/properties.cpython-313-x86_64-linux-gnu.so +0x00007fff8f710000 0x00007fff8f740000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/fields.cpython-313-x86_64-linux-gnu.so +0x00007fff8f25c000 0x00007fff8f28c000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/tzconversion.cpython-313-x86_64-linux-gnu.so +0x00007fff8e03c000 0x00007fff8e079000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/parsing.cpython-313-x86_64-linux-gnu.so +0x00007fff8cecd000 0x00007fff8cf00000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/strptime.cpython-313-x86_64-linux-gnu.so +0x00007fff8ce77000 0x00007fff8cecd000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/period.cpython-313-x86_64-linux-gnu.so +0x00007fff90634000 0x00007fff90651000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslibs/vectorized.cpython-313-x86_64-linux-gnu.so +0x00007fff92e65000 0x00007fff92e73000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/ops_dispatch.cpython-313-x86_64-linux-gnu.so +0x00007fff83823000 0x00007fff83a02000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/algos.cpython-313-x86_64-linux-gnu.so +0x00007fff8bf68000 0x00007fff8c000000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/lib.cpython-313-x86_64-linux-gnu.so +0x00007fff8360c000 0x00007fff83723000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pyarrow/_compute.cpython-313-x86_64-linux-gnu.so +0x00007fff8f23c000 0x00007fff8f25c000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/ops.cpython-313-x86_64-linux-gnu.so +0x00007fff8e842000 0x00007fff8e855000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/hashing.cpython-313-x86_64-linux-gnu.so +0x00007fff8da13000 0x00007fff8da30000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/arrays.cpython-313-x86_64-linux-gnu.so +0x00007fff8da07000 0x00007fff8da13000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/_csv.cpython-313-x86_64-linux-gnu.so +0x00007fff8bf45000 0x00007fff8bf68000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/tslib.cpython-313-x86_64-linux-gnu.so +0x00007fff8800b000 0x00007fff880c3000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/sparse.cpython-313-x86_64-linux-gnu.so +0x00007fff83ebc000 0x00007fff83f00000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/internals.cpython-313-x86_64-linux-gnu.so +0x00007fff8ce69000 0x00007fff8ce77000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/indexing.cpython-313-x86_64-linux-gnu.so +0x00007fff8315f000 0x00007fff8320c000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/index.cpython-313-x86_64-linux-gnu.so +0x00007fff83ea3000 0x00007fff83ebc000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/writers.cpython-313-x86_64-linux-gnu.so +0x00007fff83050000 0x00007fff8315f000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/join.cpython-313-x86_64-linux-gnu.so +0x00007fff82de9000 0x00007fff82e50000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/window/aggregations.cpython-313-x86_64-linux-gnu.so +0x00007fff83e71000 0x00007fff83ea3000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/window/indexers.cpython-313-x86_64-linux-gnu.so +0x00007fff82dc2000 0x00007fff82de9000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/reshape.cpython-313-x86_64-linux-gnu.so +0x00007fff82a00000 0x00007fff82c21000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/groupby.cpython-313-x86_64-linux-gnu.so +0x00007fff83e60000 0x00007fff83e71000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/json.cpython-313-x86_64-linux-gnu.so +0x00007fff82c59000 0x00007fff82cc2000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/parsers.cpython-313-x86_64-linux-gnu.so +0x00007fff82c40000 0x00007fff82c59000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/pandas/_libs/testing.cpython-313-x86_64-linux-gnu.so +0x00007fff83e52000 0x00007fff83e60000 Yes (*) /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/python3.13/lib-dynload/cmath.cpython-313-x86_64-linux-gnu.so +0x00007fffa4002000 0x00007fffa4008000 Yes (*) /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/qt-6/plugins/platforms/libqwayland.so +0x00007fff822c3000 0x00007fff82400000 Yes (*) /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/libQt6WaylandClient.so.6 +0x00007fff82c2c000 0x00007fff82c40000 Yes (*) /nix/store/b4r5xlxclsvy3z6fvvwf74vln5l1hw4y-wayland-1.25.0/lib/libwayland-client.so.0 +0x00007fff8e838000 0x00007fff8e842000 Yes (*) /nix/store/b4r5xlxclsvy3z6fvvwf74vln5l1hw4y-wayland-1.25.0/lib/libwayland-cursor.so.0 +0x00007fff81a9d000 0x00007fff81ac2000 Yes (*) /nix/store/bmxdr74jgv4z0bkkzjhkbmdpy9y3yvvw-qtbase-6.11.1/lib/qt-6/plugins/wayland-shell-integration/libxdg-shell.so +0x00007fff81a8f000 0x00007fff81a9d000 Yes (*) /nix/store/bp5dgg6jqgvq480mqnw7qfz2afbxgqms-qt6ct-0.11/lib/qt-6/plugins/platformthemes/libqt6ct.so +0x00007fff81a82000 0x00007fff81a8f000 Yes (*) /nix/store/bp5dgg6jqgvq480mqnw7qfz2afbxgqms-qt6ct-0.11/lib/libqt6ct-common.so.0.11 +0x00007fff8f234000 0x00007fff8f23c000 Yes (*) /nix/store/bp5dgg6jqgvq480mqnw7qfz2afbxgqms-qt6ct-0.11/lib/qt-6/plugins/styles/libqt6ct-style.so +0x00007fff807dc000 0x00007fff807fe000 Yes /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/greenlet/_greenlet.cpython-313-x86_64-linux-gnu.so +0x00007fff80328000 0x00007fff80374000 Yes (*) /home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/py313/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so +(*): Shared library is missing debugging information. diff --git a/ai/prompt-io/20261023T143856Z_91769016_work_inventory.md b/ai/prompt-io/20261023T143856Z_91769016_work_inventory.md new file mode 100644 index 00000000..6260cea1 --- /dev/null +++ b/ai/prompt-io/20261023T143856Z_91769016_work_inventory.md @@ -0,0 +1,47 @@ +--- +created_at: 2026-10-23T14:38:56.802088+00:00 +generated_by: + harness: codex + provider: openai +git_ref: 91769016 +session: 01a1691b-455c-7b32-9f90-72331a112e46 +scope: data +substantive: true +--- + +## Prompt + +Consolidate project notes and ongoing human/agent work into Piker's +federated Taken store, preserving original content and ranking work +against main. Work from `wkt/federated_project_stores` and prepare a +commit plan for human review. + +## Response summary + +Added an identified work inventory, seven TODO assignments, advisory +priorities and references to complete original documents. Carried +forward existing follow-ups and their native crash evidence. Used +guarded writes and preserved existing task states and source notes. + +## Diff reference + +Inspect the committed store changes from the original base: + +```xsh +git diff 91769016513342d0960436fc79690f31b5e3cb17 HEAD -- \ + .taken/current.org +``` + +## Human edits + +The human set the scope and rejected both the bulk AI-state archive +and the duplicated raw store draft, directing concise provenance and +the Taken/Tractor/ai.skillz conventions. The agent applied those +corrections. The untouched raw draft and audit archive remain local +under ignored `.ai/state/project-work-inventory/2026-10-23/`. +No task acceptance is inferred. + +## Verification + +Taken lint, source-link checks and preservation checks passed during +cleanup. No application tests, live services or orders were executed. diff --git a/ai/prompt-io/README.md b/ai/prompt-io/README.md new file mode 100644 index 00000000..b6a53b7f --- /dev/null +++ b/ai/prompt-io/README.md @@ -0,0 +1,12 @@ +# AI Prompt I/O Log + +These records preserve prompts, original coding-harness attribution, +and generated output for AI-assisted repository work. Historical +records remain in their original locations. Human review and task +acceptance are separate from generated implementation evidence. + +Substantive contributions use a structured record and raw partner. +Follow the [NLNet generative AI policy][nlnet-ai] when preparing work +for publication. No external submission is performed by this log. + +[nlnet-ai]: https://nlnet.nl/foundation/policies/generativeAI/ -- 2.34.1 From 4275fe733809c25b877c92475045eed9b3503b3b Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 23 Oct 2026 12:21:09 -0400 Subject: [PATCH 09/16] Record order-pane validation crash in Taken Capture the units-limit crash at position 8 / limit 1, the related slot-refresh mutation, and the proposed console/status-bar feedback with restoration of the accepted setting. Record validation gaps, isolated probe results, regression coverage and the alternative over-limit policy. Link the verified guard at line 325 and preserve every existing task state. (this patch was generated in some part by `codex` using GPT-6 family models (`openai`); exact model ID unavailable) --- .taken/current.org | 103 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) diff --git a/.taken/current.org b/.taken/current.org index 62a2378c..8d1e8e40 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -209,6 +209,109 @@ :CARRIED: 29 :END: - [ ] PUT PRs here + +*** TODO Reject invalid order-pane settings without crashing the chart +:PROPERTIES: +:ID: piker-order-pane-allocation-validation +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:AI_HARNESS: codex +:AI_DIALOG_ID: 01a1691b-455c-7b32-9f90-72331a112e46 +:END: + +Objective: keep the chart and order controls running after an invalid +allocation edit; report the reason in the chart console and status bar, +and restore the previous accepted setting. Suggested priority: high, +since a routine edit terminates chart monitoring with a position open. +Next action: implement recoverable validation at the settings boundary, +with atomic application of valid settings and consistent field feedback. + +Original report, 2026-10-23: +#+begin_quote +ok well i just noticed that in the order control pane if you set the +slots to <= limit when limit is set to "units" value we crash the chart +purposely. that's not ideal, instead we should emit an error log to both +the chart's console and the status bar in the chart and revert the +setting i'm thinking. eval the current code and make any alt suggestions +you might have. +#+end_quote + +User-supplied chart traceback and debugger values confirm a direct +units-limit edit, rather than establishing the reported slots <= limit +rule. At Oct 23 11:58:10, chart PID 2765259, Ctrl-A then 1 then Enter: +#+begin_example +limit must > then current pp: 8.0 +_forms.py:524 handle_field_input -> on_value_change(key, value) +_position.py:235 on_ui_settings_change -> self.apply_setting(key, value) +_position.py:329 apply_setting -> raise ValueError +(Pdb+) size, value +(8.0, 1.0) +#+end_example +The exception escapes the input nursery, cancels order relay, trade/PnL +updates and other chart handlers, and opens the actor post-mortem REPL. +The repeated cancellation/ExceptionGroup output follows this ValueError. +Full supplied traceback remains in the originating conversation above. +Market and previously accepted setting were not supplied. + +Inspected reported checkout: =wkt/ib_downstream_pin_eval= at +=e929fdc2d5c105453fd45c68e60045b68d428301=, clean tracked worktree. +The same units guard exists in the root checkout at +=3ec447a45acaa0dac9d8babbe49af94b2bfa14f0=. +Relevant code in the reported checkout: +- [[file:/home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/piker/ui/_position.py::325][Units-limit guard]] compares signed =cumsize > value=, logs, then + raises before writing the limit. Equality is allowed; short exposure + is not protected by this signed comparison. +- [[file:/home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/piker/ui/_position.py::223][Settings callback]] ignores the returned success flag. Currency + rejection changes the limit to current exposure instead of retaining + the accepted value; recovery behavior needs to be made consistent. +- [[file:/home/goodboy/repos/piker/wkts/ib_downstream_pin_eval/piker/ui/_position.py::906][Position refresh]] assigns derivatives' units limit from slots. + A slot edit can therefore change the limit implicitly. With live size + 8 and startup size 0, slots 8 -> 1 leaves limit 1; the next status + refresh raises. A startup size of 8 instead clamps both back to 8. + This is a separate, conditional path from the supplied traceback. +- =slots= accepts positive fractions then truncates to int; 0.5 becomes + zero and later divides by zero. Empty input, NaN and infinity also + escape the current numeric parsing/conversion checks. + +Recommended behavior and implementation boundaries: +- Validate the whole proposed allocation before mutation. Slots must + be finite positive integers; limits must be finite and positive. + Apply the position floor consistently using absolute exposure. +- Return an explicit rejection reason, log it once per submitted edit, + and use the existing =OrderMode.multistatus.open_status()= interface. + Restore the accepted field value and retain focus for correction. + Replace/clear the validation message without clearing order statuses. + A field highlight or tooltip can supplement the status-bar message. +- Make display refreshes read allocation state without silently changing + limits or re-entering edit validation. Move asset defaults and coupled + slot/limit normalization into initialization or explicit validation. + Merely changing the one raise to return False is an incomplete fix. +- Validate per-slot quantity against the market's size increment; do not + introduce a blanket slots <= limit rejection. Treat genuine position + updates beyond a ceiling as an over-limit state, not invalid input. +- Alternative policy for a later decision: permit a ceiling below current + exposure, show over-limit, block exposure-increasing entries and retain + reductions/exits. The allocator already clamps remaining entry capacity + at zero, but the UI and order paths need verification for this policy. + +Verification so far: isolated execution of unchanged source methods with +inert display dependencies reproduced the supplied 8 -> 1 ValueError, +accepted equality at 8, and distinguished both slot/startup cases above. +Additional root-checkout probes reproduced fractional/empty/nonfinite +slot failures. These were not end-to-end GUI or broker/order tests. + +- [ ] cover invalid edits without chart/input-task cancellation +- [ ] verify console + status-bar feedback and restoration of model/UI +- [ ] cover long/short positions, equality, empty/nonfinite values, + fractional/zero slots, currency mode and market quantity increments +- [ ] cover Enter, numeric slot shortcuts, unit changes and subsequent + position/status refreshes; preserve reductions/exits while over limit + +Expected handback: focused code diff, validation results, remaining policy +choices, and any manual GUI reproduction needed for human acceptance. +Leave this task and its checklist states under human ownership. + ** brokers :PROPERTIES: :CATEGORY: piker.brokers -- 2.34.1 From 5e27b068706f4e34263e18ca62047dd51d4590a1 Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 30 Oct 2026 20:06:39 -0400 Subject: [PATCH 10/16] Record branch-scan follow-ups in Taken Carry the October 23 deeper scan into the federated store. Add bounded tasks for public feed control, shared-memory portability, chart rendering and installed CLI/API coverage, with links to the complete original sources. Extend search, clearing, TIPC and documentation follow-ups; refresh the committed IB recovery candidate and advisory priorities. Keep historical test reports distinct from fresh qualification and preserve existing task states. (this patch was generated in some part by `codex` using GPT-6 family models (`openai`); exact model ID unavailable) --- .taken/current.org | 253 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 236 insertions(+), 17 deletions(-) diff --git a/.taken/current.org b/.taken/current.org index 8d1e8e40..baa9e991 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -328,6 +328,14 @@ Leave this task and its checklist states under human ownership. - presumably by something weird in the server-side endpoint? - [ ] figure out better tuning of client side fuzzy-filter versus server-side versus UI final display pass! + - [ ] Distinguish retryable provider timeouts from valid empty search + results; re-query the same text after provider recovery without + discarding previously valid results. Reproduce before changing + cache policy: the source flags this risk, while the UI caches + returned empty results as completed provider searches. + [[file:/home/goodboy/repos/piker/piker/brokers/ib/symbols.py::252][IB empty-result/timeout concern]] + [[file:/home/goodboy/repos/piker/piker/ui/_search.py::831][UI search-result cache publication]] + *** TODO ish for port to `uv`, :PROPERTIES: :CREATED: [2026-05-21] @@ -569,6 +577,16 @@ directional stream helpers and the pure OrderState reducer are implemented. Prior qualification: 65 offline tests and eight IPC tests passed. Production endpoints still use the legacy protocol. +The cached #59 account records an IB fix which stopped forwarding +benign warnings as terminal errors. Preserve that contract during the +migration: the current UI still removes an order dialog for every +=Status(resp='error')=. This is a regression obligation, not a newly +reproduced warning bug. +[[file:/home/goodboy/repos/piker/gitea/59.md][Original IB warning-severity fix account]] +[[file:/home/goodboy/repos/piker/piker/ui/order_mode.py::1194][Terminal error handler and dialog cancellation]] +- [ ] Qualify nonterminal warnings followed by fills or cancellation; + preserve the working order/dialog until a terminal event occurs. + - [ ] Port paper and its paired EMS consumer together. * [ ] Typed startup, requests, events and open-order completion. * [ ] Deterministic synthetic ticks and distinct execution IDs. @@ -635,14 +653,33 @@ and scan manifests remain private local workflow state. They are not part of this store's commit. Durable plans and prompt provenance keep their established locations; they are not duplicated into an archive. -Coverage excludes external symlink targets, raw harness databases and -JSONL/tool caches, credentials, generated environment/binary files, -code-level TODO comments outside tracking documents, and historical -versions absent from the inspected branch tips. Source issue links +The initial sweep excluded external symlink targets, raw harness +databases and JSONL/tool caches, credentials, generated environment or +binary files, code TODO comments outside tracking documents, and +historical versions absent from the inspected branch tips. Source issue links and cached PR descriptions do not establish their current remote state. Branch observations below describe the initial sweep; recheck the relevant checkout before assigning follow-up work. +**** Deeper follow-up scan, 2026-10-23 + +Rechecked all 33 worktrees and 129 local branch tips, plus tracking +documents at 415 cached remote refs. Deduplication found 313 distinct +local/worktree document contents and 28 additional remote-only +variants. Code-marker searches covered the 124 distinct local or +detached tips; comments are investigation leads, not confirmed bugs. +Dirty tracking documents and the growing TIPC implementation were +also inspected. Remote-only code and raw harness logs were not audited; +no network refresh or product test ran. Original documents stay intact. + +Recovered assignments below cover public feed control, SHM/platform +qualification, rendering fidelity, and installed CLI/public APIs. +Existing search, clearing, TIPC and documentation tasks absorb related +follow-ups. Old PR94 review findings have corresponding fix history +in =1fa45dfa=, an ancestor of the present landing candidate; do not +reopen those findings solely because their review files still exist. +Detailed scan catalogs stay in local temporary storage. + *** Approximate priority and main baseline This is an advisory order, not a change to Org priority or task state. @@ -652,8 +689,9 @@ observed active edits ahead of branch age or raw commit count. 1. Finish review of the bounded runtime/IB recovery candidate for #94. It is the active integration path and blocks much downstream work. Keep the accepted daemon-teardown deferral explicit. -2. Reproduce and fix chart/daemon teardown failures; implement the - independent-service chart detach/reattach and order-bootstrap tests. +2. Fix the confirmed order-pane validation crash and reproduce/fix + chart/daemon teardown failures; implement independent-service chart + detach/reattach and order-bootstrap tests. Native crashes and misleading stale order displays need separate evidence from successful surviving-chart smoke tests. 3. Qualify history/storage correctness and the dirty segment refiller, @@ -662,9 +700,12 @@ observed active edits ahead of branch age or raw commit count. 4. Continue strict typed clearing from its implemented foundation, starting with the paired paper/EMS boundary and real-actor tests. 5. Review small provider/search correctness and chart-gap/DPI changes - as bounded candidates where they can proceed independently. + as bounded candidates where they can proceed independently. Qualify + rendering leads before treating comments as demonstrated failures. 6. Review the actively edited TIPC/remote-feed bridge against the selected runtime and ownership contracts before expanding it. + Public feed-control and installed CLI/API coverage are supporting + work; their basic isolated CLI checks can proceed independently. 7. Qualify the Trend Calculus prototype, Pine parity and live chart behavior; keep external Jev/service work behind its explicit gates. 8. Pursue cumulative-volume rendering, revisioned FSP graphs and the @@ -685,8 +726,11 @@ The landing path is 23 commits ahead of main at =4133f073=, 25 at =7bef50b0=, and 28 at =dc618229=; each contains local main. The aggregate development tips generally omit eight main commits while carrying large shared stacks. These are ancestry counts, not independent -features or proof of patch equivalence. No product tests were run by -this inventory; test counts below are attributed historical evidence. +features or proof of patch equivalence. The follow-up scan found the +six recovery boundaries committed through =3ec447a4=, now 34 commits +ahead of main, with a clean tracked tree and unrelated untracked +recovery material. Main remains =7c8c1c4c=. No product tests were run +by this inventory; test counts below are attributed source evidence. The August repository landing plan remains preserved as design and history evidence. Its baseline, ordering and external-status claims @@ -702,14 +746,16 @@ must be compared with this October snapshot before reuse. :END: Objective: review the current #94 candidate with accurate attribution, explicit omissions and a viable downstream continuation. -Next action: inspect the six-boundary candidate and current dirty -checkout at =wkt/land_ib_recovery@dc618229= with its owner. +Next action: review the six committed recovery boundaries through +=wkt/land_ib_recovery@3ec447a4= with its owner, then review downstream +replay evidence against that exact candidate. This supersedes the +earlier dirty-tree observation at =dc618229=. **** Context and source The candidate retains the runtime/Nix/pin foundation, correlated IB MethodProxy responses, daemon error propagation and isolated feed -consumers. The working diff backs out cached IB quote ownership, +consumers. The committed recovery series backs out cached IB quote ownership, partially backports reset/no-data adapter behavior, adds owned EMS subscriptions, removes one null-sample debugger stop, and records real-runtime regression and manual evidence. @@ -1061,11 +1107,12 @@ Next action: read the dirty implementation and tests in **** Observed implementation -Ten tracked files are modified across discovery/runtime, services, -feed/flows, sampling, FSP and chart startup. Untracked files are -=piker/data/_remote.py=, =tests/test_remote_feed.py= and -=tests/test_discovery_backend.py=. The branch's shared HEAD with the -clean downstream evaluation does not mean their working trees match. +The dirty work now spans discovery/runtime, services, feed/flows, +sampling, FSP and chart startup, with new remote-feed, datad-placement +and multi-host examples/tests. Staging is changing during this scan; +re-read the owner's index and worktree before assigning a boundary. +The branch's shared HEAD with the downstream evaluation does not +mean their working trees match. The new module contains BufferPublisher/BufferReceiver, remote feed streaming, mirrored samples and feed bridge/portal lifecycle helpers. @@ -1074,8 +1121,30 @@ mirror actor lifetime, discovery backend selection and independent CLI listener/discovery settings. Their presence is implementation evidence; this inventory did not execute or qualify them. +The new multi-host guide specifies independently owned provider and +client trees, local mirrored SHM reused by FSP, and separate discovery +and actor IPC choices. It names Tractor =wkt/tipc_discovery@bd6e6211=; +the installed Piker pin is unchanged. Its October 23 test table reports +TCP/UDS contracts, native TIPC lifecycle, two-node deployment and +concurrent datad placement, plus existing FSP/history regressions. +Those are the owner's recorded results, not reruns by this inventory. +[[file:/home/goodboy/repos/piker/wkts/tipc_feed_bridge/examples/multihost_feed.md][Complete multi-host setup, results and protocol limitations]] + +The guide distinguishes local namespace failover from physical dual-link +and live GUI qualification. Published snapshots are not atomic across +buffers or concurrent source writes; chunk scans on quotes/idle polls +still need production-scale CPU, memory and network measurement. +Provider UID loss fails the subscription; reattachment creates a fresh +mirror. Seamless recovery through a total partition is not implemented. + **** Review and handback +- [ ] Qualify snapshot consistency during concurrent repair/prepend and + measure copying/scan costs with large history and high quote rates. +- [ ] Keep physical dual-link and actual provider/chart qualification + separate from synthetic namespace results; verify client progress, + new discovery, provider survival and mirror PID/SHM cleanup. + - [ ] Establish the intended local/remote ownership, host discovery and buffer publication contracts from the actual working diff. - [ ] Review cancellation, revision loss, extent validation, shared @@ -1085,6 +1154,139 @@ evidence; this inventory did not execute or qualify them. - [ ] Return the reviewed scope and next integration decision here without overwriting concurrent edits or inferring acceptance. +*** TODO replace private feed-control context grafting +:PROPERTIES: +:ID: piker-public-feed-control-context +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Objective: expose supported control access for subscribed feed streams. +Next action: agree a public duplex child-stream/context contract with +Tractor, checking the selected runtime before changing Piker callers. + +**** Context and concerns + +The #92 follow-up explicitly requests this interface. Current +=maybe_open_feed()= attaches the root stream's context to private +=BroadcastReceiver._ctx= for pause/resume compatibility. The isolated +consumer fix does not remove this compatibility dependency. +[[file:/home/goodboy/repos/piker/wkts/fix_broadcast_consumers/gitea/92.md][Original broadcast-consumer follow-ups]] +[[file:/home/goodboy/repos/piker/piker/data/feed.py::956][Private child-stream context graft]] + +**** Execution, verification and handback + +- [ ] Replace the private graft with the agreed public interface and + update pause/resume callers without mutating cache-owned streams. +- [ ] Qualify multiple chart/API subscribers, pause/resume behavior, + lag policy, cancellation, producer EOF and cached-feed reuse. +- [ ] Return the paired Tractor/Piker revisions, focused regression + evidence and remaining integration dependencies to this task. + +*** TODO qualify shared-memory portability and remaining shims +:PROPERTIES: +:ID: piker-shm-portability-qualification +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Objective: finish platform qualification after the Tractor SHM port. +Next action: audit callers of the remaining Piker shim against the +selected Tractor revision before deciding whether to remove it. + +**** Context and concerns + +The original #83 follow-up names =maybe_open_shm_array()= and +=_make_token()= as possible removals, explicitly retaining =try_read()=. +Its empty-read guard documents a prepend/index-publication race. +The macOS branch document preserves compatibility proposals and an +unqualified test checklist; its old implementation sketches are not +current API guidance. #64 also requests macOS CI for both projects; +Windows remains separate. Recheck upstream state before assigning it. +[[file:/home/goodboy/repos/piker/gitea/83.md][SHM port and original remaining work]] +[[file:/home/goodboy/repos/piker/gitea/64.md][Platform and CI follow-ups]] +[[file:/home/goodboy/repos/piker/piker/data/_sharedmem.py::159][Empty-read guard and publication concern]] +[[https://pikers.dev/pikers/piker/src/commit/18b66e5506f4f63e24ddb9b38f6c2a37c189603f/docs/macos/compatibility-fixes.md][Complete original macOS compatibility notes]] + +**** Execution, verification and handback + +- [ ] Decide each shim's ownership after checking callers and tests; + preserve =try_read()= until its publication race has a proven answer. +- [ ] Qualify Darwin/Linux imports and transport credentials, long SHM + names, token identity, multi-process cleanup, graceful/abnormal exit + and absence of leaked owned resources using exact paired revisions. +- [ ] Add a bounded reliable-provider regression and reconcile macOS + CI provisioning. Return results, unavailable-platform gaps and the + shim decision here; coordinate teardown with its canonical tasks. + +*** TODO qualify incomplete chart rendering and region interaction +:PROPERTIES: +:ID: piker-chart-rendering-fidelity +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Objective: establish correct incremental geometry and chart navigation. +Next action: reproduce the current rendering leads with small known +series before deciding which implementation changes are necessary. + +**** Context and concerns + +Current code flags incomplete last-pixel source data for FlattenedOHLC. +M4 guards a negative x range by logging and returning None. Reverse +history-region callbacks remain disabled following recursion/performance +problems. These are distinct from cumulative-volume sum downsampling; +this scan did not reproduce a GUI failure or enable disabled code. +[[file:/home/goodboy/repos/piker/piker/ui/_display.py::942][FlattenedOHLC last-pixel source-data concern]] +[[file:/home/goodboy/repos/piker/piker/data/_m4.py::91][Guarded negative M4 x range]] +[[file:/home/goodboy/repos/piker/piker/ui/_display.py::1241][Disabled history-region interaction]] +[[id:piker-cumulative-m4-volume-downsampling][Separate cumulative-volume task]] + +**** Execution, verification and handback + +- [ ] Compare full and incremental rendering across zoom, append and + prepend in time/index modes; isolate malformed M4 endpoint input. +- [ ] Before restoring reverse region control, bound callback recursion + and measure redraw/label costs with linked realtime/history charts. +- [ ] Return a reproduced case or evidence that a comment is stale, + plus focused geometry checks and performance results, to this task. + +*** TODO qualify installed commands and public Python APIs +:PROPERTIES: +:ID: piker-public-cli-api-qualification +:CREATED: [2026-10-23] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Objective: exercise the supported process/API entry points end to end. +Next action: implement isolated installed-script discovery/watchlist +checks, then qualify feed/runtime lifetimes against the chosen baseline. + +**** Context and concerns + +The human-facing coverage plan contains CLI/API work beyond its chart +journeys. Legacy =test_cli.py= is still blanket-skipped; direct storage +CliRunner tests do not exercise installed executables. The later +live-backend-first roadmap governs provider selection: use existing +bounded fixtures and introduce controlled replay only for specific races. +[[file:/home/goodboy/repos/piker/wkts/human_iface_e2e/plans/opencode/human-facing-e2e-coverage.md::651][Original installed-script/API phase and complete coverage plan]] +[[file:/home/goodboy/repos/piker/wkts/replay_provider_e2e/plans/opencode/live-backend-chart-e2e-review.md][Later provider-first qualification decisions]] +[[file:/home/goodboy/repos/piker/tests/test_cli.py::13][Legacy blanket skip]] + +**** Execution, verification and handback + +- [ ] Run installed =piker=, =pikerd= and =ledger= help/invalid-argument + contracts, watchlist round trips, and read-only store diagnostics + with isolated config and explicit executable/import provenance. +- [ ] In fresh interpreters qualify public runtime/feed startup, + history/quotes, multiple consumers, pause/resume and bounded exit; + assert actual process/actor/SHM ownership and no leaked resources. +- [ ] Exercise public accounting close/reopen under temporary roots; + coordinate paper EMS/API coverage with the typed-clearing task and + chart/service lifetimes with the existing E2E task, avoiding duplicates. +- [ ] Return stdout/stderr/exit and persistence evidence, selected + fixture/backend requirements and remaining gaps to this task. + *** Trend Calculus and Jev :PROPERTIES: :ID: piker-workstream-trends @@ -1133,6 +1335,23 @@ portable skill integration via #93, but that does not settle every old issue or remaining lint/tooling action. The datad-service document is preserved as architecture evidence alongside its branch history. +**** Documentation follow-ups recovered from cached descriptions + +- [ ] Document the retained smart-dedupe helper, remote annotation API + and exposed shape options against the chosen implementation. +- [ ] Document the offline REPL helper and actual installed store CLI; + reconcile old =ls/delete/ldshm= names with current commands first. +- [ ] Refresh provider API/history/quote schema documentation against + current FeedInit/MktPair and stream contracts. The remote-only + backend-spec branch is source material, not a current specification. + +The original #75 source retains its full reasoning and unchecked work; +manual gap repair and chart annotations keep their existing task owners. +[[file:/home/goodboy/repos/piker/gitea/75.md][Complete annotation, storage and documentation follow-ups]] +[[https://pikers.dev/pikers/piker/src/commit/96c70ee542e6f0569ff411062618814662906ae1/piker/brokers/README.rst][Original backend specification from cached backend_spec branch]] + +**** Funding and continuing synchronization + The NGI0 proposal and summary retain the original mission, scope, milestones, budget/research narrative and URLs. Its August 1 deadline is historical; current submission/funding state was not verified. -- 2.34.1 From eca2c481d775b9d68181bc57d185a33e2b49fd2f Mon Sep 17 00:00:00 2001 From: goodboy Date: Mon, 2 Nov 2026 18:52:26 -0500 Subject: [PATCH 11/16] Record chart startup and metadata-cache follow-ups Preserve the cold-start dependency analysis and a bounded planning assignment for earlier TSDB history display and chart readiness indicators. Distinguish storage reads, SHM publication, Flume delivery, first paint and interactive readiness; measure warm reopen separately, including power-profile and throttle effects. Link provider-owned cache-first resolution to that startup work: - pass normalized/native metadata into quote startup once; - separate Binance client construction from eager exchange-info fetching so disk-cache hits can actually avoid network startup; - define shared refresh, miss retry, freshness and alias invalidation without pinning continuous requests in the canonical feed registry. Retain source references, proof boundaries and offline verification criteria. The live AC comparison found no noticeable regression, not a measured speedup. Preserve existing task/checklist states; these additions record follow-up work, not implementation acceptance. (this plan was generated in some part by `opencode` using `openai/gpt-6-astra` (`openai`)) --- .taken/current.org | 216 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 216 insertions(+) diff --git a/.taken/current.org b/.taken/current.org index baa9e991..c164a0f1 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -1866,3 +1866,219 @@ Return retention traces, ledger-correlation findings, links to any offline dark-order storage assignment, lifecycle tests and proposed policy to this task. Preserve human-owned task and checkbox states. +* TODO Measure chart startup gates and publish history readiness early +:PROPERTIES: +:ID: piker-chart-startup-latency-readiness +:CREATED: [2026-11-01] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.data +:TAKEN_APPEND_OP: piker-chart-startup-latency-20261101 +:TAKEN_APPEND_REQUEST: 3902f8d4a87be19a5723e59de23af43dc4686e79673e3ed47f9477aa2aca49b3 +:END: +Reduce time from Qt-process startup to visible TSDB history, without +waiting unnecessarily for live quotes, current bars or remote gap +repair. Expose separate readiness indicators in the chart. + +Next action: instrument cold boot and warm chart reopen independently +on the selected runtime/feed branch. Capture a timeline before +choosing changes. Finish the current canonical-feed allocation fix +first; this task is follow-up investigation/planning, not acceptance +of that patch or authorization for live Gateway operations. + +Evidence and limits: +The human reports slow initial history display and confirms that +Binance warm reopen also feels slow. The earlier claim that skipping +cold-feed gates explains the whole difference was incomplete: warm +reopen skips allocation only when a healthy matching feed exists, +and does not skip Qt/import/IPC/SHM/graphics/FSP/order-mode work. +No startup latency benchmark has yet been collected here. + +The analysis below is a source-path observation from +wkts/ib_downstream_pin_eval, not measured attribution. That checkout +contains ongoing human-reviewed feed and sampler edits; re-read the +current definitions before implementing or pinning line numbers. + +Observed startup sequence and gates: +1. `display_symbol_data()` awaits `open_feed()` before constructing + the history plot. `open_feed()` starts/finds datad actors, awaits + all provider contexts, attaches SHM and opens streams before + yielding. `open_feed_bus()` allocates requested symbols serially; + a slow endpoint can delay presentation of other requested data. +2. The feed allocator resolves metadata, then awaits the quote-task + startup handshake before starting `manage_history()`. For an open + IB venue, `stream_quotes()` gets a snapshot and enters the quote + subscription before reporting startup. `Client.get_quote()` can + wait for ticker updates (defaults: 100 attempts, 1s timeout each). + These are potential bounds, not observed normal boot latency. +3. `manage_history()` opens storage, waits up to 0.5s for the live + flag, then opens/starts samplerd before the history loaders. + It starts the 60s and 1s `tsdb_backfill()` tasks with sequential + awaited `.start()` calls. Both handshakes gate its SHM-handle + delivery, and therefore delivery of the `Flume` to the chart. +4. `tsdb_backfill()` opens the provider history client before its + storage read. It then reads TSDB history concurrently with the + latest provider-frame request, but joins both before publishing. + `publish_latest_frame()` persists that remote frame to storage + before pushing it into SHM and reporting initial readiness. +5. Older TSDB rows are not published merely because the read is done. + The reverse `start_backfill()` nursery first finishes bridging + the remote-history gap, then `_prepend_tsdb_history()` places the + cached rows beside the resulting provider boundary. Slow remote + retrieval/pacing recovery can thus delay showing already-read + local history. Distinguish initial Flume delivery from actual + publication of the cached history the user wants to see. +6. In `display_symbol_data()`, history-plot construction and graphics + update-task startup precede `open_order_mode()`. Brokerd/account + setup is not an explicit prerequisite for plot construction on + this path, but does gate later input-handler setup. Measure actual + first paint and interactivity rather than inferring them from + construction order alone. + +Source references: +[[file:../../ib_downstream_pin_eval/piker/data/feed.py::async def maybe_allocate_persistent_feed][Endpoint resolution/reuse and allocation ownership]] +[[file:../../ib_downstream_pin_eval/piker/data/feed.py::async def open_feed_bus][Per-symbol initialization and Flume delivery]] +[[file:../../ib_downstream_pin_eval/piker/data/feed.py::async def open_feed(][Client-side provider/context/stream gather gates]] +[[file:../../ib_downstream_pin_eval/piker/brokers/ib/feed.py::async def stream_quotes][IB first-quote startup handshake]] +[[file:../../ib_downstream_pin_eval/piker/brokers/ib/api.py::async def get_quote][Snapshot wait/retry behavior]] +[[file:../../ib_downstream_pin_eval/piker/tsp/_history.py::async def manage_history][Sampler and sequential timeframe startup]] +[[file:../../ib_downstream_pin_eval/piker/tsp/_history.py::async def tsdb_backfill][Storage/provider join and delayed TSDB publication]] +[[file:../../ib_downstream_pin_eval/piker/tsp/_history.py::async def publish_latest_frame][Persist-before-SHM publication]] +[[file:../../ib_downstream_pin_eval/piker/ui/_display.py::async def display_symbol_data][Plot construction and order-mode sequencing]] + +Measurement and diagnosis: +- [ ] Use the existing profiler conventions to correlate milestones + across processes: Qt/import start, datad lookup/spawn, metadata + lookup/cache hit, quote-ready, storage-read start/end, samplerd + readiness, provider frame response, persistence, Flume delivery, + cached-history SHM publication, FSP readiness, first history paint + and interactive readiness. +- [ ] Compare fresh datad versus warm datad/restarted chart, single + versus multiple symbols, IB versus Binance, and local-storage hit + versus missing history. Record actual feed-registry reuse. +- [ ] Investigate synchronous disk/CPU work and scheduler stalls + separately from explicit awaited startup dependencies. Backfill + and live quote processing must not inadvertently block each other. +- [ ] For Binance warm reopen, trace client/UI work and remaining + feed handshakes instead of assuming remote cold-start gates apply. + +Proposed design direction, to validate before implementation: +- [ ] Separate history-display readiness from live-sampling readiness. + Resolve endpoint identity, allocate buffers, publish usable local + TSDB data and allow the chart to draw independently of live quotes. +- [ ] Bring up quotes/current bars and remote gap repair concurrently + where provider contracts permit it; make required ordering explicit. +- [ ] Define reconciliation/index ownership before publishing TSDB + first. Current placement intentionally waits for provider boundaries; + merely moving `.started()` can break SHM indices and FSP/graphics + consumers. Preserve real/synthetic sample provenance and notify + consumers of relevant revisions. +- [ ] Define chart-visible states for cached history ready, refreshing + history, live quotes/current bars ready, delayed/disconnected, and + failed/unavailable. Do not equate history-ready with live trading. + +Related work: +[[id:piker-feed-delayed-event][Explicit feed-delay events and chart consumers]] +[[id:piker-fsp-backfill-sync-review-and-commit][FSP/history synchronization contracts]] +These are dependencies/related contracts, not duplicate assignments +or evidence that startup-readiness indicators already exist. + +Verification and handback: +- [ ] Add deterministic barrier-driven tests proving cached history + can be drawn while provider quote/history responses are withheld. +- [ ] Verify live quote progress during backfill, stable writer + ownership, cancellation/teardown, overlap reconciliation, no data + loss/duplicate samples, and correct FSP/graphics refresh. +- [ ] Preserve warm-reopen reuse and compare before/after milestone + distributions under the same environment. Avoid unsupported latency + guarantees or arbitrary sleep-based correctness assertions. +- [ ] Return measured critical paths, proposed API/readiness states, + index/reconciliation design, regression evidence and unresolved + provider/UI costs to this task before implementation is accepted. + +Use disposable storage and private actors for automated checks. +Do not reset farms, place orders or modify production TSDB data as +part of this follow-up without separate human authorization. +* TODO Resolve feed metadata once using provider-owned symcache +:PROPERTIES: +:ID: piker-feed-cache-first-resolution +:CREATED: [2026-11-02] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.data +:TAKEN_APPEND_OP: piker-cache-first-resolution-20261102 +:TAKEN_APPEND_REQUEST: cfbc7cd8ecf3b45ad90976cee80d14ed7c690069b62f0fe25be1979e19eedb30 +:END: +Define a cache-first resolution contract owned by each provider, +invoked by the data layer before canonical feed lookup, and pass +both normalized and native metadata into quote startup. + +Next action: inspect current SymbologyCache/provider contracts and +measure cold/warm metadata costs before changing backend startup. +Coordinate with [[id:piker-chart-startup-latency-readiness][Chart startup and readiness]]. + +Context: +The canonical-feed fix resolves get_mkt_info() before allocation, +but discards the provider-specific second return value. Backends +then resolve again inside stream_quotes(). IB and Binance currently +use process-local async_lifo_cache(), keyed by request spelling, so +same-spelling calls normally reuse results without network I/O. +This is distinct from persistent symbology caching. + +Binance Client construction currently fetches exchange information +for spot and USD-margined futures before yielding. A disk lookup +after that initialization would not remove this cold-start gate. +Its websocket startup also waits for L1 and trade data before +reporting readiness; metadata caching alone does not remove that +independent gate. + +SymbologyCache already pairs canonical mktmaps with backend-native +pairs and serialization namespace paths. Its load() checks the +relationship between get_mkt_pairs() and get_mkt_info() results. +Audit those contracts before inventing a new representation. + +[[file:../../ib_downstream_pin_eval/piker/data/_symcache.py][SymbologyCache tables, loading and serialization]] +[[file:../../ib_downstream_pin_eval/piker/brokers/binance/api.py::async def get_client][Binance eager exchange-info initialization]] +[[file:../../ib_downstream_pin_eval/piker/brokers/binance/feed.py::async def stream_quotes][Binance metadata and live-data startup gates]] +[[file:../../ib_downstream_pin_eval/piker/brokers/ib/symbols.py::async def get_mkt_info][IB metadata resolution/cache boundary]] + +Proposed contract to investigate: +- [ ] Keep _FeedsBus.feeds canonical-only. Explicit endpoint requests + retain the direct lookup; unresolved aliases use provider-owned + resolution, not data-layer guesses about front contracts. +- [ ] Return usable cached MktPair/native metadata together, before + remote refresh when policy permits. The data layer inspects the + normalized identity and carries native metadata opaquely. +- [ ] Pass the resolved result into stream_quotes(); require no + further market-info query on the persistent-feed startup path. + Audit standalone callers before making that input required. +- [ ] Separate Binance client construction from eager metadata + fetching so persisted cache hits actually avoid network startup. +- [ ] Own one shared background refresh per provider service, with + miss-triggered awaited refresh/retry and explicit failure/freshness + reporting. Avoid one refresh per chart or request. +- [ ] Publish normalized/native metadata coherently; distinguish + stable dated contracts from time-sensitive continuous aliases. + Define invalidation without changing an already-running endpoint. + +Verification and performance evidence: +- [ ] Test persisted-cache hits without network access, concurrent + miss refresh sharing, failed refresh preserving usable data, + consistent pair identity and explicit alias/roll invalidation. +- [ ] Assert quote startup consumes resolved metadata without another + resolver/details query; preserve canonical Flume/SHM reuse. +- [ ] Compare cold process versus warm chart reopen and record AC or + battery, power profile and effective chart/quote throttle settings. + Separate Flume receipt from first history paint/interactivity. + +The human reports full Binance boots with the feed changes stashed +feel comparable to patched boots on AC. Earlier warm-reopen slowness +may have been affected by battery throttling; neither observation +is a latency benchmark or proof of backend causation. + +Handback: +Return measured costs, provider capability/typing findings, proposed +cache ownership and refresh policy, startup API migration boundaries, +and deterministic regression evidence to this task. Use disposable +cache/storage and private actors; live broker operations require +separate authorization. Preserve human-owned task states. -- 2.34.1 From 5e03f25e99850b2cf73efb64e77db6fd4ed7808a Mon Sep 17 00:00:00 2001 From: goodboy Date: Tue, 10 Nov 2026 19:06:05 -0500 Subject: [PATCH 12/16] Record IB disconnect and logger-routing evidence Preserve the live REPL observations, callback failure and logger ancestry in the existing Taken teardown task. Separate the proposed logger binding from unverified reconnect and resynchronization work. Leave all task states unchanged. (this patch was generated in some part by `Codex` using `GPT-6` (`OpenAI`)) --- .taken/current.org | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/.taken/current.org b/.taken/current.org index c164a0f1..dfe39143 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -828,6 +828,63 @@ idle peer EOF, debugger, multi-consumer and SHM-owner cleanup concerns. Return a scoped cause/fix/regression report here and coordinate the independent native crash with =piker-qt6-chart-teardown-sigsegv=. +**** IB disconnect and logger evidence, 2026-11-10 + +Human runtime observation at 15:30: both =datad.ib= and =brokerd.ib= +reported peer closure. Gateway appeared healthy afterward; neither +its restarting nor successful subscription recovery is established. +Runtime paths were =wkts/history_segment_refill= for Piker and +=../tractor/wkts/ipc_fault_regressions= for Tractor. This evidence is +from the in-use runtime, not the rebased landing candidates. + +PDB in =relay_client_proxy_messages()= at =api.py:2050= confirmed: +- =msg= was =('disconnected', ConnectionError('Peer closed connection.'))=. +- =proxy._aio_ns.ib.client.clientId= was =6132=. +- =proxy._aio_ns.ib.isConnected()= was =False=. + +The existing =efa72980f8e54bd233b1632480d921f236451d8b= change, +"Raise on IB socket disconnects in proxy and trades", already makes +socket disconnects fail explicitly. The trade receiver separately +raised =ConnectionError('IB trade-event socket disconnected')=. +The proxy relay still has a reconnect TODO; suppressing these errors +would not restore subscriptions. + +Several =TrioTaskExited= owner-exit signals received asyncio cleanup +acknowledgements. However, =signal_trio_when_done()= also raised the +trade ConnectionError from its asyncio completion callback, and debug +requests overlapped with "Local task already has active debug request". +This supports a callback/debugger teardown regression investigation; +it does not establish that every pending task leaked. + +***** Logger routing + +PDB showed =piker.ib_async.client= with no handlers and propagation +enabled. Its ancestors =piker.ib_async=, =piker= and the root logger +also had no handlers. =piker.brokers.ib= had a =StreamHandler= at +level 0 with propagation enabled, but is outside that ancestry. +This explains why the client ERROR can reach logging's fallback +handler as a bare "Peer closed connection." line. The later formatted +per-proxy warnings are a separate relay path. + +Proposed, not applied: in =NonShittyIB.__init__()=, bind the client's +logger through =get_logger(name=f'{__name__}.client')= so its name is +=piker.brokers.ib.api.client= and reaches the backend handler. +Verify actor-aware formatting and duplicate emission behavior; avoid +adding a global root handler merely to cover this namespace mismatch. +This formatting correction alone will not deduplicate proxy relays. + +***** Next execution and handback + +Reproduce authoritative socket EOF with a local/fake IB bridge and +check callback exception handling, debugger ownership, bounded owner +cleanup and sibling-consumer continuity. Keep the logger correction +separately reviewable from reconnect behavior. Subscription and account +resynchronization remain prerequisites for automatic recovery; never +blindly replay orders. Return the reproducer, exact runtime revisions, +scoped patch and regression results to this task before commit-planning +an implementation. The evidence addition itself is ready for a scoped +commit plan; task acceptance markers remain human-owned. + *** Chart lifecycle, E2E and order-bootstrap ownership :PROPERTIES: :ID: piker-workstream-chart-lifecycle -- 2.34.1 From fdec59b94e79d8a7c25d620aec6ae5e18af7acd1 Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 27 Nov 2026 18:27:39 -0500 Subject: [PATCH 13/16] Record trade-rate and history reconciliation evidence Capture the live clipping and backfill observations, the probe handoff, and the sampler clock cases. Document how to qualify IB startup reconciliation while preserving live history. (this patch was generated in some part by `Codex` using `GPT-6` (`OpenAI`)) --- .taken/current.org | 509 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 509 insertions(+) diff --git a/.taken/current.org b/.taken/current.org index dfe39143..99be0c0b 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -993,6 +993,227 @@ The history checkout also contains a sampler timing variant. Compare those implementations before choosing the landing boundary. [[file:/home/goodboy/repos/piker/wkts/fsp_backfill_sync/.agents/skills/piker-fsp-expert/roadmap-and-research.md][.agents/skills/piker-fsp-expert/roadmap-and-research.md (original source)]] +**** TODO Diagnose trade-rate lines sliding upward as the volume bar fills +:PROPERTIES: +:ID: piker-ui-rate-overlay-slide +:CREATED: [2026-11-27] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:TAKEN_APPEND_OP: rate-overlay-slide-20261127 +:TAKEN_APPEND_REQUEST: cc0ac04c62ce30e4dfdd8c76f1fee6243628ecbbb2e2ab81e26ef55b385d0282 +:END: +After the landing slices, trace the trade-rate overlay on a live chart. +On wkt/land_feed_endpoint_reuse at 036b7ed9 the tester saw historical +dashed lines slide upward while the volume bar filled. The shorter +second Sway window showed it most clearly. The 10:49:29, 10:49:36 +and 10:49:47 captures show clipping. Its cause remains open. + +- [ ] Launch the smaller chart using scripts/trace_rate_view.py from + that worktree. Keep the viewport still and save its JSONL trace. +- [ ] Compare rows for the same market, completed sample and live bar. + Check both stored rates, scene Y, rate-view X/Y bounds, pane height + and raw/dollar volume. A changing stored value may also occur during + [[id:piker-es-rate-overwrite-20261126][the ES backfill overwrite]]. +- [ ] If a stable value moves, inspect overlay scaling during + graphics_update_cycle. Determine whether visible rate extrema or + viewport geometry warranted the change. Verify any fix in short + and tall panes while volume grows and new rate peaks arrive. + Return the trace interval and measured cause here. + +***** MNQ live rate-axis clipping during a one-bar scroll +:PROPERTIES: +:ID: piker-ui-rate-overlay-slide-mnq-20261127 +:TAKEN_APPEND_OP: mnq-rate-slide-live-20261127 +:TAKEN_APPEND_REQUEST: ab6f0e9e1ec94beb416d6b785ebe995624c973376175bd9ce64abe369bfbd95c +:END: +The tester saw both charts slide; chart C (PID 675626) recorded +mnq.cme.20261218.ib in /tmp/piker-rate-view-675626-0u08b_qe.jsonl. +Within its first 1290 complete records, compare wall seconds +1795795775.5745056 and 1795795775.6755402. Sample 1795795771 +held trade_rate 40 and dark_trade_rate 45. Pane height stayed 71.5. +X advanced one bar. The rate Y bounds changed from [23.8, 46.2] +to [24.1, 40.9]. Regular scene Y moved from 20.79 to 4.83 and +dark scene Y from 4.83 to -16.45. The dark value exceeded the new +upper bound while its sample was still horizontally visible. + +Across 1007 adjacent pairs with rising raw volume, same live bar, +sample, X bounds and pane height, rate Y bounds never changed. +This sampled interval points to range selection as the view scrolls. +Inspect whether both visible rate series contribute extrema to their +shared axis; the trace measures the result, not which writer set it. +Use the recorded bounds and values for an offscreen regression. +***** Probe to carry into the line-slide fix +:PROPERTIES: +:ID: piker-ui-rate-overlay-probe-handoff +:TAKEN_APPEND_OP: rate-probe-handoff-20261127 +:TAKEN_APPEND_REQUEST: 7f5b2f840309cb37f112e9648c44a1e115c7677fbc1be2cbeb1082257911649a +:END: +- [ ] Carry the [[file:../../land_feed_endpoint_reuse/scripts/trace_rate_view.py][chart probe and its launch examples]] into the follow-up worktree. + Commit it with the diagnostic work and record the commit here before + retiring its current worktree. The source copy is currently untracked. +- [ ] Use the probe before and after the axis fix. Compare both curves + against the shared rate bounds when the same completed sample stays + in view through a scroll. Use the [[id:piker-ui-rate-overlay-slide-mnq-20261127][captured MNQ case]] as the baseline. +*** TODO preserve realtime-only FSP history across backfill resyncs +:PROPERTIES: +:ID: piker-fsp-preserve-live-history-on-resync +:CREATED: [2026-11-11] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Objective: preserve accumulated dark volume, trade counts and trade-rate +history when source OHLCV backfills trigger FSP history rebuilds. +Next action: reproduce the overwrite deterministically with nonzero +live-derived samples before implementing a bounded preservation fix. + +**** Context and evidence +Human manual qualification on 2026-11-11: with two charts of the same +market opened during active backfill, regular dollar volume appears +intact while dark volume and trade-rate lines repeatedly lose prior +history and rebuild. An in-use retry with a new market also exhibited +transient stepping differences that settled after backfill; that is a +separate observation and its cause is not established by this finding. + +Inspected source: wkt/history_segment_refill at 179a8c81, with unrelated +uncommitted history/display and sampler work present. The FSP engine +and FSP UI match committed wkt/fsp_backfill_sync. Relevant code: +- =piker/fsp/_volume.py:dolla_vlm= reconstructs regular dollar volume + from OHLCV, yields None for dark_vlm and omits both trade-count fields. +- =piker/fsp/_volume.py:flow_rates= yields None for its history fields, + including trade_rate and dark_trade_rate. +- =piker/fsp/_engine.py:_write_history_output= allocates zeros, fills + only supplied non-None fields, and overwrites destination history. +- Matching backfill notices cause Cascade.resync to restart computation + and send fsp_update; the UI then forces a matching-buffer refresh. + +This establishes a code path that discards previously collected live +history. No deterministic regression or runtime buffer capture has yet +been run for this specific loss. Rendering suppression alone would +hide the overwrite rather than preserve data. + +Related existing work: +[[id:piker-fsp-backfill-sync-review-and-commit][FSP synchronization qualification]] +[[id:piker-revisioned-fsp-graph-research][Revisioned FSP graph research]] +=fadab3d2= targeted history redraws and =5b4622fb= skipped unchanged +quote-driven redraws; forced history updates still bypass that cache. +The worktree/stash/reflog scan found no additional preservation fix. + +**** Execution and concerns +- [ ] Define explicit history-output semantics for recomputable fields, + unavailable historical fields, and existing live-derived observations. +- [ ] Preserve existing live-only values over the overlapping sample + identities during resync; initialize only newly exposed history and + retain source time/index alignment. Do not infer identity from length. +- [ ] Cover dark_vlm, trade_count, dark_trade_count and flow_rates outputs; + preserve correctness of their dependency and current-sample handling. +- [ ] Keep genuine OHLCV-derived corrections visible. Distinguish prepend, + equal-bound repair and reset/new-series cases; do not carry stale values + into unrelated samples or silently invent pre-observation trade data. +- [ ] Account for concurrent sampling and repeated notices while rebuilding. + Keep this bounded repair distinct from whole-gap completion gating and + the broader revisioned-graph research task. + +**** Verification and handback +- [ ] Add a failing regression with nonzero accumulated live-only history, + trigger multiple source backfill resyncs, and verify preserved values + by sample identity, correct new-history initialization and no extra steps. +- [ ] Verify recomputable dollar volume changes on a source correction, + while unrelated live-only history survives; include equal-bound repair. +- [ ] Manually qualify two charts during active backfill on a new market + or controlled fixture; verify dark-volume/rate history survives each + frame and both charts continue live updates. Record any independent + step-desync separately with destination timestamps/indexes. +- [ ] Return the scoped diff, test evidence, live qualification results + and remaining semantics questions here for human review. + +**** Manual qualification update, 2026-11-13 +:PROPERTIES: +:ID: piker-fsp-manual-qualification-20261113 +:TAKEN_APPEND_OP: piker-fsp-manual-20261113-append +:TAKEN_APPEND_REQUEST: 0f82fa4e9dbc5ecf7065c109b7907051249d2b3a4a7cd2580b1cc76dd88112e3 +:END: +Source: human chart testing of =wkt/land_history_reservations= at +=84292898ac407b6fb8c3fe7991b566605d4ed63c=. The checkout was clean when +this update was saved. This supplements the existing report; it does +not establish a new regression or acceptance of the pending FSP work. + +During two-chart/backfill testing, the human again observed FSP resyncs +and curve redraws. On SPCX, the right chart loaded the market first; +its volume bar stayed at a fixed horizontal position and its volume +curve stopped updating, while the second (left) chart looked normal. +Switching the right chart away from SPCX and back did not recover it. +The earlier TSLA test had already reported the first-window stall. + +At 18:31:33 the affected chart's =chart.fsp_0[063f7a]= logged +=re-syncing fsp dolla_vlm to source=, followed by repeated +=No yrange provided for dolla_vlm!?= and corresponding =dark_vlm= +messages. The resync message alone does not establish completion. +These observations do not yet distinguish stalled FSP output from +stale view bounds/graphics, nor prove the same cause as history loss. +Screenshot: +[[file:/home/goodboy/images/screenshots/2026-11-13T18:33:00,910718038-05:00.png][SPCX first-loaded right chart versus second-loaded left chart]] + +Related evidence: [[id:piker-es-rate-overwrite-20261126][ES trade-rate history overwrite]]. + +The human recalls this stall being resolved on the in-use branch. +That remains to be checked after the remaining FSP slices are replayed; +do not describe the persistent stall as reproduced on in-use. Earlier +in-use testing did show transient rate/volume separation during +backfill that settled afterward, which is a distinct observation. + +Other manual checks in this session: ZCSH's reserved history stretch +looked unchanged after daemon restart; SHM summaries had zero invalid +and order counts. MNQ adjacent chart bars jumped across the maintenance +break (16:59 to 18:00) and weekend (November 6 16:59 to November 8 +18:00), without a continuous placeholder run across those closures. +These observations support the history slice but do not resolve FSP +qualification. The slice's 102 targeted automated tests also passed. + +- [ ] Repeat the same first-loaded/second-loaded chart test after the + remaining FSP slices land; compare directly with in-use if it persists. +- [ ] If the stall persists, capture source and FSP destination tail + timestamps/indexes and chart read/view bounds during the stall. + Keep persistent volume stall, transient step desync and live-history + overwrite distinct until evidence establishes a shared cause. +- [ ] Return the comparison and any fixing commit identity to this task + and the linked FSP synchronization qualification task. +**** MES trade-rate history loss during IB backfill, 2026-11-26 +:PROPERTIES: +:ID: piker-fsp-mes-backfill-20261126 +:TAKEN_APPEND_OP: mes-fsp-evidence-20261126 +:TAKEN_APPEND_REQUEST: 41ba83f653b2f8a394880b555ec950db4a7c3dbf551c04816de32f96e087fdb3 +:END: +Manual qualification on land_fsp_sync with mes.cme.20261218.ib. +The tester watched a trade-rate peak form and disappear at the +same timestamp on a subsequent history-frame redraw. Resets +continued until backfill finished. The first-window volume bar +continued stepping. No destination FSP rows were captured across +a reset, so the layer losing the peak remains to be identified. + +Source OHLCV generation 9821f878-e84a-43 had zero invalid, +duplicate or reversed timestamps in both buffers. JSON counts +were 270493 historical rows (60s) and 173153 realtime rows (1s). +For the regression, compare the destination rate value at a known +pre-existing peak before and after processing a source history frame. +**** ES trade-rate overwrite confirmed in destination SHM, 2026-11-26 +:PROPERTIES: +:ID: piker-es-rate-overwrite-20261126 +:TAKEN_APPEND_OP: es-rate-evidence-20261126 +:TAKEN_APPEND_REQUEST: c61f5725c7cbb4f655f66f243ed572123b22c2a1821b058d35599feb9b2d02ac +:END: +During cold IB backfill on land_fsp_sync the tester saw the chart +redraw. A read-only probe of a22c7439_fe0dd6fd.fsp for +es.cme.20261218.ib tracked completed nonzero samples by timestamp. +Related symptom: [[id:piker-fsp-manual-qualification-20261113][first-window volume stall on SPCX and TSLA]]. +Through observation epoch 1795740070.636 it saw 55 field values +change to zero in five batches (29 trade_rate, 26 dark_trade_rate). +For sample 1795739984 both fields went from 4 to 0, observed at +1795739996.637. New nonzero samples accumulated between batches. +This localizes loss to FSP data upstream of graphics. Exact writer +and triggering messages still require tracing. Regression target: +preserve both completed tick-derived fields by sample timestamp +through a same-market 1s history prepend/resync, while new samples +continue to advance. *** TODO publish and consume explicit feed-delay events :PROPERTIES: :ID: piker-feed-delayed-event @@ -1438,6 +1659,84 @@ These are proposals for the human. Every existing headline state and checkbox marker remains exactly as found. No parent acceptance or checkbox completion is inferred from a commit or this inventory. +*** TODO Investigate sampler clock lag after suspend and startup row reversal +:PROPERTIES: +:ID: piker-sampler-suspend-clock-correctness +:CREATED: [2026-11-14] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:TAKEN_APPEND_OP: piker-sampler-suspend-evidence-20261114 +:TAKEN_APPEND_REQUEST: dfac3012cfd6833bec690c52184715212b42e5359eb352676f902614258b85d8 +:END: +Objective: ensure resumed live samples have correct time labels across +SHM periods, and prevent duplicate/backward startup row timestamps. +Treat the observed stale labels as a potential data-correctness issue; +priority and acceptance remain human-owned. + +Next action: reproduce with a controlled clock in isolated buffers, +then compare a fresh in-use runtime with the landing slice. Do not +restart the user's daemon or suspend their machine without direction. + + Evidence and scope +Read-only inspection of land_fsp_sync on 2026-11-14 after the user's +long suspend/resume found generation 3b8159f3-d84b-4f. At 2026-11-15 +01:47:14 and 01:47:19 UTC, BTC perpetual's 60s tail was labelled +2026-11-14 23:46 UTC, while its close changed 62270.0 -> 62261.2 and +volume 177.986 -> 199.779. The rt and both inspected FSP buffers +advanced together near current wall time. Their common suspend gap +was 23:34:51 -> 01:35:12 UTC (7221 seconds). +This establishes stale labels with live writes in SHM; persistence +of incorrectly labelled data has NOT been established. + +The same rt/FSP buffers contain startup times 23:29:20, 23:29:21, +23:29:20, 23:29:21 UTC: one reversed adjacent step. Earlier runs had +one duplicate instead. Only one chart's FSP pair remained available +for this inspection; user reports both charts recovered visibly. + +Evidence snapshot: +[[file:../../land_fsp_sync/.ai/state/backfill-validation/live-buffers-fsp-20261114.json][Read-only OHLCV/FSP snapshots]] + + Mechanism and prior fixes +Sampler.increment_ohlc_buffer counts scheduled wakeups in total_s, +not elapsed wall time. For periods above 1s it appends previous time +plus the period. For 1s it uses rounded wall time, without checking +that the new timestamp exceeds the existing tail. No catch-up rows +are produced for the time asleep. Startup seeds rt rows at ts, ts+1. +The increment method is AST-identical in committed in-use +wkt/history_segment_refill@179a8c81 and land_fsp_sync@4166fd06; +startup seed assignments are equivalent. This is source evidence, +not a live reproduction on the in-use branch or its dirty checkout. + +31c0a366 guarded stale trade ticks; 179a8c81 replaced that with the +IB-only startup-backlog filter. Neither corrects row-clock stepping. +Do not restore the superseded steady-state trade-slot guard. +Related startup reconciliation and its constraints remain owned by +[[id:piker-ib-startup-history-reconciliation][IB startup/history reconciliation]]. +This task's observed suspend failure warrants a separate clock-policy +review, not silently changing those prior reconciliation constraints. + + Execution and verification +- [ ] Inspect current in-use dirty changes and loaded module paths; + record exact revisions before attributing its behavior. +- [ ] Reproduce startup within the seeded second and a long clock + jump with isolated 1s/60s buffers. Assert actual row timestamps, + monotonicity and notifications, not just chart stepping. +- [ ] Reproduce suspend/resume on in-use when the user can run it; + compare pre/post wall time, tail labels, indices and live writes. +- [ ] Trace whether stale-labelled SHM rows can reach persistent + history, including subsequent backfill/refill reconciliation. +- [ ] Propose missed-period semantics: timestamp jump versus explicit + missing slots; account for venue closures, capacity, history-write + ownership, FSP alignment and write-before-notify ordering. +- [ ] Cover startup, ordinary delay, long suspend and clock rollback; + separate network delay from sampler clock advancement. + + Handback +Return reproduction evidence, scope across periods/providers, any +persistence impact, a proposed clock policy and targeted regression +results. Keep the independent FSP history-loss/stuck-volume concern +open under [[id:piker-fsp-preserve-live-history-on-resync][its existing task]]. +Do not mark this or linked tasks accepted on implementation/test success. * TODO Diagnose Qt6 chart teardown SIGSEGV with native backtraces :PROPERTIES: :ID: piker-qt6-chart-teardown-sigsegv @@ -2056,6 +2355,216 @@ Verification and handback: Use disposable storage and private actors for automated checks. Do not reset farms, place orders or modify production TSDB data as part of this follow-up without separate human authorization. + +** TODO Reconcile IB startup quotes with initial history +:PROPERTIES: +:ID: piker-ib-startup-history-reconciliation +:CREATED: [2026-11-06] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.data +:END: +Replace the working IB startup-backlog exclusion workaround with +quote/history reconciliation, reusing existing refill and tracing +work. Keep the temporary filter until its replacement is qualified. +The human reports that the current workaround resolves the observed +spike; this is not an investigation of an ongoing reproduced failure. + +Next action: recheck the receiving checkout and loaded module paths, +then reproduce the mutable-Ticker hazard deterministically. Establish +stable packet capture before designing the finite startup handoff. +Use a fresh trace to validate the overlap policy when useful; a +recurrence of the original spike is not a prerequisite. + +*** Baseline and existing work +Receiving source: piker. Active checkout after the authorized +fast-forward and rename: +=/home/goodboy/repos/piker/wkts/history_segment_refill= +Branch: =wkt/history_segment_refill= +Base at handoff: =179a8c81e655a0e0d4ff8a746b8a4bdb2814b949= +"Limit IB trade filtering to its startup backlog" + +The former =wkts/ib_history_request_bounds= checkout was moved here; +it is not a second working copy. Its substantial staged refill, +storage, CLI, UI, tests and documentation remain separate from this +assignment. Preserve the staged index and all unstaged/untracked +work, particularly =ib/feed.py=, which has both kinds of changes. +The previous unstaged round(tick_s) slot guard was removed during +replant; only tracing was carried into the newer sampler. Do not +restore the obsolete guard from recovery copies or older tests. + +The evaluation checkout remains: +=/home/goodboy/repos/piker/wkts/ib_downstream_pin_eval= +At origin handoff it was on =sampler_tick_time_guard= at the same +base, with only =pyproject.toml= and =uv.lock= dirty for a temporary +Trio/editable-Tractor setup. No new startup implementation was +written there. Reverify that snapshot before relying on it. + +=179a8c81= replaces =31c0a366='s steady-state slot matching/waiting +with backend-owned =ib._util.StartupTradeFilter=. It excludes IB +packets received before consumption starts until the first post-start +stamped trade, then stops filtering that symbol's timestamps. +This is exclusion, not history-overlap reconciliation. + +At the original audit, =manage_history()=, =query_latest_frame()=, +=publish_latest_frame()= and =_prepend_tsdb_history()= had the same +structure across the two working trees. The new refiller is awaited +after startup; it does not implement startup reconciliation. +=07d8cf5a= is an ancestor of both branches, and =fsp/_engine.py= was +byte-identical. Do not duplicate that FSP synchronization fix. + +*** Evidence and limits +The origin agent collected no wire boot trace. Its evidence was +console warnings and read-only SHM observations. The documented +=/tmp/mnq-ib-boot.jsonl= was an example, not a verified capture; +that path was absent during receiving-agent intake. + +Source inspection confirms that =_setup_quote_stream.push()= queues +mutable =Ticker= references and =stream_quotes()= normalizes later. +The installed =ib_async= wrapper clears tick lists on later packets. +This is a concrete data-integrity hazard, not proven attribution of +the original spike. Scalar fields and tick lists both need checking. + +The receiving interpreter resolved the Piker modules to +=wkts/history_segment_refill=. Its installed versions at intake were +=tractor 0.1.0a6.dev0=, =trio 0.32.0= and =ib_async 2.1.0=. +These were local-process probes, not live parent/child actor evidence. +Do not assume this environment equals the evaluation checkout's +editable-runtime setup or the current lock file. + +*** Agreed design constraints +- =samplerd= remains the shared clock advancing registered buffers. + Its labels do not promise provider-event-time placement. +- Normal datad sampling writes accepted trades into current SHM + tails before notifying subscribers. Preserve write-before-notify + for TCP/UDS and future lower-latency notification transports. +- Do not match every live timestamp against sampler labels, poll + for a matching second, or permanently reject delayed live ticks. + Actor scheduling and transport delays are expected. +- Do not restore a concurrent SHM writer/queue which notifies + consumers before applying their trade data. +- Do not introduce epoch-flooring, aligned-clock or catch-up changes + to compensate for the guard; those speculative changes were removed. +- Provider-specific timestamp and overlap interpretation belongs + in the backend, not a broker-name policy in generic sampling. +- Retain the temporary workaround until its replacement is qualified. + Passing guard tests do not prove exact volume reconciliation. + +*** Existing infrastructure to reuse +- =ib._trace.trace_ib_wire()=: scoped raw callback and parsed-tick + capture, restoring wrapper methods on teardown. +- =data._boot_trace.BootTrace=: opt-in bounded JSONL diagnostics. +- Normalization and sampler pre/post-write trace integration. +- =docs/ib_boot_trace.rst= and + =tests/providers/test_ib_boot_trace.py=. +- Staged =tsp._refill.Refiller=, durable request journals, store CLI, + and price/volume graphics invalidation after in-place repairs. + +[[file:../../history_segment_refill/docs/ib_boot_trace.rst][Trace stages and invocation]] +[[file:../../history_segment_refill/piker/brokers/ib/_trace.py][Raw callback capture]] +[[file:../../history_segment_refill/docs/history_segment_backfill.rst][Refill ownership and limitations]] + +Trace writes and refill journal serialization/fsync are synchronous. +Enabled tracing can perturb timing; distinguish that overhead from +normal operation. Refill's provider lock does not serialize startup +quotes/history, but synchronous work can stall sibling tasks. + +*** Startup boundary to implement and review +1. Capture stable packet records at the IB callback boundary. + =ib_async= mutates/reuses Ticker and clears its tick lists at the + next packet. Queuing references does not preserve packet contents. + Verify scalar fields and tick-list contents against later mutation. +2. Keep an early configuration handshake so history loading can start. + The allocator awaits quote startup before =manage_history()=; + withholding that result until history exists would deadlock it. +3. Coordinate initial history with backend-owned startup capture. + Record live-flag time, first actual stream packet, per-timeframe + history receipt time and final provider bar, and a finite capture + boundary. Do not conflate packet receipt with execution time. +4. Reconcile a finite captured prefix, then hand subsequent packets + to ordinary live processing exactly once. Do not depend on an + active queue eventually becoming empty. +5. Complete initial SHM reconciliation before shared-clock + advancement owns the buffers, or specify an equally explicit + ownership handoff. Current sampler registration precedes initial + history loading, so this needs deliberate restructuring. +6. Preserve separate readiness concepts: early configuration, + usable history, reconciled startup and live readiness. Leave room + for cached-history-first display and chart indicators. + +=some_data_ready= signals history readiness. =sub_registered= is set +following Flume delivery and subscriber registration, before sampling. +Do not require subscriber registration while withholding the Flume. +Post-capture quotes must remain ordered live input across this gap. + +FeedInit is frozen and =validate_backend()= msgpack-copies it. Keep +runtime events/channels outside its serialized fields; an actor-local +startup companion/result is a candidate boundary. + +Preserve the two-function layout: +- =maybe_allocate_persistent_feed()=: resolve/reuse and own lifetime. +- =allocate_persistent_feed()=: allocate and return explicit state. +Avoid forwarding helpers justified only by indentation. + +*** Reconciliation policy remains a review obligation +The human accepts approximate startup placement using local timing +and history-bar bounds. That does not prove exact volume overlap. + +Candidate policy: preserve provider-covered bars, construct uncovered +startup intervals, and derive an open minute from reconciled 1s rows +only where coverage is sufficient. Make ambiguous unfinished-bar +behavior explicit. Do not blindly add potentially duplicated volume +or invent missing data. + +Use deterministic tests and, when available, fresh traces to separate +raw IB size, parsed ticks, mutable-object transfer and SHM accumulation. +There is no historical wire capture establishing the original cause. + +*** Verification +- [ ] Record module paths/runtime versions in parent and child actors; + checkout names and CLI working directories do not prove what loaded. +- [ ] Prove later Ticker mutation cannot change captured packets. +- [ ] Prove every packet belongs to exactly one side of the cut. +- [ ] Exercise initial-frame overlap and partial coverage with explicit + expected OHLCV, including duplicated volume and uncovered trades. +- [ ] Assert SHM contents at actual IPC notification receipt. +- [ ] Cover quiet markets, cancellation, bounded capture failure and + producer cleanup without changing steady-state clock semantics. +- [ ] Reuse actor-backed tests; avoid a parallel large fake chart + framework or duplicating committed resolver/cache tests. +- [ ] Respect repair/synthetic-range metadata and FSP/UI invalidation + when startup or later back-correction changes rows. + +Origin evidence: 14 temporary-policy tests, 26 related tests and two +actor-backed cases passed. Receiving replant checks: 65 targeted tests +passed, including sampling, tracing, refill, history and CLI cases. +These are bounded regression evidence, not qualification of the proposed +startup design or human acceptance of the staged refill implementation. + +*** Related assignments +[[id:piker-chart-startup-latency-readiness][Startup latency and readiness parent]] +[[id:piker-feed-cache-first-resolution][Cache-first resolution and native metadata handoff]] +[[id:piker-fsp-backfill-sync-review-and-commit][FSP synchronization qualification]] + +Read these contexts, but keep this assignment focused on startup +correctness. Do not expand it into every backend migration or the +whole startup-latency redesign. The originating agent retains runtime +qualification and landing work. + +*** Execution and handback +Follow current py-codestyle: multiline named arguments, tuple-style +async with, clear task/scope ownership, quoted code/library names, +and lowercase =trio=. Preserve maintained comments and human edits. + +Use disposable storage and private actors for automated tests. Live +Gateway resets, orders, production TSDB writes, staging, commits and +Git-history operations require separate human authorization. + +Return trace findings, explicit handoff/data contracts, overlap policy +and limitations, small reviewable patch boundaries, test commands and +results, and unresolved concerns to this task. Passing tests do not +authorize changes to human-owned acceptance markers. + * TODO Resolve feed metadata once using provider-owned symcache :PROPERTIES: :ID: piker-feed-cache-first-resolution -- 2.34.1 From ec676678c5e5e58e719cb9eb77da43f8f4350086 Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 27 Nov 2026 18:27:59 -0500 Subject: [PATCH 14/16] Track provider startup, teardown and search failures Record Binance first-data and shutdown evidence, websocket recovery visibility, and the CLI registry reproduction. Preserve the IB venue cases and earlier symcache candidates for focused review. (this patch was generated in some part by `Codex` using `GPT-6` (`OpenAI`)) --- .taken/current.org | 344 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 344 insertions(+) diff --git a/.taken/current.org b/.taken/current.org index 99be0c0b..1b24c86a 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -1737,6 +1737,49 @@ persistence impact, a proposed clock policy and targeted regression results. Keep the independent FSP history-loss/stuck-volume concern open under [[id:piker-fsp-preserve-live-history-on-resync][its existing task]]. Do not mark this or linked tasks accepted on implementation/test success. +*** TODO Trace stalled IDEALPRO L1 updates after the initial snapshot +:PROPERTIES: +:ID: piker-idealpro-stalled-l1 +:CREATED: [2026-11-26] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:TAKEN_APPEND_OP: fx-l1-20261126 +:TAKEN_APPEND_REQUEST: 4375d75a45abb1948066d1e1f96e5237d85d2e555377f4e9d0a2ca2f91ca7987 +:END: +During land_fsp_sync qualification EUR/CAD and USD/MXN appeared +static. On USD/MXN the chart displayed L1 labels, TWS was ticking +and the user saw no matching output from the filtered debug run. +Reboot outcome pending. A cached first_quote can populate labels. +At 17:50 Toronto time the daemon loaded 2000 one-second MIDPOINT +bars ending at 22:50:05 UTC, started the writer, and showed no +closed-venue warning. The reported price_tick remained 0.00005. +FX volume is disabled by design. Investigate live bid/ask delivery. +- [ ] Confirm debug output belongs to the active datad and compare + simultaneous TWS vs API bids, asks and sizes on the same contract. +- [ ] Compare reqMktData generic ticks 375,233,236 with an empty + list under identical conditions. Capture callback counts, request + errors and normalized quotes before inspecting SHM/UI delivery. + The generic tick list is a hypothesis. Return the first stage + that loses updates and the post-reboot result if available. +*** TODO Select AGGTRADES for IB Paxos history requests +:PROPERTIES: +:ID: piker-paxos-history-aggtrades +:CREATED: [2026-11-26] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:TAKEN_APPEND_OP: paxos-history-20261126 +:TAKEN_APPEND_REQUEST: 093fbc2da4ebc2084da5af96df95946dde6be60192532bee6773551f50715ba5 +:END: +On land_fsp_sync, BTC/USD PAXOS conId 479624278 failed startup +on Nov 26 at 17:40 Toronto time. IB rejected TRADES with 10299 +for head timestamp request 977 and historical bars request 979. +The latter propagated through query_latest_frame to open_feed_bus. +Prior work ba575d93 documented the rejection in a comment. +- [ ] Use the contract-appropriate whatToShow for both requests. + Preserve MIDPOINT on FX bars and TRADES on stock/futures bars. +- [ ] Verify both outgoing requests in a regression check and + qualify head timestamp and 60s/1s history on BTC.PAXOS. Report + any independent API constraints and live-volume coverage. * TODO Diagnose Qt6 chart teardown SIGSEGV with native backtraces :PROPERTIES: :ID: piker-qt6-chart-teardown-sigsegv @@ -2023,6 +2066,38 @@ event sequences, baseline/fixed state AND graphics results, remaining coverage gaps and required backend/order authorization to this task and [[id:piker-chart-disconnect-reattach-e2e][the parent E2E assignment]]. Preserve all human-owned task and checkbox states. + +** Binance shutdown and SHM evidence, 2026-11-06 + +A fresh-daemon network interruption recovered live ZEC spot quotes. +On Ctrl-C at 19:44:13 while networking was returning, cancellation +propagated through chart/feed, sampler, paper EMS and service contexts. +The supplied masked-by-trio.Cancelled group contained cancellation +branches; the human found no AssertionError or PDB-entry messages. +This does not establish that every omitted traceback branch was clean. + +At 19:44:14 the supervisor reported brokerd.binance and emsd peers +had disconnected before acknowledging Actor.cancel(), then escalated +to proc.kill() hard-reap. The root terminated and printed Aborted!. +Classify this as bounded shutdown with escalation, not graceful exit. +Recorded actors: pikerd PID 802942, brokerd.binance 804111, +samplerd 805065, emsd 806888, paperboi.binance 807250; chart 815777. + +A subsequent host /dev/shm and process-map inspection found six FSP +objects still mapped by the live chart, UUID +38a62620-30c6-4d09-86c8-3365d50b660d. The buffers were named +38a62620_2148d1ba.fsp and 38a62620_c5cebb3f.fsp, each with first/last +index objects. Broker/history buffers were already gone. After the +human closed the chart, all six FSP objects disappeared. This run +therefore does not establish an FSP SHM leak. The inspection inventory +was /tmp/piker-binance-post-shutdown-shm.json; it is temporary evidence, +not a durable prerequisite for reproducing the test. + +Next action: add this network-recovery/SIGINT journey to the existing +owned-process qualification. Capture cancel-ack/disconnect ordering, +exit codes and owner-scoped SHM lifetime. Keep service continuity, +bounded exit, graceful exit and resource cleanup as separate outcomes. + * TODO Qualify the Polars 2.x upgrade after PR94 :PROPERTIES: :ID: piker-polars-2-upgrade @@ -2136,6 +2211,53 @@ and fixed regression results, live recovery evidence and remaining limitations to this task. Live feeds, broker operations, commits and task acceptance need their own authorization. Preserve existing states. +** Manual qualification evidence, 2026-11-06 + +Today adds a valid-symbol search/reuse reproduction to the earlier +invalid-venue case; do not assume these have the same root cause. +With XRP spot backfilling and ZEC spot being reopened in another chart, +search-selecting an already-loaded xrpusdt.spot or zecusdt.spot can +attempt a second persistent allocation. The requesting chart fails at +manage_history() with "Persistent shm for sym was already open?!". +Existing charts and pikerd survive after continuing the debugger. +Starting the second XRP chart from CLI succeeds; search selection +reproduces the failure. Closing/reopening charts can restore reuse. + +At the XRP failure in brokerd.binance PID 1622311, actor UUID +01eff461-6069-446a-815d-ed7af234b5bd, fqme was +xrpusdt.spot.binance and opened=False for the actor-owned hist buffer. +Its first/last indices were 1253797/3143523. bus.feeds already contained +xrpusdt.spot and xrpusdt.spot.binance, plus ZEC aliases including +ZECUSDT.SPOT. task_lock was unlocked with no waiting tasks at inspection. +The exact failing request spelling was not captured. Canonical alias +reuse is implicated; this snapshot does not prove the lock race. + +Later, multiple XRP/ZEC sockets repeatedly timed out on local relay +send and reconnected. These are local downstream forwarding stalls, +not evidence of exchange silence. Producers retained after failed +allocations are a plausible cause, not established for every socket. +Repeat on a fresh daemon before attributing healthy-feed regressions. + +Reuse existing downstream work before writing another implementation: +ff136ecb849910739e780f1414edf9dec2ce1bcd resolves/reuses canonical +endpoints and scopes quote/history producer lifetime; companion +regressions are e02a6431e3ff57cb6f27c82c79405c05c3243ad8. These are in +the in-use sampler_tick_time_guard lineage, not proof they landed in +the bounded Binance branch. The broad fix was deferred during this run. +Coordinate with [[id:piker-feed-cache-first-resolution][Cache-first feed resolution]]. + +Separate first-boot compatibility failure: heavy quote overruns reached +ctx._cancel_called and raised AttributeError with the qualified Tractor. +The public-property correction is now present on the local Binance tip +3e3e0fdd, cherry-picked from 526666a357a5abfdea1d0057bf8579492b564c01. +The human reports force-pushing the Binance branch. Remote state was +not independently fetched here. This records implementation evidence +without changing any acceptance markers. + +Next action: reproduce search versus CLI reuse with the same canonical +market and private daemon, then exercise failed-startup producer cleanup +and sibling progress using the existing downstream regression design. + * TODO Trace closed-order retention and dark-order persistence :PROPERTIES: :ID: piker-ems-closed-dialog-retention @@ -2648,3 +2770,225 @@ cache ownership and refresh policy, startup API migration boundaries, and deterministic regression evidence to this task. Use disposable cache/storage and private actors; live broker operations require separate authorization. Preserve human-owned task states. + +** Earlier symcache branch candidates, 2026-11-14 +:PROPERTIES: +:ID: piker-symcache-branch-candidates-20261114 +:TAKEN_APPEND_OP: piker-symcache-candidates-20261114 +:TAKEN_APPEND_REQUEST: 17a6ae4e0673e77c51909a7b9e72679d593f5fc815055b9937c4467eb18df968 +:END: +Objective: reconcile preserved small symcache branches before adding +new cache machinery or retiring source refs. This is later work, +separate from the DPI/UI landing slice. + +Candidate inventory (local and cached remote refs, not a fresh fetch): +- =gitea/symcache_null_cleaner@a3ed73a4=: recursively strip None from + dicts/lists before TOML serialization. Standalone extraction of older + macOS work; absent from main and committed in-use =179a8c81=. +- =symcache_polishin= and =gitea/symcache_polishin@5f392ff0=: + per-actor caching in open_symcache(). One commit above =1abd4760=; + not patch-equivalent to committed in-use. Compare earlier =66476512= + too; stash =856fab0f= based there contains dependency/lock changes, + not another symcache implementation. +- =wkt/fix_symcache_search@1606122b=: runtime =7b51927f= repairs + search key matching and adds tests; the tip adds a clearing skill. + Search fix is already in in-use lineage and queued for parity. + Do not conflate serialization, actor cache lifetime and search. +- =fix_symcache_search@9115d24d= is a differently positioned branch, + not the same tip as the worktree branch; its IB parser has already + been replayed separately. Inspect actual ancestry before reuse. +- =no_symcache_no_problem@07fbe859= and cached remote aliases have + no commits outside current local main. Do not replay their legacy + accounting/Symbol-removal ancestry as new symcache work. + +Next action: compare each distinct candidate with the current landing +stack and provider-owned resolution contract, then propose dispositions +and focused tests before any replay. + +- [ ] Evaluate None filtering semantics, including list position loss, + nested values and invalid provider metadata; qualify round-trip behavior. +- [ ] Evaluate per-actor cache identity, concurrent opens, refresh and + teardown against present provider/daemon ownership. +- [ ] Preserve search regression coverage and source/provenance mapping; + record selected, superseded and deferred hashes explicitly. +- [ ] Return the comparison and proposed landing boundaries here; retain + source branches until complete unique-content and main-land accounting. + +No branch retirement, implementation acceptance or task-state changes +are implied by this inventory. +* TODO Preserve Binance first-data startup errors through producer teardown +:PROPERTIES: +:ID: piker-binance-first-data-startup-error +:CREATED: [2026-11-06] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.data +:END: +Objective: preserve the intended DataUnavailable error when Binance +receives no first quote, and stop startup producers without disrupting +existing feeds. Next action: reproduce the full persistent-feed startup +path with a deterministic silent websocket source before patching. + +** Context and evidence +During manual qualification on 2026-11-06, DOGEPAX.SPOT produced no +bookTicker or aggTrade messages. wait_for_live_quotes() timed out after +16 seconds and raised DataUnavailable with the market in its reason. +The caller ultimately saw RuntimeError("child exited without calling +task_status.started()") from Nursery.start(), losing that useful error. +The supplied trace ended in brokerd's debugger; root-daemon death was +not established by that excerpt. + +The Trio start() frame showed a partial of stream_quotes with +symbols=['DOGEPAX.SPOT']; its nursery cancel_called/cancelled_caught +were both False. In allocate_persistent_feed, feed_is_live was unset. +The quote channel had zero buffered messages, zero open senders, one +receiver and no waiting senders/receivers. No DOGEPAX entry was published +in bus.feeds; existing ZEC/XRP aliases remained. Nested websocket/relay +teardown emitted cancellation groups and masking diagnostics. The +precise error-swallowing boundary remains unresolved. + +Source checkout: wkts/land_binance_usdm_feed. Relevant boundaries are +brokers/binance/feed.py wait_for_live_quotes(), open_quote_stream(), +stream_quotes(), data/_web_bs.py open_autorecon_ws(), and + data/feed.py allocate_persistent_feed(). The helper-only timeout test +does not establish error propagation through this production lifetime. + +** Execution and verification +- [ ] Add a regression through Nursery.start and persistent allocation; + require the original DataUnavailable reason rather than a missing + task_status.started RuntimeError or indefinite loading. +- [ ] Inspect nested nursery/context cancellation without suppressing + genuine errors or reporting readiness before usable first data. +- [ ] Prove websocket/relay producers exit after failed startup, an + existing sibling keeps consuming quotes, and a later valid request + succeeds on the same daemon. +- [ ] Cover bid/ask-first readiness separately from no-first-data; + verify subsequent trades/bars without zero-price startup artifacts. + +Coordinate cleanup with +[[id:piker-binance-invalid-fqme-backpressure][Binance startup/backpressure]]. +Return cause, focused patch boundaries, regression results and remaining +manual qualification to this task. Preserve human acceptance states. + +* TODO Log websocket reception resuming after receive timeouts +:PROPERTIES: +:ID: piker-websocket-receive-resumption-logging +:CREATED: [2026-11-06] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.data +:END: +Objective: make recovery visible when an existing socket resumes data +without reconnecting. Next action: add a focused shared-wrapper test +for receive timeouts followed by successful delivery on the same socket. + +** Context and evidence +In a fresh-daemon ZEC spot network-interruption test on 2026-11-06, +bookTicker and aggTrade logged websocket-receive timeout counts 1, 2 +and 3 at 16-second intervals. The human confirmed live quotes returned. +The excerpt had no reconnect or receive-resumed message. Existing INFO +messages report ready and first relay once per connection, so same- +socket resumption can remain silent. Actual reconnection was not proven. + +Inspection found phase-specific timeout and per-connection first-message +logging, but no receive-resumed log in the qualified Binance wrapper or +the inspected sampler_tick_time_guard version. This is an observability +follow-up, not evidence that live recovery failed. Current timeout counts +accumulate per connection; changing retry-counter policy is a separate +behavior decision and is not implicitly part of this logging change. + +** Execution and verification +- [ ] Log one clear INFO recovery transition after receive starvation, + including route and elapsed/timeout context without per-tick noise. +- [ ] Preserve the distinction between successful socket reception and + successful local relay delivery; do not announce downstream recovery + while forwarding is still blocked. +- [ ] Cover same-socket resumption, actual reconnect and local relay + blockage using the existing tests/test_websocket.py loopback fixtures. + +Return logging semantics, focused regression evidence and any unresolved +counter-policy question to this task. Shared-wrapper users include +Binance spot/USD-M and Kraken; do not assume untested provider recovery. + +* TODO Fix CLI search crash from uninitialized daemon registry addresses +:PROPERTIES: +:ID: piker-cli-search-daemon-registry-addrs +:CREATED: [2026-11-12] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.service +:END: +Objective: let CLI symbol search discover or spawn its data services +without crashing when daemon startup options are supplied. +Next action: add a broker-free regression for nonempty pikerd_kwargs +in maybe_spawn_daemon(), then resolve registry selection independently +of unrelated startup options while preserving explicit overrides. + +** Reproduction and observed failure +The human ran =piker search cerebras= on their in-use branch +=wkt/history_segment_refill= at 2026-11-12 16:07:33 America/Toronto. +The query root =piker_query_3470364= crashed with two search-backend +sub-exceptions. Repeated cleanup logs reported: + +#+begin_example +UnboundLocalError: cannot access local variable 'registry_addrs' where it is not associated with a value +piker/service/_daemon.py:91: registry_addrs=registry_addrs +#+end_example + +Call path: brokers.cli.search -> brokers.core.symbol_search / +search_backend -> data._daemon.maybe_spawn_datad -> +service._daemon.maybe_spawn_daemon -> find_service. The error occurs +before service lookup or spawning. The supplied run subsequently +entered the post-mortem debugger and still failed after continuing. + +** Inspected cause and source context +At the inspected source, =registry_addrs= is assigned only under +=if not pikerd_kwargs:=, then read unconditionally by =find_service()= +and later forwarded to =maybe_open_pikerd()=. =search_backend()= passes +=infect_asyncio=getattr(mod, '_infect_asyncio', False)=, and +=maybe_spawn_datad()= forwards it through =**pikerd_kwargs=. That +mapping is nonempty even when the option's value is False, so the +registry initialization branch is skipped. + +[[file:../../history_segment_refill/piker/service/_daemon.py::81][Conditional registry initialization and failing lookup]] +[[file:../../history_segment_refill/piker/brokers/core.py::175][Search passes infect_asyncio to daemon startup]] +[[file:../../history_segment_refill/piker/data/_daemon.py::301][Data-daemon wrapper forwards startup kwargs]] +[[file:../../history_segment_refill/piker/service/_daemon.py::212][Exception cleanup logs and releases the owned lock]] + +The checkout inspected for this report is at =179a8c81=, with staged +history/refill/storage work and additional unstaged edits. The failing +service module has no local diff. This observation does not establish +that every dirty source byte matches the original crashed process. +The supplied trace loads Tractor from +=/home/goodboy/repos/tractor/wkts/ipc_fault_regressions= and CPython +3.13.14; its exact Tractor revision was not established. + +** Related diagnostics and scope +The repeated "Releasing stale lock after crash..?" messages come from +exception cleanup, not evidence of the original cause or proof that +an earlier process left a stale lock. Tractor also warns "Setting final +outcome msg AFTER ._send_chan.send_nowait()??" around Return messages. +Preserve those as observed diagnostics; their causal relation to the +Piker initialization error is unproven. Do not suppress them as a fix. +This is distinct from the existing IB empty-result/search-cache task. + +** Execution, verification and handback +- [ ] Reproduce without brokers using nonempty startup kwargs, + including =infect_asyncio=False= and True, and assert registry + selection before service lookup rather than an UnboundLocalError. +- [ ] Cover empty kwargs, explicit registry addresses and inherited + runtime addresses; define override precedence and forward each + keyword once while retaining unrelated startup options. +- [ ] Qualify existing-service reuse and absent-service spawn paths; + verify owned-lock release after failure and successful later retry. +- [ ] Exercise multi-backend symbol search through its real wrappers; + preserve meaningful error propagation and bounded cleanup on failure. +- [ ] After the focused regression passes, repeat the human's command + in the selected runtime with separately authorized live backends. + +Return the focused fix, exact source/runtime revisions, regression +results and CLI reproduction outcome to this task. This report records +source inspection and the human's trace; no search, broker connection, +application test or implementation change ran during logging. Preserve +all existing task/checklist states and unrelated worktree edits. + -- 2.34.1 From 2017dee68791addec8f6b68d80d5b1c638c9e025 Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 27 Nov 2026 18:28:07 -0500 Subject: [PATCH 15/16] Sequence Kraken parity and the IB recovery handoff Queue the IB ledger fallback before a single Kraken provider review. Keep account configuration, token renewal and early cancellation as three verification targets. Preserve the observed Gateway restart and real paper E2E setup for a separate dialog after parity lands. (this patch was generated in some part by `Codex` using `GPT-6` (`OpenAI`)) --- .taken/current.org | 142 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) diff --git a/.taken/current.org b/.taken/current.org index 1b24c86a..996414e8 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -885,6 +885,115 @@ scoped patch and regression results to this task before commit-planning an implementation. The evidence addition itself is ready for a scoped commit plan; task acceptance markers remain human-owned. +**** Paper Gateway restart observed on 2026-11-27 + +At 15:30 Toronto time the running =land_ib_startup_volume= chart +session lost quotes and the IB trade-event stream. Sanitized host log +times (UTC) from the paper Gateway container: + +- 20:30:00.516 IBC detected the "Restart in progress" dialog. +- 20:30:02.245 The launcher found an authentic autorestart file. +- 20:30:06.481 IBC reported "Login has completed". + +This confirms a Gateway application restart. Its trigger and client +resubscription after login remain unverified. On the piker side the +proxy raised peer closure, the trade receiver raised socket disconnect, +and quote and history owners unwound alongside competing PDB requests. + +Exercise an outstanding proxy call, an already-open quote consumer +and an active paper trade dialog across socket loss and restoration. +Check a bounded error for the call and fresh quote and trade events +on the original consumers without restarting pikerd or replaying orders. +The installed Tractor pin was =8fe574c1=. Compare any bridge failure +against that revision before importing archived Tractor changes. + +Offline reproducer on =wkt/land_ib_disconnect_regression@88608f12=: +[[file:../../land_ib_disconnect_regression/tests/test_ib_gateway_restart.py::224][Gateway restart regression]]. +With Tractor =8fe574c1=, the continuous-session control delivered both +generations. Replacing the simulated IB peer raised peer closure and +the trade-event socket error. The original consumers did not complete +second-generation delivery. The targeted run had 15 passes and this +one failure. It exercises backend entry points with an in-memory EMS +peer and a temporary account directory; live recovery remains open. + +***** Real paper Gateway E2E before implementing recovery + +Use the =dockering/ib= Compose recipe with a dedicated paper session. +Record the actual image digest, Gateway version and selected paper API +port. Start pikerd, a chart and its IB paper trade dialog, then verify +delivery on each before restarting the Gateway application inside the +container. Use the same chart and EMS stream throughout. Correlate the +Gateway restart and login with socket loss and API readiness. Require +a fresh post-login quote and a distinct post-login paper order status +on the original consumers. Bound each wait and record pending lookup +outcome, daemon identity and any duplicate submission or event. +Arrange a controlled paper order event explicitly for the run. A quiet +market or missing broker event leaves delivery unqualified. +Capture the failing baseline before using this suite to qualify a fix. + +****** New-dialog handoff after INUSE parity lands on upstream main + +Resume in a separate dialog once the parity landing stack is on +upstream main. The landing dialog handles the IB ledger fallback first, +then Kraken provider parity in one review. At handoff, record the landed main SHA and compare it with +the regression worktree before moving any local changes. + +The simulated regression is committed at =e11d7af2= in +=wkt/land_ib_disconnect_regression=. Inspect that worktree first. +The real test and supervisor tests are untracked alongside the +Gateway helper in =piker/service/_ib_gateway.py=. Local changes +also cover =piker/service/_ahab.py= and =dockering/ib/README.rst=. +Four supervisor cases passed offline. The paper API answered a +read-only check at =10.6.0.8:4002=. The live chart, EMS and restart +sequence still needs its first run. +[[file:../../land_ib_disconnect_regression/tests/test_ib_paper_gateway_e2e.py][Interactive paper Gateway test]] + +******* First run on the existing paper instance + +- Coordinate the interruption with the operator. Daily charts use + this Gateway too, including clients using different API IDs. +- On the Gateway host, configure the effective =dockering/ib/ibc.ini= + with =CommandServerPort=7462=, =BindAddress=127.0.0.1= and an empty + =ControlFrom=. Confirm the intended daily =AutoRestartTime= first. + IBC can persist the test restart time in Gateway settings. +- Reload the paper Compose service once to apply the config. Verify + the listener is on loopback with =ss -ltn= and send =EXIT= as a + harmless command check. Run a host-local watcher that emits only + Docker UTC timestamps and the IBC restart-dialog and login markers. + Raw JVM startup lines can include credentials. +- On the tester, use the dedicated paper config and pikerd. Create + a regular marker file and set =PIKER_IB_PAPER_LOG= to its path. + Transfer just the two marker lines there during the manual run. + Start the interactive pytest with a visible display and =-s= when + QQQ is receiving ticks. Generate the baseline paper status. +- Once pytest reports its baseline, send =RESTART= over the host's + loopback IBC socket. Leave Compose and the original clients up. + After login and API readiness, generate a distinct paper status. + Verify the intended daily restart time afterward. +- Return the image digest, IBC/Gateway versions, piker and Tractor + revisions, restart/login times, daemon UID and delivery outcomes + to this item. Distinguish a quiet market or missing paper event + from a disconnected consumer. Capture this baseline before a fix. + +******* Options for recurring jobs over the existing WireGuard mesh + +- Operator on the host is the first qualification path. The paper API + already has its own route. The Gateway host normally has no sshd. +- A host-local runner can accept an outbound job and perform the + loopback restart and filtered marker delivery. +- For tester-driven jobs, start a temporary sshd on the tester's WG + address. A helper on the Gateway host initiates outbound SSH. Bind + the reverse forward to tester loopback and target Gateway loopback + port 7462. Restrict the test key to the intended forward and marker + receiver, deliver markers to pytest, and close both ends at job + exit. Arrange who starts the outbound helper. +- Direct IBC over WG is another option. Bind to the Gateway WG IP, + limit =ControlFrom= and firewall access to the test peer, and + arrange marker delivery separately. This grants standing restart + access while the listener is enabled. +- Decide on automation after the first baseline. Prefer a separate + paper login and Gateway instance for recurring restart jobs. + *** Chart lifecycle, E2E and order-bootstrap ownership :PROPERTIES: :ID: piker-workstream-chart-lifecycle @@ -1283,6 +1392,39 @@ Their URLs, unresolved checklists, rationale and original checked markers remain intact. Existing store IB search, profiling, lint and portable-skill tasks remain canonical. +**** Kraken provider parity for the upstream main landing + +Review against landing base =88608f12= and =kraken_stale_ws_token= +at =8299c658=. Select behavior by hunk. The intervening UI commit +=8cefc1bd= and IB ledger commit =170c95da= have separate owners. + +- [ ] Account configuration (=ebc5bbd4=). Port the sample config and + authenticated startup checks together. Verify a matched key + description and account alias yields the expected Kraken EMS account. + Exercise missing account table, mismatched alias and missing + source fiat. Report configuration errors before private startup. + Preserve public market data without credentials. +- [ ] Private WS authentication (=5387538b=, =709269fc= and the + subscription hunks of =8299c658=). Share the current token between + subscriptions and order control. On invalid session, refresh and + resend outstanding subscriptions with a bounded retry. In the + source, renewal enters the debugger and resumes the receive loop; + timeout can yield without all acknowledgements. Check both private + subscriptions acknowledge, a repeated rejection exits cleanly, + and order control uses the new token. Exclude token values from + logs and avoid replaying order submissions. +- [ ] Early edit/cancel (=e1cd3fd9= and the order-tracking hunks of + =8299c658=). Track pending intent separately from Kraken txids. + The source inserts the local reqid into the txid map while waiting + and pauses on an early edit. Exercise edit then cancel before ack, + the eventual exchange ack and a duplicate update. Require one + cancel for the intended Kraken txid, cleared pending state and an + unaffected second order. Check normal acknowledged edit/cancel too. + +Use one Kraken worktree and one review after the IB ledger fallback. +Qualify all three behaviors offline against the current EMS protocol. +Record results and residual differences before claiming Kraken parity. + *** Gap overlays, rendering and display portability :PROPERTIES: :ID: piker-workstream-gap-display -- 2.34.1 From f2ad799eecb633905ce8648e2a04c2b8dd99bcdb Mon Sep 17 00:00:00 2001 From: goodboy Date: Thu, 3 Dec 2026 12:43:11 -0500 Subject: [PATCH 16/16] Track history repair and broker qualification in Taken Record the shared IB quote restore and two-consumer restart test without marking either accepted. Separate the Dec 1 Kraken test baseline from the current branches and defer debugger-pause removal until parity lands on `main`. Track interrupted backfills, split-adjusted bars and Kraken history repair from public trades. Link the trade-rate probe and record the paper order routing and MarketStore retirement follow-ups. (this patch was generated in some part by `pi` using `gpt-6.2-astra` (`openai-codex`)) --- .taken/current.org | 369 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 364 insertions(+), 5 deletions(-) diff --git a/.taken/current.org b/.taken/current.org index 996414e8..72fb1d11 100644 --- a/.taken/current.org +++ b/.taken/current.org @@ -994,6 +994,37 @@ sequence still needs its first run. - Decide on automation after the first baseline. Prefer a separate paper login and Gateway instance for recurring restart jobs. +**** TODO Qualify shared IB quote ownership across consumer exit and restart +:PROPERTIES: +:ID: piker-ib-quote-channel-ownership +:CREATED: [2026-11-29] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:TAKEN_APPEND_OP: ib-quote-ownership-20261129 +:TAKEN_APPEND_REQUEST: 9f4f7056b7f40e3a0f10cc49176212c721e8093cc35bf1bba7113708cfff78ea +:END: +On =wkt/land_feed_endpoint_reuse=, =a4d83e2a= restored shared IB +quote ownership from =4af885d9= (INUSE =eb0514c3=). The earlier +replay =635314c7= was backed out by =72d0bdad= after quote restart +killed the broker actor. The restore uses Tractor =8fe574c1=, pinned +by piker =cb5e81d4=. Keep this review separate from venue/history. + +Commit =1cc15352= adds the offline two-consumer restart regression +in =tests/providers/test_ib_shared_quote_probe.py=. Review the +committed restore and regression against the acceptance checks below. + +- [ ] Compare the direct-owner baseline with the restored shared + channel using the same offline scenario. Record the observed + outcomes and the piker and Tractor revisions. +- [ ] Open two consumers for one symbol. Count one upstream + subscription, deliver a quote to both, close either consumer first, + and deliver another quote to the survivor. Verify last-consumer + cleanup and a clean restart with fresh quote delivery. +- [ ] Issue a second RPC to the same actor after restart and capture + asyncio callback errors independently of actor survival. Check for + lingering tasks and subscriptions. No live Gateway is needed. +- [ ] Record which behavior the restore fixes and any remaining + teardown regression for the maintainer's acceptance decision. *** Chart lifecycle, E2E and order-bootstrap ownership :PROPERTIES: :ID: piker-workstream-chart-lifecycle @@ -1035,8 +1066,22 @@ and human-daemon access remain separately authorized operations. :END: Objective: qualify durable history repair without shifting published rows, persisting synthetic observations or publishing stale FSP data. -Next action: review the staged and unstaged segment-refill work in -=wkt/ib_history_request_bounds@eed58566= before treating it as landed. +Resume after the INUSE parity core lands on upstream main. Port from +the index of =wkt/history_segment_refill= (renamed from +=wkt/ib_history_request_bounds=), based at =179a8c81= as of Nov 29. +The branch ref alone omits the implementation. Inspect both +=git diff --cached= and =git diff= before selecting individual hunks. + +The staged work includes the IB opt-in, datad RPC registration, +=Refiller=, NativeDB journaling, store CLI, chart invalidation, tests, +docs and prompt records. Review the staged =code-docs= skill on its +own merits. Preserve the source index while qualifying the port. +In =piker/brokers/ib/feed.py= only the =segment_repair= opt-in is +staged. The unstaged wire/normalization and sampler tracing, including +untracked helpers, tests and docs, belongs with +[[id:piker-ib-startup-history-reconciliation][IB startup quote reconciliation]]. +Account for the local dependency overrides, websocket logging edit and +review artifacts separately when reconciling the source checkout. **** Context and prerequisites @@ -1044,8 +1089,8 @@ This checkout has staged segment-refill/storage/CLI/history changes, additional unstaged IB feed changes, and boot-trace/sampler tests. Its history plan explicitly distinguishes implemented paths from proposed contexts and deferred consumer behavior. -[[file:/home/goodboy/repos/piker/wkts/ib_history_request_bounds/docs/history_segment_backfill.rst][docs/history_segment_backfill.rst (original source)]] -[[file:/home/goodboy/repos/piker/wkts/ib_history_request_bounds/docs/ib_boot_trace.rst][docs/ib_boot_trace.rst (original source)]] +[[file:/home/goodboy/repos/piker/wkts/history_segment_refill/docs/history_segment_backfill.rst][docs/history_segment_backfill.rst (original source)]] +[[file:/home/goodboy/repos/piker/wkts/history_segment_refill/docs/ib_boot_trace.rst][docs/ib_boot_trace.rst (original source)]] [[file:../plans/opencode/gap-checker-backfiller-repair.md][plans/opencode/gap-checker-backfiller-repair.md (original source)]] [[file:../plans/opencode/known-fqme-backfill-qualification.md][plans/opencode/known-fqme-backfill-qualification.md (original source)]] [[file:/home/goodboy/repos/piker/todo/backtester_deep_fixes.md][todo/backtester_deep_fixes.md (original source)]] @@ -1060,6 +1105,13 @@ case and runtime; do not silently use the human's production storage. **** Execution, concerns and verification +- [ ] Reproduce an interrupted initial MNQ 1s backfill using disposable + storage. Persist a newer frame, cancel before the older interval is + fetched, then restart. The newest stored timestamp can satisfy the + startup target while the internal gap survives. Detect the candidate + interval, account for venue closures, and verify any returned bars + reach Parquet and SHM. Journal replay covers previously submitted + refill requests; automatic discovery must also cover unsubmitted gaps. - [ ] Review schedule coverage, unknown/no-data classification, bounded queries, cancellation and real MNQ coverage separately. - [ ] Qualify journal restart/idempotence, partial repair and CLI-owner @@ -1076,6 +1128,171 @@ case and runtime; do not silently use the human's production storage. Return results to this task and the original known-FQME subtree. Do not equate an IB adapter-only #94 backport with the storage repair. +**** TODO Reconcile split-adjusted history and annotate share splits +:PROPERTIES: +:ID: piker-history-split-adjustments +:CREATED: [2026-12-01] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:TAKEN_APPEND_OP: zcsh-split-basis-20261201 +:TAKEN_APPEND_REQUEST: a8675e31ee5b6ed6563a8c96f496742f8059c9db933d63eae74a2d80b8e25eb9 +:END: +Keep each NativeDB series on a documented price and share-volume +basis when a provider revises history after a split. Expose the +split to chart and dataset consumers even when timestamps are +continuous. Start with a disposable copy of the ZCSH 60s boundary. + +On Sep 29 at 20:00 UTC, the existing =zcsh.arca.ib= minute closed +at 111.00 on 1,527 shares. A fresh IB TRADES query for that same +minute returned 37.00 on 4,581 shares. At 20:01 UTC, the first +refilled minute and the fresh query both closed at 37.00. ZCSH's +3-for-1 forward split took effect before the Sep 30 NYSE Arca open. +The Sep 29 refill boundary and Sep 30 split date are distinct. +[[https://www.sec.gov/Archives/edgar/data/1720265/000119312526408382/zcsh-20260930.htm][ZCSH Form 8-K, Item 8.01]] +[[file:/home/goodboy/images/screenshots/2026-12-01T11:41:39,041582289-05:00.png][ZCSH chart after partial refill]] + +- [ ] Check which backend supplies verified split events. Record the + instrument, ratio, effective session/date and source with the + history, and expose the adjustment basis to dataset consumers. +- [ ] Compare overlapping stored and provider bars to bound the + stale segment. Qualify replacing existing timestamps on a copy. + Verify OHLC and share volume, preserving indexes, real gaps and + already-adjusted rows across a second run and a reload. +- [ ] Reuse the chart annotation layer to mark the effective session + with the split ratio, including on a fully adjusted chart. Cover + continuous timestamps and a split coinciding with a time gap. +- [ ] Keep the 188 residual SHM reservations from this batch + identifiable. Correcting their carried close is separate from + reconciling actual stored bars. Record before/after evidence for + the Sep 29 boundary and the Sep 30 marker here. + +[[id:piker-workstream-gap-display][Existing chart overlay and annotation work]] +[[https://github.com/pikers/piker/issues/510][Related position-accounting split events]] + +**** TODO Repair Kraken spot history gaps from public trades +:PROPERTIES: +:ID: piker-kraken-trade-history-refill +:CREATED: [2026-12-01] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:END: +Recover the missing XRP/USDC 60s observations in NativeDB. Start with +the nine-minute slice below on a disposable copy. Once that agrees +with the trade tape, extend it to the full gap using a resumable +request. Give the chart and its indicators a consistent view on reload. + +***** What the chart showed on December 1 + +=xrpusdc.spot.kraken.ohlcv60s.parquet= contained 1,442 rows in two +blocks of 721. UTC bounds were Nov 8 04:38–16:38 and Dec 1 +05:26–17:26, 2026. All timestamps were unique, increasing and +minute-aligned. Consecutive row indexes span three weeks on screen. + +| Row | UTC | Fixed EST | Close | XRP volume | +| 720 | Nov 8 16:38 | Nov 8 11:38 | 1.15723 | 0 | +| 721 | Dec 1 05:26 | Dec 1 00:26 | 0.95211 | 76.253595 | + +From Nov 8 16:39 UTC inclusive to Dec 1 05:26 UTC exclusive there +are 32,447 absent minute timestamps. How many had trades requires +reading the tape. The zero-volume left boundary already exists and +must survive the repair. Use the Kraken spot pair throughout. + +The Kraken history adapter permits one recent 60s OHLC query per open +history client. Kraken limits that endpoint to 720 recent entries +regardless of the requested start. Its last candle is still in progress. +At startup Piker prepends older stored rows directly beside the first +provider sample in shared memory (SHM). This explains the one-step +chart move even though wall-clock time jumped. Today's refill worker +requires existing reserved SHM slots. This join has none in between. +[[file:../../history_segment_refill/piker/brokers/kraken/feed.py::206][Kraken history adapter]] +[[file:../../history_segment_refill/piker/tsp/_history.py::1260][Placement of stored rows in SHM]] +[[https://docs.kraken.com/api-reference/market-data/get-ohlc-data][Kraken spot OHLC contract]] + +***** Reproduce the recoverable and no-trade minutes + +The Dec 1 read-only public Trades query started one nanosecond before +the first missing minute. The first 1,000 prints covered 93 distinct +minutes, from 16:46 through 21:57 UTC on Nov 8. The first page proves +recoverable data inside the gap. Its final minute may span a second +page. The full 32,447-minute interval has not been reconstructed. + +Use [16:39,16:48) UTC on Nov 8 (11:39–11:48 fixed EST). The tape +crossed the right boundary. Seven fully covered minutes, 16:39 +through 16:45, had no prints. Two minutes have recoverable bars. + +| UTC | Trades | Open | High | Low | Close | Volume (XRP) | +| 16:46 | 2 | 1.15561 | 1.15561 | 1.15552 | 1.15552 | 1,178.66942840 | +| 16:47 | 1 | 1.15331 | 1.15331 | 1.15331 | 1.15331 | 24.98858945 | + +[[https://api.kraken.com/0/public/Trades?pair=XRPUSDC&since=1794155939999999999&count=1000][Exact public XRP/USDC trade-page request]] +[[https://support.kraken.com/articles/advanced-api-faq][Kraken historical trade pagination]] + +***** Fetch, sample and checkpoint by event time + +- [ ] Reuse the IB refill workflow for preview, bounds, submission, + request ID, progress, retry and terminal status. Let the Kraken + backend page public market trades forward. Advance with Kraken's + returned =last= cursor at its original precision. Persist the cursor, + proven time coverage and any unfinished minute together so retrying + or restarting cannot drop or double-count trades. +- [ ] Build UTC half-open minute buckets from exchange execution time. + Preserve exchange trade order for equal timestamps. First/last + trade prices give open/close, extrema give high/low, summed XRP + size gives base volume. Retain the number of prints for validation. + Deduplicate repeated trades by exchange identity and keep distinct + prints that share a timestamp. Check for reusable OHLCV arithmetic + in the live sampler. Historical replay must run at event time + independently of the live sampling clock. +- [ ] Hold the page's trailing minute open across page boundaries. + Mark no-trade minutes only inside proven complete coverage. An + empty response, repeated cursor, timeout or rate limit needs an + explicit continuation or unresolved range. Report recovered bars, + verified no-trade minutes and still-unknown intervals separately. +- [ ] For older quarters, consider Kraken's downloadable OHLCVT or + time-and-sales archives. Check pair, resolution and published date + coverage. The published full OHLCVT archive checked on Dec 1 ends + Sep 30, before this case. Start this reproduction with public Trades. +[[file:../../history_segment_refill/piker/data/_sampling.py::594][Live trade sampling implementation]] +[[https://support.kraken.com/articles/360047124832-downloadable-historical-ohlcvt-open-high-low-close-volume-trades-data][Kraken OHLCVT archive and no-trade convention]] +[[https://support.kraken.com/articles/360047543791-downloadable-historical-market-data-time-and-sales-][Kraken trade archives]] + +***** Publish to NativeDB, then refresh chart history + +- [ ] Merge completed bars into the selected pair and period by UTC + timestamp. Preserve stored observations on overlap, including both + boundary bars; surface conflicting OHLCV for review. Preserve newer + live appends during the merge. Keep no-trade coverage as metadata + and any copied-close display placeholders explicitly synthetic. +- [ ] First qualify repair on disk and reload the chart from NativeDB. + In the current SHM layout inserting a row between 720 and 721 would + shift published indexes. For a future live update, rebuild history + in coordination with the chart and FSP readers, remap by timestamp, + invalidate cached graphics and derived values, then publish the + new history together. Reuse in-place replacement for actual reserved + slots where existing row positions can be preserved. +- [ ] Show the elapsed UTC interval on the compressed chart with the + existing gap annotation mechanism. Distinguish unresolved history, + recovered trade bars and verified no-trade coverage after reload. +[[file:../../history_segment_refill/docs/history_segment_backfill.rst][IB refill workflow, durability and SHM constraints]] +[[id:piker-workstream-gap-display][Chart gap annotations]] +[[id:piker-fsp-backfill-sync-review-and-commit][FSP synchronization on history changes]] + +***** Verification and handback + +- [ ] Use the nine-minute fixture to prove exactly two inserts, seven + covered no-trade minutes and no outstanding coverage in the slice. + Check the full OHLCV above, unique increasing timestamps, canonical + row indexes and unchanged pre-existing observations by timestamp. +- [ ] Split a minute across two trade pages, repeat a boundary trade, + interrupt before and after persistence, then resume. A rerun must + converge to identical bars and volume. Compare against an overlapping + Kraken finalized OHLC candle where both sources are available. +- [ ] For the full gap, record source bounds, last cursor, and counts + of recovered, no-trade and unresolved minutes. Reconcile their sum + to 32,447. Hand back before/after Parquet audits and a chart reload + at the two original boundary timestamps. Report any remaining + unknown ranges and the chart/FSP live-rebuild work separately. + *** FSP synchronization, sampling and cumulative volume :PROPERTIES: :ID: piker-workstream-fsp @@ -1157,6 +1374,11 @@ Use the recorded bounds and values for an offscreen regression. :TAKEN_APPEND_OP: rate-probe-handoff-20261127 :TAKEN_APPEND_REQUEST: 7f5b2f840309cb37f112e9648c44a1e115c7677fbc1be2cbeb1082257911649a :END: +The follow-up copy is in =wkt/trade_rate_axis_probe=, opened from +the pre-restack Kraken replay tip =3889ab4d=. +[[file:../../trade_rate_axis_probe/scripts/trace_rate_view.py][Open the probe in the follow-up worktree]]. +Move this worktree onto the rewritten landing tip after the restack. + - [ ] Carry the [[file:../../land_feed_endpoint_reuse/scripts/trace_rate_view.py][chart probe and its launch examples]] into the follow-up worktree. Commit it with the diagnostic work and record the commit here before retiring its current worktree. The source copy is currently untracked. @@ -1367,6 +1589,70 @@ transport EOF and direction/phase validation. Resolve duplicate pytest second-chart resurrection reproducer to the canonical E2E task; do not claim a schema foundation fixes that observed race by itself. +**** TODO Route order-pane paper trades to the paper engine +:PROPERTIES: +:ID: piker-order-pane-paper-routing +:CREATED: [2026-12-01] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:TAKEN_APPEND_OP: piker-order-pane-paper-routing-20261201 +:TAKEN_APPEND_REQUEST: dbe49bf5d1ee675535823d5237c24fdf95f15227fc3054a5ddb44baf6242fcad +:END: +Selecting =paper= in a chart with a live EMS session should send new +paper orders to =paperboi.=. Existing orders should remain +editable and cancellable through the executor that accepted them. + +Reproduction and cause + +On 2026-12-01 at 11:18:26 Toronto time, the human selected =paper= +in a credentialed XBT/USD chart and submitted a buy on the Kraken +replay (=wkt/land_kraken_parity_replay= at =cc9f827f=). EMS received +=account='paper'= and =exec_mode='live'= and sent the request to +=brokerd.kraken=. Kraken rejected the account locally before sending +an exchange request. The paper engine never received the buy. + +The chart opens one =open_ems()= session. The account selector changes +the active position tracker and allocator. EMS keeps sending commands +through the relay selected at session startup. Both immediate order +modes use that same stream. Changing the order's =exec_mode= field +alone therefore cannot switch executors. This path is shared across +providers. Kraken supplied the observed rejection. + +Commit =49e67d5f= added the paper entry so a live chart could track +paper orders from other clients. The Qtractor change in =5c17419c= +selects an EMS mode at chart startup. Preserve both use cases. +[[id:piker-typed-clearing-migration][Related clearing protocol work]] + +Design note (2026-12-01): acquire the paper relay on the first +explicit switch to =paper=. Loading live accounts alone should start +zero paper actors. Reuse =open_paperboi()= to find or start one +=paperboi.= service and attach the selected market's trade +dialog. Enable paper submission once that relay is ready. If it fails +to open, report the failure without forwarding the order to live. + +Check repeated selections and two charts on the same broker: one +actor should serve both. Switching back to live must preserve the +original route for resting paper orders and other clients. Check +=Router.relays= (currently keyed by broker) and the spawning +context's =cancel_actor()= on exit when qualifying shared ownership. + +Next action and verification + +- [ ] Reproduce the account switch offline with a simulated live + executor and a paper engine on the same market. Observe both + destinations. Run this as a shared UI/EMS change after the parity + landing. +- [ ] Submit a paper buy and drive its fill with a synthetic quote. + Require a paper acknowledgement, fill and position update, and zero + order messages at the live executor. Exercise the reverse switch + with a simulated live order as a control. +- [ ] Keep a resting order on each executor. Switch selections, edit + and cancel by the original order ID, including cancel before ack. + Check that each update reaches the owning dialog once and the other + order remains active. Preserve dark-trigger routing to its owner. +- [ ] Bring back the failing and passing test cases and the observed + executor for each order. Identify any remaining manual chart check. + *** Provider correctness, symbols and bounded older candidates :PROPERTIES: :ID: piker-workstream-providers @@ -1394,10 +1680,49 @@ portable-skill tasks remain canonical. **** Kraken provider parity for the upstream main landing +As of Dec 3, the landing replay is =wkt/land_kraken_parity_replay= +at =30a4fb13=; the offline tests are on =wkt/kraken_order_regressions= +at =b14a45c3=. Their common base, =3889ab4d=, already checks buy, +sell and cancel against the configured account alias and revises +private subscription diagnostics. Verify that behavior rather than +porting it again. The regression tip adds diagnostic coverage; it is +not the landing tip. +[[file:../../kraken_order_regressions/tests/providers/test_kraken_order_control.py][Kraken account, subscription and order tests]] + +On Dec 1 the operator confirmed live XBT/USD ticks after history +loaded and a working order pane. The first console capture showed +both public subscriptions and positive =ownTrades= and =openOrders= +acks. Test commit =06b12d67= records 7 passing and 13 failing cases +against the Dec 1 replay at =cc9f827f=. These were the findings on +that revision, not results for either Dec 3 tip: + +- A custom alias reaches EMS startup but its buy is rejected. Missing + and malformed account tables raise =AttributeError=. +- After a stale-token rejection, the handshake admits order control + without both acks. INFO diagnostics expose synthetic test tokens. +- An early cancel reads a missing =symbol=. An early edit records a + local reqid as a txid. Duplicate opens send the same cancel twice. + Even after both acks, editing order A can use order B's pair. + +Next action: from the regression worktree, run the full offline file +with the replay's =py313=. Record the tested SHA, counts and failing +node IDs here before assigning fixes. No Dec 3 result is verified. +#+begin_src xonsh +../land_kraken_parity/py313/bin/python -m pytest -p no:xonsh -q tests/providers/test_kraken_order_control.py +#+end_src + Review against landing base =88608f12= and =kraken_stale_ws_token= at =8299c658=. Select behavior by hunk. The intervening UI commit =8cefc1bd= and IB ledger commit =170c95da= have separate owners. +- [ ] On resuming the Kraken fixes, maintainer to review the test + helper names and layering in =test_kraken_order_control.py=. + Trace one edit/cancel through =OrderSession.requests()= and + =OrderSession.opened()=, and one token renewal through + =private_peer()=. Check whether each test makes clear who sends + the EMS command, who supplies Kraken's reply, and which broker + behavior the assertion proves. Decide which helpers to keep, + rename or simplify before building more cases on them. - [ ] Account configuration (=ebc5bbd4=). Port the sample config and authenticated startup checks together. Verify a matched key description and account alias yields the expected Kraken EMS account. @@ -1421,7 +1746,18 @@ at =8299c658=. Select behavior by hunk. The intervening UI commit cancel for the intended Kraken txid, cleared pending state and an unaffected second order. Check normal acknowledged edit/cancel too. -Use one Kraken worktree and one review after the IB ledger fallback. +Post-landing follow-up: after Kraken parity lands on =main=, remove +and test the active =tractor.pause()= calls. This work does not gate +that merge. On early edit, exercise the case where the +exchange txid is still unknown and require one deferred cancel for +that order. On stale-token renewal, require both private subscription +acks before admitting orders. Both tests must reach their +=pause.assert_not_awaited()= checks. The older =Client.get_xfers()= +pause predates this slice. Cover a nonempty =WithdrawStatus= result +and verify the transfer is normalized without debugger entry. + +Keep one Kraken landing review after the IB ledger fallback; the +separate regression worktree supplies its offline test evidence. Qualify all three behaviors offline against the current EMS protocol. Record results and residual differences before claiming Kraken parity. @@ -3134,3 +3470,26 @@ source inspection and the human's trace; no search, broker connection, application test or implementation change ran during logging. Preserve all existing task/checklist states and unrelated worktree edits. +* TODO Retire the deprecated MarketStore backend +:PROPERTIES: +:ID: piker-retire-marketstore +:CREATED: [2026-12-01] +:CARRIED: 0 +:REPO: /home/goodboy/repos/piker +:CATEGORY: piker.storage +:TAKEN_APPEND_OP: piker-retire-marketstore-20261201 +:TAKEN_APPEND_REQUEST: 22e6176735d1d73440073d85cbcca167e5b77ff2aa81eaf39a0bfe7e10c13605 +:END: +Schedule removal after the =INUSE= parity landing. NativeDB is the +default. The three shared import hunks from =f210a478= can land with +Kraken independently of this cleanup. + +- [ ] Remove the MarketStore service, storage adapter and legacy ingest + selection. Review CLI choices, setup docs and the Docker service test. +- [ ] Verify NativeDB discovery and history I/O, generic container + supervision and test collection without =anyio_marketstore=. +- [ ] Document what happens to a config selecting =marketstore=. + Leave existing on-disk data under the operator's control. +- [ ] Link the retirement issue when published. The earlier + [[https://github.com/pikers/piker/issues/93][MarketStore integration issue]] + records the original integration. -- 2.34.1