Skip to content

Register GCS remote logging scheme via provider dispatch (gs://) - #1

Open
guruprasad-boop wants to merge 4 commits into
mainfrom
feature/gcs-remote-log-io
Open

Register GCS remote logging scheme via provider dispatch (gs://)#1
guruprasad-boop wants to merge 4 commits into
mainfrom
feature/gcs-remote-log-io

Conversation

@guruprasad-boop

Copy link
Copy Markdown
Collaborator

Implements apache#70266

Adds GCSRemoteLogIO.from_config() and registers the gs scheme so remote_base_log_folder =
gs://... goes through provider dispatch instead of the old airflow_local_settings.py branch.
Followed the S3/CloudWatch pattern from apache#69817/apache#69816 and the factory contract from apache#67056
kept the legacy gs:// branch as a fallback and left Stackdriver alone since that's a separate
migration.

what changed:

  • from_config() on GCSRemoteLogIO in gcs_task_handler.py
  • remote-logging block in provider.yaml + get_provider_info.py
  • 5 new tests for the from_config behavior + scheme dispatch
  • changelog entry

testing:
ran the full google provider suite through breeze, 4920 passed / 0 failed. new tests pass on
their own too. checked the from_config output matches the S3 reference almost line for line
(only real diff is the gcp_key_path bit, which is GCS-specific).

didn't do a live e2e run against real GCS since I don't have an account for it — everything
here is unit-tested with mocks. also didn't touch stackdriver, same provider but out of scope
for this.


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

Generated-by: Claude Code

Airflow resolves remote task log handlers through provider dispatch on the
remote_base_log_folder URL scheme since apache#67056; providers must expose
from_config so core and the Task SDK no longer depend on the hardcoded
branches in airflow_local_settings.py. This migrates the gs scheme,
following the s3 and cloudwatch migrations.

part of apache#70266
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant