Skip to content

feat: #1483 add a property to deployment view to enable ancestor node…#2935

Merged
Kiiv merged 6 commits into
mainfrom
feat/1483-deployment-view-ancestors
May 7, 2026
Merged

feat: #1483 add a property to deployment view to enable ancestor node…#2935
Kiiv merged 6 commits into
mainfrom
feat/1483-deployment-view-ancestors

Conversation

@Kiiv

@Kiiv Kiiv commented May 4, 2026

Copy link
Copy Markdown
Collaborator

…s of visible nodes to show in the diagram

Checklist

  • I've thoroughly read the latest contribution guidelines.
  • I've rebased my branch onto main before creating this PR.
  • I've added tests to cover my changes (if applicable).
  • I've verified pnpm typecheck and pnpm test.
  • I've added changesets (you can use /changeset-generator SKILL).
  • My change requires documentation updates.
  • [TODO] I've updated the documentation accordingly (or will do in follow-up PR).

…s of visible nodes to show in the diagram
@changeset-bot

changeset-bot Bot commented May 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 642df3f

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

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

@coderabbitai

coderabbitai Bot commented May 4, 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: 7199d1e3-400f-48d5-b1fa-5342e0eb0085

📥 Commits

Reviewing files that changed from the base of the PR and between 5618e7d and 642df3f.

📒 Files selected for processing (3)
  • .changeset/show-ancestors-deployment-view.md
  • apps/docs/src/content/docs/dsl/Deployment/views.mdx
  • packages/core/src/compute-view/deployment-view/__test__/fixture.ts
✅ Files skipped from review due to trivial changes (1)
  • .changeset/show-ancestors-deployment-view.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/docs/src/content/docs/dsl/Deployment/views.mdx

📝 Walkthrough

Walkthrough

Adds an includeAncestors boolean view rule and plumbing across grammar, parser, validation schemas, builder helpers, generator output, compute pipeline (StageFinal), tests, and documentation so deployment views can include ancestor nodes of visible elements.

Changes

Deployment View includeAncestors

Layer / File(s) Summary
Grammar Rules
packages/language-server/src/like-c4.langium
Added ViewRuleAncestors grammar rule to parse includeAncestors BOOLEAN and extended DeploymentViewRule union.
Type Definitions
packages/core/src/types/view-parsed.deployment.ts
Added ParsedViewRuleAncestors { includeAncestors: boolean }; extended DeploymentViewRule union payload to include IncludeAncestors.
Schema & Validation
packages/generators/src/likec4/schemas/views.ts
Added deploymentViewRuleIncludeAncestors Zod schema and included it in the deploymentViewRule union.
Parser Implementation
packages/language-server/src/model/parser/DeploymentViewParser.ts
parseDeploymentViewRule now handles ast.isViewRuleAncestors(astRule) and returns { includeAncestors: astRule.value }.
Code Generator
packages/generators/src/likec4/operators/views.ts
Added deploymentViewRuleIncludeAncestors generator and dispatch branch for includeAncestors in deploymentViewRule.
Computation Logic
packages/core/src/compute-view/deployment-view/compute.ts, packages/core/src/compute-view/deployment-view/stages/stage-final.ts
processPredicates tracks includeAncestors and passes it to StageFinal.for(memory, includeAncestors); StageFinal gains step4AddAncestor to union ancestors and conditionally runs it in commit() when enabled.
Builder API
packages/core/src/builder/Builder.view-deployment.ts, packages/core/src/builder/Builder.views.ts, packages/core/src/builder/Builder.ts
Added DeploymentViewBuilder.includeAncestors(value: boolean): this, exported $includeAncestors helper, updated ViewsHelpers and builder().helpers().views, and refactored mkViewBuilder to attach deployment-only methods.
Tests & Fixtures
packages/core/.../__test__/fixture.ts, __test__/include.deployment.spec.ts, compute.spec.ts, packages/generators/src/likec4/operators/views.spec.ts
Added $includeAncestors fixture helper; tests verify ancestor inclusion, deduplication, ordering (ancestors before descendants), interaction with exclude rules, wildcard includes, and generator snapshots for true/false.
Docs & Editor Grammars
apps/docs/src/content/docs/dsl/Deployment/views.mdx, `apps/docs
playground
Release metadata
.changeset/show-ancestors-deployment-view.md
Marked packages for minor release and documented the new includeAncestors property (issue #1483).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~22 minutes

Suggested reviewers

  • davydkov
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main feature: adding a property to deployment views to display ancestor nodes. It directly relates to the primary change across all modified files.
Description check ✅ Passed The PR description follows the repository template with all checklist items addressed. However, documentation updates are marked TODO, indicating incomplete documentation changes despite being identified as required.
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 feat/1483-deployment-view-ancestors

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (3)
packages/generators/src/likec4/operators/views.spec.ts (1)

307-341: 💤 Low value

describe('showAncestors') is nested inside describe('view') but tests deploymentView

The test reporter will surface these as view > showAncestors > ..., which is misleading. Consider moving the showAncestors suite to its own top-level describe('deploymentView', ...) block (or an existing deployment-view describe group).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/generators/src/likec4/operators/views.spec.ts` around lines 307 -
341, The nested test suite describe('showAncestors') is incorrectly scoped under
describe('view') which mislabels tests in the reporter; relocate this entire
describe('showAncestors') block so it is nested under a top-level describe for
deploymentView (or an existing deployment-view describe group) instead of under
'view', ensuring the tests that call deploymentView(...,
$rules($showAncestors(...))) remain unchanged other than their describe wrapper
so the reporter shows e.g. deploymentView > showAncestors > ... .
packages/core/src/compute-view/deployment-view/__test__/fixture.ts (1)

