Skip to content

fix: "apply latest" action tries to run the new AI layout enhancement#2995

Merged
davydkov merged 1 commit into
mainfrom
fix-apply-latest-to-manual
Jun 2, 2026
Merged

fix: "apply latest" action tries to run the new AI layout enhancement#2995
davydkov merged 1 commit into
mainfrom
fix-apply-latest-to-manual

Conversation

@davydkov

@davydkov davydkov commented Jun 2, 2026

Copy link
Copy Markdown
Member

omg, what a shame

@changeset-bot

changeset-bot Bot commented Jun 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3a16dd2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 22 packages
Name Type
@likec4/diagram Patch
@likec4/playground Patch
@likec4/spa Patch
likec4 Patch
@likec4/react Patch
@likec4/vscode-preview Patch
likec4-vscode Patch
@likec4/docs-astro Patch
@likec4/style-preset Patch
@likec4/styles Patch
@likec4/config Patch
@likec4/core Patch
@likec4/generators Patch
@likec4/language-server Patch
@likec4/language-services Patch
@likec4/layouts Patch
@likec4/leanix-bridge Patch
@likec4/log Patch
@likec4/lsp Patch
@likec4/mcp Patch
@likec4/tsconfig Patch
@likec4/vite-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@davydkov davydkov enabled auto-merge (squash) June 2, 2026 20:48
@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 51ab2d54-af8f-4b5f-81e7-af1b48ef7a2a

📥 Commits

Reviewing files that changed from the base of the PR and between e2ad89e and 3a16dd2.

📒 Files selected for processing (2)
  • .changeset/fix-apply-latest-to-manual.md
  • packages/diagram/src/editor/actor/actions.ts

📝 Walkthrough

Walkthrough

The PR corrects the action queued when the "apply latest" operation is triggered in the diagram editor. The implementation change updates the event handler to queue apply-latest-to-manual instead of apply-semantic-layout, and a changeset entry documents this patch release.

Changes

Apply Latest Action Fix

Layer / File(s) Summary
Fix apply latest action queue
packages/diagram/src/editor/actor/actions.ts, .changeset/fix-apply-latest-to-manual.md
The pushToSyncQueue function's change.latest-to-manual branch now enqueues apply-latest-to-manual operation to run the correct AI layout enhancement, with a patch changelog entry.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is incomplete and does not follow the required template structure. The description only contains 'omg, what a shame' and is missing all required checklist items. Complete the pull request description by filling out all checklist items from the template to confirm testing, changesets, and documentation updates were performed.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: fixing the 'apply latest' action to properly run the new AI layout enhancement.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-apply-latest-to-manual

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@davydkov davydkov linked an issue Jun 2, 2026 that may be closed by this pull request
@davydkov davydkov disabled auto-merge June 2, 2026 20:53
@davydkov davydkov merged commit e14bc24 into main Jun 2, 2026
18 checks passed
@davydkov davydkov deleted the fix-apply-latest-to-manual branch June 2, 2026 20:53
@likec4-ci likec4-ci Bot mentioned this pull request Jun 2, 2026
@wafelmolt

Copy link
Copy Markdown

@davydkov, happens to the bests 🥇. Thx for reactivity

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.

LikeC4 live preview

2 participants