Skip to content

add socket tier 1 reachability analysis - #14

Merged
anupsdf merged 5 commits into
stellar:mainfrom
kanwalpreetd:main
Aug 28, 2026
Merged

anupsdf merged 5 commits into
stellar:mainfrom
kanwalpreetd:main

Conversation

@kanwalpreetd

Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings June 12, 2026 14:24

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

Pull request overview

This PR adds a scheduled GitHub Actions workflow to run Socket’s reachability analysis for this Go repository, aiming to surface Tier 1 (precise) reachability results and annotate the run when the scan falls back to Tier 2.

Changes:

  • Introduces a new socket-scan.yml workflow that runs weekly (and on manual dispatch).
  • Installs the Socket CLI and runs socket scan create --reach, capturing logs and emitting a GitHub Actions warning when Tier 2 fallback markers are detected.
  • Adds an environment opt-in to run JavaScript-based GitHub Actions on Node 24 ahead of the platform default.

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

Comment thread .github/workflows/socket-scan.yml Resolved
Comment thread .github/workflows/socket-scan.yml Resolved
Comment thread .github/workflows/socket-scan.yml Resolved
kanwalpreetd and others added 4 commits June 29, 2026 02:45
- Make the Node 24 env-var comment date-agnostic (2026-06-16 has passed)
- Remove the unused Corepack step; this repo has no package.json, so it
  only ever shimmed yarn/pnpm that are never invoked
- Use `go-version: 1` instead of a hardcoded 1.26.4, matching go.yml
- Install the Socket CLI unpinned

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
It is now dead config, for two independent reasons:

- Every action pinned in this workflow already declares `using: node24`
  in its action.yml, and the var only upgrades actions that declare
  node20 — so it had no effect here even before the cutover.
- GitHub runners have defaulted to Node 24 since 2026-06-16, and Node 20
  is fully removed on 2026-09-16.

Note the var never silenced the node20 deprecation warnings either: the
runner classifies an action from its declared version before consulting
this var (actions/runner#4295).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@anupsdf
anupsdf merged commit 3e58b4e into stellar:main Aug 28, 2026
3 checks passed
Comment thread .github/workflows/socket-scan.yml Resolved
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