Use canonical true spend for YSWS Airtable cost/hour - #69
Draft
zachlatta wants to merge 2 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the existing spend and Cost Per Hour columns in place with canonical true-spend mart values. No new fields: the prior two-field proposal is superseded. Existing IDs and downstream consumers remain. Total Spend must stop adding estimated postage; Cost Per Hour changes from formula to writable currency and receives the exact grouped-root rate from the website.\n\nShared roots retain the canonical rate; unknown mappings clear stale values. Separate post-dbt writer avoids the pre-warehouse marker cycle. Included in the existing 15-minute job. Guards refuse writes until the existing field type/formula cutover is complete.\n\n64 cost-sync/site tests and 23 resilience tests pass; full Dagster graph validation passed. Read-only live dry-run mapped 302 of 363 program records. No live values changed.\n\nDraft pending Airtable browser access for the in-place field conversion/formula edit, then deploy, materialize both sync assets, and reconcile live values. See docs/ysws-true-spend-airtable-cutover.md.