Skip to content

Remove dead system storage and V2 label constants - #411

Merged
em3s merged 1 commit into
mainfrom
feat/remove-dead-storage-constants
Jul 11, 2026
Merged

em3s merged 1 commit into
mainfrom
feat/remove-dead-storage-constants

Conversation

@em3s

@em3s em3s commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Remove two never-referenced system declarations. No behavior change.

  • localOnlyStorageEntity / localOnlyStorageName — seeded into the metastore on boot, but no label references it as its storage. Dead since only local_backed_metastore / metastore / the HBase datastore back actual labels.
  • sysOnlineMetadataLabelName ("online_metadata", v1) — only the v2 name (online_metadata_v2) is used; the v1 constant has no reader.

Changes

  • Remove both declarations from Metadata.
  • Drop the boot-time seeding of the local-only storage in Graph.
  • Drop the matching defaultStorages / defaultMetadata entries in the test fixture.

How to Test

./gradlew :engine:test — boot and metadata seeding are unchanged aside from the removed dead entries.

AI Assistance

  • This PR was written largely with AI assistance.
    • Tool / model: Claude Opus 4.8

Two never-referenced declarations:

- localOnlyStorageEntity / localOnlyStorageName: seeded into the
  metastore on boot but referenced by no label's storage field.
- sysOnlineMetadataLabelName ("online_metadata", v1): only the v2 name
  is used; the v1 constant has no reader.

Removes their definitions, the boot-time seeding of the local-only
storage, and the matching test-fixture expectations. No behavior change.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. maintenance Maintenance work. labels Jul 11, 2026
@em3s

em3s commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Optimistic

@em3s em3s changed the title Remove dead system storage and label constants Remove dead system storage and V2 label constants Jul 11, 2026
@em3s
em3s merged commit e58b080 into main Jul 11, 2026
3 checks passed
@em3s
em3s deleted the feat/remove-dead-storage-constants branch July 11, 2026 14:40
@em3s em3s self-assigned this Jul 13, 2026
em3s added a commit that referenced this pull request Jul 16, 2026
…by the merge

#411 removed the dead v1 online_metadata constant on main; merging main back
into this branch resurrected it (unused). Remove it again to match main.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance work. size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant