Skip to content

Smart Healing: Stabilize CI & Automation#169

Merged
SMSDAO merged 1 commit intomainfrom
repair/smart-heal
Feb 18, 2026
Merged

Smart Healing: Stabilize CI & Automation#169
SMSDAO merged 1 commit intomainfrom
repair/smart-heal

Conversation

@SMSDAO
Copy link
Owner

@SMSDAO SMSDAO commented Feb 18, 2026

Removes unsafe automation. Adds deterministic CI. Ensures env placeholder. Non-destructive.

Copilot AI review requested due to automatic review settings February 18, 2026 16:26
@SMSDAO SMSDAO merged commit 7007ef9 into main Feb 18, 2026
2 of 7 checks passed
@railway-app railway-app bot temporarily deployed to gxq / TradeOS-pr-169 February 18, 2026 16:26 Destroyed
@github-actions github-actions bot added auto-merge Enable auto-merge when checks pass skip-deployment Skip deployment checks labels Feb 18, 2026
Copy link
Contributor

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

Removes automated “self-healing/apply” workflows and replaces the existing multi-job pipeline with a minimal, deterministic CI workflow.

Changes:

  • Deleted the Copilot-driven automation workflow that could mutate branches/branch protections and deploy from comments.
  • Replaced the “Comprehensive Pipeline” CI with a single validate job that runs npm ci, lint, typecheck, tests, and build on Node 20 for main.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/copilot-universal-auto.yml Removes comment-triggered automation that could apply changes, push fixes, deploy, or alter branch protection.
.github/workflows/ci.yml Simplifies CI to a single deterministic validation job on Node 20.

@@ -1,557 +1,29 @@
name: CI - Comprehensive Pipeline
name: CI
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

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

The workflow file appears to start with a UTF-8 BOM (invisible character before name). This can cause subtle parsing/tooling issues. Please remove the BOM so the first line begins with plain name: CI.

Suggested change
name: CI
name: CI

Copilot uses AI. Check for mistakes.
Comment on lines +24 to 25
if: hashFiles('package.json') != ''

Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

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

npm ci requires a lockfile (e.g., package-lock.json/npm-shrinkwrap.json) and will fail if only package.json exists. Consider gating this step on the presence of a lockfile (or falling back to npm install) to keep CI deterministic but not brittle.

Suggested change
if: hashFiles('package.json') != ''
if: hashFiles('package-lock.json') != '' || hashFiles('npm-shrinkwrap.json') != ''
- run: npm install
if: hashFiles('package.json') != '' && hashFiles('package-lock.json') == '' && hashFiles('npm-shrinkwrap.json') == ''

Copilot uses AI. Check for mistakes.
issue_number: context.issue.number,
body: summary
});
- run: npm run lint --if-present
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

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

The previous CI invoked npm run type-check, but this workflow runs npm run typecheck. With --if-present, this can silently skip type checking if the repository script is still named type-check, reducing CI coverage. Align the script name with what the repo defines (e.g., run type-check) or run both explicitly.

Suggested change
- run: npm run lint --if-present
- run: npm run lint --if-present
- run: npm run type-check --if-present

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

⚠️ Railway Preview Deployment Skipped

Preview deployment was skipped because required secrets are not configured.

Required Secrets

Repository maintainers need to configure these secrets in repository settings:

  • RAILWAY_TOKEN - Railway API authentication token
  • RAILWAY_PROJECT_ID - Railway project ID (should be 2077acd9-f81f-47ba-b8c7-8bf6905f45fc)
  • SOLANA_RPC_URL - Solana RPC endpoint URL
  • WALLET_PRIVATE_KEY - Wallet private key (base58 format)
  • ADMIN_USERNAME - Admin panel username
  • ADMIN_PASSWORD - Admin panel password
  • JWT_SECRET - JWT secret for authentication

How to Configure

  1. Go to repository SettingsSecrets and variablesActions
  2. Add the required secrets
  3. Re-run this workflow or push a new commit

For more information, see the Railway deployment documentation.

SMSDAO added a commit that referenced this pull request Feb 20, 2026
@SMSDAO SMSDAO deleted the repair/smart-heal branch February 21, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Enable auto-merge when checks pass skip-deployment Skip deployment checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants