Skip to content

Add Workspace Metadata#1807

Open
Mythicaeda wants to merge 12 commits intodevelopfrom
feat/workspace-metadata
Open

Add Workspace Metadata#1807
Mythicaeda wants to merge 12 commits intodevelopfrom
feat/workspace-metadata

Conversation

@Mythicaeda
Copy link
Copy Markdown
Contributor

@Mythicaeda Mythicaeda commented Mar 25, 2026

Description

  • Adds new endpoints for handling metadata files and update existing file endpoints to reject directly updating metadata files
  • Updates the reserved Metadata extension from .aerie to .meta.seqdev
  • Updates listContents endpoint to hide METADATA-type files by default, and to provide the contents of the metadata files if the withMetadata flag is provided
  • Updates file move/copy/delete so that metadata files are consistently handled before their corresponding file. Before, it varied based on endpoint
  • Restricts move/copy/save/delete file endpoints to reject with a 423 Locked status if the file is marked as "readOnly"

Verification

I'd like to add some tests that focus on the contents of the metadata files, and how they're reconstructed after deletion, as well as basic bindings tests for the endpoints.

Documentation

No docs are invalidated, but we should add documenting these new endpoints to writing docs for the other workspace server endpoints

Future work

@Mythicaeda Mythicaeda force-pushed the feat/workspace-metadata branch from 8390b04 to ec20854 Compare March 26, 2026 23:16
@Mythicaeda Mythicaeda force-pushed the feat/workspace-metadata branch from ec20854 to b2a94e4 Compare March 27, 2026 14:09
@Mythicaeda Mythicaeda force-pushed the feat/workspace-metadata branch from b2a94e4 to daced4a Compare March 27, 2026 17:38
@Mythicaeda Mythicaeda force-pushed the feat/workspace-metadata branch from daced4a to 5ac618e Compare March 27, 2026 18:15
- Update Move and Copy to consistently use java.nio.Files instead of a mix of java.nio.Files and java.io.File
- Update thrown exceptions list for accuracy
- Will no longer include METADATA type files in response
- Made RenderType in charge of the Aerie Metadata type for the backend, as that extension is expected to be fairly constant
- Remove unneeded Optional wrapper from `listFiles` method
- No longer updates `lastEditedBy` when the metadata is updated (unless that field is missing)
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 this pull request may close these issues.

Metadata for Seqdev Workspaces - Managed fields and Read-only flag Metadata for SeqDev Workspace files - Protocol and API

1 participant