Skip to content

Implement relationship shard management and extraction features#81

Merged
Looted merged 1 commit intomasterfrom
develop
Mar 17, 2026
Merged

Implement relationship shard management and extraction features#81
Looted merged 1 commit intomasterfrom
develop

Conversation

@Looted
Copy link
Copy Markdown
Owner

@Looted Looted commented Mar 17, 2026

  • Add concurrency guard to publish workflow to prevent concurrent runs
  • Use subshell for npm publish to ensure cwd doesn't drift on failure
  • Fix same issue in publish-selective.sh script

This prevents the 'cd: packages/mcp: No such file or directory' error that occurred when a publish failed mid-chain and subsequent iterations tried to cd from the wrong directory.

- Add concurrency guard to publish workflow to prevent concurrent runs
- Use subshell for npm publish to ensure cwd doesn't drift on failure
- Fix same issue in publish-selective.sh script

This prevents the 'cd: packages/mcp: No such file or directory' error that
occurred when a publish failed mid-chain and subsequent iterations tried to
cd from the wrong directory.
Copilot AI review requested due to automatic review settings March 17, 2026 19:40
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR hardens the npm publishing automation to avoid working-directory drift across publish attempts and to reduce the likelihood of overlapping publish runs.

Changes:

  • Run npm publish from a subshell (both in CI and the local helper script) so a failed publish can’t leave the runner in the wrong directory.
  • Add a workflow-level concurrency block to gate overlapping runs of the publish workflow.
  • Add a changeset for a kibi-core patch bump and refresh generated symbol coordinates.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
scripts/publish-selective.sh Runs npm publish inside a subshell to prevent cwd drift if publish fails.
.github/workflows/publish.yml Adds workflow concurrency gating and publishes each package from a subshell with an explicit workspace path.
.changeset/core-patch-bump.md Introduces a patch bump changeset for kibi-core.
documentation/symbols.yaml Updates generated symbol coordinate metadata/timestamps.

You can also share your feedback on Copilot code review. Take the survey.

FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Comment on lines +6 to +9
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

@Looted Looted merged commit c8755cc into master Mar 17, 2026
5 checks passed
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.

2 participants