rename CLIDE_WORKSPACE to CLIDE_PROJECT
test / unit + widget + golden + a11y (push) Failing after 28s
test / integration_test (xvfb) (push) Has been skipped
test / bundle smoke (xvfb 5s) (push) Has been skipped
test / daemon subprocess + web WASM smoke (push) Has been skipped

Missed in the workspace → project rename. Consistent with the
project.open / project.validate / ProjectOpened naming.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jeroen Schweitzer
2026-05-01 12:11:15 +02:00
co-authored by Claude Opus 4.6
parent 2921adc9cb
commit 29fe6795b3
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"exported_at": "2026-05-01T10:08:01Z", "exported_at": "2026-05-01T10:11:15Z",
"decisions": [ "decisions": [
{ {
"id": "D-1", "id": "D-1",
+4 -4
View File
@@ -33,9 +33,9 @@ help: ## Show this help.
.PHONY: run .PHONY: run
run: ## Launch the Flutter desktop app. run: ## Launch the Flutter desktop app.
ifeq ($(FLUTTER_OS),linux) ifeq ($(FLUTTER_OS),linux)
GDK_BACKEND=x11 LD_LIBRARY_PATH=$(CURDIR)/native/linux-x64$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} flutter run -d linux --dart-define=CLIDE_WORKSPACE=$(CURDIR) GDK_BACKEND=x11 LD_LIBRARY_PATH=$(CURDIR)/native/linux-x64$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} flutter run -d linux --dart-define=CLIDE_PROJECT=$(CURDIR)
else else
flutter run -d $(FLUTTER_OS) --dart-define=CLIDE_WORKSPACE=$(CURDIR) flutter run -d $(FLUTTER_OS) --dart-define=CLIDE_PROJECT=$(CURDIR)
endif endif
TESTMODE_CATEGORY ?= all TESTMODE_CATEGORY ?= all
@@ -46,7 +46,7 @@ run-testmode: ## Launch ClideTestApp (TESTMODE_CATEGORY=toolchain|ipc|extensions
ifeq ($(FLUTTER_OS),linux) ifeq ($(FLUTTER_OS),linux)
@GDK_BACKEND=x11 LD_LIBRARY_PATH=$(CURDIR)/native/linux-x64$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} \ @GDK_BACKEND=x11 LD_LIBRARY_PATH=$(CURDIR)/native/linux-x64$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} \
flutter run -d linux \ flutter run -d linux \
--dart-define=CLIDE_WORKSPACE=$(CURDIR) \ --dart-define=CLIDE_PROJECT=$(CURDIR) \
--dart-define=CLIDE_TESTMODE=$(TESTMODE_CATEGORY) 2>&1 \ --dart-define=CLIDE_TESTMODE=$(TESTMODE_CATEGORY) 2>&1 \
| tee /tmp/clide-testmode.log & PID=$$!; \ | tee /tmp/clide-testmode.log & PID=$$!; \
(sleep $(TESTMODE_TIMEOUT) && kill $$PID 2>/dev/null) & TIMER=$$!; \ (sleep $(TESTMODE_TIMEOUT) && kill $$PID 2>/dev/null) & TIMER=$$!; \
@@ -54,7 +54,7 @@ ifeq ($(FLUTTER_OS),linux)
grep -q '"failed":0' /tmp/clide-testmode.log grep -q '"failed":0' /tmp/clide-testmode.log
else else
@flutter run -d $(FLUTTER_OS) \ @flutter run -d $(FLUTTER_OS) \
--dart-define=CLIDE_WORKSPACE=$(CURDIR) \ --dart-define=CLIDE_PROJECT=$(CURDIR) \
--dart-define=CLIDE_TESTMODE=$(TESTMODE_CATEGORY) 2>&1 \ --dart-define=CLIDE_TESTMODE=$(TESTMODE_CATEGORY) 2>&1 \
| tee /tmp/clide-testmode.log & PID=$$!; \ | tee /tmp/clide-testmode.log & PID=$$!; \
(sleep $(TESTMODE_TIMEOUT) && kill $$PID 2>/dev/null) & TIMER=$$!; \ (sleep $(TESTMODE_TIMEOUT) && kill $$PID 2>/dev/null) & TIMER=$$!; \
+1 -1
View File
@@ -30,7 +30,7 @@ import 'package:clide/src/pql/client.dart';
class BackendBootMessage { class BackendBootMessage {
const BackendBootMessage({required this.frontendPort, this.hintRoot}); const BackendBootMessage({required this.frontendPort, this.hintRoot});
final SendPort frontendPort; final SendPort frontendPort;
/// Optional path hint for initial toolchain resolution (e.g. CLIDE_WORKSPACE). /// Optional path hint for initial toolchain resolution (e.g. CLIDE_PROJECT).
/// Used to find project-local binaries like dugite before a project opens. /// Used to find project-local binaries like dugite before a project opens.
final String? hintRoot; final String? hintRoot;
} }
+1 -1
View File
@@ -66,7 +66,7 @@ Future<void> main() async {
// With proper signing (Developer ID), no sandbox or isolate needed. // With proper signing (Developer ID), no sandbox or isolate needed.
final toolchain = Toolchain(); final toolchain = Toolchain();
if (!kIsWeb) { if (!kIsWeb) {
const workspace = String.fromEnvironment('CLIDE_WORKSPACE'); const workspace = String.fromEnvironment('CLIDE_PROJECT');
final root = workspace.isNotEmpty ? workspace : Directory.current.path; final root = workspace.isNotEmpty ? workspace : Directory.current.path;
toolchain.applyResolved(resolveToolchainPaths(root)); toolchain.applyResolved(resolveToolchainPaths(root));
} }
+1 -1
View File
@@ -67,7 +67,7 @@ class _ClideTestAppState extends State<ClideTestApp> {
} }
Future<void> _runTests() async { Future<void> _runTests() async {
const workspace = String.fromEnvironment('CLIDE_WORKSPACE'); const workspace = String.fromEnvironment('CLIDE_PROJECT');
const category = String.fromEnvironment('CLIDE_TESTMODE'); const category = String.fromEnvironment('CLIDE_TESTMODE');
final workDir = workspace.isNotEmpty ? workspace : Directory.current.path; final workDir = workspace.isNotEmpty ? workspace : Directory.current.path;