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

I194 google analytics #2453

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

I194 google analytics #2453

wants to merge 15 commits into from

Conversation

kirkkwang
Copy link
Collaborator

@kirkkwang kirkkwang commented Feb 11, 2025

🧹 Revert account_settings and spec

b585015

This commit will turn back on the batch email, depositor email, and
google analytics settings for the tenants (accounts).

🧹 Remove early return and over add #sorted_users

4d91549

This commit will remove the early return in the user_stat_collection_job
since it was too aggressive and will have a condition where it will
never run. Also, adding an override to #sorted_users to acocunt for
multitenancy in Hyku.

Update Hyrax to bring in bug fixes for GA4

df8a46e

This commit will update the Hyrax revision to bring in the bug fixes for
Google Analytics 4 and also update the logic in Hyku's ga4 partial to
account for multitenancy more accurately.

image

image

This commit will turn back on the batch email, depositor email, and
google analytics settings for the tenants (accounts).
This commit will remove the early return in the user_stat_collection_job
since it was too aggressive and will have a condition where it will
never run.  Also, adding an override to #sorted_users to acocunt for
multitenancy in Hyku.
This commit will update the Hyrax revision to bring in the bug fixes for
Google Analytics 4 and also update the logic in Hyku's ga4 partial to
account for multitenancy more accurately.
@kirkkwang kirkkwang added the patch-ver for release notes label Feb 11, 2025
Copy link

github-actions bot commented Feb 11, 2025

Test Results

    3 files  ±0      3 suites  ±0   18m 38s ⏱️ +44s
2 056 tests  - 3  2 000 ✅  - 3  56 💤 ±0  0 ❌ ±0 
2 083 runs   - 3  2 025 ✅  - 3  58 💤 ±0  0 ❌ ±0 

Results for commit 5dc351f. ± Comparison against base commit d9b2bac.

This pull request removes 45 and adds 42 tests. Note that renamed tests count towards both.
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to destroy 3a89279e-c035-4adb-9945-060d8fe6d6ec
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to edit 1dea2e7d-3948-4cb3-a1ca-914d8d4f8cb5
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to read d27a6712-455e-4e29-9f29-e002471a7e79
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to update 96d7f457-6b35-4d71-a66a-a3de305d6937
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to destroy 52a70e01-9515-4a0d-a79f-6c501f3499d2
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to edit affbcee5-9569-4bde-876c-7a945ebf9a55
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to read 425cd124-9a85-464f-b15b-14e3440b8b22
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to update 3d462ff9-2952-4633-a621-3cefbfa7df00
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to destroy afc414f9-219a-4eb6-b09a-247486372058
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to edit 450753c4-b22d-4319-a3e0-b29b80b6b83f
…
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to destroy 1167b94e-4ec0-4b50-9b8f-70c77d0d9c62
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to edit 0ae09aae-dea1-4296-960e-897d1f448c27
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to read 08b6a5a4-be3c-4719-aa0f-f95e2e8fc8d8
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to update c957f683-1052-40ac-bf86-b5b13881647d
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to destroy cec9ab55-7ce1-4e83-8e4d-0bd3d4ce0af6
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to edit 7c7cf6ff-fdaa-44a2-ac03-bf2b67bf4fb2
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to read caeec619-fa74-4e55-9aac-cd2484da8993
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to update b7fa46f6-65cc-4030-8af2-ff34653791f7
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to destroy 1a957c40-3dc3-44db-a1d7-c4d697ff8fe6
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to edit 672ea4fd-0342-485e-94e7-a8755a695d62
…

♻️ This comment has been updated with latest results.

This commit will remove the early return in the user_stat_collection_job
since it was too aggressive and will have a condition where it will
never run.  Also, adding an override to #sorted_users to acocunt for
multitenancy in Hyku.
This commit will update the Hyrax revision to bring in the bug fixes for
Google Analytics 4 and also update the logic in Hyku's ga4 partial to
account for multitenancy more accurately.
@kirkkwang kirkkwang force-pushed the i194-google-analytics branch from a29ebcb to df8a46e Compare February 11, 2025 18:18
This commit will add new environment variables onto the demo deploy to
support Google Analytics testing.
This commit will add the Google environment variables that suppor Google
Analytics 4 to the deploy.yaml so we can set it in the github secrets.
This commit will update the Hyrax revision for move GA4 fixes.  We will
also revert the ga4 partial because that wasn't the root of the problem.
The problem was actually because the account_settings did not properly
support GA4 settings to allow the ga4 partial to work.
ShanaLMoore and others added 4 commits February 12, 2025 14:31
This helps to prevent errors caused by nil analytic values
When analytic values are nil the site would crash. This pulls in a fix from hyrax that will rescue and log the errors instead.
Adjusting spec for new options.
This commit will remove the analytics_provider as a setting on the specs
to match up with a previous commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants