Skip to content

Bootcamp - Dmitry: Fixing bugs#19

Open
dkisselev-zz wants to merge 1 commit intoed-donner:mainfrom
dkisselev-zz:main
Open

Bootcamp - Dmitry: Fixing bugs#19
dkisselev-zz wants to merge 1 commit intoed-donner:mainfrom
dkisselev-zz:main

Conversation

@dkisselev-zz
Copy link
Copy Markdown

Pull Request Summary

Overview

This PR includes bug fixes and documentation updates for the project.

Changes

Bug Fixes

1. Dashboard "Last Analysis" Feature Fix

File: frontend/pages/dashboard.tsx

  • Issue: The "Last Analysis" section always displayed "Never" regardless of completed analyses
  • Fix:
    • Added API call to /api/jobs endpoint to fetch completed jobs
    • Implemented logic to find the latest completed job and display its completed_at date
    • Updated handleAnalysisCompleted event handler to refresh the last analysis date when new analyses complete
    • Added JobListItem interface for proper TypeScript typing

2. TypeScript Linting Fixes

Files:

  • frontend/pages/dashboard.tsx
  • frontend/components/ErrorBoundary.tsx
  • Changes:
    • Replaced any types with proper JobListItem interface
    • Removed unused Link import from ErrorBoundary component
    • Fixed all TypeScript/ESLint errors to enable successful production builds

3. test_simple fix

Files:

  • backend/charter/test_simple.py
  • Changes:
  • test_simple now correctly populate test user upon first run

4. Fix Markov percentile calcuation

Files:

  • backend/retirement/agent.py
  • Changes:
  • Percentile calculation is done correctly now

5. Fix inference region

Files:

  • backend/retirement/agent.py
  • terraform/6_agents/main.tf
  • Changes:
  • allow for multi-regions, droping us

6. Fix tagger bug on asset allocation

Files:

  • backend/tagger/agent.py
  • backend/tagger/lambda_handler.py
  • Changes:
  • Allow asset allocation corectly caluclate over 100% boundary

7. Fix upload docker using S3

Files:

  • backend/tagger/package_docker.py
  • Changes:
  • Enabled upload docker image using S3

8. Fix Last Analysis date

Files:

  • frontend/pages/dashboard.tsx
  • Changes:
  • Last analysis date is correctly displayed

9. Fix Aurora inference endpoint

Files:

  • terraform/6_agents/main.tf
  • Changes:
  • Aurora endpoint can be empty (claimed that it can. but it would not)

📚 Documentation Updates

5. Bedrock Model Access Documentation Updates

Files:

  • guides/6_agents.md
  • guides/4_researcher.md

Changes:

  • Removed obsolete instructions about manually requesting Bedrock model access
  • Updated to reflect AWS's new automatic model enablement policy
  • Clarified that serverless foundation models are automatically enabled on first invocation
  • Updated prerequisites to mention IAM permissions instead of "model access"
  • Updated troubleshooting sections to focus on IAM permissions rather than model access verification
  • Added notes about automatic enablement on first use

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.

1 participant