Skip to content

feat(ast_tools): store reverse-mapping of enum inheritance in schema#23954

Merged
graphite-app[bot] merged 1 commit into
mainfrom
om/06-29-feat_ast_tools_store_reverse-mapping_of_enum_inheritance_in_schema
Jun 30, 2026
Merged

feat(ast_tools): store reverse-mapping of enum inheritance in schema#23954
graphite-app[bot] merged 1 commit into
mainfrom
om/06-29-feat_ast_tools_store_reverse-mapping_of_enum_inheritance_in_schema

Conversation

@overlookmotel

@overlookmotel overlookmotel commented Jun 30, 2026

Copy link
Copy Markdown
Member

Make the AST schema in ast_tools contain a 2-way graph of enum inheritance. Given any enum, you can now answer both questions "what other enums does this enum inherit the variants of?" and "what other enums inherit this enum's variants?".

overlookmotel commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@overlookmotel

Copy link
Copy Markdown
Member Author

@claude review

@graphite-app

graphite-app Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Merge activity

@graphite-app
graphite-app Bot force-pushed the om/06-30-refactor_ast_declare_enum_inheritance_with_inherit_ branch from 107bd64 to 2616fc6 Compare June 30, 2026 13:07
graphite-app Bot pushed a commit that referenced this pull request Jun 30, 2026
…23954)

Make the AST schema in `ast_tools` contain a 2-way graph of enum inheritance. Given any enum, you can now answer both questions "what other enums does this enum inherit the variants of?" and "what other enums inherit _this_ enum's variants?".
@graphite-app
graphite-app Bot force-pushed the om/06-29-feat_ast_tools_store_reverse-mapping_of_enum_inheritance_in_schema branch from 4bb5baa to 6279a61 Compare June 30, 2026 13:08
@camc314

camc314 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 6279a61186

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…23954)

Make the AST schema in `ast_tools` contain a 2-way graph of enum inheritance. Given any enum, you can now answer both questions "what other enums does this enum inherit the variants of?" and "what other enums inherit _this_ enum's variants?".
@overlookmotel
overlookmotel force-pushed the om/06-29-feat_ast_tools_store_reverse-mapping_of_enum_inheritance_in_schema branch from 6279a61 to ecf2392 Compare June 30, 2026 14:46
@overlookmotel
overlookmotel force-pushed the om/06-30-refactor_ast_declare_enum_inheritance_with_inherit_ branch from 2616fc6 to 35c71e3 Compare June 30, 2026 14:46
Base automatically changed from om/06-30-refactor_ast_declare_enum_inheritance_with_inherit_ to main June 30, 2026 16:26
@graphite-app
graphite-app Bot merged commit ecf2392 into main Jun 30, 2026
39 of 55 checks passed
@graphite-app
graphite-app Bot deleted the om/06-29-feat_ast_tools_store_reverse-mapping_of_enum_inheritance_in_schema branch June 30, 2026 16:28
camc314 pushed a commit that referenced this pull request Jul 3, 2026
…23954)

Make the AST schema in `ast_tools` contain a 2-way graph of enum inheritance. Given any enum, you can now answer both questions "what other enums does this enum inherit the variants of?" and "what other enums inherit _this_ enum's variants?".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast-tools Area - AST tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants