{"id":34995146,"url":"https://github.com/harmon25/sface_demo","last_synced_at":"2026-05-21T00:33:49.144Z","repository":{"id":321830115,"uuid":"1087333191","full_name":"harmon25/sface_demo","owner":"harmon25","description":"Sface Demo / Bug Reproduction ","archived":false,"fork":false,"pushed_at":"2025-10-31T19:37:29.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-28T15:00:52.026Z","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/harmon25.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-10-31T18:26:00.000Z","updated_at":"2025-10-31T19:37:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/harmon25/sface_demo","commit_stats":null,"previous_names":["harmon25/sface_demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harmon25/sface_demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmon25%2Fsface_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmon25%2Fsface_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmon25%2Fsface_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmon25%2Fsface_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harmon25","download_url":"https://codeload.github.com/harmon25/sface_demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmon25%2Fsface_demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33282234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T15:12:43.734Z","status":"ssl_error","status_checked_at":"2026-05-20T15:12:42.300Z","response_time":356,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-12-27T02:02:25.245Z","updated_at":"2026-05-21T00:33:49.139Z","avatar_url":"https://github.com/harmon25.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SfaceDemo Umbrella Mix Compile Issue\n\n## default not as umbrella works as expected\n\nClone + compile the repo - not as an umbrella it works as expected:\n\n```sh\ngit clone git@github.com:harmon25/sface_demo.git\ncd sface_demo/\nmix deps.get\nmix compile\n\n# listing this directory we have the co-located hooks\nls assets/js/_hooks\n```\n\nThe `assets/js/_hooks` directory is created and hooks copied over.\n\nSo no as an umbrella app - this works as expected\n\n## As Umbrella on otp28 + elixir 1.19.1\n\nCheckout branch where app is now nested in an umbrella, cleanup + compile.\nThis is what mis-behaves and I believe is an elixir/mix bug.\n\n```sh\n\ngit checkout as_umbrella\n# remove previously generated assets\nrm -rf assets/\nmix clean\nmix compile\n\nls apps/sface_demo/assets/js/\n#  No _hooks are generated\n```\n\nWhen the surface compile task runs - it appears the args to the [`run/1`](https://github.com/surface-ui/surface/blob/main/lib/mix/tasks/compile/surface.ex#L164-L182) function here are being overridden somehow...\n\nA plain mix compile sees the following args:\n\n```elixir\n[\"--from-mix-deps-compile\", \"--no-warnings-as-errors\", \"--no-code-path-pruning\"]\n```\n\nWhich is weird, as no arguments were passed to `mix compile`\n\nSince `\"--from-mix-deps-compile\"` is present, the surface task just no-ops.\n\n## As Umbrella On Earlier Elixir\n\nCheckout branch where app is now nested in an umbrella, but on elixir 1.18.x + otp27\n\n```sh\ngit checkout umbrellla_older_elixir\nrm -rf _build/\nmix deps.clean --all\nmix deps.get\nmix compile\n\nls apps/sface_demo/assets/js/_hooks\n# it works!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharmon25%2Fsface_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharmon25%2Fsface_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharmon25%2Fsface_demo/lists"}