- Aug 09, 2023
-
-
Marc Durdin authored
kmc already reported unhandled exceptions, but any handled fatal errors were captured and only reported to the user. It is better to report these to Sentry as these are still unexpected. I have refactored all the fatal exception messages in various kmc modules to use a common mechanism, keeping all the Sentry integration in kmc, now passing exception data up in the `CompilerEvent.exceptionVar` property. * I took the opportunity to rename messages.ts to infrastructureMessages.ts * @types/chai was missing which gave intellisense errors in vscode * normal exit of kmc now provides an opportunity for error reports to Sentry to be finalized * Added a unit test for fatal errors in kmc * Added a manual test pathway with `SENTRY_CLIENT_TEST_BUILD_EXCEPTION` env var to trip the build fatal error mechanism and verify that it looks ok; the following shows test runs demonstrate how fatal build errors are reported: ``` mcdurdin@THARK MINGW64 /c/Projects/keyman/app/developer/src/kmc (chore/developer/report-fatal-compiler-errors-to-sentry) $ SENTRY_CLIENT_TEST_BUILD_EXCEPTION=1 node . --error-reporting build fatal KM05001: Unexpected exception: Error: Test exception from SENTRY_CLIENT_TEST_BUILD_EXCEPTION Call stack: Error: Test exception from SENTRY_CLIENT_TEST_BUILD_EXCEPTION at build (file:///C:/Projects/keyman/app/developer/src/kmc/build/src/commands/build.js:78:19) at Command.<anonymous> (file:///C:/Projects/keyman/app/developer/src/kmc/build/src/commands/build.js:66:24) at Command.listener [as _actionHandler] (C:\Projects\keyman\app\node_modules\commander\lib\command.js:482:17) at C:\Projects\keyman\app\node_modules\commander\lib\command.js:1283:65 at Command._chainOrCall (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1177:12) at Command._parseCommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1283:27) at C:\Projects\keyman\app\node_modules\commander\lib\command.js:1081:27 at Command._chainOrCall (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1177:12) at Command._dispatchSubcommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1077:23) at Command._parseCommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1248:19) This error has been automatically reported to the Keyman team. Identifier: 6f0fca1a26694c22b03f02b2463d39c5 Application: Keyman Developer Reported at: https://sentry.io/organizations/keyman/projects/keyman-developer/events/6f0fca1a26694c22b03f02b2463d39c5/ mcdurdin@THARK MINGW64 /c/Projects/keyman/app/developer/src/kmc (chore/developer/report-fatal-compiler-errors-to-sentry) $ SENTRY_CLIENT_TEST_BUILD_EXCEPTION=1 node . --no-error-reporting build fatal KM05001: Unexpected exception: Error: Test exception from SENTRY_CLIENT_TEST_BUILD_EXCEPTION Call stack: Error: Test exception from SENTRY_CLIENT_TEST_BUILD_EXCEPTION at build (file:///C:/Projects/keyman/app/developer/src/kmc/build/src/commands/build.js:78:19) at Command.<anonymous> (file:///C:/Projects/keyman/app/developer/src/kmc/build/src/commands/build.js:66:24) at Command.listener [as _actionHandler] (C:\Projects\keyman\app\node_modules\commander\lib\command.js:482:17) at C:\Projects\keyman\app\node_modules\commander\lib\command.js:1283:65 at Command._chainOrCall (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1177:12) at Command._parseCommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1283:27) at C:\Projects\keyman\app\node_modules\commander\lib\command.js:1081:27 at Command._chainOrCall (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1177:12) at Command._dispatchSubcommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1077:23) at Command._parseCommand (C:\Projects\keyman\app\node_modules\commander\lib\command.js:1248:19) ```
-
- Aug 08, 2023
-
-
Keyman Server authored
auto: increment master version to 17.0.157
-
Keyman Build Agent authored
-
- Aug 07, 2023
-
-
Marc Durdin authored
epic: kmc-kmw KeymanWeb compiler in Typescript
🗜
-
- Aug 06, 2023
-
-
Keyman Server authored
auto: increment master version to 17.0.156
-
Keyman Build Agent authored
-
- Aug 05, 2023
-
-
Steven R. Loomis authored
chore(developer): update markers per review
🙀 -
Keyman Server authored
auto: increment master version to 17.0.155
-
Keyman Build Agent authored
-
- Aug 04, 2023
-
-
Marc Durdin authored
chore: merge master into feature-kmc-kmw (A17S18)
🗜 -
Darcy Wong authored
chore(common): Update history.md with 16.0 stable entries
-
Marc Durdin authored
-
Darcy Wong authored
-
Joshua Horton authored
fix(web): forgot to target es5 when minifying polyfilled worker
-
Steven R. Loomis authored
- keep 'deadkey' out of the ldml code - other renames For: #9119
-
Steven R. Loomis authored
Co-authored-by:Marc Durdin <marc@durdin.net>
-
Darcy Wong authored
chore(common): Update crowdin GHA to trigger daily
-
Steven R. Loomis authored
#9119
-
Keyman Server authored
auto: increment master version to 17.0.154
-
Keyman Build Agent authored
-
Steven R. Loomis authored
For: #9119
-
- Aug 03, 2023
-
-
Eberhard Beilharz authored
chore(linux): Properly treat test builds with packaging GHA
-
Darcy Wong authored
-
Eberhard Beilharz authored
chore(linux): Remove Kinetic from GHA
-
Joshua Horton authored
fix(web): maintenance of focus when changing keyboard via Toolbar UI
-
Joshua Horton authored
Co-authored-by:Marc Durdin <marc@durdin.net>
-
Joshua A. Horton authored
-
Marc Durdin authored
chore(developer): add Error_NotAProjectFile
🗜 -
Marc Durdin authored
chore(developer): refactor KeymanDeveloperProjectFile
🗜 -
Darcy Wong authored
docs(windows): Update OS requirement to Windows 10
-
Darcy Wong authored
Co-authored-by:Marc Durdin <marc@durdin.net>
-
Steven R. Loomis authored
Co-authored-by:Marc Durdin <marc@durdin.net>
-
Steven R. Loomis authored
-
Steven R. Loomis authored
- … with this one weird trick For: #9119
-
Steven R. Loomis authored
- use UC_SENTINEL CODE_DEADKEY … - use U+FFFE for any marker - add asserts between .ts and C++ - update generation For: #9119
-
Keyman Server authored
auto: increment master version to 17.0.153
-
Keyman Build Agent authored
-
- Aug 02, 2023
-
-
Eberhard Beilharz authored
docs(linux): Add build doc for Keyman Web and Android
-
Eberhard Beilharz authored
Co-authored-by:Joshua Horton <joshua_horton@sil.org>
-
Eberhard Beilharz authored
Previously GHA builds always used the "local" environment. This change now detects test builds as well as release builds and properly sets the environment.
-