Skip to content

Conversation

H00N24
Copy link
Collaborator

@H00N24 H00N24 commented Aug 28, 2025

🚀 Pull Request Overview

This PR unifies curl settings to avoid common network issues when using GH APIs.

📜 Tests Checklist

Before submitting this PR, ensure that all tests pass and meet the following conditions:

Category Status Compilation Comment Results Review
fail_to_start ❌ Failed with compilation error 🟢 Yes 🔴 No
violated_rules ✅ Passed, with violations found 🔴 No 🟢 Yes
verified_rules ✅ Passed without violations 🔴 No 🟢 Yes
solana_violated_rules ✅ Passed, with violations found 🔴 No 🟢 Yes

Please verify that your changes meet the above conditions for each category of tests.
If something doesn't match, investigate before submitting the PR.


@H00N24 H00N24 requested review from a team and Copilot August 28, 2025 06:59
Copy link
Contributor

@Copilot 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

This PR unifies curl command settings across GitHub API calls to improve reliability and avoid common network issues. The changes add consistent timeout, retry, and error handling flags to all curl commands that interact with GitHub APIs.

  • Adds --retry 3 and --max-time 30 flags to provide consistent retry behavior and timeout settings
  • Standardizes curl flags with -sSfL for silent operation, fail-fast behavior, and location following
  • Applies changes across shell scripts and GitHub Action configurations

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
scripts/solc-download.sh Updates curl commands for Solidity compiler downloads with standardized retry and timeout settings
scripts/gh-app-integration.sh Applies unified curl settings to GitHub OIDC token fetching and API verification calls
action.yml Updates curl command in GitHub Action workflow with consistent timeout and retry configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

Certora Run Started (Fail to Start)

  • Group ID: 136a2a02-d39b-4248-886d-ad3620766fdd
Config Status Link Log File
conf-start-error.conf Failed (1) - tests/evm/conf-start-error.conf-5966a4236473.log
conf-start-error.conf --method "counter()" Failed (1) - tests/evm/conf-start-error.conf-54c2c55d08a4.log
conf-verified.conf Compiled - tests/evm/conf-verified.conf-a299c93c196e.log
conf-verified.conf --rule monotone --method "counter()" Compiled - tests/evm/conf-verified.conf-fdfbee78767c.log
conf-violations.conf --method "counter()" Compiled - tests/evm/conf-violations.conf-09497e3892f3.log
conf-violations.conf --rule invertible Compiled - tests/evm/conf-violations.conf-35a0195d6021.log

Certora Run Summary

  • Started 0 jobs
  • 2 jobs failed

Download Logs

Copy link

Certora Run Started (Fail to Start)

  • Group ID: 9c0bc1ce-a700-4729-a43b-35858d39300a
Config Status Link Log File
conf-start-error.conf Failed (1) - tests/evm/conf-start-error.conf-6e4492ecad22.log
conf-start-error.conf --method "counter()" Failed (1) - tests/evm/conf-start-error.conf-c4940a88c91f.log
conf-verified.conf Compiled - tests/evm/conf-verified.conf-8d533f362eb4.log
conf-verified.conf --rule monotone --method "counter()" Compiled - tests/evm/conf-verified.conf-71a7f7809bf4.log
conf-violations.conf --method "counter()" Compiled - tests/evm/conf-violations.conf-2db670247769.log
conf-violations.conf --rule invertible Compiled - tests/evm/conf-violations.conf-8bca4d43d9ad.log

Certora Run Summary

  • Started 0 jobs
  • 2 jobs failed

Download Logs

Copy link

@certora-run certora-run bot left a comment

Choose a reason for hiding this comment

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

Verification Results

  • Group ID: bf8032bc-5cca-45fa-b7fa-debc67baa043
Job Result VERIFIED Link
conf-verified.conf --rule monotone --method "counter()" 2 Link
conf-verified.conf --rule invertible 2 Link
conf-verified.conf --method "counter()" 3 Link
conf-verified.conf 0 Link

Copy link

@certora-run certora-run bot left a comment

Choose a reason for hiding this comment

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

Verification Results

  • Group ID: 158e9ab7-bdb8-434b-99bc-82310d94e82e
Job Result VERIFIED VIOLATED Link
conf-violations.conf --rule invertible 2 0 Link
conf-violations.conf 2 1 Link
conf-verified.conf --method "counter()" 3 0 Link
conf-verified.conf 3 0 Link

Copy link

@certora-run certora-run bot left a comment

Choose a reason for hiding this comment

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

Verification Results

  • Group ID: 8c1b8c94-099a-4803-8d76-33df49e8e4c6
Job Result SANITY_FAILED VIOLATED Link
Default.conf 2 1 Link

@H00N24 H00N24 merged commit 7566e42 into main Aug 28, 2025
6 of 8 checks passed
@H00N24 H00N24 deleted the feat/curl-flags branch August 28, 2025 07:12
Copy link

Certora Run Started (Fail to Start)

  • Group ID: 2420f71e-a508-4bf3-afa3-a11c903f1497
Config Status Link Log File
conf-start-error.conf Failed (1) - tests/evm/conf-start-error.conf-a8020e5c06fb.log
conf-start-error.conf --method "counter()" Failed (1) - tests/evm/conf-start-error.conf-e6c1a46595fa.log
conf-verified.conf Compiled - tests/evm/conf-verified.conf-e401404242d4.log
conf-verified.conf --rule monotone --method "counter()" Compiled - tests/evm/conf-verified.conf-408628e981cf.log
conf-violations.conf --method "counter()" Compiled - tests/evm/conf-violations.conf-d21330693323.log
conf-violations.conf --rule invertible Compiled - tests/evm/conf-violations.conf-ebfc9c4e3aca.log

Certora Run Summary

  • Started 0 jobs
  • 2 jobs failed

Download Logs

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