-
Notifications
You must be signed in to change notification settings - Fork 10
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
fix(topology): correct GraphQL schema for Topology actions, implement missing mutations #315
fix(topology): correct GraphQL schema for Topology actions, implement missing mutations #315
Conversation
This PR/issue depends on:
|
The following subqueries/mutations are still missing from the schema: type ArchivedRecording implements Recording {
doDelete: ArchivedRecording!
doPutMetadata(metadata: Object): ArchivedRecording!
}
type ActiveRecording implements Recording {
doPutMetadata(metadata: Object): ActiveRecording
} @aali309 would you like to tackle those? The archived recording deletion action already exists in |
/build_test |
Workflow started at 3/5/2024, 9:35:11 AM. View Actions Run. |
CI build and push: All tests pass ✅ (JDK21) |
CI build and push: All tests pass ✅ (JDK17) |
Examining the smoketest Seaweed instance's own file explorer UI (
|
@aali309 sorry for all the noise and new commits, but I did some cleaning up and I believe between this PR and cryostatio/cryostat-web#1224 I have also solved the bug with the Archives > All Targets view. |
Sometimes there is still an odd bug where Topology > Group Action > Archive Recording does not actually result in recordings from all the targets in the group being archived. That's also worth investigating some more but I'll do that as a follow-up. It seems like the Start/Stop/Delete actions on the group level all work reliably. |
667cd94
to
df7bef9
Compare
… missing mutations
…s 'recordings' struct field
graphql and discovery (re-)registration
e376c84
to
975a935
Compare
… missing mutations (cryostatio#315)
… missing mutations (#315)
… missing mutations (cryostatio#315)
… missing mutations (#315)
… missing mutations (#315)
… missing mutations (#315)
Welcome to Cryostat3! 👋
Before contributing, make sure you have:
main
branch[chore, ci, docs, feat, fix, test]
To recreate commits with GPG signature
git fetch upstream && git rebase --force --gpg-sign upstream/main
Based on #294
Fixes #302
Fixes #304
Fixes #305
Description of the change:
Implements missing features, fixes up a few unnecessary schema differences, and does some refactoring.
Motivation for the change:
These changes support the existing Topology view.
How to manually test:
Known Issues
Using the group-level Topology actions for starting a recording and then archiving that recording will frequently end up with the recording files uploaded into the wrong S3 subdirectory. The metadata labels will reflect the correct JVM ID, but the file will be listed under the wrong Target. Need to investigate why this happens.