Skip to content

FY2027 updates - #237

Merged
fivetran-joemarkiewicz merged 19 commits into
mainfrom
magicbot/fy27-updates
Nov 23, 2026
Merged

fivetran-joemarkiewicz merged 19 commits into
mainfrom
magicbot/fy27-updates

Conversation

@fivetran-data-model-bot

@fivetran-data-model-bot fivetran-data-model-bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Version: 1.12.0

Summary

Standard FY2027 updates applied across all Fivetran dbt packages.

Changes

  • Adds .github/CODEOWNERS (overwrites any existing file)
  • Adds .github/workflows/stale.yml (overwrites any existing file), which labels issues with no activity for 180 days as status:stale with a warning comment, and closes them as "not planned" 7 days later if nobody updates them. Issues labeled status:in_progress or status:in_review and all pull requests are skipped. See GitHub Action to close issues as stale as-needed dbt_netsuite#216 for details on customizing days, messages and labels.
  • Adds CONTRIBUTING.md at the repo root (overwrites any existing file)
  • Adds .github/ISSUE_TEMPLATE/bug-report.yml and .github/ISSUE_TEMPLATE/feature-request.yml (overwrites any existing files)
  • Updates the README contribution link to point to the new CONTRIBUTING.md
  • Updates yml column documentation to match model output.

Heads up before merging

  • Stale workflow: issues that already have status:stale are treated as already stale and may be closed on the first run with no warning period.
  • Stale workflow: the first run may mark many old issues stale at once (operations-per-run is 200).

fivetran-savage and others added 8 commits November 12, 2026 16:48
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fivetran-catfritz

Copy link
Copy Markdown
Contributor

Uniqueness tests: what to review

Coverage: ✅ every staging and public model has a test.

How the tests were checked:

  • Keys: 33 are restored tests that were removed in August 2025, with source_relation added where it was missing. 20 use the Fivetran source primary key, because no old test existed. 5 come from reading the model SQL; those are listed below.
  • Coverage: a script compared the tests with every stg_* model and every model in public_models.

Your action: check these 5 keys against the model SQL:

Model Key Why this key
quickbooks__ap_ar_enhanced source_relation, transaction_type, transaction_id, estimate_id Old key plus transaction_type: bills and invoices are unioned, and their ids come from different entities. estimate_id stays: an invoice linked to several estimates gives one row per estimate
quickbooks__expenses_sales_enhanced source_relation, transaction_type, transaction_id, transaction_line_id Old key plus transaction_type (the model unions several transaction types), minus item_id (one item per line)
quickbooks__profit_and_loss source_relation, account_id, class_id, period_first_day Old key with period_first_day in place of calendar_date, which holds the same value and is slated for deprecation
quickbooks__balance_sheet source_relation, account_id, class_id, period_first_day Old key with period_first_day in place of calendar_date, which holds the same value and is slated for deprecation
stg_quickbooks__credit_card_payment_txn source_relation, credit_card_payment_id Source id, but is_most_recent_record partitions by id, updated_at, which suggests several rows per id are possible

For each key, ask: could two legitimate rows share every column (too loose)? Is any column already determined by another key column (padded)? Comment here if a key is wrong. If a test fails on the right key, don't add columns: open an issue.

Other changes (no action needed)
  • quickbooks__cash_flow_statement: the existing unique test on account_unique_id already covers source_relation. It is a surrogate key over account_id, source_relation, calendar_date and class_id, built in int_quickbooks__cash_flow_classifications.
  • The purchase_order, purchase_order_line and purchase_order_linked_txn tests are config-gated by using_purchase_order, which defaults to false. No integration test scenario builds these models, so these 3 tests didn't run.
  • Staging models with no old test use the source key: the id for header tables, <parent>_id + index for line, linked-txn and tax-line tables, bundle_id + item_id for bundle_item, and as_of_date + both currency codes for exchange_rate.
  • All 58 tests

fivetran-savage and others added 2 commits November 17, 2026 15:43
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Moves the column documentation entry out of CHANGELOG.md so the docs:ready pipeline writes the changelog once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fivetran-catfritz fivetran-catfritz added the docs:ready Triggers the docs generator workflow. label Nov 18, 2026
@fivetran-data-model-bot fivetran-data-model-bot removed the docs:ready Triggers the docs generator workflow. label Nov 19, 2026
@fivetran-savage fivetran-savage added the docs:ready Triggers the docs generator workflow. label Nov 19, 2026
@fivetran-data-model-bot fivetran-data-model-bot removed the docs:ready Triggers the docs generator workflow. label Nov 19, 2026
@fivetran-savage fivetran-savage added the docs:ready Triggers the docs generator workflow. label Nov 19, 2026
Renames the remaining `tests:` keys to `data_tests:` so the yml no longer mixes the two, and marks the dbt v1.10.0 minimum as a breaking change in the .changes entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fivetran-data-model-bot fivetran-data-model-bot removed the docs:ready Triggers the docs generator workflow. label Nov 20, 2026
@fivetran-catfritz fivetran-catfritz added the docs:ready Triggers the docs generator workflow. label Nov 20, 2026
@fivetran-joemarkiewicz
fivetran-joemarkiewicz enabled auto-merge (squash) November 23, 2026 16:13
@fivetran-joemarkiewicz
fivetran-joemarkiewicz merged commit 28d88f6 into main Nov 23, 2026
23 checks passed
@fivetran-joemarkiewicz
fivetran-joemarkiewicz deleted the magicbot/fy27-updates branch November 23, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs:ready Triggers the docs generator workflow.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants