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

Tag new reappears on old python script repositories #3483

Open
6 tasks done
Xander-V opened this issue Jan 25, 2024 · 1 comment
Open
6 tasks done

Tag new reappears on old python script repositories #3483

Xander-V opened this issue Jan 25, 2024 · 1 comment
Labels
issue:frontend For issues with the frontend/UI

Comments

@Xander-V
Copy link

Web browser

firefox / edge / chrome

Web browser version

122.0 / 120.0.2210.144 / 121.0.6167.86

System Health details

System Information

version core-2024.1.5
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.11.6
os_name Linux
os_version 4.4.302+
arch x86_64
timezone Europe/Amsterdam
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1391
Downloaded Repositories 86
HACS Data ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Dashboards
dashboards 3
resources 41
views 16
mode storage
Recorder
oldest_recorder_run January 17, 2024 at 18:15
current_recorder_run January 25, 2024 at 22:04
estimated_db_size 6487.28 MiB
database_engine mysql
database_version 10.11.2
Spotify
api_endpoint_reachable ok
Xiaomi Miot Auto
component_version 0.7.15
can_reach_server ok
can_reach_spec ok
logged_accounts 1
total_devices 1

Checklist

Describe the issue

At certain times the "new" base filter shows all python scripts as new. Applies only to python script entries, I have never seen items in the other categories reappear, but the scripts return regularly. Until now I have not been able to reproduce exactly when/why they reappear, but it seems the filter data gets lost once in a while. Maybe it has something to do with updating the docker version of HA, can it be the "new" tag data for the other categories is written to a different location?

The filtered data stays ok with a simple reload of HACS, and at the moment also after a full restart of HA. In the past 6 months I've however seen the python scripts reappear at least 3 times.

Reproduction steps

  1. Go to dashboard
  2. Select base filter "new"
  3. Open each python scripts repository entry and go back to the filtered list again where they won't be showing anymore since the tag new has been removed
  4. wait an undefined time and use HACS/HA/docker regularly
  5. Go to dashboard
  6. Apply filter "new"
  7. At some point the python script items that used to be marked as no longer new reappear as new.

Screenshots

image

image

image

Javascript logs from your browser console

empty

Diagnostics dump

