Feature/320 321 322 323 security ci improvements - #371
Open
Barbieple-Devstem wants to merge 4 commits into
Open
Conversation
…uired review coverage - Create CODEOWNERS file mapping critical paths to maintainers - Protect wallet storage, API logic, swap hooks, solver registration - Enforce code review for CI/CD workflows and security docs - Document CODEOWNERS workflow in README Closes stellar-vortex-protocol#320
…step to CI - Install @next/bundle-analyzer package - Integrate bundle analyzer with ANALYZE environment flag - Create separate CI step to build with analysis enabled - Upload generated HTML report as CI artifact (30-day retention) - Document bundle analysis in README - Add .next-analyze/ to .gitignore Enables interactive treemap visualization of bundle contents to help reviewers identify size regressions in pull requests. Closes stellar-vortex-protocol#321
…and audit workflow permissions - Replace all mutable action version tags with immutable commit SHAs - actions/checkout@v4 → 11d5960a326750d5838078e36cf38b85af677262 - actions/setup-node@v4 → 49933ea5288caeca8642d1e84afbd3f7d6820020 - actions/upload-artifact@v4 → ea165f8d65b6e75b540449e92b4886f43607fa02 - Include version tag comments for readability - Add minimally-scoped permissions block (contents: read, checks: write) - Verify Dependabot configuration maintains SHA updates - Document security practices in README Prevents supply-chain attacks from malicious action publishers while maintaining automated security updates via Dependabot. Closes stellar-vortex-protocol#322
… to CI - Install @storybook/test-runner for visual regression testing - Add npm scripts: storybook, build:storybook, test:visual - Create playwright.config.storybook.ts for Storybook visual tests - Update CI workflow to build Storybook and run visual tests - Generate and upload visual regression reports as CI artifacts - Create baseline screenshot directory (.storybook/playwright) - Document visual regression testing and baseline management - Add blob-report/ to .gitignore Visual regression testing catches unintended CSS changes by comparing component screenshots against baseline images. Tests run on every build in CI with font rendering in the consistent Ubuntu environment. Closes stellar-vortex-protocol#323
|
@Barbieple-Devstem Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Security Enhancements & CI/CD Infrastructure Improvements
Closes #320
Closes #321
Closes #322
Closes #323
Overview
This PR implements four critical infrastructure and security improvements to strengthen the vortex-frontend codebase and CI/CD pipeline. These changes
enhance code ownership enforcement, supply-chain security, bundle analysis visibility, and visual regression testing capabilities.
Changes Implemented
1. Code Ownership & Review Enforcement (#320)
What Changed:
.github/CODEOWNERSfile mapping code paths to maintainerssrc/store/wallet.ts) - Session state managementsrc/lib/api.ts) - External communicationsrc/hooks/useSwap*,src/hooks/swap*)src/lib/solver*,src/hooks/useSolver*).github/workflows/)Why It Matters:
Files Changed:
.github/CODEOWNERS(new)README.md- Added documentation section2. Bundle Analysis Visualization (#321)
What Changed:
@next/bundle-analyzerpackage (v16.3.3+)ANALYZE=trueenvironment flag innext.config.mjs.next-analyze/to.gitignoreUsage: