Skip to content

Infrastructure/view transitions optimization - #466

Merged
webstackdev merged 341 commits into
mainfrom
infrastructure/view-transitions-optimization
Nov 30, 2025
Merged

Infrastructure/view transitions optimization#466
webstackdev merged 341 commits into
mainfrom
infrastructure/view-transitions-optimization

Conversation

@webstackdev

Copy link
Copy Markdown
Owner

Description

Grab bag of work

Type of Change

  • 🐛 Bug fix (bugfix/*)
  • 🔥 Hot fix (hotfix/*)
  • ✨ New feature (feature/*)
  • 🏗️ Infrastructure (infrastructure/*)
  • � Maintenance (maintenance/*)
  • �📝 Content update (content/*)
  • 📚 Documentation
  • 🎨 Style/UI change
  • ♻️ Code refactoring

Copilot AI review requested due to automatic review settings November 14, 2025 19:59
@vercel

vercel Bot commented Nov 14, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
astro-webstackbuilders-com Error Error Nov 14, 2025 7:59pm

@github-actions

github-actions Bot commented Nov 14, 2025

Copy link
Copy Markdown

Dependency Review

The following issues were found:

  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 11 package(s) with unknown licenses.
  • ⚠️ 15 packages with OpenSSF Scorecard issues.

View full job summary

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Comment on lines +127 to +137
name: Production Deployment Gate
runs-on: ubuntu-latest
needs: build-and-test
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' && github.event_name == 'push'

steps:
- name: All tests passed
run: echo "✅ All tests passed. Deployment can proceed."
deploy-to-vercel:
name: Deploy to Vercel
run: echo "✅ All tests passed. Production deployment can proceed."

# Deploy to production when PR is merged to main
deploy-production:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Comment on lines +138 to +161
name: Deploy to Production (Vercel)
runs-on: ubuntu-latest
needs: deployment-ready
if: github.ref == 'refs/heads/main' && success()
if: github.ref == 'refs/heads/main' && github.event_name == 'push' && success()

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Deploy to Vercel
- name: Deploy to Vercel (Production)
uses: amondnet/vercel-action@v25
id: vercel-production
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-args: '--prod'
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}

- name: Log production deployment
run: |
echo "🚀 Production deployment completed"
echo "Production URL: ${{ steps.vercel-production.outputs.preview-url }}"

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
…m Consent/Preferences component, update tests
Comment on lines +35 to +37
return html
.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, '')
.replace(/<iframe\b[^<]*(?:(?!<\/iframe>)<[^<]*)*<\/iframe>/gi, '')

Check failure

Code scanning / CodeQL

Incomplete multi-character sanitization High

This string may still contain
<iframe
, which may cause an HTML element injection vulnerability.
Comment on lines +35 to +36
return html
.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, '')

Check failure

Code scanning / CodeQL

Incomplete multi-character sanitization High

This string may still contain
<script
, which may cause an HTML element injection vulnerability.
// Basic sanitization - remove script tags
// For production, install and use sanitize-html or DOMPurify
return html
.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, '')

Check failure

Code scanning / CodeQL

Bad HTML filtering regexp High

This regular expression does not match script end tags like </script >.
…evelopment associated with e2e mock third-party service container work
…rty services, update package.json scripts and GitHub Actions CI workflows
@gitguardian

gitguardian Bot commented Nov 30, 2025

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
23006535 Triggered Generic CLI Secret 260e744 test/containers/upstash/local-proxy/main.go View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@webstackdev
webstackdev merged commit 43980f5 into main Nov 30, 2025
12 of 18 checks passed
@webstackdev
webstackdev deleted the infrastructure/view-transitions-optimization branch November 30, 2025 21:38
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