-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 minor bugs. #6188
🐛 Fix minor bugs. #6188
Conversation
…instead of when they the log file is retrieved.
.github/workflows/helm.yaml
Outdated
@@ -2,73 +2,73 @@ name: Helm | |||
on: | |||
push: | |||
paths: | |||
- '.github/workflows/helm.yaml' | |||
- 'charts/**' | |||
- ".github/workflows/helm.yaml" |
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.
This was format
.
@@ -70,7 +70,8 @@ def createSpotlessTarget = { pattern -> | |||
'dbt_schema_tests', | |||
'normalization_test_output', | |||
'tools', | |||
'secrets' | |||
'secrets', | |||
'charts' // Helm charts often have injected template strings that will fail general linting. Helm linting is done separately. |
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.
ignore helm when running format.
if (jobsScheduledCount > 0) { | ||
LOGGER.info("Job-Scheduler Summary. Active connections: {}, Jobs scheduler: {}", activeConnections.size(), jobsScheduled.get()); | ||
|
||
if (jobsScheduled > 0) { |
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.
@tuliren looks like you were the last person to touch this - do these changes preserve the intent? I'm somewhat guessing here :)
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.
I think so. The purpose of my change is to only creating this log if there are non zero jobs scheduled. This should still work.
LOGGER.debug("Setting docker job mdc"); | ||
MDC.put(LogClientSingleton.JOB_LOG_PATH_MDC_KEY, path.resolve(LogClientSingleton.LOG_FILENAME).toString()); | ||
} else { | ||
LOGGER.debug("Setting kube job mdc"); | ||
var logConfigs = new LogConfigDelegator(configs); |
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.
by always creating the client at the beginning, we make sure this errors out on start up.
What
Recommended reading order
LogClientSingleton.java
JobsScheduler.java
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/SUMMARY.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereUpdating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changes