Skip to content

Stops requiring for git integration to show Linear and Jira issues on graph#5008

Merged
sergeibbb merged 1 commit intomainfrom
4640-jira-linear-in-graph
Feb 27, 2026
Merged

Stops requiring for git integration to show Linear and Jira issues on graph#5008
sergeibbb merged 1 commit intomainfrom
4640-jira-linear-in-graph

Conversation

@sergeibbb
Copy link
Member

Solves: #4640

Previously, graph reference metadata fetching was tied solely to hosting integrations. This change extends that capability to include dedicated issue tracking integrations.

The graph now tracks the connection state of issue integrations. If a repository has an issue integration connected, it will attempt to fetch relevant metadata, enriching the graph with issue-related context even when a full hosting integration might not be present or connected.

Metadata is reset and updated when issue integration connection states change, ensuring the graph accurately reflects available data.

Checklist

  • I have followed the guidelines in the Contributing document
  • My changes follow the coding style of this project
  • My changes build without any errors or warnings
  • My changes have been formatted and linted
  • My changes include any required corresponding changes to the documentation (including CHANGELOG.md and README.md)
  • My changes have been rebased and squashed to the minimal number (typically 1) of relevant commits
  • My changes have a descriptive commit message with a short title, including a Fixes $XXX - or Closes #XXX - prefix to auto-close the issue that your PR addresses

sergeibbb added a commit that referenced this pull request Feb 26, 2026
Previously, graph reference metadata fetching was tied solely to hosting
integrations. This change extends that capability to include dedicated
issue tracking integrations.

The graph now tracks the connection state of issue integrations. If a
repository has an issue integration connected, it will attempt to fetch
relevant metadata, enriching the graph with issue-related context even
when a full hosting integration might not be present or connected.

Metadata is reset and updated when issue integration connection states
change, ensuring the graph accurately reflects available data.

(#4640, #5008)
@sergeibbb sergeibbb force-pushed the 4640-jira-linear-in-graph branch from f791e8c to 829c907 Compare February 26, 2026 19:05
@sergeibbb sergeibbb requested a review from Copilot February 26, 2026 19:06
@sergeibbb sergeibbb marked this pull request as ready for review February 26, 2026 19:10
Copy link

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

Extends the Commit Graph’s ref-metadata enrichment so it can be fetched when an issue-tracker integration (e.g., Jira/Linear) is connected, even if no Git hosting integration is connected—addressing #4640.

Changes:

  • Allows missing refs metadata requests when either a hosting integration is connected for the repo or an issue integration is connected.
  • Tracks issue integration connection state and resets/updates graph refs metadata when that state changes.
  • Adds a changelog entry documenting the fix for Jira/Linear graph enrichment behavior.

Reviewed changes

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

File Description
src/webviews/plus/graph/graphWebview.ts Adds issue-integration connection tracking and relaxes metadata-fetch gating to include issue integrations.
CHANGELOG.md Documents the fix for issue enrichment visibility on the Commit Graph without hosting integration connection.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@augmentcode
Copy link

augmentcode bot commented Feb 26, 2026

🤖 Augment PR Summary

Summary: Extends Commit Graph ref metadata enrichment to work with dedicated issue integrations (e.g., Jira/Linear), not just Git hosting integrations.

Changes:

  • Adds tracking of issue integration connection state inside GraphWebviewProvider
  • Allows GetMissingRefsMetadata to proceed when an issue integration is connected even if no hosting integration is connected for the repo
  • Listens for integration connection changes to reset and refresh refs metadata when issue integration connectivity changes
  • Updates changelog entry to reflect the Jira/Linear Commit Graph issue metadata fix (Do not require Git provider to be connected to show Jira or Linear issues on Graph #4640)

Technical Notes: Uses the integrations service connection events plus a cached connection-state check to decide whether ref metadata fetching should run.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

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

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

sergeibbb added a commit that referenced this pull request Feb 26, 2026
Previously, graph reference metadata fetching was tied solely to hosting
integrations. This change extends that capability to include dedicated
issue tracking integrations.

The graph now tracks the connection state of issue integrations. If a
repository has an issue integration connected, it will attempt to fetch
relevant metadata, enriching the graph with issue-related context even
when a full hosting integration might not be present or connected.

Metadata is reset and updated when issue integration connection states
change, ensuring the graph accurately reflects available data.

(#4640, #5008)
@sergeibbb sergeibbb force-pushed the 4640-jira-linear-in-graph branch from 829c907 to cf61850 Compare February 26, 2026 19:36
sergeibbb added a commit that referenced this pull request Feb 26, 2026
Previously, graph reference metadata fetching was tied solely to hosting
integrations. This change extends that capability to include dedicated
issue tracking integrations.

The graph now tracks the connection state of issue integrations. If a
repository has an issue integration connected, it will attempt to fetch
relevant metadata, enriching the graph with issue-related context even
when a full hosting integration might not be present or connected.

Metadata is reset and updated when issue integration connection states
change, ensuring the graph accurately reflects available data.

(#4640, #5008)
@sergeibbb sergeibbb force-pushed the 4640-jira-linear-in-graph branch from cf61850 to 272551b Compare February 26, 2026 19:48
sergeibbb added a commit that referenced this pull request Feb 26, 2026
Previously, graph reference metadata fetching was tied solely to hosting
integrations. This change extends that capability to include dedicated
issue tracking integrations.

The graph now tracks the connection state of issue integrations. If a
repository has an issue integration connected, it will attempt to fetch
relevant metadata, enriching the graph with issue-related context even
when a full hosting integration might not be present or connected.

Metadata is reset and updated when issue integration connection states
change, ensuring the graph accurately reflects available data.

(#4640, #5008)
@sergeibbb sergeibbb force-pushed the 4640-jira-linear-in-graph branch from 272551b to 5d7fe47 Compare February 26, 2026 19:50
@sergeibbb sergeibbb changed the title Adds issue integration support for graph metadata Stops requiring for git integration to show Linear and Jira issues on graph Feb 27, 2026
… graph

Previously, graph reference metadata fetching was tied solely to hosting
integrations. This change extends that capability to include dedicated
issue tracking integrations.

The graph now tracks the connection state of issue integrations. If a
repository has an issue integration connected, it will attempt to fetch
relevant metadata, enriching the graph with issue-related context even
when a full hosting integration might not be present or connected.

Metadata is reset and updated when issue integration connection states
change, ensuring the graph accurately reflects available data.

(#4640, #5008)
@sergeibbb sergeibbb force-pushed the 4640-jira-linear-in-graph branch from 5d7fe47 to 30dd895 Compare February 27, 2026 14:44
@sergeibbb sergeibbb merged commit 1b67e1d into main Feb 27, 2026
6 checks passed
@sergeibbb sergeibbb deleted the 4640-jira-linear-in-graph branch February 27, 2026 18:11
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.

Do not require Git provider to be connected to show Jira or Linear issues on Graph

3 participants