feat(observability): structured logger + Effect.fn name rule#881
Draft
RhysSullivan wants to merge 1 commit into
Draft
feat(observability): structured logger + Effect.fn name rule#881RhysSullivan wants to merge 1 commit into
RhysSullivan wants to merge 1 commit into
Conversation
Add a structured, service-annotated logger (`@executor-js/sdk/observability`) and
merge it into the local + cli runtimes via `Layer.provideMerge`. Client apps
(cli/local/desktop) do not phone home: this is logging only, no OTLP exporter —
`Effect.fn` span names stay in-process.
Also:
- add an `effect-source-of-truth` skill (grep `.reference/effect-smol`; don't write
Effect from memory — this repo is effect 4 / effect-smol).
- add the `require-effect-fn-name` lint rule (`Effect.fn` must carry a string span
name; use `Effect.fnUntraced` for un-named helpers), enforced as error.
- name the account API handlers `Effect.fn("account.<endpoint>")` as the template
for the wider tracing sweep.
Verified: typecheck (all 38 packages), lint (0/0), format, sdk/api/local tests.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | f3d5262 | Commit Preview URL Branch Preview URL |
Jun 02 2026, 06:09 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-cloud | f3d5262 | Jun 02 2026, 06:10 AM |
@executor-js/cli
@executor-js/config
@executor-js/execution
@executor-js/sdk
@executor-js/codemode-core
@executor-js/runtime-quickjs
@executor-js/plugin-file-secrets
@executor-js/plugin-graphql
@executor-js/plugin-keychain
@executor-js/plugin-mcp
@executor-js/plugin-onepassword
@executor-js/plugin-openapi
executor
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The observability foundation for the Effect standardization stack.
@executor-js/sdk/observability): service-annotated,key=valuefields, log-span durations, pretty cause. Merged into thelocal+cliruntimes viaLayer.provideMerge.cli/local/desktopship logging only — no OTLP exporter, nothing leaves the machine.Effect.fnspan names stay in-process (named fibers + log context); cloud keeps its own export.effect-source-of-truthskill: grep.reference/effect-smol, don't write Effect from memory (this repo is effect 4 / effect-smol).require-effect-fn-namelint rule (enforced aserror):Effect.fnmust carry a"Domain.method"string; useEffect.fnUntracedfor un-named helpers.Effect.fn("account.<endpoint>")— the template for the wider tracing sweep.Stacked on #880 (effect
beta.66bump).Verified: typecheck (all 38 packages), lint (0/0), format, and
sdk/api/localtest suites.Draft — changeset + full e2e to come.