GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [Bug]: `@` workspace search ignores `.gitignore` because `WorkspaceEntriesLive` is wired without `GitCoreLive` · Issue #2077 · pingdotgg/t3code Closed Labels bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization. DescriptionBefore submitting
Areaapps/server Steps to reproduce
Expected behaviorPaths ignored by Git should not be returned by Actual behavior
The likely root cause is in const WorkspaceLayerLive = Layer.mergeAll( WorkspacePathsLive, WorkspaceEntriesLive.pipe(Layer.provide(WorkspacePathsLive)), WorkspaceFileSystemLive.pipe( Layer.provide(WorkspacePathsLive), Layer.provide(WorkspaceEntriesLive.pipe(Layer.provide(WorkspacePathsLive))), ), ); But const gitOption = yield* Effect.serviceOption(GitCore); That same file only uses the Git-backed index when
So the server appears to have the Git-aware implementation, but The fix that worked locally was to wire const WorkspaceEntriesLayerLive = WorkspaceEntriesLive.pipe( Layer.provide(WorkspacePathsLive), Layer.provideMerge(GitCoreLive), ); const WorkspaceFileSystemLayerLive = WorkspaceFileSystemLive.pipe( Layer.provide(WorkspacePathsLive), Layer.provide(WorkspaceEntriesLayerLive), ); const WorkspaceLayerLive = Layer.mergeAll( WorkspacePathsLive, WorkspaceEntriesLayerLive, WorkspaceFileSystemLayerLive, ); ImpactMajor degradation or frequent failure Version or commitEnvironmentLinux, Runtime used during repro: Node Logs or stack tracesScreenshots, recordings, or supporting filesNo response WorkaroundThere does not appear to be a clean repo-side workaround when this wiring bug is present. The workaround that succeeded locally was to patch the installed runtime so Activity
MetadataMetadataAssigneesLabelsbugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |