Skip to content
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

[Bug] Recording archive notifications don't always appear #781

Open
andrewazores opened this issue Jan 23, 2025 · 1 comment
Open

[Bug] Recording archive notifications don't always appear #781

andrewazores opened this issue Jan 23, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@andrewazores
Copy link
Member

Current Behavior

Image

When an automated rule is created that has an archival period, the archived recording upload notifications don't always appear as expected. The deletion notifications for maintaining the correct number of archived copies do seem reliable.

{
  "name": "test",
  "description": "",
  "matchExpression": "target.alias.startsWith('quarkus-cryostat-agent') && !target.connectUrl.startsWith('http')",
  "eventSpecifier": "template=Continuous,type=TARGET",
  "archivalPeriodSeconds": 10,
  "initialDelaySeconds": 0,
  "preservedArchives": 2,
  "maxAgeSeconds": 0,
  "maxSizeBytes": 10485760
}

Expected Behavior

When the archived copies count has reached the limit, there should always be a matching pair of uploaded/deleted notifications - an upload of a new recording, and a deletion of the one oldest recording.

Steps To Reproduce

$ ./smoketest.bash -t quarkus-cryostat-agent
$ # wait for deployment, then visit https://localhost:8443 and create the automated rule as given above

Environment

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready
Development

No branches or pull requests

2 participants