The eight kinds of entry point
Because a key is built from facts such as the method and path, the same endpoint keeps its key, and its flow, across later reads of the code, even when names around it change.
How it finds them
- Known frameworks, read exactly. For some frameworks Flowmaps lists entry points precisely from how they register routes, with no guesswork: Connect services in TypeScript and Go, Next.js route handlers, gorilla/mux and Go’s standard
ServeMuxrouters, and HTTP routes declared on gRPC services throughgoogle.api.httpannotations. - Everything else, by reading the code. For other frameworks and hand-rolled routing, Flowmaps reads the files likely to hold entry points and lists what it finds, then checks the ones it’s unsure of. An endpoint it couldn’t confirm is marked Unconfirmed in the list.
Languages
Flowmaps reads repos in:- TypeScript and JavaScript, including Node servers and Next.js apps.
- Go
- Python
- Ruby
- Java and Kotlin
- C#
- PHP
- Rust
What isn’t covered
- Secret files. Files such as
.env*, credential and key files, and package-manager auth files (.npmrc,.pypirc,.netrc) are skipped by name and never read. A step that would cite one shows “Code isn’t shown for this file”. See Security and privacy. - Generated code. Code generated from definitions a known framework lists isn’t read as entry points of its own; the definitions are.
- Tests as evidence. Test code shows what’s expected, not what runs, so it doesn’t count as evidence for a step (unless the entry point itself lives in test code).
- Other branches. Flowmaps maps each repo’s default branch. Pull requests into it get previews; pull requests into other branches aren’t previewed, except pull requests in a stack whose bottom pull request targets the default branch.
- Repos you can’t read. A flow that calls into a repo your GitHub account can’t read shows “Links to a repo you can’t see” and nothing more.
- Code Flowmaps can’t follow. A call through a name built at runtime, or a handler chosen by configuration, becomes a gap in the flow instead of a guessed step. See The flow page.
Unresolved entry points
Flowmaps marks what it can’t confirm rather than guessing:- Discovery notes. Under the endpoint list, “Discovery left N notes” lists places discovery couldn’t turn into an entry point, such as a route whose path isn’t a fixed pattern, each with its file and line.
- Incomplete discovery. When some files weren’t read, the list says so and why, and offers Read the rest. See Map a repo.
- Removed or unresolved endpoints. When a later read no longer lists a mapped flow’s endpoint, the Flows list marks the flow: endpoint removed at (commit) when the code deleted its registration or its file, or endpoint unresolved at (commit) when the code didn’t remove it but the read couldn’t place it again.
- Links that can’t be matched. When a step calls another service, publishes a message or schedules work, Flowmaps matches the target to a mapped flow, an unmapped endpoint or a vendor. One it can’t match confidently says it “links nowhere”, with the reason. In Connections these show as Not matched.
Next steps
Map a repo
Choose endpoints and start a map.
Accuracy
How Flowmaps checks what it writes.