Skip to content

fix diff calculation for aware attributes on agnostic schema#9222

Merged
ajtmccarty merged 2 commits into
stablefrom
ajtm-05112026-diff-agnostic-attr
May 12, 2026
Merged

fix diff calculation for aware attributes on agnostic schema#9222
ajtmccarty merged 2 commits into
stablefrom
ajtm-05112026-diff-agnostic-attr

Conversation

@ajtmccarty

@ajtmccarty ajtmccarty commented May 11, 2026

Copy link
Copy Markdown
Contributor

Closes #9221

Diff calculation was improperly excluding updates on aware attributes of agnostic schemas.

Updates are a few small changes to the diff calculation queries to properly capture a property edge (HAS_VALUE, IS_PROTECTED, HAS_OWNER, HAS_SOURCE) on a user branch or the default branch when it is under an edge on the global branch.

Adds and updates tests to ensure these edges are captured correctly

@github-actions github-actions Bot added the group/backend Issue related to the backend (API Server, Git Agent) label May 11, 2026

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 7 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Shadow auto-approve: would auto-approve. This is a targeted bug fix for diff calculation on AGNOSTIC nodes with AWARE attributes, with comprehensive tests covering both diff and merge scenarios, and the logic changes are isolated to query and model path handling without affecting broader system or production critical paths.

@codspeed-hq

codspeed-hq Bot commented May 11, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 12 untouched benchmarks


Comparing ajtm-05112026-diff-agnostic-attr (0078cbb) with stable (2e4329e)

Open in CodSpeed

@ajtmccarty ajtmccarty changed the title Ajtm 05112026 diff agnostic attr fix diff calculation for aware attributes on agnostic schema May 12, 2026
@ajtmccarty ajtmccarty marked this pull request as ready for review May 12, 2026 02:28
@ajtmccarty ajtmccarty requested a review from a team as a code owner May 12, 2026 02:28
@ajtmccarty ajtmccarty merged commit 7cc8c5f into stable May 12, 2026
74 checks passed
@ajtmccarty ajtmccarty deleted the ajtm-05112026-diff-agnostic-attr branch May 12, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

group/backend Issue related to the backend (API Server, Git Agent)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: diff skips updates to aware attributes of agnostic schema

3 participants