Add zero-cost static portfolio showcase - #2
CodeWithMoin wants to merge 2 commits into
Conversation
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 34812486 | Triggered | Generic Password | 1ea644b | docker/docker-compose.showcase.yml | View secret |
| 34812487 | Triggered | Company Email Password | 1ea644b | app/main.py | View secret |
| 21697538 | Triggered | Generic Password | 1ea644b | app/main.py | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- 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
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 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.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Closing intentionally: the zero-cost portfolio showcase will remain on the standalone release/portfolio-showcase branch and deploy directly from that branch, without merging into main. |
What changed
build:showcasecommandRead-only showcase · synthetic dataWhy
The portfolio demo should be safe and inexpensive to share with recruiters and startup teams. Previously it required always-on API and database infrastructure even though visitors only needed to inspect completed AI workflows. The static build communicates the product without accepting uploads, invoking models, storing visitor data, or incurring backend hosting costs.
The Ask DocuLens source picker also exposed five documents with empty conversations. Each source now has a realistic grounded answer, reasoning summary, confidence score, and exact chunk citations.
Impact and tradeoffs
npm run buildremains the normal live API clientnpm run build:showcasecreates the standalone portfolio bundleValidation
npm run buildnpm run build:showcasenpm run lintruff format --check app/services/demo_workspace.py tests/test_demo_workspace.pyruff check app/services/demo_workspace.py tests/test_demo_workspace.pypytest -q tests/test_demo_workspace.pypyright --pythonpath .venv312/bin/python app/services/demo_workspace.pygit diff --check/app,/app/qa,/app/pipeline, command search, dark mode, direct routes, and the AI Governance cited answer with the backend absent