Reduce repeated signal disposition query overhead #416

Open
erikinkinen wants to merge 6 commits from feature/source-signal-disposition-query into feature/source-directory-identity-comparison
Owner

Service-build profiling found repeated conversion of the same signal numbers during source admission. Precompute the fixed query set while continuing to read each current handler on every capture.

Signal masks, descriptor registration and retirement retain their existing behavior. Handler changes remain observable, including real-time signals.

Depends on #415.

  • Reuse immutable signal-number geometry without caching handlers.
  • Cover live handler changes and fault-signal exclusion.
  • Bind the changed helper in the native source selection and CI.

Complete service-build performance remains a separate gate.

Service-build profiling found repeated conversion of the same signal numbers during source admission. Precompute the fixed query set while continuing to read each current handler on every capture. Signal masks, descriptor registration and retirement retain their existing behavior. Handler changes remain observable, including real-time signals. Depends on #415. - [x] Reuse immutable signal-number geometry without caching handlers. - [x] Cover live handler changes and fault-signal exclusion. - [x] Bind the changed helper in the native source selection and CI. Complete service-build performance remains a separate gate.
erikinkinen added this to the Alpha 1 milestone 2026-11-06 14:06:19 +01:00
Reuse immutable platform signal numbers while observing actual current handlers on every capture. Preserve original masks, descriptor registration and retirement.
build: bind optimized signal queries to native source intake
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 5s
CI / rust (push) Successful in 2m30s
CI / host_one (push) Failing after 8m11s
CI / host_zero (push) Failing after 12m51s
CI / integration (push) Has been skipped
4e5e38433c
test: Isolate native feature forwarding from runtime intake
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 13s
CI / rust (push) Successful in 6m55s
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / integration (push) Has been cancelled
038df8ebb1
Observe the runtime selection passed to the shared-object builder without
starting an unrelated native source acquisition in the CLI forwarding test.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
4436885e1f
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Separate Markdown checks from the build workflow
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / integration (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
243126e0be
Keep each workflow below the repository size limit by giving Markdown its own file. Preserve event filters, job conditions and command bodies, with independent concurrency for the Markdown workflow.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 10s
CI / rust (push) Successful in 6m43s
CI / host_one (push) Failing after 6m19s
CI / host_zero (push) Failing after 22m41s
CI / integration (push) Has been skipped
bfe8b8f742
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 10s
CI / rust (push) Successful in 6m43s
CI / host_one (push) Failing after 6m19s
CI / host_zero (push) Failing after 22m41s
CI / integration (push) Has been skipped
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/source-signal-disposition-query:feature/source-signal-disposition-query'
git switch 'feature/source-signal-disposition-query'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/source-directory-identity-comparison'
git merge --no-ff 'feature/source-signal-disposition-query'
git switch 'feature/source-signal-disposition-query'
git rebase 'feature/source-directory-identity-comparison'
git switch 'feature/source-directory-identity-comparison'
git merge --ff-only 'feature/source-signal-disposition-query'
git switch 'feature/source-signal-disposition-query'
git rebase 'feature/source-directory-identity-comparison'
git switch 'feature/source-directory-identity-comparison'
git merge --no-ff 'feature/source-signal-disposition-query'
git switch 'feature/source-directory-identity-comparison'
git merge --squash 'feature/source-signal-disposition-query'
git switch 'feature/source-directory-identity-comparison'
git merge --ff-only 'feature/source-signal-disposition-query'
git switch 'feature/source-directory-identity-comparison'
git merge 'feature/source-signal-disposition-query'
git push origin 'feature/source-directory-identity-comparison'
Sign in to join this conversation.
No description provided.