Prepare v1.0.2 public source and release metadata - #283
Draft
Alexander Zaslonov (azaslonov) wants to merge 2 commits into
Draft
Prepare v1.0.2 public source and release metadata#283Alexander Zaslonov (azaslonov) wants to merge 2 commits into
Alexander Zaslonov (azaslonov) wants to merge 2 commits into
Conversation
Copilot started reviewing on behalf of
Alexander Zaslonov (azaslonov)
September 12, 2026 01:46
View session
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The tightened configuration validation conflicts with the frozen v1 schema and requires a new schema version.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Prepares the v1.0.2 release metadata and backfills validated v1.0.1 publishing fixes.
Changes:
- Bumps package metadata to v1.0.2 and adds changelog entries.
- Uses structured HTTP status/error codes for DELETE handling.
- Rejects empty environment
appliesToconfigurations with regression coverage.
File summaries
| File | Description |
|---|---|
package.json |
Bumps package version. |
package-lock.json |
Aligns lockfile package versions. |
CHANGELOG.md |
Documents v1.0.1 and v1.0.2. |
src/clients/apim-client.ts |
Classifies DELETE failures structurally. |
src/services/env-mapping-validator.ts |
Rejects empty appliesTo. |
tests/unit/clients/apim-client.test.ts |
Covers structured DELETE outcomes. |
tests/unit/services/publish-service.env-mapping.test.ts |
Covers direct validation failure. |
tests/unit/services/publish-service.test.ts |
Verifies validation precedes deletion. |
Review details
- Files reviewed: 7/8 changed files
- Comments generated: 1
- Review effort level: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+68
to
+70
| if (env.appliesTo.length === 0) { | ||
| throw new Error( | ||
| `[publish] environment.appliesTo must contain at least one resource type when specified.` |
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.
Summary
Prepare the ongoing v1.0.2 public release on upstream main at 03612c6, including the source alignment from the historical v1.0.1 backfill. The branch contains two commits: the source/backfill alignment and the v1.0.2 metadata update.
Validation
Related Issues
Release preparation only; the upstream fixes retain their existing issue/PR references.
Release Gate
KEEP DRAFT until v1.0.2 is approved for release. The existing Squad Release workflow is configured to create an annotated tag and publish a GitHub release after a version bump reaches main. Merging this PR can therefore announce v1.0.2; do not merge it prematurely or independently create a competing tag/release. After approval and merge, verify that v1.0.2 points to the version-matching main commit and that exactly one GitHub release exists. GitHub source release and npm/ESRP publication are separate; this PR must not trigger duplicate npm publication.