74-74: 💤 Low value

Untyped b parameter — use the already-imported DeploymentRulesBuilderOp<Types>

b: any is unnecessary here since DeploymentRulesBuilderOp<Types> is already imported and directly describes the return type of this helper.

♻️ Proposed fix
-const $showAncestors = (value: boolean) => (b: any) => b.showAncestors(value)
+const $showAncestors = (value: boolean): DeploymentRulesBuilderOp<Types> => b => b.showAncestors(value)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/core/src/compute-view/deployment-view/__test__/fixture.ts` at line
74, Replace the untyped parameter in the helper $showAncestors: change the
parameter type from any to the imported DeploymentRulesBuilderOp<Types> so the
function signature reads like the helper accepts and returns a
DeploymentRulesBuilderOp<Types> (i.e., update the parameter type on
$showAncestors to DeploymentRulesBuilderOp<Types> and ensure the return type
aligns with b.showAncestors(value)).
packages/core/src/builder/Builder.view-deployment.ts (1)

7-11: 💤 Low value

Verify whether showAncestors declaration is redundant

Per the AI summary, LikeC4ViewBuilder in Builder.view-common.ts already declares showAncestors(value: boolean): this. Since DeploymentViewBuilder extends LikeC4ViewBuilder, the re-declaration on line 10 is likely redundant (the inherited signature already resolves correctly via the covariant this type).

#!/bin/bash
# Check whether LikeC4ViewBuilder already declares showAncestors
rg -n "showAncestors" packages/core/src/builder/Builder.view-common.ts
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/core/src/builder/Builder.view-deployment.ts` around lines 7 - 11,
The showAncestors method is already declared on LikeC4ViewBuilder, so remove the
redundant showAncestors(value: boolean): this declaration from the
DeploymentViewBuilder interface to rely on the inherited signature; update the
DeploymentViewBuilder interface (which extends LikeC4ViewBuilder) by deleting
that method declaration and run type-check/tests to confirm the covariant this
typing still resolves correctly for DeploymentViewBuilder.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/core/src/builder/Builder.views.ts`:
- Around line 358-359: The global ViewsHelpers type currently exposes
$showAncestors so non-deployment builders can call it even though mkViewBuilder
only attaches showAncestors to deployment builders; to fix, remove
$showAncestors from the global ViewsHelpers (or create a DeploymentViewsHelpers
subtype) and update mkViewBuilder and any builder-return types to use the
deployment-only helper type where showAncestors is provided; specifically adjust
the ViewsHelpers declaration (remove $showAncestors), add a
DeploymentViewsHelpers (or similar) that includes $showAncestors, and ensure
mkViewBuilder returns a builder typed with DeploymentViewsHelpers while element
builders keep the original ViewsHelpers so $showAncestors no longer type-checks
for non-deployment builders.

In `@packages/core/src/compute-view/deployment-view/stages/stage-final.ts`:
- Around line 176-193: step4AddAncestor currently unions all ancestors of
memory.final back into final without respecting explicit exclusions; change it
to filter out any ancestor that is present in the exclusion set (e.g.,
memory.excluded or whatever memory tracks exclusions) before unioning: compute
ancestors as now, then remove ancestors that are in memory.excluded (or that
would be rejected by the same exclusion predicate used earlier) and only union
the remaining ancestors into memory.final via union(...) and memory.update(...).
Update references in this function (step4AddAncestor, memory.final,
memory.excluded, union, memory.update, el.ancestors()) and add a regression test
that includes an excluded ancestor (e.g., exclude prod.eu, include
prod.eu.zone1.ui with showAncestors(true)) to assert prod.eu is not re-added.

---

Nitpick comments:
In `@packages/core/src/builder/Builder.view-deployment.ts`:
- Around line 7-11: The showAncestors method is already declared on
LikeC4ViewBuilder, so remove the redundant showAncestors(value: boolean): this
declaration from the DeploymentViewBuilder interface to rely on the inherited
signature; update the DeploymentViewBuilder interface (which extends
LikeC4ViewBuilder) by deleting that method declaration and run type-check/tests
to confirm the covariant this typing still resolves correctly for
DeploymentViewBuilder.

In `@packages/core/src/compute-view/deployment-view/__test__/fixture.ts`:
- Line 74: Replace the untyped parameter in the helper $showAncestors: change
the parameter type from any to the imported DeploymentRulesBuilderOp<Types> so
the function signature reads like the helper accepts and returns a
DeploymentRulesBuilderOp<Types> (i.e., update the parameter type on
$showAncestors to DeploymentRulesBuilderOp<Types> and ensure the return type
aligns with b.showAncestors(value)).

In `@packages/generators/src/likec4/operators/views.spec.ts`:
- Around line 307-341: The nested test suite describe('showAncestors') is
incorrectly scoped under describe('view') which mislabels tests in the reporter;
relocate this entire describe('showAncestors') block so it is nested under a
top-level describe for deploymentView (or an existing deployment-view describe
group) instead of under 'view', ensuring the tests that call deploymentView(...,
$rules($showAncestors(...))) remain unchanged other than their describe wrapper
so the reporter shows e.g. deploymentView > showAncestors > ... .
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 75ce4ad3-59c2-4f26-8b86-04eab727455d

📥 Commits

Reviewing files that changed from the base of the PR and between 177b98e and 35ba3f6.

📒 Files selected for processing (16)
  • .changeset/show-ancestors-deployment-view.md
  • packages/core/src/builder/Builder.ts
  • packages/core/src/builder/Builder.view-common.ts
  • packages/core/src/builder/Builder.view-deployment.ts
  • packages/core/src/builder/Builder.views.ts
  • packages/core/src/compute-view/deployment-view/__test__/fixture.ts
  • packages/core/src/compute-view/deployment-view/__test__/include.deployment.spec.ts
  • packages/core/src/compute-view/deployment-view/compute.spec.ts
  • packages/core/src/compute-view/deployment-view/compute.ts
  • packages/core/src/compute-view/deployment-view/stages/stage-final.ts
  • packages/core/src/types/view-parsed.deployment.ts
  • packages/generators/src/likec4/operators/views.spec.ts
  • packages/generators/src/likec4/operators/views.ts
  • packages/generators/src/likec4/schemas/views.ts
  • packages/language-server/src/like-c4.langium
  • packages/language-server/src/model/parser/DeploymentViewParser.ts

Comment thread packages/core/src/builder/Builder.views.ts Outdated
Comment on lines +176 to +193
public step4AddAncestor(memory: Memory): Memory {
// Collect all ancestors of elements in the final set
const ancestors = new Set<Elem>()
for (const el of memory.final) {
// Use el.ancestors() to get ancestor elements directly
for (const ancestor of el.ancestors()) {
ancestors.add(ancestor)
}
}

// If we found ancestors, add them to the final set
if (ancestors.size > 0) {
const updatedFinal = union(memory.final, ancestors)
return memory.update({ final: updatedFinal })
}

return memory
}

@coderabbitai coderabbitai Bot May 4, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | 🏗️ Heavy lift

Excluded ancestors get re-added here.

step4AddAncestor() unions every ancestor of memory.final back into the result after all filtering. If a user explicitly excludes prod.eu but includes prod.eu.zone1.ui with showAncestors(true), this code will resurrect prod.eu anyway. Ancestor injection needs to respect the exclude result, or pass back through the same exclusion pipeline before commit. Please add a regression for an excluded ancestor with the fix.

Also applies to: 260-265

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/core/src/compute-view/deployment-view/stages/stage-final.ts` around
lines 176 - 193, step4AddAncestor currently unions all ancestors of memory.final
back into final without respecting explicit exclusions; change it to filter out
any ancestor that is present in the exclusion set (e.g., memory.excluded or
whatever memory tracks exclusions) before unioning: compute ancestors as now,
then remove ancestors that are in memory.excluded (or that would be rejected by
the same exclusion predicate used earlier) and only union the remaining
ancestors into memory.final via union(...) and memory.update(...). Update
references in this function (step4AddAncestor, memory.final, memory.excluded,
union, memory.update, el.ancestors()) and add a regression test that includes an
excluded ancestor (e.g., exclude prod.eu, include prod.eu.zone1.ui with
showAncestors(true)) to assert prod.eu is not re-added.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

