Skip to content

[PR-verification] source-float: report streams candidate - #84301

Closed
Baz (bazarnov) wants to merge 7 commits into
masterfrom
validate/float-report-streams
Closed

[PR-verification] source-float: report streams candidate#84301
Baz (bazarnov) wants to merge 7 commits into
masterfrom
validate/float-report-streams

Conversation

@bazarnov

Copy link
Copy Markdown
Contributor

What

Validation run for a candidate state of source-float 0.1.0: two new report streams (reports-people, reports-projects) with per-record reporting-period stamps, plus the connector's first unit test suite.

Scope

  • manifest.yaml: reports-people and reports-projects streams over the Float Reports API (no pagination, aggregate rows), records stamped with the start_date/end_date they cover; optional end_date spec field.
  • unit_tests: 33 tests - root-key extraction, request parameter composition, strict full-record schema round-trip, fail-fast no-pagination guard.
  • docs updated.

Note: this connector has no integration-test credentials in the secret store, so live suites are vacuous by construction - the meaningful signal here is the mock suite, lint and validators.

Do not merge - disposable verification PR.

Pradip (masterpradipg) and others added 7 commits June 2, 2026 16:32
…eams

Resolve conflicts in source-float metadata.yaml and float.md against
upstream dependency bumps (0.0.47 -> 0.0.56):
- keep dockerImageTag 0.1.0 for the new reports streams
- keep the 0.1.0 changelog entry above the upstream dependency rows
…jects

Addresses the AI PR review Test Coverage gate on #79087: source-float had no
unit_tests project at all.

Covers the behavior the two new report streams introduce:
- root-key extraction (`people` / `projects`) via DpathExtractor, including
  sibling keys in the payload and null-valued fields
- `start_date` trimmed from the config date-time to `YYYY-MM-DD`, `end_date`
  taken from config and defaulting to today via `now_utc()`
- NoPagination: exactly one request, no `page` / `per-page` params
- bearer auth, primary keys, full-refresh-only, inline schema vs emitted record
- `end_date` declared optional in the spec, and the 16 pre-existing streams
  still discoverable

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…nd harden the new tests

- Both report streams now carry start_date/end_date on every record via
  AddFields, using the same expressions as the request parameters - the
  aggregates are meaningless downstream without the period they cover, and
  the values change between syncs as the schedule changes.
- Docs: report streams return one aggregated snapshot row per person or
  project for the configured range; full refresh overwrite recommended;
  end_date must not precede start_date.
- Tests: the no-pagination test now fails fast instead of hanging if a
  paginator is ever added; 19 redundant per-field tests collapsed into a
  strict full-record equality round-trip; conftest owns the manifest/source
  helpers; unit_tests/__init__.py removed so conftest imports resolve
  (package-style unit_tests break pytest's conftest import path);
  wk_day_hrs fixture matches the documented shape.
@github-actions

Copy link
Copy Markdown
Contributor

👋 Greetings, Airbyte Team Member!

Here are some helpful tips and reminders for your convenience.

💡 Show Tips and Tricks

PR Slash Commands

Airbyte Maintainers (that's you!) can execute the following slash commands on your PR:

  • 🛠️ Quick Fixes
    • /format-fix - Fixes most formatting issues.
    • /bump-version - Bumps connector versions, scraping changelog description from the PR title.
      • Bump types: patch (default), minor, major, major_rc, rc, promote.
      • The rc type is a smart default: applies minor_rc if stable, or bumps the RC number if already RC.
      • The promote type strips the RC suffix to finalize a release.
      • Example: /bump-version type=rc or /bump-version type=minor
    • /bump-progressive-rollout-version - Alias for /bump-version type=rc. Bumps with an RC suffix and enables progressive rollout.
  • ❇️ AI Testing and Review (internal link: AI-SDLC Docs):
    • /ai-prove-fix - Runs prerelease readiness checks, including testing against customer connections.
    • /ai-canary-prerelease - Rolls out prerelease to 5-10 connections for canary testing.
    • /ai-review - AI-powered PR review for connector safety and quality gates.
  • 📝 AI Documentation:
    • /ai-docs-review - AI-powered documentation review for PRs with connector changes.
    • /ai-create-docs-pr - Creates a documentation PR for connector changes, stacked on the current PR.
  • 🚀 Connector Releases:
    • /publish-connectors-prerelease - Publishes pre-release connector builds (tagged as {version}-preview.{git-sha}) for all modified connectors in the PR.
    • /enable-autopilot-rollouts - Enables autopilot progressive rollouts for the modified connector(s) in the PR, remediating "autopilot rollouts not enabled for {connector-name}" auto-merge blockers. Sets defaultRolloutMode: autopilot and enableProgressiveRollout: true, preserving any existing autopilotConfig.
      • Optional args: connector=<CONNECTOR_NAME> (defaults to the modified connectors in the PR), strategy=fast|slow|default (defaults to fast).
      • Example: /enable-autopilot-rollouts or /enable-autopilot-rollouts connector=source-faker strategy=slow
  • ☕️ JVM connectors:
    • /update-connector-cdk-version connector=<CONNECTOR_NAME> - Updates the specified connector to the latest CDK version.
      Example: /update-connector-cdk-version connector=destination-bigquery
  • 🐍 Python connectors:
    • /poe connector source-example lock - Run the Poe lock task on the source-example connector, committing the results back to the branch.
    • /poe source example lock - Alias for /poe connector source-example lock.
    • /poe source example use-cdk-branch my/branch - Pin the source-example CDK reference to the branch name specified.
    • /poe source example use-cdk-latest - Update the source-example CDK dependency to the latest available version.
  • ⚙️ Admin commands:
    • /force-merge reason="<REASON>" - Force merges the PR using admin privileges, bypassing CI checks. Requires a reason.
      Example: /force-merge reason="CI is flaky, tests pass locally"
📚 Show Repo Guidance

Helpful Resources

📝 Edit this welcome message.

@github-actions

Copy link
Copy Markdown
Contributor

Note

Autopilot progressive rollouts are not enabled for the following modified connector(s):

  • source-float

This is a courtesy heads-up only — it does not block merge or fail any check.
To enable automatic progressive rollouts for the connector(s) above, comment
/enable-autopilot-rollouts on this PR. This sets defaultRolloutMode: autopilot
and enableProgressiveRollout: true in each connector's metadata.yaml,
preserving any existing autopilotConfig.

| `end_date` | `string` | End Date (YYYY-MM-DD). Used by the reports streams. Defaults to today if not set. | |

## Streams
| Stream Name | Primary Key | Pagination | Supports Full Sync | Supports Incremental |

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.

[markdownlint-fix] reported by reviewdog 🐶

Suggested change
| Stream Name | Primary Key | Pagination | Supports Full Sync | Supports Incremental |
| Stream Name | Primary Key | Pagination | Supports Full Sync | Supports Incremental |

@github-actions

Copy link
Copy Markdown
Contributor

source-float Connector Test Results

36 tests   34 ✅  23s ⏱️
 2 suites   2 💤
 2 files     0 ❌

Results for commit 0a7702a.

@github-actions

Copy link
Copy Markdown
Contributor

Deploy preview for airbyte-docs ready!

Project:airbyte-docs
Status: ✅  Deploy successful!
Preview URL:https://airbyte-docs-cpxfi42r2-airbyte-growth.vercel.app
Latest Commit:0a7702a

Deployed with vercel-action

@bazarnov

Copy link
Copy Markdown
Contributor Author

Validation complete - candidate checks green. Disposable PR, closing.

@bazarnov
Baz (bazarnov) deleted the validate/float-report-streams branch August 13, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants