Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
f6378d2
fix(wework): protect document links and native credentials
Nov 9, 2026
df6caad
test(wework): finish deferred focus cleanup before teardown
Nov 9, 2026
6ae3bf5
fix(deps): declare Streamdown public HAST type dependency
Nov 9, 2026
846e806
fix(wework): prepare credential-compatible rollback bridge
Nov 9, 2026
1507068
fix(wework): require credential-compatible rollback packages
Nov 9, 2026
c7259bd
chore(wework): base security migration on credential bridge
Nov 9, 2026
186b802
fix(wework): clear protected credentials without keychain access
Nov 9, 2026
8fea05d
fix(wework): clear protected credentials without keychain access
Nov 9, 2026
08c2905
chore(wework): align bridge credential clearing contract
Nov 9, 2026
59339ac
test(wework): assert credential clearing preserves protected format
Nov 9, 2026
a5f72c3
test(wework): load shipped credential modules through native loader
Nov 9, 2026
046d6be
test(wework): sync packaged credential validation
Nov 9, 2026
2ba26d1
chore(wework): sync bridge with current main
Nov 9, 2026
27c5367
chore(wework): sync security migration with current main
Nov 9, 2026
f6cbcd5
fix(wework): avoid blocking startup on native credential access
Nov 9, 2026
2b7d736
fix(wework): sync asynchronous bridge credential protection
Nov 9, 2026
5dda0aa
fix(wework): require the published bridge for security release candid…
Nov 9, 2026
c4776f8
fix(wework): reject native fixed-key encryption fallback
Nov 9, 2026
fe1e080
fix(wework): retain strong native protection in security releases
Nov 9, 2026
204a212
test(wework): exercise the native credential APIs in historical packages
Nov 9, 2026
4cc3432
test(wework): sync historical credential reader verification
Nov 9, 2026
eb63e74
test(wework): preserve upgrade probes across release handoffs
Nov 9, 2026
49520b2
test(wework): sync historical package verification fixes
Nov 9, 2026
6115222
test(wework): confirm rollback retries before preparation
Nov 9, 2026
e47db83
test(wework): sync rollback confirmation verification
Nov 9, 2026
b345734
test(wework): verify credentials by migration format
Nov 10, 2026
e08e134
test(wework): sync layered credential acceptance
Nov 10, 2026
d140ac4
chore(wework): sync main for security review
Nov 10, 2026
0ea8f95
test(wework): retain delivered rollback identities and inspector endp…
Nov 10, 2026
f97463e
test(wework): sync delivered rollback verification
Nov 10, 2026
999f77c
test(wework): bind package verification to native process and window …
Nov 10, 2026
643e146
test(wework): sync native package evidence verification
Nov 10, 2026
0e592f2
ci(wework): include native status window contract tests
Nov 10, 2026
757fd44
ci(wework): sync native status contract coverage
Nov 10, 2026
c25fdfe
test(wework): register delayed native recovery handoffs
Nov 10, 2026
13e8e4b
test(wework): sync delayed recovery endpoint registration
Nov 10, 2026
6bff0fc
test(wework): retain native credential and exit diagnostics
Nov 10, 2026
07f90f1
test(wework): sync native migration diagnostics
Nov 10, 2026
fe50fab
fix(wework): serialize release bootstrap transactions
Nov 10, 2026
29226d1
test(wework): preserve native startup coverage on all platforms
Nov 10, 2026
e47c525
test(wework): diagnose native startup lifecycle by phase
Nov 10, 2026
36aec06
test(wework): control native fixtures without GUI stdin
Nov 10, 2026
0129fde
test(wework): observe native fixture command state
Nov 10, 2026
b48ebed
fix(wework): preserve native model probes when syncing main
Nov 10, 2026
2bde116
chore(wework): sync release baseline while retaining security candida…
Nov 10, 2026
e50a045
fix(wework): isolate migrated credentials from rollback storage
Nov 10, 2026
76c8628
chore(wework): sync main for isolated credential migration
Nov 10, 2026
256635a
test(wework): serialize native release contract probes
Nov 10, 2026
d16fb5c
chore(wework): sync main for security fix CI
Nov 11, 2026
82e7388
chore(wework): preserve combined upgrade verification on main sync
Nov 11, 2026
19c1c2b
fix(wework): enforce native plugin consent and verify packaged security
Nov 11, 2026
dc14ef7
fix(ci): prepare native probe prerequisites before verification
Nov 11, 2026
f849aed
fix(wework): require native consent before development execution
Nov 11, 2026
8a5eedb
fix(e2e): await native authorization polling before approval
Nov 11, 2026
62b4207
chore: merge main and preserve native plugin approval docs
Nov 11, 2026
5382f5f
chore: merge main and preserve credential rollback ownership
Nov 12, 2026
dba5285
chore: merge main and retain both navigation updates
Nov 12, 2026
35417e1
docs(wework): remove unrelated navigation formatting changes
Nov 12, 2026
9ab7002
fix(wework): preserve HTML and secure DOCX previews
Nov 12, 2026
d97df57
fix(wework): make isolated display readiness durable
Nov 12, 2026
17f9744
fix(wework): preserve credential recovery and exact rollback proof
Nov 12, 2026
e696da3
test(wework): resolve native credential fixtures on Windows
Nov 12, 2026
de92fdb
fix(wework): integrate latest main for next-release verification
Nov 12, 2026
6ee1360
fix(wework): isolate legacy model bindings for rollback
Nov 12, 2026
20d73e8
fix(wework): require authenticated upgraded credential writes
Nov 12, 2026
7d7004b
fix(wework): start native tray probes without debugger pause
Nov 12, 2026
ceeda3c
fix(wework): navigate About from the active settings surface
Nov 12, 2026
026ed8d
test(wework): run synthetic native protocol in Node mode
Nov 12, 2026
5128965
test(wework): preserve physical archives in ownership fixtures
Nov 12, 2026
426ab77
fix(ci): reuse the existing Wework desktop test image
Nov 13, 2026
752933e
fix(ci): use signed Ubuntu archives for native test setup
Nov 13, 2026
994cd0b
fix(wework): restore native model dispatch and desktop test prerequis…
Nov 13, 2026
dec21cd
chore(wework): resolve current main integration
Nov 13, 2026
7419a58
fix(wework): preserve runtime routing and response identities
Nov 13, 2026
7a7e3a1
fix(wework): correct native CI fixture isolation
Nov 13, 2026
e92cdbe
fix(runtime): preserve concurrent title and cloud connection updates
Nov 13, 2026
c9b0a0b
fix(wework): integrate main without duplicate title retries
Nov 13, 2026
8a66eee
fix(wework): finish native key release before cancelling approval
Nov 16, 2026
1956a79
fix(wework): integrate latest main security boundaries
Nov 16, 2026
bb777f0
fix(wework): retain native inspection promises until completion
Nov 16, 2026
a22a1db
fix(ci): preserve archive context while integrating latest main
Nov 17, 2026
4597067
fix(executor): drain passive reads before authentication changes
Nov 17, 2026
f2a5233
test(executor): cover queued async answer cleanup
Nov 17, 2026
1735ccf
chore: integrate latest main for PR 4479
Nov 17, 2026
2337cec
chore: integrate current main for PR 4479
Nov 17, 2026
060c991
chore: integrate current main for PR 4479
Nov 17, 2026
72850a4
fix(connectors): preserve bootstrap row identity through rollback
Nov 17, 2026
3d134f2
feat(collaboration): add assistant hosting status design prototype (#…
sdadunderscoresdad Nov 17, 2026
fdecea1
fix(wework): restore single-form desktop model configuration (#4724)
Micro66 Nov 17, 2026
ba15c40
fix(executor): preserve inherited routes for reply predictions (#4717)
qdaxb Nov 17, 2026
66e8ab3
chore(wework): bump app version to 0.6.10-beta.4
wegent-release-bot[bot] Nov 17, 2026
67410e4
fix(wework): decouple model discovery and observe native focus state
Nov 17, 2026
f381135
test(wework): declare reasoning capability in restoration fixture
Nov 17, 2026
9f1613a
fix(backend-rs): handle header-relative offsets in prefixed PDFs (#4722)
FicoHu Nov 17, 2026
d8c5a11
test(wework): use existing provider discovery entry directly
Nov 17, 2026
e093adc
fix(wework): preserve draft models and invalidate committed catalog e…
Nov 17, 2026
4f8ab40
test(wework): isolate native state and select authorization model
Nov 17, 2026
28bc610
fix(wework): admit follow-ups without waiting for context reads (#4716)
Micro66 Nov 17, 2026
beaeb42
test(wework): establish actual plugin and model prerequisites
Nov 17, 2026
4605696
fix(wework): resolve main policy synchronization conflict
Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/actions/setup-wework-native-test-dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Prepare Wework native test dependencies
description: Add isolated keyring and native dialog tools to the existing desktop image

runs:
using: composite
steps:
- name: Install missing native test tools
shell: bash
run: |
install -m 644 .github/ci/wework-native-test-ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources
source .github/scripts/lib/apt-packages.sh
install_missing_apt_packages gnome-keyring libsecret-tools xdotool
for binary in dbus-run-session gnome-keyring-daemon gdbus secret-tool xdotool; do
command -v "$binary"
done
11 changes: 11 additions & 0 deletions .github/ci/wework-native-test-ubuntu.sources
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Types: deb
URIs: https://archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: https://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@ assert_case "Wework transport retains E2E coverage" "$wework_e2e_expected" \
assert_case "Wework E2E image changes run Wework E2E" "$wework_e2e_expected" \
"docker/wework-e2e/desktop.Dockerfile"

for path in .github/actions/setup-wework-native-test-dependencies/action.yml \
.github/ci/wework-native-test-ubuntu.sources; do
assert_case "Native desktop preparation selects its CI consumers: $path" \
"$wework_e2e_expected" "$path"
done

shared_rust_expected="${backend_rs_expected/executor=false/executor=true}"
assert_case "shared Rust libraries run both consumers" "$shared_rust_expected" \
"shared/rust/crypto/src/lib.rs"
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Sourced by test-classify-ci-changes.sh; all assertions share its helpers.

native_setup_expected="$(GITHUB_OUTPUT=/dev/stdout "$desktop_classifier" --all)"
for path in .github/actions/setup-wework-native-test-dependencies/action.yml \
.github/ci/wework-native-test-ubuntu.sources; do
assert_desktop_case "Native preparation keeps all desktop consumers covered: $path" \
"$native_setup_expected" "$path"
done

for path in \
wework/e2e/desktop/modules/harness-tool-result-order.mjs \
wework/e2e/desktop/modules/harness-tool-result-order.d.mts; do
Expand Down
2 changes: 2 additions & 0 deletions .github/scripts/classify-ci-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ classify_path() {
return
;;
.github/actions/build-wework-core-e2e/* | .github/actions/build-wework-windows-e2e/* | \
.github/actions/setup-wework-native-test-dependencies/* | \
.github/actions/build-wework-macos-e2e/* | .github/actions/build-minio-e2e/* | \
.github/actions/setup-minio-e2e/* | .github/scripts/prepare-macos-inspector-e2e.sh | \
.github/scripts/build-macos-e2e-runtimes.sh | .github/scripts/macos-e2e-source-digest.mjs | \
Expand Down Expand Up @@ -139,6 +140,7 @@ classify_path() {
changed[platform_e2e]=true
;;
.github/workflows/wework-e2e.yml | docker/wework-e2e/* | \
.github/ci/wework-native-test-ubuntu.sources | \
.github/ci/wework-linux-checkpoint-durations.json | \
.github/scripts/order-wework-linux-e2e.* | \
.github/scripts/core-runner-slots.* | \
Expand Down
2 changes: 2 additions & 0 deletions .github/scripts/desktop-ci/runtime-paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,8 @@ classify_path() {
.github/actions/setup-sccache/* | \
.github/actions/setup-node-workspace/* | \
.github/actions/setup-python-uv-cache/* | \
.github/actions/setup-wework-native-test-dependencies/* | \
.github/ci/wework-native-test-ubuntu.sources | \
.github/actions/build-wework-windows-e2e/* | \
.github/actions/build-wework-macos-e2e/* | \
.github/workflows/wework-e2e.yml | \
Expand Down
66 changes: 61 additions & 5 deletions .github/scripts/test-ci-cache-policy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -618,20 +618,76 @@ fi
wework_workflow="$workflow_dir/wework-e2e.yml"
wework_browser_image="$script_dir/../../docker/wework-e2e/browser.Dockerfile"
wework_desktop_image="$script_dir/../../docker/wework-e2e/desktop.Dockerfile"
if ! ruby -ryaml - "$wework_workflow" "$wework_desktop_image" <<'RUBY'
core = YAML.load_file(ARGV[0]).fetch('jobs').fetch('wework-desktop-core-e2e')
if ! ruby -ryaml - "$wework_workflow" "$wework_desktop_image" \
"$action_dir/setup-wework-native-test-dependencies/action.yml" \
"$script_dir/../ci/wework-native-test-ubuntu.sources" <<'RUBY'
jobs = YAML.load_file(ARGV[0]).fetch('jobs')
core = jobs.fetch('wework-desktop-core-e2e')
commands = core.fetch('steps').map { |step| step.fetch('run', '') }.join("\n")
abort 'Core shards must consume system dependencies from their immutable image' if commands.match?(/install-e2e-apt-packages|apt-get/)
abort 'Core shards must keep baseline dependencies in the image and use shared native setup' if commands.match?(/install-e2e-apt-packages|apt-get/)
image = File.read(ARGV[1])
%w[file xdg-utils pcmanfm openjdk-21-jre-headless gdb].each do |package|
abort "Desktop image must install #{package}" unless image.lines.any? { |line| line.strip == "#{package} \\" }
end
%w[java keytool gdb pcmanfm].each do |binary|
abort "Core setup must verify #{binary}" unless commands.include?(binary)
end

# The existing image supplies baseline tools; only three measured native test
# dependencies may be added through the shared, failure-preserving installer.
action = YAML.load_file(ARGV[2]).fetch('runs')
abort 'Native test preparation must be a shared composite action' unless action.fetch('using') == 'composite'
setup_commands = action.fetch('steps').map { |step| step.fetch('run', '') }.join("\n")
abort 'Native setup must reuse the existing APT helper' unless setup_commands.include?('source .github/scripts/lib/apt-packages.sh')
installations = setup_commands.lines.map(&:strip).grep(/^install_missing_apt_packages /)
abort 'Native setup must install only the three missing tools' unless installations == ['install_missing_apt_packages gnome-keyring libsecret-tools xdotool']
abort 'Native setup must preserve repository trust and installer failures' if setup_commands.match?(/apt-get|trusted=yes|allow-unauthenticated|AllowInsecureRepositories|Verify-Peer=false|\|\|\s*true/)
source_setup = 'install -m 644 .github/ci/wework-native-test-ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources'
abort 'Native setup must use the signed Ubuntu archives before installing missing tools' unless setup_commands.include?(source_setup) && setup_commands.index(source_setup) < setup_commands.index(installations.first)
abort 'Native Ubuntu archive suites must match the existing image' unless image.lines.first.strip == 'FROM ubuntu:24.04'
archives = File.read(ARGV[3]).split(/\n\s*\n/).map do |stanza|
stanza.lines.map { |line| line.strip.split(/:\s*/, 2) }.to_h
end
archive_common = {
'Types' => 'deb',
'Components' => 'main universe restricted multiverse',
'Signed-By' => '/usr/share/keyrings/ubuntu-archive-keyring.gpg'
}
expected_archives = [
archive_common.merge('URIs' => 'https://archive.ubuntu.com/ubuntu/', 'Suites' => 'noble noble-updates noble-backports'),
archive_common.merge('URIs' => 'https://security.ubuntu.com/ubuntu/', 'Suites' => 'noble-security')
]
abort 'Native setup must preserve Ubuntu suites, components and the distribution signing keyring' unless archives == expected_archives
%w[dbus-run-session gnome-keyring-daemon gdbus secret-tool xdotool].each do |binary|
abort "Native setup must verify #{binary}" unless setup_commands.include?(binary)
end
abort 'Native setup must check command availability' unless setup_commands.include?('command -v "$binary"')
consumers = %w[build-wework-desktop-core-e2e wework-desktop-core-e2e wework-desktop-cloud-e2e wework-desktop-e2e]
consumers.each do |name|
steps = jobs.fetch(name).fetch('steps')
checkout = steps.index { |step| step.fetch('uses', '').start_with?('actions/checkout@') }
preparations = steps.each_index.select { |index| steps[index]['uses'] == './.github/actions/setup-wework-native-test-dependencies' }
abort "#{name} must prepare native tools immediately after checkout" unless checkout && preparations == [checkout + 1]
preparation = steps.fetch(preparations.first)
abort "#{name} must not skip or tolerate failed native preparation" if preparation.key?('if') || preparation.key?('continue-on-error')
end

image_steps = jobs.fetch('changes').fetch('steps')
prerequisite = image_steps.index { |step| step['name'] == 'Require existing E2E images for Fork pull requests' }
buildx = image_steps.index { |step| step['name'] == 'Set up Docker Buildx' }
abort 'Fork image prerequisites must fail before any build setup' unless prerequisite && buildx && prerequisite < buildx
failure = image_steps.fetch(prerequisite)
expected_guard = "github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository && (steps.browser-image-check.outputs.exists == 'false' || steps.desktop-image-check.outputs.exists == 'false')"
abort 'Fork image prerequisites must cover both missing images' unless failure['if'] == expected_guard
abort 'Missing Fork images must fail rather than skip tests' unless failure.fetch('run').include?('exit 1') && !failure.key?('continue-on-error')
%w[browser desktop].each do |kind|
publisher = image_steps.find { |step| step['name'] == "Build and publish Wework #{kind} E2E image" }
expected = "steps.#{kind}-image-check.outputs.exists == 'false' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)"
abort "#{kind} image publication must reject Fork pull requests" unless publisher && publisher['if'] == expected
end
RUBY
then
fail "Desktop Core dependencies must be prepared in the immutable image"
fail "Desktop native preparation must preserve the image baseline, real tools and Fork publication boundary"
fi
if ! grep -Fq 'ARG UV_VERSION=0.11.17' "$wework_browser_image" ||
! grep -Fq '"https://astral.sh/uv/${UV_VERSION}/install.sh"' \
Expand All @@ -645,7 +701,7 @@ if ! grep -Fq 'file: docker/wework-e2e/browser.Dockerfile' "$wework_workflow" ||
[[ "$(grep -c 'push: true' "$wework_workflow")" -ne 2 ]] ||
grep -Eq 'playwright (install|install-deps)' \
"$wework_workflow"; then
fail "Wework E2E must consume its immutable dependency image without runtime installs"
fail "Wework E2E must reuse its image producers and preinstalled Playwright runtime"
fi

if ! ruby -ryaml - "$wework_workflow" "$workflow_dir/plugin-auth-sdk.yml" <<'RUBY'
Expand Down
44 changes: 41 additions & 3 deletions .github/scripts/wework-release-workflow.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ test("release creation waits for every candidate build and validation", () => {
const create = names.indexOf("Create or update draft release");
for (const name of [
"Download release builds",
"Reuse verified arm64 upgrade paths for macOS x64",
"Generate desktop update manifests",
"Report completed upgrade duration before publication",
])
Expand Down Expand Up @@ -300,6 +299,11 @@ test("all installers build while release upgrade E2E runs only on arm64 macOS an
["linux", "x64"],
],
);
const native = jobs.build.steps.find(
(step) => step.name === "Verify native contracts before packaging",
);
assert.equal(native.if, undefined);
assert.match(native.run, /wework\/scripts\/upgrade-credentials\.test\.mjs/);
for (const name of [
"Verify declared upgrade and rollback edges on real release packages",
"Upload verified release upgrade evidence",
Expand All @@ -316,8 +320,9 @@ test("all installers build while release upgrade E2E runs only on arm64 macOS an
: platforms,
);
}
const reuse = jobs.publish.steps.find(
(step) => step.name === "Reuse verified arm64 upgrade paths for macOS x64",
const reuse = jobs["aggregate-upgrades"].steps.find(
(step) =>
step.name === "Verify macOS architecture equivalence before publication",
);
assert.match(reuse.run, /mirror-macos-upgrade-policy.mjs/);
assert.equal(
Expand Down Expand Up @@ -552,3 +557,36 @@ fi
"A long ZIP listing must not bypass the gate through SIGPIPE",
);
});

test("dry runs certify security boundaries and x64 identities before any publication", () => {
const formal = jobs.build.steps.find(
(step) => step.name === "Verify formal release package",
);
assert.match(
formal.run,
/release-package-startup,component-update,security-boundaries/,
);
assert.equal(formal.env.WEWORK_E2E_PARALLEL_CHECKPOINTS, "1");
const steps = jobs["aggregate-upgrades"].steps;
const download = steps.find(
(step) => step.name === "Download exact macOS x64 package identity",
);
assert.equal(
download.with["run-id"],
"${{ needs.prepare-upgrade-inputs.outputs.run_id }}",
);
assert.equal(
download.with.name,
"wework-upgrade-metadata-${{ needs.prepare-upgrade-inputs.outputs.version }}-macos-x64",
);
const mirror = steps.find(
(step) =>
step.name === "Verify macOS architecture equivalence before publication",
);
const upload = steps.find(
(step) => step.name === "Upload complete verified upgrade policies",
);
assert.ok(steps.indexOf(download) < steps.indexOf(mirror));
assert.ok(steps.indexOf(mirror) < steps.indexOf(upload));
assert.doesNotMatch(jobs["aggregate-upgrades"].if, /publish_release/);
});
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ jobs:

- name: Verify immutable upgrade artifact consumption
if: matrix.shard == 1
run: node --test wework/scripts/published-desktop-release.test.mjs wework/scripts/portable-desktop-release.test.mjs wework/scripts/lib/packaged-component-assets.test.mjs wework/e2e/desktop/modules/inspect-before-start.test.mjs wework/e2e/desktop/modules/desktop-build-flows.test.mjs wework/e2e/desktop/modules/failure-followup.test.mjs wework/e2e/desktop/modules/voice-toolbar-flow.test.mjs wework/e2e/desktop/modules/electron-launch-arguments.test.mjs wework/scripts/subagent-request.test.mjs
run: node --test wework/scripts/published-desktop-release.test.mjs wework/scripts/portable-desktop-release.test.mjs wework/scripts/lib/packaged-component-assets.test.mjs wework/e2e/desktop/modules/inspect-before-start.test.mjs wework/e2e/desktop/modules/macos-status-item.test.mjs wework/e2e/desktop/modules/desktop-build-flows.test.mjs wework/e2e/desktop/modules/failure-followup.test.mjs wework/e2e/desktop/modules/voice-toolbar-flow.test.mjs wework/e2e/desktop/modules/electron-launch-arguments.test.mjs wework/scripts/subagent-request.test.mjs

- name: Verify startup theme evidence
if: matrix.shard == 1
Expand Down
Loading