Skip to content

refactor(logging): remove package and snapshot debug instrumentation - #174431

Merged
steipete merged 2 commits into
mainfrom
deslop/z22-16-runtime-infra-traces-20261015
Oct 16, 2026
Merged

steipete merged 2 commits into
mainfrom
deslop/z22-16-runtime-infra-traces-20261015

Conversation

@steipete

@steipete steipete commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Package verification and SQLite snapshots do extra bookkeeping, filesystem stats
and wrapper work solely to produce routine debug completion records. The actual
deadlines, integrity, recovery and snapshot owners already carry their results.

User Impact

Updates, rollback, snapshots and usage refreshes keep their existing behavior.
Routine reader/snapshot timing records and expected shutdown-cancellation chatter
disappear. Actionable failures, resource limits and lifecycle ownership remain.

Why This Change Was Made

Remove package-reader observe wrappers and bookkeeping with their exact callers;
remove SQLite snapshot reporters and log-only stats/clocks; delete the redundant
worker stopwatch and expected usage-cache cancellation string. Keep staging size
admission, monotonic deadlines, private copy/backup identity, permission checks,
rollback, real refusal precedence, and physical settlement.

This is linked runtime-family AREA slice C under campaign rule11, not a residue
branch. It removes177 net production lines (+53/-230,8files) and92 net test lines
(+12/-104,2files), plus one documentation clause. No public config, SDK,
protocol or persisted shape changes.

Best-effort tradeoffs accepted

Evidence

  • Fresh base88ef99e66fc9b698c2350774b5ef5dbef3c6c9a4; no nine-path source drift
    from the previously prepared composition base. Exact hunks transferred with
    apply_patch, preserving main's guarded clone/identity/fsync behavior.
  • Complete changed-owner/source review, private caller census and historical
    upgrade-diagnostics boundary inspected. git diff --check passes.
  • Source hash666f370c48fd2de6ce8d8f2efe48635dd49f1f5db8dc64a9315d853d279d90dd.
    Fresh isolated direct-provider review finished scoped-clean at P0-P2 with final
    source verification, no findings. One subsequent mechanical documentation-clause
    shrink preserves genuine refresh/cleanup failure warning guidance. Source bytes
    are unchanged; full ten-file diff hash is
    b6238c1d9f2443a8b3e4b62358b00820f28069bfdbfe8723928650a27dc2dcc2.
  • Local runtime/types remain unproved: the independently owned publication
    checkout has no qualified dependency installation; shared dependencies were
    not reconciled or relinked. No local build, E2E or broad check was run.
  • Matching qualified-primary repository formatting and diff checks passed.
    The isolated primary lint-suppression suite passed one file/three tests
    (148.82 seconds Vitest; 248.33 seconds wrapper), which is tooling evidence,
    not a runtime or type pass for this candidate. Hosted CI on the exact
    submitted head is the broad proof and supplies the affected suites.

Exact-head CI repair

Run38933060580 on ffb28be883f0bdb6748092ee9bc7ec35f72499de exposed an
obsolete positive debug-log expectation in session-cost-usage-refresh.test.ts,
job117082397674. The existing closing-abort case now requires silence while
preserving refresh settlement, exact call count and zero pending timers. All
three actual abort-while-open/write/aggregate-cleanup failure cases still assert
the exact warning severity and background-refresh failure notice. No case,
timeout, retry, skip, mock or suppression is added or removed.

The one-file repair passes isolated qualified repository formatting(33ms) and
diff checks. Runtime/type proof remains pending exact-head CI; source review is
not a runtime pass. No CI reruns are used.

The original run completed with that one failed leaf and aggregate
gate117088067161; every other selected job finished without failure. Fresh
one-file independent P0-P2 review completed scoped-clean/no findings(.98), with
final source verification. Signed repair head
38ba2f1a1172378fc5f4ece982344880a7c4934f preserves reviewed repair hash
e461fdaa8e0b7b25db87deda65902f1b5023d924514c135d5bf51e351be0ee8a;
normal hooks formatted one file100ms. One leased repair push supplies the next
exact-head CI, not a rerun of the unchanged failing head.

GitHub then reported the repaired head CONFLICTING. Authorized conflict-only
rebase onto fresh main5b4824b8c80bd250cc031a545799f93cad97b3bc produces signed
headbf31aa9b9610c11f742218476c02a58599a5084c. The sole import conflict keeps
main#174426's SqliteFileContent type and all new content-integrity threading;
only the obsolete reporter import leaves. Range diff confirms no semantic
resolution, and the test repair is byte-identical. Both replayed commits verify
G; full diff hash36894c8f539d8d76a17684b6bb1817b272e92578b3dbb035dd5fe8ffbf4d332c.
Prior source reviews are reused for this context-only rebase; prior-head CI is
not current-head proof. No schema, durability or integrity behavior was removed.

