Skip to content

Introduce internal Core runtime plumbing#581

Draft
heyitsaamir wants to merge 1 commit into
microsoft:mainfrom
heyitsaamir:core-runtime-split
Draft

Introduce internal Core runtime plumbing#581
heyitsaamir wants to merge 1 commit into
microsoft:mainfrom
heyitsaamir:core-runtime-split

Conversation

@heyitsaamir
Copy link
Copy Markdown
Collaborator

Summary

  • Adds an internal Core layer for runtime plumbing: HTTP server, cloud/service URL setup, token manager, and authenticated bot/app clients.
  • Keeps App focused on app stuff: routing, plugins, context, send/reply, and user OAuth flows.
  • Adds an authorize hook for bot/app outbound tokens, while keeping the existing token(scope, tenantId) fallback path.
  • Keeps Core out of the root public API. No swappable public Core yet, no drama.

Test plan

  • npm --workspace @microsoft/teams.apps run build -- --pretty false
  • npm --workspace @microsoft/teams.botbuilder run build -- --pretty false
  • npm --workspace @microsoft/teams.apps test -- --runTestsByPath src/app.spec.ts src/token-manager.spec.ts --runInBand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant