Skip to content

Updates example go dag#64493

Open
aritra24 wants to merge 2 commits intoapache:mainfrom
aritra24:fixup_example
Open

Updates example go dag#64493
aritra24 wants to merge 2 commits intoapache:mainfrom
aritra24:fixup_example

Conversation

@aritra24
Copy link
Copy Markdown
Collaborator

We had some mismatch between the example
dag vs readme. This fixes it as well as updates
the error logging in the worker, earlier the failure was lost.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

We had some mismatch between the example
dag vs readme. This fixes it as well as updates
the error logging in the worker, earlier the failure
was lost.
amoghrajesh
amoghrajesh previously approved these changes Mar 31, 2026
Copy link
Copy Markdown
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

))
edgeVer.FromWorkerStateBodySysinfo0(edgeapi.WorkerStateBodySysinfo0(
configOrDefault("edge.provider_version", "3.2.0"),
configOrDefault("edge.provider_version", "3.3.0"),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, do we want to change this? (Not sure what @ashb intended)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh good catch, I checked one commit and missed this. If we want to update this, we should do so for occurrences above too?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to make this change because the airflow version had incremented. We disallow using a newer version of airflow against an older worker.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will recheck, but without the version bump it throws an error. And also this specific version was the one it was checking against. So I'd updated only this one.

@amoghrajesh amoghrajesh dismissed their stale review March 31, 2026 06:31

Overlooked the version change, that will need fixing / explanation

@amoghrajesh amoghrajesh self-requested a review March 31, 2026 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools area:go-sdk backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants