From cb5f5bab942160d63fd9fa9820858c66df590fc6 Mon Sep 17 00:00:00 2001 From: Anto Christopher Date: Mon, 23 Feb 2026 18:25:46 +0530 Subject: [PATCH 1/2] refactor: rename ExistingAIIssuesURL to AnalysisContextURL The analysis context file is expanding beyond just issues to include PR metadata. Rename the field and JSON tag to reflect this broader scope. Co-Authored-By: Claude Opus 4.6 --- types/atlas_reception.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/atlas_reception.go b/types/atlas_reception.go index 54ec691..affd7c7 100644 --- a/types/atlas_reception.go +++ b/types/atlas_reception.go @@ -84,7 +84,7 @@ type Check struct { AnalyzerMeta AnalyzerMeta `json:"analyzer_meta"` Processors []string `json:"processors"` DiffMetaCommits []DiffMetaCommit `json:"diff_meta_commits"` - ExistingAIIssuesURL string `json:"existing_ai_issues_url"` // Previous AI issues for deduplication. + AnalysisContextURL string `json:"analysis_context_url"` // Previous analysis context (PR metadata + issues) for deduplication. } type DiffMetaCommit struct { From 7377446dd42283e560ac3fc4732bbd409f58a690 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 13:01:10 +0000 Subject: [PATCH 2/2] style: format code with Gofumpt This commit fixes the style issues introduced in cb5f5ba according to the output from Gofumpt. Details: https://github.com/DeepSourceCorp/artifacts/pull/240 --- types/atlas_reception.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/types/atlas_reception.go b/types/atlas_reception.go index affd7c7..92589a6 100644 --- a/types/atlas_reception.go +++ b/types/atlas_reception.go @@ -79,11 +79,11 @@ type AnalyzerMeta struct { //proteus:generate type Check struct { - CheckSeq string `json:"check_seq"` - Artifacts []Artifact `json:"artifacts"` - AnalyzerMeta AnalyzerMeta `json:"analyzer_meta"` - Processors []string `json:"processors"` - DiffMetaCommits []DiffMetaCommit `json:"diff_meta_commits"` + CheckSeq string `json:"check_seq"` + Artifacts []Artifact `json:"artifacts"` + AnalyzerMeta AnalyzerMeta `json:"analyzer_meta"` + Processors []string `json:"processors"` + DiffMetaCommits []DiffMetaCommit `json:"diff_meta_commits"` AnalysisContextURL string `json:"analysis_context_url"` // Previous analysis context (PR metadata + issues) for deduplication. }