Skip to content

Remove edge/id feature entirely - #372

Merged
em3s merged 2 commits into
mainfrom
feature/remove-edge-id
Jun 2, 2026
Merged

em3s merged 2 commits into
mainfrom
feature/remove-edge-id

Conversation

@em3s

@em3s em3s commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Remove the deprecated /edge/id query and deletion endpoints and the internal idEdgeEncoder pipeline.

Closes #353

Changes

  • Deleted Files:
    • IdEdgeEncoder.java, EmptyEdgeIdEncoder.java
    • EdgeIdCodec.java
    • ServiceLabelEdgeIdController.kt
  • Core Model & Codecs:
    • Remove IdEdgeEncoder implementation and encoding/decoding from BytesKeyValueEdgeEncoder.java.
    • Remove EdgeIdCodec parameter from StateCodec.java.
    • Remove edgeIdStructType and edgeIdIndex from EdgeSchema.java.
  • Engine Query Pipeline:
    • Remove idEdgeEncoder param from Label's scan/get signatures in Label.kt, AbstractLabel.kt, IndexedLabelMixin.kt.
    • Remove EDGE_ID constant from StatKey.kt.
    • Remove edgeIdEdgeEncoder param and field population from SchemaEdge.toRow() in SchemaEdgeFunctions.kt.
    • Update all label implementations to align with the new signatures.
  • REST Mappings & Filters:
    • Remove /graph/v2/edge/id routes from EdgeController.kt.
    • Remove /graph/v2/service/{service}/label/{label}/edge/delete/id/{edgeId} route from ServiceLabelEdgeDeleteController.kt.
    • Remove all deleted endpoints from READ_ENDPOINTS and WRITE_ENDPOINTS in ReadOnlyRequestFilterTest.kt.
  • Test Specs:
    • Remove all references to EmptyEdgeIdEncoder and clean up edgeId assertions across all tests.

How to Test

./gradlew test

AI Assistance

  • This PR was written largely with AI assistance.
    • Tool / model: Antigravity via Advanced Agentic Coding

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. maintenance Maintenance work. labels Jun 2, 2026
@em3s em3s changed the title Remove edge/id feature entirely from Actionbase Remove edge/id feature entirely Jun 2, 2026
@em3s

em3s commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

Removing edge/id since it's no longer used in prod. There's a slight chance of some leftovers, but it looks largely gone. Merging!

@em3s
em3s merged commit f864876 into main Jun 2, 2026
2 checks passed
@em3s
em3s deleted the feature/remove-edge-id branch June 2, 2026 14:08
@em3s em3s self-assigned this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance work. size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the edge/id feature entirely

1 participant