Repository navigation
Hosted demo: show every option, unlock read-only review with the visitor's GitHub token - #3
Merged
Merged
Conversation
…t visit index.html is served with Cache-Control: no-cache and the hashed bundles as immutable, so a deploy is visible on the next load. The welcome dialog lists the four options and re-appears once for returning visitors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…token Every option is shown on a hosted instance. With X-Flowify-GitHub-Token the branch dropdown, pull requests and commit compare work read-only from a per-session shallow clone; the token reaches git only as an env-configured HTTP header and is never logged or stored. Test runs, Claude notes, author notes and local changes stay local-only. A git link is cloned anonymously first, so a stale token never blocks a public repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Flowify impact46 changes ranked by risk · reaches 18 API endpoints · touches 4 other services
…and 31 more. Why these scores
Coverage: 46 scanned · 0 flagged by a static check · 3 need a human · 5 skipped Needs a human: Flowify could not tell
Skipped (5)
Risk is a 0-100 triage score; every point is a named factor. ⚠ = low confidence: the static call graph resolves roughly half of real calls (see docs/accuracy.md), so incomplete evidence raises a floor and a short list is a place to start, never proof of safety. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The hosted demo used to show only Read the codebase. Now it shows every option and explains what each needs. A visitor who adds their own GitHub token can switch branches, review pull requests and compare commits, read-only.
What a visitor sees
How the token is handled (
backend/app/hosted.py)sessionStorageand sends it asX-Flowify-GitHub-Token. The server holds it in a ContextVar for that one request.GIT_CONFIG_*environment variables, never in a URL, a command line or.git/config. A test checks.git/config./review/hostedand/branch/openshare the per-IP ingest rate limit.Also in this PR
index.htmlis served withCache-Control: no-cacheand the hashed bundles with a one-year cache, so a deploy is visible on the next load. Before, a deploy stayed hidden behind the browser's cache.143473aalso contains themain.pyhalf of the hosted change, so it doesn't build withoutced3306. Review the two together.Testing
pytest tests/ --ignore=tests/test_integration.py: 248 passed. The frontend build passes.github.comURL (insteadOf). It runs the actual clone, fetch, PR review, commit compare, branch switch, the no-token 401, the token-not-in-config check and the cleanup.FLOWIFY_MODE=server, UI served by the backend): the no-token sidebar, and a fake token that GitHub really rejected.Deploying
$FLOWIFY_WORKDIR/flowify-hosted/, which is ephemeral on Render.🤖 Generated with Claude Code