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

Cv2 4793 identify required workflows #1957

Closed
wants to merge 768 commits into from

Conversation

chinelo-obitube
Copy link
Contributor

@chinelo-obitube chinelo-obitube commented Jul 16, 2024

Description

Adding the new workflow for ci-tests to github actions

References: https://meedan.atlassian.net/browse/CV2-4793

How has this been tested?

The pipeline was previously set to run on push to the feature branch as shown here https://github.com/meedan/check-api/actions/runs/9892849970

Things to pay attention to during code review

Please describe parts of the change that require extra attention during code review, for example:

  • File FFFF, line LL: This refactoring does this and this. Is it consistent with how it’s implemented elsewhere?
  • Etc.

Checklist

  • I have performed a self-review of my own code
  • I have added unit and feature tests, if the PR implements a new feature or otherwise would benefit from additional testing
  • I have added regression tests, if the PR fixes a bug
  • I have added logging, exception reporting, and custom tracing with any additional information required for debugging
  • I considered secure coding practices when writing this code. Any security concerns are noted above.
  • I have commented my code in hard-to-understand areas, if any
  • I have made needed changes to the README
  • My changes generate no new warnings
  • If I added a third party module, I included a rationale for doing so and followed our current guidelines

caiosba and others added 30 commits September 12, 2022 18:29
Reference: CHECK-2295.
* Data is now per week, from when the feed was created until today
* New column for feed type

Reference: CHECK-2433.
For media queries, the medias can be stored locally. Additional headers to access the media can be stored in the feed settings.

Reference: CHECK-2423.
* Total number of requests
* Daily
* Weekly

Reference: CHECK-2455.
New data points:

* Average number of conversations per day
* Number of messages sent (total, monthly) - not back and forth

These should not be available on the dashboards inside Check, just in the statistics.csv file uploaded to S3.

Reference: CHECK-2506.
This is an easy win in terms of performance... it avoids N + 1 performance issues on various GraphQL queries and it's a value that never changes, so we can keep it cached forever essencially.

Hopefully fixes CHECK-2491.
* Set custom title for file items
* Sort feed requests by media type
* Better performance (e.g., avoid N + 1 queries problem) for `RequestType` fields `feed` and `media`
* Cache feed name for requests
* Requests now have title

Reference: CHECK-2494.
• Log the responses for all HTTP requests to a request `webhook_url`
• Notify Errbit if that response is not 200

Reference: CHECK-2514.
* Read tipline Privacy and Purpose content from Transifex

This commit changes the usage of hardcoded privacy and purpose texts from
content downloaded from transifex into tipline_string.yml

References CHECK-2460 CHECK-2461

* Fix test

* CHECK-2460 CHECK-2461 Actually include Arabic and Gujarati strings
* Read tipline Privacy and Purpose content from Transifex

This commit changes the usage of hardcoded privacy and purpose texts from
content downloaded from transifex into tipline_string.yml

References CHECK-2460 CHECK-2461

* Fix test
* CHECK-2437 add language as a parameter to alegre requests

* CHECK-2437 of course you should probably return the params
* Fallback to default status is mapped status is not valid (fixes CHECK-2560)

* Report to Errbit when an exception happens on a GraphQL request (fixes CHECK-2551)
@caiosba
Copy link
Contributor

caiosba commented Jul 16, 2024

@melsawy can you please take this review?

@chinelo-obitube chinelo-obitube self-assigned this Jul 16, 2024
@chinelo-obitube chinelo-obitube marked this pull request as ready for review July 16, 2024 15:00
@caiosba
Copy link
Contributor

caiosba commented Jul 16, 2024

@chinelo-obitube you can remove the .travis.yml in this PR, right?

@chinelo-obitube
Copy link
Contributor Author

It will be removed in the next ticket https://meedan.atlassian.net/browse/CV2-4794 after confirmation from @melsawy

chinelo-obitube added 3 commits July 16, 2024 17:06
@chinelo-obitube
Copy link
Contributor Author

closing this PR because of unrelated changes into this PR

@chinelo-obitube chinelo-obitube deleted the cv2-4793-identify-required-workflows branch July 16, 2024 16:24
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.

9 participants