Skip to content

TR-1173: merge main be465539 into factory-modular/m2 - #592

Merged
ashish-bagri merged 13 commits into
factory-modular/m2from
factory/TR-1173
Nov 11, 2026
Merged

ashish-bagri merged 13 commits into
factory-modular/m2from
factory/TR-1173

Conversation

@ashish-bagri

@ashish-bagri ashish-bagri commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Ticket: https://linear.app/glassflow/issue/TR-1173/merge-main-5b6aea57-into-factory-modularm2-changelogmd-conflict

Merges origin/main be46553 into factory-modular/m2 (2abb47d) with merge commits, so milestone PR #590 stops conflicting. Per D187, main is merged in only on a conflict. Main moved twice while this was open, so three merges, each a merge commit:

pyproject.toml version stays 1.56.0. tests/ci_list.txt is still sorted. No other change. PR #590 untouched.

Tests (per the orchestrator, no full local run for this merge; this PR's CI runs the full suite on the merge head and counts as the full run), run one at a time under factory-heavy in a clean environment on 87cb21c's tree plus the docs-only workflow merge:

  • tests/test_crew_with_secrets.py 14 passed, 0 failed
  • tests/test_factory_project_page.py 122 passed, 0 failed
  • tests/test_tickets_github.py 158 passed, 0 failed
  • tests/test_tickets_linear.py 341 passed, 0 failed
  • tests/test_tickets_routing.py 53 passed, 0 failed
  • ee/tests/test_project_secrets.py 40 passed, 0 failed
  • tests/test_ci_list.py 55 passed, 0 failed
  • tests/test_no_console.py 15 passed, 0 failed
  • M2 check 2: git grep -n -E "linear|gh issue" -- "claude-plugin/skills/station-*" finds nothing.

sudopower and others added 11 commits November 11, 2026 11:31
* TR-1167: three windows-crew tests pass on a real Windows runner

* TR-1167: adopt a builder whose folder has backslashes; keep native paths in the scenario
* TR-1164: tests that exec or spawn a watch run on a scratch home, with a guard

* TR-1164: pin a scratch home in the four tests that probe with the real one; guard notes

* TR-1164: scratch_home check runs on a scratch env, not the real home
…581)

* TR-1160: parity scenarios for every pace check

* TR-1160: parity scenarios for every freeze check

* TR-1160: parity scenarios for the idle_wake checks

* TR-1160: parity scenarios for the idle_wake URL checks

* TR-1160: idle_wake scenarios stay green in parallel runs; idle_wake_python is a wrapper

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* TR-1160: ledger rows for pace_daemon, freeze_support and idle_wake_daemon

* TR-1160: a failed exec in restart_self takes back the station locks it let go

* TR-1160: _seen no longer shadows the cc_move helper; pace_watch and idle_wake_daemon skip on Windows with their reasons; freeze comment says what differs

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
…ill requires it (#588)

A git install builds without the console; a release build and the image build still require it. CI secrets was red on this PR from Ashish's project-secrets branch (PR 589, commit f2f68f3), not from this change; main and these commits scan clean.
Project secrets for builders, kept on the cell (TR-775)
README: lead with the Software Factory and AI SRE editions
@ashish-bagri ashish-bagri changed the title TR-1173: merge main 5b6aea57 into factory-modular/m2 TR-1173: merge main daeacab8 into factory-modular/m2 Nov 11, 2026
@ashish-bagri ashish-bagri changed the title TR-1173: merge main daeacab8 into factory-modular/m2 TR-1173: merge main be465539 into factory-modular/m2 Nov 11, 2026
@ashish-bagri

Copy link
Copy Markdown
Member Author

factory/review: pass (TR-1173, head d0c3113, round 1)

This PR merges main at be465539 into factory-modular/m2 at 2abb47db, in three merge commits. The two hand-resolved conflicts keep both sides: three CHANGELOG.md lines, and both new tables in FACTORY_SCHEMA.

Verified (clean env, TZ=UTC, uv tool Python, tree from git archive d0c3113)

  • The first-parent chain is three merges of origin/main with no other commit: 0eaa4f4c (main 5b6aea57), 87cb21c4 (main daeacab8) and d0c3113 (main be465539). 2abb47db, the current tip of factory-modular/m2, and be465539, the current tip of main, are both ancestors of the head. The merge base is d470cd56, so the PR brings 7 merges from main, including TR-1170 (TR-1170: a git install builds without the console; a release build still requires it #588), project secrets (Project secrets for builders, kept on the cell (TR-775) #589), TR-1160, TR-1164 and TR-1167.

  • I redid the whole merge in one step with git merge-tree --write-tree 2abb47db be465539. It reports conflicts in CHANGELOG.md and tares/factory_store.py only, and the head's tree differs from git's result only in those two files.

  • CHANGELOG.md: the head's version is git's merge with the conflict markers removed. It keeps the TR-850 and TR-849 lines from m2 and the TR-1170 line from main.

  • tares/factory_store.py: the head's version is git's merge with the markers removed and pending_writeback's closing )""", restored. Each table is created once, and each has its own methods, with no name clash.

  • Git auto-merged 5 other files that both sides changed (daemon.py, mcp_factory.py, pyproject.toml, the builder skill, tests/ci_list.txt). The two sides' hunks are in different places in each.

  • tests/ci_list.txt is sorted, has 234 entries and keeps main's 4 new tests. ee/tests/ci_list.txt is sorted and has test_project_secrets.

  • Tests at the head, one file at a time, every one exiting 0:

    Side Test Passed
    main test_crew_with_secrets 14
    main ee/tests/test_project_secrets 40
    main test_no_console 15
    main test_crew_adopt 4
    main test_crew_scratch_home 28
    main test_factory_project_page 122
    main test_factory_desk 109
    m2 test_tickets_linear 341
    m2 test_tickets_github 158
    m2 test_tickets_routing 53
    m2 test_tickets_daemon 62
    m2 test_tickets_tares 48
    m2 test_github_tickets 224
    m2 test_spec_tickets_create 101
    m2 test_skills_ticket_moves all ok
    m2 test_skills 91
    either test_ci_list 55
    either test_factory_mcp 40
  • Breaks, in copies, restored by discarding the copy:

    • Without the pending_writeback table, test_tickets_linear and test_tickets_github exit 1, and test_project_secrets still passes.
    • Without the project_secrets table, test_project_secrets and test_tickets_linear exit 1.
    • So dropping either side of the factory_store.py resolution is caught.
  • A read-only Sonnet challenger checked the merged head and found no semantic clash. It ran an ast pass for undefined names in daemon.py, checked for duplicate routes, FactoryStore methods and MCP tool names, checked main's wheel hook against m2's new tares.integrations entry points, and checked main's secret scrubbing against m2's link route.

  • Gitleaks on 2abb47db..d0c3113: 0 leaks.

  • Merge method: this PR must merge with a merge commit (gh pr merge 592 --merge), not a squash or a rebase, for the same reason as TR-1165: merge main into factory-modular/m2 #583 and TR-1169: merge main d470cd56 into factory-modular/m2 #587.

Findings

  • None.

Not verified

  • CI had just started at posting: 16 in progress, 10 queued, 6 success.
  • I did not run the full suite, the Postgres run or the bash factory tests. As the builder says, this PR's CI on the head is the full run.

@ashish-bagri
ashish-bagri merged commit a731022 into factory-modular/m2 Nov 11, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants