diff --git a/.pipelines/prchecks/CveSpecFilePRCheck/CveSpecFilePRCheck.py b/.pipelines/prchecks/CveSpecFilePRCheck/CveSpecFilePRCheck.py index df8601fafba..629dcce3da3 100644 --- a/.pipelines/prchecks/CveSpecFilePRCheck/CveSpecFilePRCheck.py +++ b/.pipelines/prchecks/CveSpecFilePRCheck/CveSpecFilePRCheck.py @@ -767,7 +767,7 @@ def main(): if pr_number: # Format and post organized comment logger.info(f"Posting GitHub comment to PR #{pr_number}") - comment_text = github_client.format_multi_spec_comment(analysis_result) + comment_text = analyzer.generate_multi_spec_report(analysis_result) success = github_client.post_pr_comment(comment_text) if success: diff --git a/.pipelines/prchecks/CveSpecFilePRCheck/GitHubClient.py b/.pipelines/prchecks/CveSpecFilePRCheck/GitHubClient.py index dabf76d9366..8561f49ba9b 100644 --- a/.pipelines/prchecks/CveSpecFilePRCheck/GitHubClient.py +++ b/.pipelines/prchecks/CveSpecFilePRCheck/GitHubClient.py @@ -182,10 +182,11 @@ def post_pr_comment(self, body: str) -> Dict[str, Any]: Response from GitHub API """ if not self.token or not self.repo_name or not self.pr_number: - logger.warning("Required GitHub params not available, skipping comment posting") + logger.error(f"Missing required params - token: {'✓' if self.token else '✗'}, repo: {self.repo_name}, pr: {self.pr_number}") return {} url = f"{self.api_base_url}/repos/{self.repo_name}/issues/{self.pr_number}/comments" + logger.info(f"Posting comment to: {url}") payload = { "body": body @@ -193,10 +194,15 @@ def post_pr_comment(self, body: str) -> Dict[str, Any]: try: response = requests.post(url, headers=self.headers, json=payload) + logger.info(f"Response status: {response.status_code}") response.raise_for_status() + logger.info("✅ Successfully posted comment") return response.json() except requests.exceptions.RequestException as e: - logger.error(f"Failed to post PR comment: {str(e)}") + logger.error(f"❌ Failed to post PR comment: {str(e)}") + if hasattr(e, 'response') and e.response is not None: + logger.error(f"Response status: {e.response.status_code}") + logger.error(f"Response body: {e.response.text}") return {} def get_pr_comments(self) -> List[Dict[str, Any]]: diff --git a/SPECS/azcopy/azcopy.spec b/SPECS/azcopy/azcopy.spec index ba6a326c806..01e057dffb9 100644 --- a/SPECS/azcopy/azcopy.spec +++ b/SPECS/azcopy/azcopy.spec @@ -31,6 +31,7 @@ Patch0: CVE-2025-22868.patch Patch1: CVE-2025-30204.patch Patch2: CVE-2025-22870.patch Patch3: CVE-2024-51744.patch +Patch4: CVE-2025-1111.patch BuildRequires: golang >= 1.17.9 BuildRequires: git