DB seed and deseed scripts#1837
Open
AaronPlave wants to merge 14 commits into
Open
Conversation
be30667 to
ac13909
Compare
f288302 to
4dd050c
Compare
Collaborator
|
@AaronPlave will come back to this - we think it broke slightly due to recent actions changes. Otherwise this is a useful tool with low-risk (no product impact) that we should try to merge soon. |
- createActionDefinition: action_file_id moved from action_definition to action_definition_version (nested versions insert pattern) - Add `•` marker to seeded item names; tighten deseed regex so a generic `(word)` suffix no longer false-matches organic names - Identify seeded derivation groups by ASCII source_type_name instead of name to avoid Hasura's `_in` no-op behavior on non-ASCII strings
# Conflicts: # e2e-tests/utilities/api.ts
Contributor
Author
|
@dandelany updated to reflect latest changes |
Moves the resources.ts gap/dynamics fix and its dynamics types (RealDynamics, ProfileDynamics, ProfileSegment typing) out to the fix/resource-sampling-gaps branch. The ExternalDatasetInput/ ExternalProfileInput types used by the seed scripts remain here.
Moves the resources.ts gap/dynamics fix (with its dynamics types and the external-dataset fixture) and the derivationGroupVisibilityMap reset out of this seed/deseed PR into dedicated branches/PRs. The ExternalDatasetInput/ ExternalProfileInput types used by the seed scripts remain here.
|
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.



Summary
Adds
seed/deseedscripts for development and testing purposes and substantially expandsapi.tsfor future e2e refactoring.Details
scripts/seed.ts+scripts/deseed.ts(run vianpm run seed/deseed).get*/delete*helpers + gateway/workspace support +External*input types.Visible UX Changes
None
Verification
npm run seednpm run deseed