Skip to content
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

[ENG-6435] fix: duplicate reports when run for past years #10800

Conversation

aaxelb
Copy link
Contributor

@aaxelb aaxelb commented Nov 15, 2024

Purpose

prevent duplicate reports when monthly/daily reports are run for past years

Changes

set timestamp based on report_date/report_yearmonth, so it's indexed by reporting period rather than when the reporter is run

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

@aaxelb aaxelb force-pushed the fix/6435-report-timestamps branch from 1e639b0 to 5d44b9c Compare November 15, 2024 15:23
@aaxelb aaxelb marked this pull request as ready for review November 15, 2024 15:58
@mfraezz mfraezz changed the base branch from develop to feature/b-and-i-24-22 November 15, 2024 18:52
@mfraezz mfraezz merged commit eadb41f into CenterForOpenScience:feature/b-and-i-24-22 Nov 15, 2024
6 checks passed
Johnetordoff pushed a commit to Johnetordoff/osf.io that referenced this pull request Dec 11, 2024
…terForOpenScience/osf.io into institutional-access-user-message-arb

* 'feature/institutional_access' of https://github.com/CenterForOpenScience/osf.io:
  add user message read/write permissions to full
  add new user message oauth scope and throttling classes
  Fix backfill, report
  Update changelog and bump versions
  Follow-up fix for target/next (start/end) month
  Fix failures caused by base class MonthlyReporter update
  [ENG-6506] Fix: counted-usage clobbers (CenterForOpenScience#10799)
  [ENG-6435] Fix: duplicate reports when run for past years (CenterForOpenScience#10800)
  Add PrivateSpamMetricsReport (CenterForOpenScience#10791)
  [ENG-4438] Add OOPSpam and Akismet metrics to spam report (CenterForOpenScience#10783)
  [ENG-6364] Migrate Preprint Affilations (CenterForOpenScience#10787)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants