Commit d3da0b6
feat(P0-3): Fix demo seed and prioritize pg_stat_statements
- Fix varchar(36) bug in seed script by using gen_random_uuid()
- Create read-only deepsql_demo role with pg_read_all_stats
- Add real workload generator (~60s) for genuine slow queries
- Add sample plain-SQL dashboard that works without LLM key
- Seed digest preferences to fix 'Legacy mode' display
- Add curated Brain notes (exclude pg_stat_* noise)
- Add sample index recommendations and performance actions
- Make pg_stat_statements the primary Performance page source
- Add auto-analysis on first load
- Add demo-specific prompts for Agent tab (Demo Shop connection)
- Add 'Use demo database' option in onboarding
Exit codes: 0=success, 1=prerequisites, 2=auth, 3=connection, 4=database
Co-authored-by: Venkat SF <venkatesh.sakamuri@stayflexi.com>1 parent 27d07ea commit d3da0b6
6 files changed
Lines changed: 753 additions & 626 deletions
File tree
- docker/postgres/init
- scripts/self-host
- src/components
- AgentChat
- onboarding
- tabs/Performance
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
648 | 695 | | |
649 | 696 | | |
650 | 697 | | |
| |||
0 commit comments