{"id":24554006,"url":"https://github.com/jechol/ash_nested_calculation_bug","last_synced_at":"2025-03-16T14:46:31.805Z","repository":{"id":272886907,"uuid":"918070238","full_name":"jechol/ash_nested_calculation_bug","owner":"jechol","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-18T02:15:46.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T19:47:02.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jechol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-17T07:35:40.000Z","updated_at":"2025-01-17T09:41:54.000Z","dependencies_parsed_at":"2025-01-17T08:45:23.426Z","dependency_job_id":null,"html_url":"https://github.com/jechol/ash_nested_calculation_bug","commit_stats":null,"previous_names":["jechol/ash_nested_calculation_bug"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jechol%2Fash_nested_calculation_bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jechol%2Fash_nested_calculation_bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jechol%2Fash_nested_calculation_bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jechol%2Fash_nested_calculation_bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jechol","download_url":"https://codeload.github.com/jechol/ash_nested_calculation_bug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243885891,"owners_count":20363644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-23T02:17:00.196Z","updated_at":"2025-03-16T14:46:31.766Z","avatar_url":"https://github.com/jechol.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ash Nested Calculation Bug Reproduction\n\nThis repository demonstrates a crash issue related to nested calculations not being properly loaded in Ash.\n\n## Reproducing the Issue\n\nTo observe the crash:\n\n1. Clone this repository.\n2. Ensure you are on the `main` branch.\n3. Run the following commands:\n   ```bash\n   mix ecto.reset\n   mix test\n   ```\n4. You will observe the test failure due to a crash caused by the nested calculation not loading properly.\n\n## Ash 3.4.52 Behavior\n\nTo verify that the issue does not occur in Ash 3.4.52:\n\n1. Switch to the `with-ash-3.4.52` branch:\n   ```bash\n   git checkout with-ash-3.4.52\n   ```\n2. Run the same commands:\n   ```bash\n   mix ecto.reset\n   mix test\n   ```\n3. All tests will pass, confirming that this issue does not occur in Ash 3.4.52.\n\n## Ash 3.4.53 - 3.4.55 Behavior\n\nTo confirm that the issue persists in Ash versions 3.4.53 to 3.4.55:\n\n1. Switch to the relevant branch for each version (`with-ash-3.4.53`, `with-ash-3.4.54`, or `with-ash-3.4.55`):\n   ```bash\n   git checkout with-ash-3.4.53\n   git checkout with-ash-3.4.54\n   git checkout with-ash-3.4.55\n   ```\n2. Run the commands for each branch:\n   ```bash\n   mix ecto.reset\n   mix test\n   ```\n3. You will observe that the tests fail in all these versions due to the same issue.\n\n## Additional Information\n\nThis repository is structured to make it easy to isolate and test the issue. For any questions or further clarifications, feel free to open an issue or submit a pull request.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjechol%2Fash_nested_calculation_bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjechol%2Fash_nested_calculation_bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjechol%2Fash_nested_calculation_bug/lists"}