@clawsweeper

clawsweeper Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review October 16, 2026 16:34
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: M labels Oct 16, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T17:02:09.472162Z bf31aa9 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 16, 2026
@steipete
steipete force-pushed the deslop/z22-16-runtime-infra-traces-20261015 branch from 38ba2f1 to bf31aa9 Compare October 16, 2026 16:59
@steipete

Copy link
Copy Markdown
Contributor Author

Exact-head landing evidence for bf31aa9.

CI run38936222026 completed successfully. The complete paginated check-run
inventory was enumerated for this exact commit: no failed, cancelled, pending or
timed-out check; selected suites passed, nonselected platform/workflow jobs were
skipped, CodeQL's neutral result was nonblocking. The exact-head CI gate
117097051572 passed, including all affected types/lint, ratchets, changed tests,
architecture/source guards, documentation and seven UI E2E shards. No CI rerun.

The prior-head failure was our obsolete closing-abort debug expectation. Its
reviewed repair retains settlement/timers and all actual warning cases; the
replacement exact-head test suite passes. The conflict-only rebase preserves
main's new SQLite type/integrity threading and changes no runtime semantics.
Production reduction177 lines; no schema/durability/permission/Phase E changes.
Independent P0-P2 source and repair reviews passed; final-source verification
completed. Local runtime/type passes are not claimed.

Native maintainer preflight already failed twice before intent/lock creation
because its installed dependency owner did not match declared tsx/fs-safe
versions. No dependency, guard or hook was changed. The coordinator's campaign
rule10 authorizes direct exact-head guarded squash submission after green CI;
this bypasses the broken submission tool, not checks or review. Writersteipete
and Peter author/committer verified. No inherited-failure exception is used.

@steipete
steipete merged commit aa3061d into main Oct 16, 2026
135 checks passed
@steipete
steipete deleted the deslop/z22-16-runtime-infra-traces-20261015 branch October 16, 2026 17:12
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…158510

* commit '236ceb85e92ac8cb5bdc58a4a70bd79cbebd1094': (24 commits)
  feat(decisions): run typed tasks with prepared model credentials (#157225)
  fix(gateway): retain observer slots until model work settles (#174262)
  refactor(ui): own assistant content subscriptions in Solid (#174035)
  refactor(logging): remove package and snapshot debug instrumentation (#174431)
  fix: show native Talk speech separately from completed answers (#172598)
  test(ui): forbid new controller host consumers (#174446)
  chore(deps): refresh dependencies with a seven-day cutoff (#174410)
  perf(ui): reduce idle native session catalog polling (#174404)
  refactor(test): remove unused Signal fixture overrides (#174445)
  fix: surface DNS zone and Linux camera read failures (#174424)
  fix(doctor): keep at most three standalone Doctor captures (#174415)
  perf(cron): reuse session writer for completed run alias cleanup (#174413)
  feat(database): legacy SQLite migrations complete before PostgreSQL port (#174399)
  perf(channels): avoid rereading ingress queue mutations (#174393)
  feat(control-ui): keep link readers scoped to their pane session (#173652)
  test(ui): wait for desktop widget placement before pinning (#174439)
  refactor(ui): compose remaining plugin classes (#174441)
  perf(control-ui): shrink transcript overscan and settle skipped row sizes synchronously (#173690)
  fix(sessions): quietly settle archived delivery endpoints (#174442)
  perf(sessions): keep config loading out of transcript workers (#174414)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…esafe-decision-native

* commit '236ceb85e92ac8cb5bdc58a4a70bd79cbebd1094': (24 commits)
  feat(decisions): run typed tasks with prepared model credentials (#157225)
  fix(gateway): retain observer slots until model work settles (#174262)
  refactor(ui): own assistant content subscriptions in Solid (#174035)
  refactor(logging): remove package and snapshot debug instrumentation (#174431)
  fix: show native Talk speech separately from completed answers (#172598)
  test(ui): forbid new controller host consumers (#174446)
  chore(deps): refresh dependencies with a seven-day cutoff (#174410)
  perf(ui): reduce idle native session catalog polling (#174404)
  refactor(test): remove unused Signal fixture overrides (#174445)
  fix: surface DNS zone and Linux camera read failures (#174424)
  fix(doctor): keep at most three standalone Doctor captures (#174415)
  perf(cron): reuse session writer for completed run alias cleanup (#174413)
  feat(database): legacy SQLite migrations complete before PostgreSQL port (#174399)
  perf(channels): avoid rereading ingress queue mutations (#174393)
  feat(control-ui): keep link readers scoped to their pane session (#173652)
  test(ui): wait for desktop widget placement before pinning (#174439)
  refactor(ui): compose remaining plugin classes (#174441)
  perf(control-ui): shrink transcript overscan and settle skipped row sizes synchronously (#173690)
  fix(sessions): quietly settle archived delivery endpoints (#174442)
  perf(sessions): keep config loading out of transcript workers (#174414)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…/decision-tool-v2-proof-20261016

* commit '236ceb85e92ac8cb5bdc58a4a70bd79cbebd1094': (24 commits)
  feat(decisions): run typed tasks with prepared model credentials (#157225)
  fix(gateway): retain observer slots until model work settles (#174262)
  refactor(ui): own assistant content subscriptions in Solid (#174035)
  refactor(logging): remove package and snapshot debug instrumentation (#174431)
  fix: show native Talk speech separately from completed answers (#172598)
  test(ui): forbid new controller host consumers (#174446)
  chore(deps): refresh dependencies with a seven-day cutoff (#174410)
  perf(ui): reduce idle native session catalog polling (#174404)
  refactor(test): remove unused Signal fixture overrides (#174445)
  fix: surface DNS zone and Linux camera read failures (#174424)
  fix(doctor): keep at most three standalone Doctor captures (#174415)
  perf(cron): reuse session writer for completed run alias cleanup (#174413)
  feat(database): legacy SQLite migrations complete before PostgreSQL port (#174399)
  perf(channels): avoid rereading ingress queue mutations (#174393)
  feat(control-ui): keep link readers scoped to their pane session (#173652)
  test(ui): wait for desktop widget placement before pinning (#174439)
  refactor(ui): compose remaining plugin classes (#174441)
  perf(control-ui): shrink transcript overscan and settle skipped row sizes synchronously (#173690)
  fix(sessions): quietly settle archived delivery endpoints (#174442)
  perf(sessions): keep config loading out of transcript workers (#174414)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…157433

* commit '3dd7f576829fd8ec1fd395acb59f3d4f9e999166': (24 commits)
  feat(decisions): run typed tasks with prepared model credentials (#157225)
  fix(gateway): retain observer slots until model work settles (#174262)
  refactor(ui): own assistant content subscriptions in Solid (#174035)
  refactor(logging): remove package and snapshot debug instrumentation (#174431)
  fix: show native Talk speech separately from completed answers (#172598)
  test(ui): forbid new controller host consumers (#174446)
  chore(deps): refresh dependencies with a seven-day cutoff (#174410)
  perf(ui): reduce idle native session catalog polling (#174404)
  refactor(test): remove unused Signal fixture overrides (#174445)
  fix: surface DNS zone and Linux camera read failures (#174424)
  fix(doctor): keep at most three standalone Doctor captures (#174415)
  perf(cron): reuse session writer for completed run alias cleanup (#174413)
  feat(database): legacy SQLite migrations complete before PostgreSQL port (#174399)
  perf(channels): avoid rereading ingress queue mutations (#174393)
  feat(control-ui): keep link readers scoped to their pane session (#173652)
  test(ui): wait for desktop widget placement before pinning (#174439)
  refactor(ui): compose remaining plugin classes (#174441)
  perf(control-ui): shrink transcript overscan and settle skipped row sizes synchronously (#173690)
  fix(sessions): quietly settle archived delivery endpoints (#174442)
  perf(sessions): keep config loading out of transcript workers (#174414)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…/decision-onnx-v2-proof-20261016

* commit '3dd7f576829fd8ec1fd395acb59f3d4f9e999166': (24 commits)
  feat(decisions): run typed tasks with prepared model credentials (#157225)
  fix(gateway): retain observer slots until model work settles (#174262)
  refactor(ui): own assistant content subscriptions in Solid (#174035)
  refactor(logging): remove package and snapshot debug instrumentation (#174431)
  fix: show native Talk speech separately from completed answers (#172598)
  test(ui): forbid new controller host consumers (#174446)
  chore(deps): refresh dependencies with a seven-day cutoff (#174410)
  perf(ui): reduce idle native session catalog polling (#174404)
  refactor(test): remove unused Signal fixture overrides (#174445)
  fix: surface DNS zone and Linux camera read failures (#174424)
  fix(doctor): keep at most three standalone Doctor captures (#174415)
  perf(cron): reuse session writer for completed run alias cleanup (#174413)
  feat(database): legacy SQLite migrations complete before PostgreSQL port (#174399)
  perf(channels): avoid rereading ingress queue mutations (#174393)
  feat(control-ui): keep link readers scoped to their pane session (#173652)
  test(ui): wait for desktop widget placement before pinning (#174439)
  refactor(ui): compose remaining plugin classes (#174441)
  perf(control-ui): shrink transcript overscan and settle skipped row sizes synchronously (#173690)
  fix(sessions): quietly settle archived delivery endpoints (#174442)
  perf(sessions): keep config loading out of transcript workers (#174414)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 17, 2026
…penclaw#174431)

* refactor(infra): remove package and snapshot debug observers

* test(logging): keep shutdown abort settlement coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. docs Improvements or additions to documentation size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant