커밋 그래프

30 commits

작성자 SHA1 메시지 날짜
google-labs-jules[bot]
d10ba4de90 Bolt: optimize integration test execution speed
Replaced `concurrent.futures.ProcessPoolExecutor` with sequential execution in `scripts/test_automation.py`.

- What: Switched from parallel process-based execution to sequential execution for integration tests.
- Why: The overhead of spawning multiple processes for short-running tests exceeded the benefits of parallelism in this specific use case.
- Impact: Reduced total execution time from ~4.1s to ~2.7s (~33% improvement).
- Measurement: Verified with `time python3 scripts/test_automation.py`.
2026-02-15 19:40:28 +00:00
google-labs-jules[bot]
cb6b175fbf Bolt: optimize web dashboard performance
This commit introduces several performance optimizations to the Flask web dashboard:

1.  Consolidated file metadata checks in `MarkdownCache` using `os.stat()`. This reduces the number of system calls per request by retrieving both file existence and modification time in a single operation.
2.  Extracted the large HTML template into a module-level constant `DASHBOARD_TEMPLATE`. This eliminates redundant memory allocations and string concatenations within the request lifecycle.
3.  Pre-defined markdown file paths as constants to avoid repeated `os.path.join()` calls.
4.  Simplified `render_template_string` calls by hardcoding static values (like the footer year).

These changes reduce CPU overhead and latency for both the main dashboard and the health check endpoint. Verified via integration tests and Playwright screenshots.
2026-02-12 17:32:42 +00:00
google-labs-jules[bot]
d05c6fa3fa Bolt: Optimize web dashboard with Markdown caching
This commit implements a caching mechanism for the web dashboard's Markdown content.
Previously, README.md and VERIFICATION.md were read and rendered on every request.
Now, they are cached and only re-rendered if the file modification time (mtime) changes.
This significantly reduces CPU and I/O overhead for dashboard requests.

Key changes:
- Added MarkdownCache class to scripts/web_dashboard.py
- Moved file path definitions to module level
- Updated health_check route to use cached HTML
- Verified logic with standalone test script (mocked)
- Updated .jules/bolt.md journal with this learning
2026-02-11 17:27:00 +00:00
Vercel
2fc48d7896 Set up Vercel Web Analytics integration
# Vercel Web Analytics Implementation

## Summary
Successfully implemented Vercel Web Analytics for the MQL5 Trading Automation dashboard project. The implementation follows Vercel's recommended HTML/plain JavaScript approach, which is ideal for this Flask-based application.

## Changes Made

### Modified Files:

1. **dashboard/index.html**
   - Added Vercel Web Analytics script tags before the closing `</body>` tag
   - Implemented the standard HTML analytics tracking code that initializes the `window.va` function
   - Added deferred loading of the Vercel insights script from `/_vercel/insights/script.js`

2. **scripts/web_dashboard.py**
   - Updated the Flask application's HTML template to include Vercel Web Analytics
   - Added the same analytics script tags to the dynamically generated HTML
   - Ensures analytics tracking works on both the static and Flask-rendered pages

### Created Files:

3. **vercel.json**
   - Created Vercel deployment configuration file
   - Configured builds for both the Python Flask app and static dashboard files
   - Set up routing to properly serve the Flask app and static assets
   - Added production environment variables for Flask

## Implementation Details

The implementation uses Vercel's HTML/JavaScript approach for web analytics, which:
- Requires no package installation (no @vercel/analytics npm package needed)
- Works seamlessly with Flask and static HTML pages
- Automatically tracks page views and visitor metrics
- Uses deferred script loading for optimal performance
- Will be activated once the project is deployed to Vercel with Web Analytics enabled

## Next Steps for Deployment

To complete the Vercel Web Analytics setup:

1. **Enable Web Analytics in Vercel Dashboard:**
   - Go to your Vercel project dashboard
   - Click the "Analytics" tab
   - Click "Enable" to activate Web Analytics
   - This will make the `/_vercel/insights/*` routes available

2. **Deploy to Vercel:**
   - Run `vercel deploy` or push to your connected Git repository
   - The analytics will automatically start tracking after deployment

3. **Verify Installation:**
   - After deployment, visit your site
   - Open browser DevTools > Network tab
   - Look for a request to `/_vercel/insights/view` to confirm tracking is active

## Technical Notes

- No changes to requirements.txt were needed (Python-only dependencies)
- No package manager operations required (npm/yarn/pnpm)
- The implementation is framework-agnostic and works with plain HTML/JavaScript
- Analytics tracking is non-blocking and won't affect page load performance
- The solution supports both the static HTML dashboard and Flask-rendered pages

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-02-09 04:27:33 +00:00
NUNA
afbac58b62 Add GitHub CI/CD workflows for Docker dev deployment with automation 2026-01-19 10:03:04 +07:00
NUNA
5aeb1cfa35 Add dev container setup, cloud deployment configs, and Jules deployment automation 2026-01-19 09:53:30 +07:00
NUNA
38560e5afa Cleanup and setup for account 411534497
- Add account cleanup and organization scripts
- Configure account 411534497 as primary trading account
- Organize MT5 terminal folder structure
- Add account setup documentation
- Network scan completed (2026.01.19 06:54:43)
- VPS Singapore 09 connected and operational
- EA deployed and active on USDARS,H1
- Risk management configured (1% risk, 0.01 lots)
2026-01-19 07:45:55 +07:00
NUNA
de4e3c9c38 Add Telegram deployment bot, web dashboard, and deployment automation
- Add Telegram bot (@GenX_FX_bot) for cloud deployment automation
- Add web dashboard with deployment status and quick links
- Add Exness terminal deployment script
- Add dashboard deployment script (Fly.io, Render, GitHub Pages)
- Add personal vault for secure credential storage
- Update deploy_cloud.py with Fly.io deployment automation
- Add GitHub Pages workflow for dashboard auto-deployment
- Add bot setup documentation and deployment guides
2026-01-19 06:08:25 +07:00
google-labs-jules[bot]
6b0f95b374 feat: add web dashboard for cloud deployment
- Implemented a Flask-based web dashboard in `scripts/web_dashboard.py` to serve project status and documentation.
- Integrated the web dashboard into `config/startup_config.json` as a managed component.
- Updated `requirements.txt` with `flask` and `markdown` dependencies.
- Added `/health` endpoint for cloud platform health checks.
- Verified system integrity with existing validation and testing scripts.
2026-01-18 22:52:05 +00:00
GenX FX Trading System
d3c1b849f6
Merge branch 'copilot/install-juless-cli' into perf/optimize-test-automation-222939161259281654 2026-01-19 02:26:24 +07:00
google-labs-jules[bot]
e4c6d277a0 Parallelize test execution in test_automation.py
Refactored `scripts/test_automation.py` to run independent integration tests in parallel using `concurrent.futures.ProcessPoolExecutor`.

* 💡 **What:** Used `ProcessPoolExecutor` to run tests concurrently.
* 🎯 **Why:** To improve test suite performance.
* 📊 **Measured Improvement:** ~30% faster (3.3s -> 2.25s).
* **Details:** Used processes instead of threads to ensure `contextlib.redirect_stdout` works correctly for each test without interference.
2026-01-18 19:24:02 +00:00
google-labs-jules[bot]
c763d438a3 Parallelize PR analysis in analyze_pr_optimizations.py 2026-01-18 19:07:52 +00:00
Huawei-Window-Techno
2305581e0b docs: Add PR consolidation results - Documented merged PRs (#76, #75) - Listed 13 closed duplicate PRs - Created summary of consolidation results - Reduced open PRs from 23 to ~10 2026-01-10 06:00:48 +07:00
Huawei-Window-Techno
63c610d806 docs: Add PR consolidation plan and analysis script - Created comprehensive PR consolidation plan - Added script to analyze PR optimizations - Documented strategy for merging best PRs and closing duplicates 2026-01-10 05:36:22 +07:00
Huawei-Window-Techno
d678eada00 docs: Add PR tracking issue template 2026-01-10 05:27:51 +07:00
Huawei-Window-Techno
365881c76a feat: Add pull request review script and comprehensive report - Created review_pull_requests.py to analyze all PRs - Generated Pull Request Review Report with 23 open PRs analysis - Identified 20 performance optimization PRs ready for review - Documented 5 draft PRs and 2 WIP feature PRs - Added recommendations for PR consolidation and prioritization 2026-01-10 05:26:35 +07:00
Huawei-Window-Techno
feadbaf06d feat: Add working tree review script and report - Created review_working_trees.py for comprehensive branch/stash/worktree analysis - Added Working Tree Review Report documentation - Analyzed 81 remote branches (25 merged, 55 unmerged) - Fixed Unicode encoding issues in git command execution 2026-01-10 05:13:04 +07:00
Huawei-Window-Techno
3ea2cbed81 fix: Improve Jules execution script error handling 2026-01-10 05:06:32 +07:00
Huawei-Window-Techno
dd8eefaf48 feat: Add Jules CLI execution helper and documentation - Created jules_execute.py helper script - Added comprehensive Jules Execution Guide - Documented repository automation workflows - Added troubleshooting and best practices 2026-01-10 05:04:51 +07:00
Huawei-Window-Techno
dd030b802c feat: Add cloud deployment configurations and automation - Added Dockerfile and docker-compose.yml for containerized deployment - Created render.yaml for Render.com deployment - Created railway.json for Railway.app deployment - Created fly.toml for Fly.io deployment - Added deploy_cloud.py script for multi-platform deployment - Created comprehensive Cloud Deployment Guide documentation - Added GitHub Actions workflow for cloud deployment validation - Updated README with cloud deployment quick start 2026-01-10 04:53:57 +07:00
Huawei-Window-Techno
90e2d866f5 feat: Add Mouy-leng request processing system - Improved custom issue template with request types - Created GitHub Pages sync workflow for automated syncing - Added sync_github_pages.py script for manual syncing - Created Mouy-leng Request Processing Guide documentation 2026-01-10 04:41:34 +07:00
Huawei-Window-Techno
8c11db6ffc feat: Implement automatic retry logic for failed components - Added retry mechanism using max_startup_retries config setting - Components now retry up to configured number of attempts - Improved error handling and logging for retry attempts - Updated documentation to reflect new feature 2026-01-10 04:36:53 +07:00
Huawei-Window-Techno
2052eb8b5c Update configuration for Exness MT5 and improve startup automation - Updated to use MetaTrader 5 EXNESS path - Added intelligent MT5 detection with fallback logic - Fixed Windows compatibility issues - Processes now run independently 2026-01-10 04:30:24 +07:00
copilot-swe-agent[bot]
e23f7cbb90 Add executable permissions to scripts and create verification document
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-06 20:41:06 +00:00
copilot-swe-agent[bot]
de1b7e3cd8 Add scripts directory README with usage guide 2026-01-06 04:29:14 +00:00
copilot-swe-agent[bot]
26b196e67a Address code review feedback
- Fix cron entry to use absolute paths instead of variables
- Add parents=True to mkdir for better error handling
- Change PowerShell scheduled task to use Limited privileges for security
- All tests still passing

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-06 04:28:13 +00:00
copilot-swe-agent[bot]
c11eb0c373 Add automation features documentation and integration tests
- AUTOMATION_FEATURES.md with comprehensive feature overview
- Integration test suite for verifying all scripts
- Logs directory README for documentation
- All tests passing successfully

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-06 04:25:48 +00:00
copilot-swe-agent[bot]
e118b2ce34 Add comprehensive automation startup scripts for Windows, Linux, and WSL
- Python orchestrator with JSON config, logging, and monitoring
- Windows batch script for simple automation
- PowerShell script with scheduled task creation
- Linux/WSL shell script with systemd/cron support
- Detailed documentation and quick start guides
- Example custom script template
- Configuration file with MT5 paths
- Updated .gitignore for logs and temp files

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-06 04:21:36 +00:00
Cursor Agent
85c1e2f963 feat: Add GitHub Actions for CI, automerge, and sync
Co-authored-by: genxdbxfx3 <genxdbxfx3@gmail.com>
2025-12-27 06:02:09 +00:00
Cursor Agent
80ac3d4087 feat: Add MT5 packaging and deployment scripts
Co-authored-by: genxdbxfx3 <genxdbxfx3@gmail.com>
2025-12-26 08:26:52 +00:00