Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor go-runtime schema extraction #1518

Closed
worstell opened this issue May 16, 2024 · 0 comments · Fixed by #2171
Closed

refactor go-runtime schema extraction #1518

worstell opened this issue May 16, 2024 · 0 comments · Fixed by #2171
Assignees

Comments

@worstell
Copy link
Contributor

worstell commented May 16, 2024

this file has gotten out of hand!!!!
it's quite difficult to reason through

refactor will split out schema concepts into separate scans (e.g. parse type enums, parse value enums, parse verbs, etc.)

reference https://pkg.go.dev/golang.org/x/tools/go/analysis

@worstell worstell self-assigned this May 16, 2024
@ftl-robot ftl-robot mentioned this issue May 16, 2024
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with (forked) go/analysis to run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 7, 2024
initial step towards #1518

- integrates with
([forked](https://github.com/TBD54566975/golang-tools)) go/analysis to
run static analysis tasks for schema extraction
- implements first extraction task, type aliases
- refactors existing build stack to use the new extractor, combining
results with legacy so we can incrementally migrate
- removes typealias extraction logic from legacy code
worstell added a commit that referenced this issue Jun 17, 2024
restructuring and adding some additional passes to provide data for the
extractors-
1. metadata pass parses all comments in the packages and provides
results via facts
2. transitive pass extracts nodes marked as needing extraction via
implicit reference from other decls

#1518
worstell added a commit that referenced this issue Jul 25, 2024
- migrates FSMs to new extractor
- deletes legacy code

fixes #1518
worstell added a commit that referenced this issue Jul 25, 2024
- migrates FSMs to new extractor
- deletes legacy code

fixes #1518
worstell added a commit that referenced this issue Jul 25, 2024
- migrates FSMs to new extractor
- deletes legacy code

fixes #1518
worstell added a commit that referenced this issue Jul 25, 2024
- migrates FSMs to new extractor
- deletes legacy code

fixes #1518
worstell added a commit that referenced this issue Jul 25, 2024
- migrates FSMs to new extractor
- deletes legacy code

fixes #1518
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 a pull request may close this issue.

1 participant