-
Notifications
You must be signed in to change notification settings - Fork 517
Orchestrator pod logs for Kubernetes #3778
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
base: develop
Are you sure you want to change the base?
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
SET source = 'client' | ||
WHERE pipeline_run_id IS NOT NULL AND step_run_id IS NULL | ||
""") | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two statements do not guarantee that all logs now have a source, and therefore the migration might fail later when making that column non-nullable. I would suggest simply using a WHERE source IS NULL
in the second one, as there isn't really any other case anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. I think this is theoretically impossible anyhow, because we remove the log entry in case the pipeline or the step gets removed. So, I can not think of a scenario, but I will modify the second one.
Keep in mind, in this case, we can possibly create two entries that are "client-NULL-NULL" and "client-NULL-NULL" in terms of source-pipeline_id-step_id. AFAIK, this should not break the unique constraint between these three values on MySQL or SQLite.
Describe changes
Additionally, adds functionality for pipeline runs to feature more than 1 log response.
Pre-requisites
Please ensure you have done the following:
develop
and the open PR is targetingdevelop
. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.Types of changes