Repository navigation
Feat/first class errors - #26
Merged
Merged
Conversation
Persist fingerprinted error groups as triageable Issues and track their flare-ups as Incidents, mirroring the existing alerts pattern. Errors were previously a query-time view over StatusCode=Error spans with no persistent identity; this makes them assignable, resolvable, and regression-aware. - Tinybird error_events datasource + MV unwrapping OTel exception events into a cityHash64 FingerprintHash (ServiceName + ExceptionType + top frame) - New pipes (error_issues, error_issue_timeseries, error_issue_sample_traces) wired through the query-engine DSL and PipeQueryDispatcher - D1 schema: error_issues, error_issue_states, error_incidents - ErrorsService: list/get/update/assign/notes + scheduled runTick that upserts issues, opens first_seen/regression incidents, auto-resolves after 30 min of silence - HTTP group /api/errors wired into MapleApi and app.ts - Minutely error tick added to apps/alerting worker - /errors/issues list + $issueId detail routes with status actions, assignee/notes editors, incidents timeline, and sample traces - MCP tools: list_error_issues, update_error_issue, list_error_incidents Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ody" This reverts commit 5823ec4.
476aede6 fix http schemaBodyJson parseOptions annotation (#2062) 88927ebb add Effectable module (#2065) aef2b1c0 add back openai reasoning types (#2060) e5156e1e Version Packages (beta) (#2056) 6f73f922 Update openai schema strategy (#2059) 131fdd5b mcp http request with no session header is 404 response (#2058) 8e04bfc9 make HttpApi schema errors defects unless transformed (#2057) cf3a311d ensure tagged enum _tag is correctly set (#2055) c3130453 Schema: remove unnecessary internal module (#2054) f69df22a Version Packages (beta) (#2045) 90f7fd52 remove use of bigint literals (#2053) 4b1c0150 Schema: expand FilterOutput to support multiple failures and full Issues at paths (#2052) 6754a0cd disable sql traces for EventLog, RunnerStorage (#2051) 778d2afe add makeMsgPack for configurable msgpackr options (#2049) 1009667c iterateEager cleanup (#2050) 4e24dcf7 process schema properties / elements concurrently (#2010) 454f8ada fix SchemaAST.isJson rejecting DAGs as cycles, closes #2021 (#2047) d7e15197 remove `options` parameter from `OpenApi.fromApi` (#2046) 72a81228 ensure envelope payloads are correctly encoded for notify path (#2044) 2957a5e6 Version Packages (beta) (#2039) ae024331 require a option to make AtomRpc.query atoms serializable (#2040) 07be5948 add support for deferred responses in rpc (#2038) 2428f43d Version Packages (beta) (#2031) c2f6f901 add RpcGroup.omit (#2036) 7d878734 EFF-782 Support common string literals in HttpApiSchema.status (#2035) 216f13c1 Fix issue with exported cli completion types (#2034) 253efe6f Idb persistence (#2030) 2f07ca90 clean up AGENTS.md 626d6fbe Version Packages (beta) (#2024) a5e6f774 omit scope from HttpApi handlers (#2029) 4da56ecf update deps (#2025) f1ba5b85 EventLog Identity string encodes to base 64 (#2023) 28203647 Remove duplicate type-level tests section from AGENTS.md (#2019) b67952fb Version Packages (beta) (#2014) 131caf95 Schema: allow `Class` constructors to accept `void` when all fields are optional, closes #2015 (#2018) c5847267 Schema: add `annotateEncoded` function for annotating the encoded side of a schema (#2017) c3615c88 Schema: rename "~rebuild.out" to "Rebuild" (#2016) 86a91a4f Schema: add withDecodingDefaultTypeKey / withDecodingDefaultType, closes #2012 (#2013) 23de6435 Version Packages (beta) (#2009) a48d439e don't remove SIGINT listener until fiber exit 3a30b9e2 fix eventlog skipping entries (#2008) be88ab11 Version Packages (beta) (#2007) 5c3af6d5 Eventlog unencrypted (#1883) 0fc8e58b Version Packages (beta) (#1926) b3f535d9 Fix `Stream.splitLines` to correctly handle standalone `\r` as a line terminator and flush the final unterminated line when the stream ends, closes #2002 (#2005) c1af1b75 Add effectful support to CLI fallback prompts (#1971) 25e7fac3 docs(schema): add string encoding section to SCHEMA.md and cross-link SchemaTransformation (#2006) 7846792a EFF-781 Fix types of Stream.toQueue (#2004) 0dd11734 Guard transaction acquire failures in PgClient.fromPool (#2001) 23704106 fix cache constructor inference by moving the lookup option (#2000) 87e1fc8b use NoInfer in Layer constructors to prevent type erasure (#1999) 57c75b45 docs(schema): fix missing and incorrect `@category` JSDoc tags (#1997) 5b476abc Schema: add `StringFromBase64`, `StringFromBase64Url`, `StringFromHex`, and `StringFromUriComponent` schemas for decoding encoded strings into UTF-8 strings, closes #1995 (#1996) 187429d6 chore: update type tests (#1994) 718ff6fe fixes type inference when times option has provided in Effect.retry (#1984) acc7fffc improve idb transaction api (#1993) 8c74d035 Add rebuild api to idb databases (#1992) 9155d1c7 docs(HTTPAPI): add section on customizing schema error responses (#1991) 22d627c1 docs(Redactable): improve jsdocs (#1990) 7bb5dce6 refactor: rename ServiceMap module to Context (#1961) 1556a247 [codex] Fix unstable CLI boolean flags (#1974) 3cc091de use encoded types for idb queries (#1989) c8a877b5 Underline active labels in CLI multi-select prompts (#1973) 698296f9 fix(openapi-generator): support form-urlencoded in httpclient format (#1910) f244e714 add .reverse() to idb select (#1985) cda80045 add rpc ConnectionHooks (#1981) 7c11bc29 fix Entity.keepAlive (#1980) 4f58e309 add idb stream and offset (#1977) 7a35a833 improve idb support for compound indexes (#1976) 3b09fb31 catch defects when building Entity handlers (#1975) 7a1a8236 fix(schema): add more missing ~rebuild.out types (#1970) d54be025 fix(schema): add missing ~rebuild.out (#1969) 6e243d9e Improve Schema.encodeKeys typing (#1968) 7da961ae clean up ShardId (#1967) 0853afae fix(schema): reuse existing references when duplicate identifiers have the same representation, closes #1927 (#1966) 8335477a return resolvers directly from SqlModel.makeResolvers (#1965) 1ee45434 allow customizing idb durability (#1964) 82dd0f26 feat(schema): add MissingSelfGeneric compile-time error for Class APIs (#1958) dfff04c4 EFF-779 Add KeyValueStore.layerSql (#1962) 9baed9e1 EFF-780 Unify.unify should work with the Layer module (#1963) 8c836f99 feat(process): add child process unref (#1960) 03ae41e7 refactor(schema): remove `~annotate.in` type from `Bottom` interface (#1957) b80c4624 feat(schema): add `Schema.resolveAnnotationsKey`, closes #1947 (#1956) 4677a0a5 refactor(schema): rename `makeUnsafe` back to `make` (#1951) fbbdaec5 add defaults to indexeddb reactivity keys (#1953) 6b40e5a4 Effect.repeat now uses effect return value when using options (#1952) 08b63c3d EFF-778 Only log the path in the HttpMiddleware logger (#1949) 1ea5d3e0 refactor(schema): merge ExtendableClass into Class (#1950) f40d67c1 chore: rename `dtslint` directories to `typetest` (#1948) e3f06214 Add missing `*FromString` schemas, closes #1941 (#1943) ac845f3a fix(schema): Fix `ErrorClass` and `TaggedErrorClass` `toString` to match native `Error` output format, closes #1940 (#1942) d95b39b0 docs(schema): document how to annotate the encoded side of a transformation (#1939) 4ec5a7a4 improve solid useAtomResource 23bbaace allow atoms to be computed in solid bindings (#1938) 96cb7782 add .reactive to indexeddb .first queries (#1937) 7eed84fc Add Stream service accessors (#1930) dabc2724 EFF-777 Add makeEffect alongside makeUnsafe on Schema.Bottom (#1928) 6fe2e93c Fix Stream.groupedWithin partial batch flushing (#1936) 9c975bb8 Remove `rulesync` and cleanup patterns (#1934) 5df46fe2 feat(schema): add `asClass` API to turn any schema into a class with static method support (#1935) 18a325db fix Schema.Opaque JSDoc example to use a struct (#1932) 1d99d3b3 Simplify Schema rebuild.out declarations (#1931) b5ea5913 Simplify and align Schema default-value APIs to accept Effect<T>, closes #1917 (#1929) 716fe248 allow Model.Class for indexeddb schemas (#1924) 575d2f8f Version Packages (beta) (#1901) 1d046fe4 add Layer.suspend constructor (#1903) 583ea002 Added modules for IndexedDb (#1240) 2ae33d05 Refactor id checks for null and empty string (#1904) eb7dbeff Fix stream requests in Entity.toLayerQueue (#1908) fc1444df openai ws tweaks (#1905) cf50eb49 add WorkflowEngine interruptUnsafe (#1907) 734e4860 chore: update TSTyche to v7 (#1896) c8fb40f5 docs(schema): clarify that declareConstructor is not for transformations (#1906) 979811a4 EFF-776 Fix class schema refs in ai generateObject JSON schema (#1900) d799b18f Version Packages (beta) (#1892) 66d1c060 fix(SchemaRepresentation): support anyOf/oneOf with sibling keywords in fromJsonSchemaMultiDocument (#1899) 8930441d refine composable Effect tx transactions (#1898) 924e216c Improve CLI help for choice flags (#1897) a4809db8 fix: add dynamic tooling for OpenAILanguageModel (#1859) f8328bf0 EFF-775 Consider all web socket close codes an error by default (#1895) bee800bf fix(Number): handle scientific notation in `remainder` (#1893) 80e7f0cd Fix MutableList.appendAll with empty arrays (#1894) f49229f9 remove retries from SqlMessageStorage.withTransaction 0e9bd09f move tracker.clearUnsafe() 45491754 reset openai websocket on error (#1890) 3f53e561 test(schema): expand encodeKeys tstyche coverage for extra encoded key mappings (#1891) 414ae023 fix: enable Tool.EmptyParams with OpenAiLanguageModel (#1858) 97eff0c5 docs(schema): explain Schema.encodeKeys as encoded key remapping (#1889) 90065e28 Version Packages (beta) (#1870) f2913443 make defects a retryable network error in websocket mode (#1887) 2111963f add ClusterSchema.WithTransaction annotation (#1886) 3bc1efb5 EFF-771 Empty http responses should fail RpcClient requests (#1884) 70e724e6 Fix AI `Toolkit` type inference (#1875) 26c50e72 fix changeset (#1882) 36f5c217 Added `BigDecimal.sumAll` and `BigDecimal.multiplyAll` for feature parity with `Number` and `BigInt`, closes #1880 (#1881) 54769ed9 Httpapi gen (#1852) git-subtree-dir: .context/effect git-subtree-split: 476aede69c6efa06b5781ca5eb3e3b128ca29141
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.
No description provided.