Repository navigation
Keep a stale country rollup's 30-day total and a refusal's status, read NPM_CONFIG_DRY_RUN in any case, and fail the cron route closed without CRON_SECRET (#65) - #66
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
This pull request carries one commit, which addresses the seven items of issue #65 in the PyPI country collector and the cron route. The country rollup's 30-day window is now anchored on the as-of day (the newest stored day) rather than on the run date; a rollup rewrite that fails during an early stop is logged and the run keeps the status it stopped with (for example
refused_cap) instead of endingerror;npm_config_dry_run=trueselects the dry run in any letter case;-hor--helpprints the usage and exits 0 whatever else is given; the cron route answers 401 whenCRON_SECRETis unset or empty; and the summary step receives an allowlisted environment (the collector set plusSUMMARY_DB,SUMMARY_OUTandCOLLECTOR_OUTCOMES) instead of the whole process environment. The README and usage text describe-h, help precedence and how npm 8 through 11 and npm 12 treat an unknown flag given without--.Included
Verified on this exact tree
Run on commit 6c540ac with Node 24.21.0 after
npm ci.npm run build(Next.js) exit 0. Output: "Finished TypeScript", "Compiled successfully", static pages 3/3 generated.tsconfig.json. The TypeScript step inside the Next.js build finished without error.package.json.node --test --test-concurrency=4 test/*.test.jsover 18 test files. Output: tests 253, pass 253, fail 0, cancelled 0, skipped 0, todo 0.Not included
None.
How to merge
Rebase and merge, so that each change stays its own commit on
main.