Skip to content

Fix: Update E2E iteration tests to use valid PR with fresh artifacts#249

Merged
pedropaulovc merged 1 commit into
mainfrom
fix/update-e2e-iteration-tests-to-use-valid-pr
Jan 17, 2026
Merged

Fix: Update E2E iteration tests to use valid PR with fresh artifacts#249
pedropaulovc merged 1 commit into
mainfrom
fix/update-e2e-iteration-tests-to-use-valid-pr

Conversation

@pedropaulovc

@pedropaulovc pedropaulovc commented Jan 17, 2026

Copy link
Copy Markdown
Collaborator

Problem

The E2E iteration tests in prod mode were failing because they referenced PR #97, which has an expired artifact (90-day GitHub artifact retention).

Solution

Created a dedicated test infrastructure with fresh, valid iteration data:

New Test Infrastructure

  1. Action Repository:

    • Standalone repository for the CodjiFlo GitHub Action
    • Enables reuse across test repositories
  2. E2E Test Repository:

    • Dedicated repository for E2E test scenarios
    • Includes workflow using the CodjiFlo action
    • Test data in file-first-modified-later-iteration/ directory
  3. Test PR: pedropaulovc/codjiflo-e2e-test-repo#11

    • Iteration 1: Modified other-file.js only
    • Iteration 2: Modified target-file.yml (exists in base, first change in PR)
    • Tests the "base equivalence" fix (files should show as Modified, not Added)
    • Artifact ID: 5165541620 (2 iterations captured)

Changes

Test Results

All 34 E2E prod tests passing consistently

  • Run 1: 34 passed (15.8s)
  • Run 2: 34 passed (16.8s)
  • Run 3: 34 passed (17.3s)

Documentation

Test scenario documentation: file-first-modified-later-iteration/README.md

🤖 Generated with Claude Code


🔍 Review in CodjiFlo

Previously, these tests referenced PR #97 in pedropaulovc/codjiflo, but the
artifact for that PR has expired (90-day retention).

Changes:
- Created new test repository: pedropaulovc/codjiflo-e2e-test-repo
- Created standalone action repository: pedropaulovc/codjiflo-action
- Created test PR #11 with proper iteration scenario:
  - Iteration 1: Modified other-file.js only
  - Iteration 2: Modified target-file.yml (exists in base, first change in PR)
- Updated iteration-file-status.spec.ts to use PR #11
- Updated iteration-tabs-ui.spec.ts to use PR #11
- Updated file references from action/action.yml to target-file.yml

Test Results: All 34 E2E prod tests passing consistently

Artifact: vezzadev/codjiflo-e2e-test-repo#11
Action: https://github.com/pedropaulovc/codjiflo-action

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings January 17, 2026 21:19
@github-actions

Copy link
Copy Markdown

🔗 Azure DevOps Mirror: PR #83

@github-actions

Copy link
Copy Markdown

CodjiFlo Iteration Tracking

Iterations captured: 1
Last updated: 2026-01-17T21:19:43.000Z
Artifact: 5165615586
Run ID: 21101023774


What is this?

This comment is automatically updated by the CodjiFlo GitHub Action to enable force-push resilient code review with iteration tracking.

The artifact referenced above contains iteration data that the CodjiFlo frontend uses to:

  • Track code changes across force-pushes
  • Enable comment persistence across code modifications
  • Allow comparison between any two iterations

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 78.03% (🎯 70%)
⬆️ +2.21%
2508 / 3214
🔵 Statements 76.92% (🎯 70%)
⬆️ +1.97%
2613 / 3397
🔵 Functions 78.81% (🎯 70%)
⬆️ +3.69%
521 / 661
🟡 Branches 71.67% (🎯 70%)
🟰 ±0%
1607 / 2242
File CoverageNo changed files found.
Generated in workflow #671 for commit d724686 by the Vitest Coverage Report Action

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes failing E2E iteration tests by updating test references from an expired PR (#97) with 90-day old artifacts to a fresh test PR (#11) in a new dedicated E2E test repository. The changes update test configuration and file references to work with the new test infrastructure.

Changes:

  • Updated E2E test references from PR #97 to PR #11 in the new codjiflo-e2e-test-repo
  • Changed file references from action/action.yml to target-file.yml to match the new test data structure

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
e2e/prod/iteration-mode/iteration-tabs-ui.spec.ts Updated test configuration to use PR #11 in the new E2E test repository
e2e/prod/iteration-mode/iteration-file-status.spec.ts Updated test configuration and all file references from action/action.yml to target-file.yml to match the new test PR structure

@github-actions

Copy link
Copy Markdown

Preview Deployment

🚀 Preview: https://pr-249.codjiflo.vza.net/pedropaulovc/codjiflo/249

Updated for commit d724686

@pedropaulovc pedropaulovc merged commit 784745d into main Jan 17, 2026
15 checks passed
@pedropaulovc pedropaulovc deleted the fix/update-e2e-iteration-tests-to-use-valid-pr branch January 17, 2026 21:21
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