Skip to content

Run the push round-trip once against Appropedia, then drop 'experimental' #12

Closed

Description

@CameronBrooks11

What

Run the push round-trip (just test-live) once against Appropedia itself, then
drop the "experimental" label from push --apply.

export WIKISYNC_TEST_PAGE=User:CameronBrooks11/wikisync-integration
export WIKISYNC_USERNAME_APPROPEDIA=…  WIKISYNC_PASSWORD_APPROPEDIA=…  # bot password
just test-live

The test pulls the page, pushes an edit, checks that the manifest revision,
baseline, working file and status match what the wiki stored, checks that a
second push is a no-op and a whitespace-only change creates no revision, makes an
out-of-band edit and checks push refuses (preview and --apply), then restores
the page byte-for-byte. Expect about three revisions in the page history.

Why

push --apply is verified against a real MediaWiki 1.45 (Docker, in CI on every
PR, since #10), but not against Appropedia's own configuration: its extensions,
abuse filters, rate limits and bot-password setup. That's the gap between
"works on MediaWiki" and "works on the wiki it's built for".

Status

Deferred, not blocked on code. The credentials and test page are ready:
User:CameronBrooks11/wikisync-integration exists, and per-wiki credential names
work since #11. The run is a deliberate write to a live public site, so it needs
an explicit go-ahead from the maintainer at run time. An automated session will
not do it on its own.

Acceptance

  • just test-live passes against www.appropedia.org on the integration page,
    and the page text afterwards equals its text before the run.
  • README and the release notes drop "experimental" for push --apply, citing
    the run.

Activity

  1. added a commit that references this issue on Oct 22, 2026
  2. CameronBrooks11 commented on Oct 31, 2026

    @CameronBrooks11
    MemberAuthor

    Ran just test-live against www.appropedia.org on 2026-10-30 with
    WIKISYNC_TEST_PAGE=User:CameronBrooks11/wikisync-integration:

    === RUN   TestLivePushRoundTrip
    --- PASS: TestLivePushRoundTrip (10.50s)
    

    It ran in required mode, so a missing setting would have failed it rather than
    skipped it.

    Page history afterwards:

    rev summary size
    1292638 wikisync integration test: edit 416
    1292639 wikisync integration test: out-of-band edit 462
    1292640 wikisync integration test: restore 361

    The current revision's SHA-1 (45b17a6d…) equals rev 1284839's, the fixture as
    created, so the restore is byte-identical.

    The "Status" section above was wrong about why the run was deferred. It wasn't
    held back for writing to a live site. A local permission rule refused the way I
    had written the command (it began with the env program). Setting the variable
    as a plain shell assignment ran normally.

    README drops "experimental" for push --apply in the follow-up PR.

  3. added a commit that references this issue on Oct 31, 2026
    2ba92b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions