-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backfill synonym slugs (DO NOT MERGE) #2785
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2785 +/- ##
========================================
- Coverage 6.08% 5.91% -0.17%
========================================
Files 171 172 +1
Lines 4340 4361 +21
Branches 476 480 +4
========================================
- Hits 264 258 -6
- Misses 4074 4101 +27
Partials 2 2 ☔ View full report in Codecov by Sentry. |
so I tried it without the region and it doesn't work without a region. Just for future reference. I added it back in and was able to run things fine. |
Interesting. I think I have |
app/backfill-synonym-slugs.js
Outdated
} catch (error) { | ||
console.error('Error fetching table name from SSM:', error) | ||
throw error | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, you could safely remove this entire try
/except
block. You'll get a good stack trace either way.
const startTime = new Date() | ||
console.log('Starting SYNONYM SLUG backfill... ', startTime) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider console.time
and console.timeEnd
.
There is no more test data to test this script. The only env left with data is prod. |
OK, what's your new test strategy? If we could only ever test this once, then perhaps we did not have an adequate test strategy. |
DO NOT MERGE!!! for review only
closes #2784