You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Web PubSub Chat topics, collections and lifecycle request models - #49450
Update azure-messaging-webpubsubchatservice to 2026-08-01-preview, adding topic lifecycle APIs and room, user, and user-room collection APIs.
Compared with the previous preview (1.0.0b1), request models are now split by HTTP method instead of reusing resource response models:. See APIView Diff against previous preview.
PUT: dedicated Chat*CreateOrReplace models exclude service-assigned fields. ChatTopicCreateOrReplace requires title and accepts optional state for replacement.
PATCH:ChatMessageUpdate and ChatTopicUpdate have optional fields for partial updates.
Responses: existing resource model names remain unchanged.
Why: generated shared models do not consistently reflect lifecycle visibility and PATCH requiredness. For example, the shared ChatTopic constructor requires both title and state, preventing typed title-only creation or state-only updates. See Azure/typespec-azure#5721.
This intentionally changes request input types from the previous preview; the customization lives in TypeSpec rather than handwritten generated Python code.
Title of the pull request is clear and informative.
There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.
Azure Pipelines:
Successfully started running 1 pipeline(s).
10 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.
Avoid duplicating repository policy in the adapter
.github/copilot-instructions.md:26
This introduces repository-wide policy in a file that AGENTS.md:3-5,21 defines as a thin adapter to the canonical guidance. Keeping policy here creates a second source of truth that can drift; move this rule to AGENTS.md or the appropriate linked skill and leave this adapter unchanged.
yzt (Y-Sindo)
changed the title
Add Web PubSub Chat topics and collection APIs
Add Web PubSub Chat topics, collections and lifecycle request models
Oct 15, 2026
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The default API-version change affects all Chat operations, but routing succeeded only in Central US EUAP and failed in East US 2 EUAP, requiring human confirmation of regional rollout and release readiness.
Report missing live configuration without failing the samples runner, and cover exit status and setup guidance in subprocess regressions.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use the default API version for all inherited and new Chat test operations, refresh the published recordings, and clean up WebSocket-created access users. Document the default service API-version change.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Regenerate from Python-only TypeSpec customization, preserving resource responses and wire behavior. Update samples, API documentation, and sync/async request-shape coverage. Pin the published specs fork commit for reproducible generation.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Lint individual test files, including nested helpers, without assuming tests is a regular package. Add regression coverage and clean test imports, empty collection assertions, and unused test arguments.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Retain build output exclusions and prevent local TypeSpec caches or stale wheel artifacts from being discovered as Python packages. Verified two successive wheel builds contain exactly the 27 SDK Python files.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Let Pylint recursively discover namespace-directory tests inside its child process instead of expanding every file path into the command line. Cover nested helpers, empty directories, and a 620-file test tree.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Restore engineering test-discovery behavior and its tests to the PR baseline. Keep the Web PubSub Chat SDK changes scoped to this package; the general tooling issue requires a separate PR.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Generate ChatTopicCreateOrReplace from the pinned Python TypeSpec customization, update samples and API artifacts, and cover lifecycle request typing and partial updates.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document model and dictionary request bodies, automatic user discriminators, and all operation samples. Correct conversation terminology and remove stale Pylint discovery guarantees.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Regenerate role, room, membership and user request models with CreateOrReplace names matching their operations. Update docs, samples and tests, and cover sync/async model and TypedDict signatures.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pair all 25 generated operation examples with runnable model-based samples and regression coverage. Simplify the README, regenerate the corrected topic example, and fix documentation links and spelling checks without engineering-tool changes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Regenerate from CreateOrUpdate projections and keep topic state optional on the combined request. Restore the original JSON example and test lifecycle visibility, requiredness, and sync/async model and dictionary serialization rather than fixed API field snapshots.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Recommend model-based usage in the package README and describe all three input styles in the sample guide. Remove duplicate bodyless operation examples and their environment-variable runner, add a three-style comparison, and retain focused sample and lifecycle tests. Clarify runtime versus static tests and strip generated API whitespace without changing its normalized content.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Regenerate sync and async listing methods from TypeSpec customizations while preserving next-link paging and by_page resume support. Update API snapshots and paging regression tests, and pin the rebased specification including its shared customization module rename.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Regenerate from the published TypeSpec configuration, preserve resource-specific request parameters and room_id, and replace standalone generated samples with validated handwritten examples.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Regenerate from the latest published TypeSpec customization revision and refresh APIView source mappings. Python SDK code and tests are unchanged.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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
auto-releaseWhen merged to main, release pipelines for this PR's changed packages trigger automatically.WebPubSub
4 participants
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.
Description
Update
azure-messaging-webpubsubchatserviceto2026-08-01-preview, adding topic lifecycle APIs and room, user, and user-room collection APIs.Compared with the previous preview (
1.0.0b1), request models are now split by HTTP method instead of reusing resource response models:. See APIView Diff against previous preview.Chat*CreateOrReplacemodels exclude service-assigned fields.ChatTopicCreateOrReplacerequirestitleand accepts optionalstatefor replacement.ChatMessageUpdateandChatTopicUpdatehave optional fields for partial updates.Why: generated shared models do not consistently reflect lifecycle visibility and PATCH requiredness. For example, the shared
ChatTopicconstructor requires bothtitleandstate, preventing typed title-only creation or state-only updates. See Azure/typespec-azure#5721.This intentionally changes request input types from the previous preview; the customization lives in TypeSpec rather than handwritten generated Python code.
TypeSpec changes: Azure/azure-rest-api-specs#46545 (new APIs) and Azure/azure-rest-api-specs#47311 (lifecycle request models).
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines