You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "Astro-Han (via GitHub)" <gi...@apache.org> on 2026/08/23 16:50:37 UTC
[PR] test(desktop): match session change event contract [maka]
Astro-Han opened a new pull request, #3642:
URL: https://github.com/apache/maka/pull/3642
## Summary
Align the Goal adapter test fixture with the current `SessionChangedEvent` contract so Desktop main-process compilation succeeds on `main` again.
The production contract and all live emitters use `reason`, optional identifiers, and `ts`; only the new test fixture from #3531 retained the removed `type: 'sessions_changed'` discriminator. This removes those three stale properties without changing production behavior or adding another event representation.
## Verification
- Reproduced on `main` with `npm --workspace @maka/desktop run build:main`: three TS2353 failures in `goal-services-adapter.test.ts`.
- `npm --workspace @maka/desktop run build:main`
- `node --test --test-concurrency=1 apps/desktop/dist/main/__tests__/goal-services-adapter.test.js` (1/1 passed)
- `npm run format:check`
- `git diff --check`
## AI use
Select exactly one:
- [ ] No generative tool made a substantive contribution
- [x] Generative tooling made a substantive contribution
Tool(s) and scope: Codex diagnosed the CI failure, verified the event authority, removed the stale test-only fields, and ran focused validation.
## Checklist
- [x] Tests cover the change and fail without it
- [x] Lint, format, typecheck and the affected suites pass locally
Does this PR entail a change in behavior?
- [ ] Yes — described under Summary above
- [x] No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org
Re: [PR] test(desktop): match session change event contract [maka]
Posted by "Astro-Han (via GitHub)" <gi...@apache.org>.
Astro-Han merged PR #3642:
URL: https://github.com/apache/maka/pull/3642
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org