Skip to content

add socket tier 1 reachability analysis#1697

Open
kanwalpreetd wants to merge 1 commit into
stellar:mainfrom
kanwalpreetd:main
Open

add socket tier 1 reachability analysis#1697
kanwalpreetd wants to merge 1 commit into
stellar:mainfrom
kanwalpreetd:main

Conversation

@kanwalpreetd

Copy link
Copy Markdown

Copilot AI review requested due to automatic review settings June 29, 2026 11:50

Copilot AI 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.

Pull request overview

Adds a dedicated GitHub Actions workflow to run Socket’s full-application reachability scan for rs-soroban-env, with scheduled weekly execution and manual workflow_dispatch support, and with job-level signaling for Tier 2 fallback conditions.

Changes:

  • Introduces a new socket-scan.yml workflow that installs Rust + Node and runs socket scan create --reach.
  • Captures scan output to detect Tier 2 reachability fallbacks and emits a GitHub Actions ::warning:: without failing the job.
  • Documents expected “green/yellow/red” semantics and known upstream analyzer limitations directly in the workflow file.

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

run: corepack enable

- name: Install Socket CLI
run: npm install -g socket

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.

Pinning seems like a good idea.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0b147af316

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +83 to +84
socket scan create --reach \
--org=stellar \

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Pass repo and branch metadata to Socket

On scheduled/manual runs this invocation does not pass --repo/--branch, and there is no repo-local Socket config to supply them. Socket's scan create help defaults those fields to socket-default-repository/socket-default-branch, so the weekly reachability results will be filed under the generic defaults instead of rs-soroban-env and will not update the intended repository history/alerts page; add explicit repo/branch metadata (and mark the default branch as needed).

Useful? React with 👍 / 👎.

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.

3 participants