Conversation
…ion overhaul BREAKING CHANGES: - Documentation structure reorganized: 8 separate docs merged into 2 comprehensive guides FEATURES: - Add /build-info page with terminal-style UI for build provenance transparency * Display build metadata (version, commit SHA, timestamp, GitHub run details) * Show security audit status (Trivy scan results) * Show SLSA attestation status with links to GitHub artifacts * Add direct links to source code, build logs, attestations, and security scorecard * Include educational "What is Build Provenance?" section * Handle dev/production modes with appropriate placeholders - Enhance /api/provenance endpoint with 7 new fields: * github_repo: Repository identifier from build context * github_run_id: GitHub Actions run ID for traceability * github_run_number: Human-readable run number * build_timestamp: ISO 8601 build timestamp * audit_status: Trivy scan result (PASSED/SKIPPED/UNKNOWN) * signature_status: Attestation status (SIGNED/UNSIGNED/SLSA_PROVENANCE_GENERATED) * image_digest: Docker image digest (fallback to commit SHA in dev) - Add dependency security overrides with full CVE documentation: * tar@^7.5.6: Fix path traversal vulnerabilities (5 CVEs from 2021) * fast-xml-parser@^5.3.4: Fix XXE and prototype pollution * js-yaml@^4.1.1: Fix code execution vulnerability (CVE-2021-23343) * glob@^13.0.4: Performance and security hardening * source-map@^0.7.6: Dependency resolution conflicts * Selective overrides for @Redocly packages: ajv@^8.18.0 (CVE-2025-69873 ReDoS) PERFORMANCE: - Enable gzip compression in Next.js config (70-90% size reduction) - Add Node.js memory limit: 2.5GB heap for 4GB server optimization - Configure rate limiting: 30 req/10s general, 5 req/60s auth endpoints - Existing protections: Circuit breaker, request deduplication, max 3 concurrent Ezygo calls DOCUMENTATION: - Create docs/DEVELOPER_GUIDE.md (701 lines): * Consolidates: VERSIONING.md, GPG_SETUP.md, GPG_QUICK_START.md, COSIGN_VERIFICATION.md, BOT_PAT_SETUP.md, BUILD_PERFORMANCE.md * Comprehensive development setup, versioning, release process, and verification guides * All version references use vX.Y.Z placeholders to prevent outdated examples - Create docs/EZYGO_INTEGRATION.md (363 lines): * Consolidates: EZYGO_RATE_LIMITING.md, EZYGO_VERIFICATION.md * Documents three-layer protection system for Ezygo API * Performance characteristics and verification procedures - Enhance SECURITY.md (+235 lines): * Add "Dependency Security Overrides" section documenting all 6 overrides * Add "Known Issues" section with CVE-2025-69873 mitigation details for ESLint * Document accepted dev-only trade-off: ESLint dependencies retain older ajv * Document 7-day security patch SLA and maintenance policy * Update verification examples to use :latest tag instead of :main * Replace hardcoded versions with vX.Y.Z placeholders - Update README.md: * Add build-info/ route to project structure * Add "Build Transparency 🔍" to key features * Update feature descriptions - Consolidate CONTRIBUTING.md: * Remove redundant sections covered by DEVELOPER_GUIDE.md * Streamline contribution workflow * Update version reference examples FIXES: - Update footer link from /api/provenance to /build-info with "verified" label - Fix sitemap tests after adding /build-info route (5 URLs total, different priorities) - Remove unused asset: src/assets/bunkr.svg (0 references found) - Update Docker image tag references from :main to :latest (aligns with release.yml) - Add tracking-wide class to build-info heading for better letter spacing - Fix pre-commit ESLint failure by removing global ajv override (selective overrides only) BUILD: - Update Dockerfile with 6 new build args (removed IMAGE_DIGEST as post-build only): * GITHUB_REPOSITORY, GITHUB_RUN_ID, GITHUB_RUN_NUMBER * BUILD_TIMESTAMP, AUDIT_STATUS, SIGNATURE_STATUS - Update .github/workflows/release.yml: * Add 6 new build args to Docker build step * Fix IMAGE_NAME secret masking by using environment variable pattern - Add NODE_OPTIONS="--max-old-space-size=2560" in Dockerfile (lines 207-209) - Update .env and .example.env with rate limiting configuration DEPENDENCIES: - npm audit: 10 moderate vulnerabilities (all in dev-only ESLint dependencies) - ajv <8.18.0 in ESLint: Accepted trade-off (global override breaks ESLint) - Production dependencies: 0 vulnerabilities DATABASE: - Update Supabase migration: 20260212090500 → 20260217174834 - Add check_225_attendance_limit trigger function - Update RLS policies and table structures REFACTOR: - Update all components to use Link from 'next/link' instead of deprecated imports - Improve type definitions in assets.d.ts - Standardize error handling across dashboard, notifications, and tracking clients - Update UI component prop types for better type safety TESTS: - Update sitemap tests to reflect new /build-info route - Fix test expectations for different page priority levels
|
✅ Version already bumped to No automatic version bump needed - the PR already includes a version update. This PR is ready for review! 🚀 |
There was a problem hiding this comment.
Pull request overview
This PR introduces v1.8.0 with build transparency features, documentation consolidation, and extensive Tailwind CSS refactoring. However, it contains critical syntax errors that will break visual styling across the entire application.
Changes:
- Added
/build-infopage and enhanced/api/provenanceendpoint with 7 new fields for build transparency - Consolidated 8 documentation files into 2 comprehensive guides (DEVELOPER_GUIDE.md and EZYGO_INTEGRATION.md)
- Attempted Tailwind CSS v4 syntax migration but introduced systematic errors across 15+ component files
Reviewed changes
Copilot reviewed 51 out of 54 changed files in this pull request and generated 28 comments.
Show a summary per file
| File | Description |
|---|---|
| src/app/(public)/build-info/page.tsx | New build transparency page with terminal UI (391 lines) |
| src/app/api/provenance/route.ts | Enhanced with 7 new build metadata fields |
| docs/DEVELOPER_GUIDE.md | New consolidated development guide (701 lines) |
| docs/EZYGO_INTEGRATION.md | New EzyGo API integration guide (402 lines) |
| docs/*.md (deleted) | 8 documentation files consolidated |
| src/components/**/*.tsx | Tailwind CSS refactoring with critical syntax errors |
| src/components/ui/*.tsx | UI component updates with invalid Tailwind classes |
| Dockerfile | Added 6 build args and Node.js memory limit configuration |
| .github/workflows/release.yml | Added build metadata args and secret masking fix |
| package.json | Version bump to 1.8.0 and dependency updates |
| .example.env | Updated rate limiting and added new configuration options |
| supabase/migrations/*.sql | Database schema updates for triggers |
| SECURITY.md | Enhanced with dependency overrides documentation (+235 lines) |
| README.md | Updated with build-info route and improved structure |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot open a new pull request to apply changes based on the unresolved comments in this thread. The Tailwind syntaxes are valid and do no require any changes. |
* Initial plan * fix: address unresolved review comments - Replace Link with anchor tags for external URLs in build-info page - Add NODE_OPTIONS to builder stage for memory optimization - Improve sitemap test description for clarity - Document commit field as legacy for backward compatibility - Add comment clarifying IMAGE_DIGEST fallback behavior - Update npm integrity check from SHA-1 to SHA-256 Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 51 out of 54 changed files in this pull request and generated 57 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot open a new pull request to apply changes based on the unresolved comments in this thread The Tailwind syntaxes are valid and do no require any changes. |
…curity, and accessibility) Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
…active elements (#400) * Initial plan * fix: address unresolved PR #398 review comments (signature status, security, and accessibility) Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 51 out of 54 changed files in this pull request and generated 8 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot open a new pull request to apply changes based on the comments in this thread The Tailwind syntaxes are valid and do no require any changes. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Devanarayanan <fusion@devakesu.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Devanarayanan <fusion@devakesu.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 51 out of 54 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 60 out of 63 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 60 out of 63 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot open a new pull request to apply changes based on the comments in this thread |
…dening (#414) * Initial plan * fix: address PR review comments - convert tests to todo, fix security issues Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 60 out of 63 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot Fix failing unit-tests |
…orm (#415) * Initial plan * fix: prevent checkbox toggle when clicking terms link with secure window.open Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com> * refactor: improve link handling by preventing label toggle instead of using window.open Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com> * fix: use programmatic anchor click instead of window.open for better security and accessibility Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 60 out of 63 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
* Initial plan * refactor: use fake timers for deterministic delay test Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com> * docs: improve comment explaining fireEvent vs userEvent with fake timers Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 60 out of 63 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
feat: v1.8.0 - build transparency, security hardening, and documentation overhaul
BREAKING CHANGES:
FEATURES:
Add /build-info page with terminal-style UI for build provenance transparency
Enhance /api/provenance endpoint with 7 new fields:
Add dependency security overrides with full CVE documentation:
PERFORMANCE:
DOCUMENTATION:
Create docs/DEVELOPER_GUIDE.md (701 lines):
Create docs/EZYGO_INTEGRATION.md (363 lines):
Enhance SECURITY.md (+235 lines):
Update README.md:
Consolidate CONTRIBUTING.md:
FIXES:
BUILD:
DEPENDENCIES:
DATABASE:
REFACTOR:
TESTS:
Type of Change
Version Bump
node scripts/bump-version.js(fork PRs)