For me it is working as intented. The purpose of "showAncestors" is to make visible all ancestors without exception. It's not surprising if it takes precedence over exclusion.

If an element is excluded in the view it could be an easy way to exclude its relationships but if you want to exclude an ancestor explicitely it make no sense to me to use "showAncestors".

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Kiiv, that's a clear and reasonable design rationale — showAncestors(true) is a deliberate "show everything up the hierarchy" switch, and the expectation that exclude is used primarily to suppress relationships rather than to hide ancestor nodes is a coherent model. I'll drop this concern.


✏️ Learnings added
Learnt from: Kiiv
Repo: likec4/likec4 PR: 2935
File: packages/core/src/compute-view/deployment-view/stages/stage-final.ts:176-193
Timestamp: 2026-05-05T14:48:25.830Z
Learning: In `packages/core/src/compute-view/deployment-view/stages/stage-final.ts`, `step4AddAncestor` intentionally adds ALL ancestor nodes of elements in `memory.final` without respecting prior `exclude` rules. This is by design: `showAncestors(true)` takes precedence over exclusions. The author's intent is that `exclude` rules are used to suppress relationships/connections, not ancestor node visibility; combining `exclude` on an ancestor node with `showAncestors(true)` is considered a contradictory/unsupported use case.

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.

@davydkov davydkov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good one! Thanks for contribution!
We need (in follow-up PRs):

  • Update documentation
  • Add reserved keyword to textmate

I do not insist, but maybe includeAncestors fits better?

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (2)
packages/core/src/builder/Builder.views.ts (1)

13-21: 💤 Low value

Two consecutive imports from the same module can be merged.

Lines 20–21 both import from './Builder.view-deployment'; combining them reduces noise.

♻️ Proposed refactor
-import { $includeAncestors } from './Builder.view-deployment'
-import { type AddDeploymentViewHelper, type DeploymentViewBuilder, $deploymentExpr } from './Builder.view-deployment'
+import { $includeAncestors, type AddDeploymentViewHelper, type DeploymentViewBuilder, $deploymentExpr } from './Builder.view-deployment'
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/core/src/builder/Builder.views.ts` around lines 13 - 21, Merge the
two imports from './Builder.view-deployment' into a single import statement:
replace the separate imports of $includeAncestors and the trio
AddDeploymentViewHelper, DeploymentViewBuilder, $deploymentExpr with one
combined import that includes all symbols ($includeAncestors,
AddDeploymentViewHelper, DeploymentViewBuilder, $deploymentExpr) to reduce
redundancy and improve readability.
packages/core/src/types/view-parsed.deployment.ts (1)

35-41: 💤 Low value

Unused generic parameter A on ParsedViewRuleAncestors.

A extends AnyAux = Unknown is declared but never referenced inside the interface body — only includeAncestors: boolean is present. This mirrors ViewRuleAutoLayout (also non-generic) used in the same ExclusiveUnion, but attaching a phantom type parameter risks misleading future readers into thinking A shapes the type.

♻️ Proposed refactor
-export interface ParsedViewRuleAncestors<A extends AnyAux = Unknown> {
+export interface ParsedViewRuleAncestors {
   /**
    * When true, ancestor elements of included deployment nodes are also included in the view.
    * `@default` false (ancestors are not included)
    */
   includeAncestors: boolean
 }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/core/src/types/view-parsed.deployment.ts` around lines 35 - 41, The
generic parameter A on ParsedViewRuleAncestors (declared as A extends AnyAux =
Unknown) is unused and should be removed to avoid a phantom type; update the
interface declaration to be non-generic (remove the <A extends AnyAux = Unknown>
clause) and adjust any references or type usages expecting
ParsedViewRuleAncestors<A> to use the non-generic ParsedViewRuleAncestors
instead, ensuring imports of AnyAux/Unknown are left only where actually needed.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/docs/src/content/docs/dsl/Deployment/views.mdx`:
- Around line 129-195: Fix the three typos in the prose: change "Sometime" to
"Sometimes", "usefull" to "useful", and "deployement" to "deployment"; then fix
the indentation of the closing braces for the tomcat1 and tomcat2 blocks so they
align with their opening lines inside the VM/deploymentNode blocks (adjust the
two closing "}" for tomcat1 and tomcat2 to match the block-opener indentation),
and replace the tab character used to close the "deployment view ancestors_test"
block with spaces to match the file's indentation; reference symbols:
includeAncestors, deployment view ancestors_test, tomcat1, tomcat2.

In `@packages/core/src/compute-view/deployment-view/__test__/fixture.ts`:
- Line 74: The test redefines $includeAncestors locally with an any-typed lambda
which bypasses the properly typed helper exported in ViewsHelpers; update the
existing destructuring that already pulls in $include and $exclude from
Builder.forSpecification (the ViewsHelpers) to also import $includeAncestors,
then delete the local definition const $includeAncestors = (value: boolean) =>
(b: any) => b.includeAncestors(value) so the test uses the correctly typed
$includeAncestors helper from the builder.

---

Nitpick comments:
In `@packages/core/src/builder/Builder.views.ts`:
- Around line 13-21: Merge the two imports from './Builder.view-deployment' into
a single import statement: replace the separate imports of $includeAncestors and
the trio AddDeploymentViewHelper, DeploymentViewBuilder, $deploymentExpr with
one combined import that includes all symbols ($includeAncestors,
AddDeploymentViewHelper, DeploymentViewBuilder, $deploymentExpr) to reduce
redundancy and improve readability.

In `@packages/core/src/types/view-parsed.deployment.ts`:
- Around line 35-41: The generic parameter A on ParsedViewRuleAncestors
(declared as A extends AnyAux = Unknown) is unused and should be removed to
avoid a phantom type; update the interface declaration to be non-generic (remove
the <A extends AnyAux = Unknown> clause) and adjust any references or type
usages expecting ParsedViewRuleAncestors<A> to use the non-generic
ParsedViewRuleAncestors instead, ensuring imports of AnyAux/Unknown are left
only where actually needed.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ad1abf12-464c-4abd-950d-ecafa5f4ffdb

📥 Commits

Reviewing files that changed from the base of the PR and between 70f52d0 and 5618e7d.

📒 Files selected for processing (19)
  • .changeset/show-ancestors-deployment-view.md
  • apps/docs/likec4.tmLanguage.json
  • apps/docs/src/content/docs/dsl/Deployment/views.mdx
  • apps/playground/likec4.tmLanguage.json
  • packages/core/src/builder/Builder.ts
  • packages/core/src/builder/Builder.view-deployment.ts
  • packages/core/src/builder/Builder.views.ts
  • packages/core/src/compute-view/deployment-view/__test__/fixture.ts
  • packages/core/src/compute-view/deployment-view/__test__/include.deployment.spec.ts
  • packages/core/src/compute-view/deployment-view/compute.spec.ts
  • packages/core/src/compute-view/deployment-view/compute.ts
  • packages/core/src/compute-view/deployment-view/stages/stage-final.ts
  • packages/core/src/types/view-parsed.deployment.ts
  • packages/generators/src/likec4/operators/views.spec.ts
  • packages/generators/src/likec4/operators/views.ts
  • packages/generators/src/likec4/schemas/views.ts
  • packages/language-server/src/like-c4.langium
  • packages/language-server/src/model/parser/DeploymentViewParser.ts
  • packages/vscode/likec4.tmLanguage.json
✅ Files skipped from review due to trivial changes (2)
  • packages/vscode/likec4.tmLanguage.json
  • apps/docs/likec4.tmLanguage.json
🚧 Files skipped from review as they are similar to previous changes (11)
  • packages/language-server/src/model/parser/DeploymentViewParser.ts
  • .changeset/show-ancestors-deployment-view.md
  • packages/core/src/compute-view/deployment-view/compute.ts
  • packages/generators/src/likec4/schemas/views.ts
  • packages/core/src/builder/Builder.ts
  • packages/core/src/compute-view/deployment-view/compute.spec.ts
  • packages/generators/src/likec4/operators/views.ts
  • packages/core/src/compute-view/deployment-view/test/include.deployment.spec.ts
  • packages/language-server/src/like-c4.langium
  • packages/generators/src/likec4/operators/views.spec.ts
  • packages/core/src/builder/Builder.view-deployment.ts

Comment thread apps/docs/src/content/docs/dsl/Deployment/views.mdx
Comment thread packages/core/src/compute-view/deployment-view/__test__/fixture.ts Outdated
@Kiiv Kiiv merged commit d22498e into main May 7, 2026
18 checks passed
@Kiiv Kiiv deleted the feat/1483-deployment-view-ancestors branch May 7, 2026 21:59
@coderabbitai coderabbitai Bot mentioned this pull request May 8, 2026
7 tasks
@likec4-ci likec4-ci Bot mentioned this pull request May 8, 2026
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