{
"home_assistant": {
"installation_type": "Home Assistant Container",
"version": "2024.1.5",
"dev": false,
"hassio": false,
"virtualenv": false,
"python_version": "3.11.6",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Amsterdam",
"os_name": "Linux",
"os_version": "4.4.302+",
"run_as_root": true
},
"custom_components": {
"dwains_dashboard": {
"version": "3.6.0",
"requirements": []
},
"additional_ca": {
"version": "0.1.0",
"requirements": []
},
"watchman": {
"version": "0.5.1",
"requirements": [
"prettytable==3.0.0"
]
},
"spook": {
"version": "2.1.1",
"requirements": []
},
"portainer": {
"version": "0.0.0",
"requirements": []
},
"hacs": {
"version": "1.34.0",
"requirements": [
"aiogithubapi>=22.10.1"
]

[... deleted because of "body too long message when adding the issue ...]

"integration_manifest": {
"domain": "hacs",
"name": "HACS",
"codeowners": [
"@ludeeus"
],
"config_flow": true,
"dependencies": [
"http",
"websocket_api",
"frontend",
"persistent_notification",
"lovelace",
"repairs"
],
"documentation": "https://hacs.xyz/docs/configuration/start",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/hacs/integration/issues",
"requirements": [
"aiogithubapi>=22.10.1"
],
"version": "1.34.0",
"is_built_in": false
},
"data": {
"entry": {
"entry_id": "03a46d15e0b0b0055e5b8e417d6d9699",
"version": 1,
"minor_version": 1,
"domain": "hacs",
"title": "",
"data": {
"token": "REDACTED"
},
"options": {
"sidepanel_title": "HACS",
"sidepanel_icon": "hacs:hacs",
"release_limit": 5,
"country": "ALL",
"appdaemon": false,
"netdaemon": false,
"debug": false,
"experimental": true
},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "user",
"unique_id": null,
"disabled_by": null
},
"hacs": {
"stage": "running",
"version": "1.34.0",
"disabled_reason": null,
"new": false,
"startup": false,
"categories": [
"theme",
"plugin",
"template",
"python_script",
"integration"
],
"renamed_repositories": {
[ ... ]
"ignored_repositories": [],
"lovelace_mode": "storage",
"configuration": {
"appdaemon": false,
"country": "ALL",
"debug": false,
"dev": false,
"experimental": true,
"netdaemon": false,
"python_script": false,
"release_limit": 5,
"theme": false
}
},
"custom_repositories": [
"Ernst79/degree-days"
],
"repositories": [
{
"data": {
"archived": false,
"authors": [
"@amitfin"
],
"category": "integration",
"config_flow": false,
"default_branch": null,
"description": "Home Assistant Integration with Retry Service",
"domain": "retry",
"downloads": 921,
"etag_repository": "W/"d71bb8ed301862e5240533be1d38ff4482982598997c544f61cfedbc149d04e8"",
"etag_releases": null,
"file_name": "",
"first_install": false,
"full_name": "amitfin/retry",
"hide": false,
"has_issues": true,
"id": "612717689",
"installed_commit": "caedc46",
"installed_version": "v2.6.2",
"installed": true,
"last_commit": "ea49aa4",
"last_updated": "2024-01-22T07:22:23Z",
"last_version": "v2.6.2",
"manifest_name": "Retry",
"new": false,
"open_issues": 0,
"published_tags": [],
"releases": true,
"selected_tag": null,
"show_beta": false,
"stargazers_count": 59,
"topics": [
"homeassistant-custom-component"
]
},
"integration_manifest": {},
"repository_manifest": {
"content_in_root": false,
"country": [],
"filename": "retry.zip",
"hacs": null,
"hide_default_branch": true,
"homeassistant": "2023.8.0",
"manifest": {
"name": "Retry",
"filename": "retry.zip",
"hide_default_branch": true,
"homeassistant": "2023.8.0",
"render_readme": true,
"zip_release": true
},
"name": "Retry",
"persistent_directory": null,
"render_readme": true,
"zip_release": true
},
"ref": null,
"paths": {
"localpath": "/config/custom_components/retry",
"local": "/config/custom_components/retry",
"remote": "custom_components"
}
},
[ ... ]
"name": "iOS Theme - Based on the system-wide light and dark mode UI",
"persistent_directory": null,
"render_readme": true,
"zip_release": false
},
"ref": null,
"paths": {
"localpath": "/config/themes/",
"local": "/config/themes/",
"remote": "themes"
}
}
],
"rate_limit": {
"resources": {
"core": {
"limit": 5000,
"used": 0,
"remaining": 5000,
"reset": 1706223499
},
"search": {
"limit": 30,
"used": 0,
"remaining": 30,
"reset": 1706219959
},
"graphql": {
"limit": 5000,
"used": 0,
"remaining": 5000,
"reset": 1706223499
},
"integration_manifest": {
"limit": 5000,
"used": 0,
"remaining": 5000,
"reset": 1706223499
},
"source_import": {
"limit": 100,
"used": 0,
"remaining": 100,
"reset": 1706219959
},
"code_scanning_upload": {
"limit": 1000,
"used": 0,
"remaining": 1000,
"reset": 1706223499
},
"actions_runner_registration": {
"limit": 10000,
"used": 0,
"remaining": 10000,
"reset": 1706223499
},
"scim": {
"limit": 15000,
"used": 0,
"remaining": 15000,
"reset": 1706223499
}
},
"rate": {
"limit": 5000,
"used": 0,
"remaining": 5000,
"reset": 1706223499
}
}
}
}

@Xander-V Xander-V added the issue:frontend For issues with the frontend/UI label Jan 25, 2024
@hacs-bot
Copy link

hacs-bot bot commented Jan 25, 2024

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a 👍 reaction to the issue description. Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue:frontend For issues with the frontend/UI
Projects
None yet
Development

No branches or pull requests

1 participant