Skip to content

chore: consolidate demos — drop redundant ManualSectionDemo#16

Merged
everettjf merged 1 commit into
masterfrom
chore/consolidate-demos
May 25, 2026
Merged

chore: consolidate demos — drop redundant ManualSectionDemo#16
everettjf merged 1 commit into
masterfrom
chore/consolidate-demos

Conversation

@everettjf

Copy link
Copy Markdown
Owner

Why

Three sample apps overlapped. No single demo covers everything (the objc_msgSend hook is unique to TraceAllMsgDemo and is wired into CI), but ManualSectionDemo's manual-sections + counters/async + guided-UI showcase is fully covered by the richer Swift demo. It also had no CI/script dependency, making it the redundant one.

Change

Reduce 3 → 2 samples with no loss of feature coverage:

Kept Covers
sample/AppleTraceSwiftDemo withSpan + @Traced/@TraceAll, counters/async, and the AppleTraceAuto SwiftTrace hook
sample/TraceAllMsgDemo Manual APTBeginSection sections and the automatic objc_msgSend hook

TraceAllMsgDemo stays because it owns the objc_msgSend hook demo and is built/run by the objc-msgsend-smoke / objc-msgsend-experimental CI jobs and scripts/test_objc_msgsend_hook*.sh.

All references updated: README / README_CN (demo tables, framework-embedding pointers, project-structure trees), AGENT.md, and the Tutorial site (index.html / zh.html). No remaining ManualSectionDemo references; both tutorial pages re-validated.

🤖 Generated with Claude Code

ManualSectionDemo's showcase (manual sections, counters, async, threads,
guided UI) is fully covered by AppleTraceSwiftDemo's richer Swift workload
(withSpan + counters/instants/async) and it had no CI/script dependency,
so it was the redundant sample. The repo now ships two demos with no loss
of feature coverage:

- sample/AppleTraceSwiftDemo — withSpan + @Traced/@traceall macros,
  counters/async, and the AppleTraceAuto SwiftTrace hook.
- sample/TraceAllMsgDemo — manual APTBeginSection sections AND the
  automatic objc_msgSend hook (kept: unique feature + wired into the
  objc-msgsend CI smoke tests and the device script).

Updated all references: README, README_CN, AGENT.md, and the Tutorial
site (index.html / zh.html) — demo tables, framework-embedding pointers,
and project-structure trees.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@everettjf everettjf merged commit 4591863 into master May 25, 2026
10 checks passed
@everettjf everettjf deleted the chore/consolidate-demos branch May 25, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant